Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jul 2003
    Posts
    21

    Default Apache, MySQL, Bind, FTPd Fail on Reboot

    All 4 of these services fail on my server when I reboot it but start backup automatically when it retrys.

    Here is my Apache Error

    root@phoenix [/etc/httpd/logs]# tail -100 error_log
    [Mon Aug 25 21:01:39 2003] [crit] (98)Address already in use: make_sock: could not bind to port 443
    [Mon Aug 25 21:01:39 2003] [notice] Apache/1.3.28 (Unix) mod_auth_passthrough/1.6 mod_log_bytes/1.2 mod_bwlimited/1.0 PHP/4.2.3 FrontPage/5.0.2.2634 mod_ssl/2.8.15 OpenSSL/0.9.7a configured -- resuming normal operations
    [Mon Aug 25 21:01:39 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Mon Aug 25 21:01:39 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Mon Aug 25 21:01:59 2003] categories: DBI connect('dbname=a1disvit_store','a1disvit',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at ./ShopModules/SQL.pl line 25
    Can't call method "disconnect" on an undefined value at ./ShopModules/SQL.pl line 31.
    Compilation failed in require at categories line 13.

    cPanel.net Support Ticket Number:

  2. #2
    Ben
    Ben is offline
    Member
    Join Date
    Aug 2002
    Posts
    77

    Default

    could not bind to port 443

    Means Apache can't bind to port 443, so it fails. To fix - as root do

    netstat -anp | grep :443

    You should get something that looks like this

    tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN PID #/httpd

    We are primarily concerned with the bold part. As root again, do

    kill -9 PID

    Run netstat -anp | grep :443 again and make sure nothing else is showing up, and if it is, kill those processes also.

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Jul 2003
    Posts
    21

    Default

    That is correct, but that is no solution to my problem. The 4 services will start up automagically eventually, it is just the first time after a reboot they all fail so I get 4 pages.

    cPanel.net Support Ticket Number:

  4. #4
    Member drackox's Avatar
    Join Date
    May 2004
    Location
    Dallas
    Posts
    32

    Default

    I get the same problems with BIND, Apache, and FTPd...

    how do i fix it?

    It works after it automatically restarts... but I keep getting the notices if the server gets rebooted...

    also, after it restarts, all the functions seen normal and working but in the serverstatus i keep seening the big red dot... service failed...
    eventhough it works..


    what do i do?

  5. #5
    Member
    Join Date
    Jul 2004
    Posts
    133

    Default some problem here

    Same problem to me, any one with a solution???

    Many thanks


    Quote Originally Posted by drackox
    I get the same problems with BIND, Apache, and FTPd...

    how do i fix it?

    It works after it automatically restarts... but I keep getting the notices if the server gets rebooted...

    also, after it restarts, all the functions seen normal and working but in the serverstatus i keep seening the big red dot... service failed...
    eventhough it works..


    what do i do?

Similar Threads & Tags
Similar threads

  1. pure-ftpd working login differently after reboot
    By gbh1935 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-26-2007, 01:00 PM
  2. Auto reboot to apache and mysql
    By FuuK in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-28-2006, 11:59 AM
  3. Mysql overload making apache fail problem.. help..
    By ramystyle in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-11-2004, 04:52 PM
  4. Apache, Bind, and FTPd fails after reboot
    By drackox in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-09-2004, 02:55 AM
  5. apache and mysql show as failed after reboot
    By rhood in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-29-2003, 02:30 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube