Current time: 07-06-2024, 01:52 PM Hello There, Guest! (LoginRegister)


Post Reply 
Problem with keeping Apache alive
Author Message
bobeq Offline
Newbie
*

Posts: 9
Joined: Nov 2007
Reputation: 0
Post: #1
Problem with keeping Apache alive
I have installed Debian Etch and the latest ispCP trunk on my new VPS. There is a little problem - few seconds after VPS restart Apache is down. Interesting issue is when I restart its process, it works correctly... until the next reboot. It happened with apache2-mpm-worker, I replaced it with apache2-mpm-prefork to reduce memory usage (now it's about 30% of 512MB) and have the problem still.

My error.log
Code:
[Tue Nov 27 06:26:51 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Nov 27 06:26:51 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Nov 27 06:26:51 2007] [notice] FastCGI: process manager initialized (pid 20275)
[Tue Nov 27 06:26:52 2007] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 20276)
[Tue Nov 27 06:26:52 2007] [notice] Apache configured -- resuming normal operations
[Tue Nov 27 06:27:06 2007] [notice] caught SIGTERM, shutting down

Actually I was installing step by step with FAQ, there were no errors. Everything works ok except starting Apache.

Thanks in advance and sorry for my english. Smile
(This post was last modified: 11-28-2007 05:07 AM by bobeq.)
11-28-2007 05:05 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Problem with keeping Apache alive
Any other Logs ? Syslog maybe ?
Enough RAM free ?

Greez BeNe
11-28-2007 05:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bobeq Offline
Newbie
*

Posts: 9
Joined: Nov 2007
Reputation: 0
Post: #3
RE: Problem with keeping Apache alive
Code:
Nov 27 06:27:05 server shutdown[20392]: shutting down for system halt
Nov 27 06:27:05 server init: Switching to runlevel: 0
Nov 27 06:27:06 server postgrey[30310]: 2007/11/27-06:27:06 Server closing!
Nov 27 06:27:06 server authdaemond: stopping authdaemond children
Nov 27 06:27:07 server postfix/master[30420]: terminating on signal 15
Nov 27 06:27:08 server mysqld[30235]: 071127  6:27:08 [Note] /usr/sbin/mysqld: Normal shutdown
Nov 27 06:27:08 server mysqld[30235]:
Nov 27 06:27:08 server mysqld[30235]: 071127  6:27:08 [Note] /usr/sbin/mysqld: Shutdown complete
Nov 27 06:27:08 server mysqld[30235]:
Nov 27 06:27:08 server mysqld_safe[21589]: ended
Nov 27 06:27:09 server postfix/policyd-weight[21615]: Daemon terminated.
Nov 27 06:27:09 server ntpd[30474]: ntpd exiting on signal 15
Nov 27 06:27:10 server proftpd[30489]: server.dedicated.hosteurope.de - ProFTPD killed (signal 15)
Nov 27 06:27:10 server proftpd[30489]: server.dedicated.hosteurope.de - ProFTPD 1.3.0 standalone mode SHUTDOWN
Nov 27 06:27:10 server exiting on signal 15
Nov 27 06:27:23 server syslogd 1.4.1#18: restart.
Nov 27 06:27:24 server mysqld_safe[23600]: started
Nov 27 06:27:24 server mysqld[23603]: 071127  6:27:24 [Note] /usr/sbin/mysqld: ready for connections.
Nov 27 06:27:24 server mysqld[23603]: Version: '5.0.32-Debian_7etch3-log'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Debian etch distribution
Nov 27 06:27:25 server /etc/mysql/debian-start[23643]: Upgrading MySQL tables if necessary.
Nov 27 06:27:26 server postfix/policyd-weight[23653]: policyd-weight 0.1.14 beta started and daemonized using default settings, $USER=polw, EUID: 107, UID: 107
Nov 27 06:27:26 server postfix/policyd-weight[23654]: cache spawned
Nov 27 06:27:26 server /etc/mysql/debian-start[23664]: Checking for crashed MySQL tables.
Nov 27 06:27:26 server postgrey[23669]: Process Backgrounded
Nov 27 06:27:26 server postgrey[23669]: 2007/11/27-06:27:26 postgrey (type Net::Server::Multiplex) starting! pid(23669)
Nov 27 06:27:26 server postgrey[23669]: Binding to TCP port 60000 on host 127.0.0.1  
Nov 27 06:27:27 server postgrey[23669]: Setting gid to "112 112"
Nov 27 06:27:27 server postgrey[23669]: Setting uid to "108"
Nov 27 06:27:27 server authdaemond: modules="authuserdb", daemons=5
Nov 27 06:27:27 server authdaemond: Installing libauthuserdb
Nov 27 06:27:27 server authdaemond: Installation complete: authuserdb
Nov 27 06:27:28 server postfix/master[23773]: daemon started -- version 2.3.8, configuration /etc/postfix
Nov 27 06:27:28 server ntpd[23838]: ntpd 4.2.2p4@1.1585-o Sun Mar  4 13:21:35 UTC 2007 (1)
Nov 27 06:27:28 server ntpd[23839]: precision = 5.000 usec
Nov 27 06:27:28 server ntpd[23839]: Listening on interface wildcard, 0.0.0.0#123 Disabled
Nov 27 06:27:28 server ntpd[23839]: Listening on interface lo, 127.0.0.1#123 Enabled
Nov 27 06:27:28 server ntpd[23839]: Listening on interface venet0, 127.0.0.1#123 Enabled
Nov 27 06:27:28 server ntpd[23839]: Listening on interface venet0:0, 87.230.80.240#123 Enabled
Nov 27 06:27:28 server ntpd[23839]: kernel time sync status 0040
Nov 27 06:27:29 server ntpd[23839]: frequency initialized 0.000 PPM from /var/lib/ntp/ntp.drift
Nov 27 06:27:29 server proftpd[23853]: server.dedicated.hosteurope.de - ProFTPD 1.3.0 (stable) (built mar gen 2 10:57:47 CET 2007) standalone mode STARTUP
Nov 27 06:27:29 server /usr/sbin/cron[23862]: (CRON) INFO (pidfile fd = 3)
Nov 27 06:27:29 server /usr/sbin/cron[23863]: (CRON) STARTUP (fork ok)
Nov 27 06:27:29 server /usr/sbin/cron[23863]: (CRON) INFO (Running @reboot jobs)
Nov 27 06:27:29 server ntpd[23839]: getaddrinfo: "::1" invalid host address, ignored
Nov 27 06:27:30 server ispcp_daemon[23951]: ispCP daemon v1.1 started!
Nov 27 06:27:30 server monit: monit: Cannot stat the SSL server PEM file '/etc/monit/monit.pem' -- No such file or directory
Nov 27 06:27:30 server monit: /etc/monit/monitrc:8: Error: SSL server PEM file has too loose permissions '/etc/monit/monit.pem'
Nov 27 06:27:30 server monit: /etc/monit/monitrc:58: Error: hostname did not resolve 'admin.hosting.example.com'
Nov 27 06:27:30 server init: no more processes left in this runlevel
Nov 27 06:27:36 server ntpd[23839]: synchronized to 131.234.137.23, stratum 1
Nov 27 06:27:36 server ntpd[23839]: kernel time sync enabled 0001
Nov 27 06:27:36 server ntpdate[22335]: step-systime: Operation not permitted
Nov 27 06:27:36 server ntpdate[22358]: step-systime: Operation not permitted

As i wrote I have about 70% free ram available with Apache running (using /etc/init.d/apache2-start)
(This post was last modified: 11-28-2007 06:08 AM by bobeq.)
11-28-2007 06:05 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)