Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st February 2012, 02:26
char32 char32 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default apache2mysql connection problem

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 [::]op3 [::]:* 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 [::]op3s [::]:* 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
Reply With Quote
Sponsored Links
  #2  
Old 21st February 2012, 15:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

I guess that Apache starts before MySQL in the boot process. If MySQL is running after boot, this should be no problem.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
haproxy with stunnel problem abubin Server Operation 6 10th April 2012 16:08
Ubuntu 11.10-nginx mail send-receive problem tbctr Installation/Configuration 35 8th January 2012 16:02
ISPConfig 3 Send/Receive mail not working. Acidut General 6 4th April 2010 12:24
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 14:58
Can't send mail [Lenny ISPConfig 3] Deficit HOWTO-Related Questions 2 14th June 2009 15:30


All times are GMT +2. The time now is 09:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.