Apache is restarting every minute.

Rprp

Verified User
Joined
Dec 25, 2006
Messages
28
Hi,

Every minute apache is restarting.

log file:
Code:
[Sun Jun 17 21:24:02 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.3 mod_ssl/2.8.28 OpenSSL/0.9.8c FrontPage/5.0.2.2510 configured -- resuming normal operations
[Sun Jun 17 21:24:02 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 17 21:24:02 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Jun 17 21:25:03 2007] [notice] SIGHUP received.  Attempting to restart
[Sun Jun 17 21:25:03 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.3 mod_ssl/2.8.28 OpenSSL/0.9.8c FrontPage/5.0.2.2510 configured -- resuming normal operations
[Sun Jun 17 21:25:03 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 17 21:25:03 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Jun 17 21:25:04 2007] [notice] caught SIGTERM, shutting down
[Sun Jun 17 21:25:07 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.3 mod_ssl/2.8.28 OpenSSL/0.9.8c FrontPage/5.0.2.2510 configured -- resuming normal operations
[Sun Jun 17 21:25:07 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 17 21:25:07 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Jun 17 21:26:02 2007] [notice] SIGHUP received.  Attempting to restart
[Sun Jun 17 21:26:03 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.3 mod_ssl/2.8.28 OpenSSL/0.9.8c FrontPage/5.0.2.2510 configured -- resuming normal operations
[Sun Jun 17 21:26:03 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 17 21:26:03 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Jun 17 21:26:04 2007] [notice] caught SIGTERM, shutting down
[Sun Jun 17 21:26:07 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.3 mod_ssl/2.8.28 OpenSSL/0.9.8c FrontPage/5.0.2.2510 configured -- resuming normal operations
[Sun Jun 17 21:26:07 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 17 21:26:07 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Jun 17 21:27:03 2007] [notice] SIGHUP received.  Attempting to restart
[Sun Jun 17 21:27:03 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.3 mod_ssl/2.8.28 OpenSSL/0.9.8c FrontPage/5.0.2.2510 configured -- resuming normal operations
[Sun Jun 17 21:27:03 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 17 21:27:03 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Jun 17 21:27:05 2007] [notice] caught SIGTERM, shutting down
[Sun Jun 17 21:27:05 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.3 mod_ssl/2.8.28 OpenSSL/0.9.8c FrontPage/5.0.2.2510 configured -- resuming normal operations
[Sun Jun 17 21:27:05 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 17 21:27:05 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)

DirectAdmin Task Queu log:
Code:
2007:06:18-14:03:03: service httpd wasn't running, starting it
2007:06:18-14:03:03: Error starting service httpd : uid 0 gid 0 : /etc/init.d/httpd start                           >>/dev/null 2>>/dev/null                     
2007:06:18-14:03:13: service httpd didn't start, re-starting it
2007:06:18-14:03:13: Error restarting service httpd : uid 0 gid 0 : /etc/init.d/httpd restart                           >>/dev/null 2>>/dev/null                     
2007:06:18-14:04:02: Error sending HUP to httpd on pid 24229 : No such process
2007:06:18-14:04:04: service httpd wasn't running, starting it
2007:06:18-14:04:04: Error starting service httpd : uid 0 gid 0 : /etc/init.d/httpd start                           >>/dev/null 2>>/dev/null                     
2007:06:18-14:04:14: service httpd didn't start, re-starting it
2007:06:18-14:04:14: Error restarting service httpd : uid 0 gid 0 : /etc/init.d/httpd restart                           >>/dev/null 2>>/dev/null                     
2007:06:18-14:05:02: Error sending HUP to httpd on pid 24229 : No such process
2007:06:18-14:05:04: service httpd wasn't running, starting it
2007:06:18-14:05:04: Error starting service httpd : uid 0 gid 0 : /etc/init.d/httpd start                           >>/dev/null 2>>/dev/null                     
2007:06:18-14:05:14: service httpd didn't start, re-starting it
2007:06:18-14:05:14: Error restarting service httpd : uid 0 gid 0 : /etc/init.d/httpd restart                           >>/dev/null 2>>/dev/null                     
2007:06:18-14:06:02: Error sending HUP to httpd on pid 24229 : No such process
2007:06:18-14:06:03: service httpd wasn't running, starting it
2007:06:18-14:06:03: Error starting service httpd : uid 0 gid 0 : /etc/init.d/httpd start                           >>/dev/null 2>>/dev/null

And that many times more.
Someone ideas?

Grtz, Rprp
 
Last edited:
u might wanna stop directadmin checking for httpd for the time being and find out what is actually wrong

/usr/local/directadmin/data/admin/services.status

check the contents of /etc/init.d/httpd and see what command is it trying to execute? Could be the user permission issue
 
Did you try rebuilding?

cd /usr/local/directadmin/customapache
rm -f configure.*
./build clean
./build update
./build all
 
Back
Top