apache2mysql connection problem

Discussion in 'Server Operation' started by char32, Feb 21, 2012.

  1. char32

    char32 New Member

    during boot time I get apache2mysql connection error, I am able to log into ispconfig3 and can log into mysql, the netstat -tap command shows:

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:mysql *:* LISTEN 1621/mysqld
    tcp 0 0 *:sunrpc *:* LISTEN 517/portmap
    tcp 0 0 *:50000 *:* LISTEN 1714/perl
    tcp 0 0 *:ftp *:* LISTEN 1862/pure-ftpd (SER
    tcp 0 0 server1.sleprock:domain *:* LISTEN 1125/named
    tcp 0 0 localhost.locald:domain *:* LISTEN 1125/named
    tcp 0 0 *:ssh *:* LISTEN 1485/sshd
    tcp 0 0 *:smtp *:* LISTEN 1813/master
    tcp 0 0 localhost.localdoma:953 *:* LISTEN 1125/named
    tcp 0 0 *:50022 *:* LISTEN 1485/sshd
    tcp 0 0 *:51974 *:* LISTEN 529/rpc.statd
    tcp 0 0 localhost.localdo:10024 *:* LISTEN 1229/amavisd (maste
    tcp 0 0 localhost.localdo:10025 *:* LISTEN 1813/master
    tcp6 0 0 [::]:50443 [::]:* LISTEN 30702/apache2
    tcp6 0 0 [::]:pop3 [::]:* LISTEN 1306/couriertcpd
    tcp6 0 0 [::]:imap2 [::]:* LISTEN 855/couriertcpd
    tcp6 0 0 [::]:www [::]:* LISTEN 30702/apache2
    tcp6 0 0 [::]:tproxy [::]:* LISTEN 30702/apache2
    tcp6 0 0 [::]:ftp [::]:* LISTEN 1862/pure-ftpd (SER
    tcp6 0 0 [::]:domain [::]:* LISTEN 1125/named
    tcp6 0 0 [::]:ssh [::]:* LISTEN 1145/1145sshd
    tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 1125/named
    tcp6 0 0 [::]:https [::]:* LISTEN 30702/apache2
    tcp6 0 0 [::]:imaps [::]:* LISTEN 1337/couriertcpd
    tcp6 0 0 [::]:pop3s [::]:* LISTEN 1335/couriertcpd
    tcp6 0 0 [::]:50022 [::]:* LISTEN 1485/sshd

    **************************************************

    There is 4374 lines of error in Apache's error log

    [Sat Feb 18 07:00:19 2012] [notice] Apache/2.2.16 (Debian) configured -- resuming normal operations
    [Sat Feb 18 07:00:19 2012] [notice] Graceful restart requested, doing restart
    [Sat Feb 18 07:00:19 2012] [notice] Apache/2.2.16 (Debian) configured -- resuming normal operations
    [Sat Feb 18 07:00:22 2012] [notice] Graceful restart requested, doing restart
    [Sat Feb 18 07:00:22 2012] [notice] Apache/2.2.16 (Debian) configured -- resuming normal operations
    [Sat Feb 18 07:03:48 2012] [notice] Graceful restart requested, doing restart
    [Sat Feb 18 07:03:48 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze8 with Suhosin-Patch configured -- resuming normal operations
    [Sat Feb 18 07:17:21 2012] [notice] Graceful restart requested, doing restart
    [Sat Feb 18 07:17:21 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze8 Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
    [Sat Feb 18 07:21:13 2012] [notice] Graceful restart requested, doing restart
    [Sat Feb 18 07:21:13 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze8 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
    [Sat Feb 18 07:26:57 2012] [notice] Graceful restart requested, doing restart
    [Sat Feb 18 07:26:57 2012] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze8 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
    [Sat Feb 18 07:26:57 2012] [notice] child pid 26330 exit signal Segmentation fault (11)
    [Sat Feb 18 07:26:57 2012] [notice] child pid 26331 exit signal Segmentation fault (11)
    [Sat Feb 18 07:26:57 2012] [notice] child pid 26332 exit signal Segmentation fault (11)
    [Sat Feb 18 07:26:57 2012] [notice] child pid 26333 exit signal Segmentation fault (11)
    [Sat Feb 18 07:26:59 2012] [notice] child pid 26334 exit signal Segmentation fault (11)

    and it goes on and on with the numbers increasing!

    The closest forum I could find was M.H.W. Smits's Perfect Server (Debian Squeeze/ISPConfig3) working not so perfect , but I can log into ispconfig3

    Any help would be greatly appreciated, worried webserver probably won't function properly
     
  2. falko

    falko Super Moderator ISPConfig Developer

    I guess that Apache starts before MySQL in the boot process. If MySQL is running after boot, this should be no problem.
     

Share This Page