The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache, MySQL, Bind, FTPd Fail on Reboot

Discussion in 'Bind / DNS / Nameserver Issues' started by Woogs, Aug 25, 2003.

  1. Woogs

    Woogs Member

    Joined:
    Jul 22, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    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. Ben

    Ben Well-Known Member

    Joined:
    Aug 19, 2002
    Messages:
    77
    Likes Received:
    0
    Trophy Points:
    6
    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. Woogs

    Woogs Member

    Joined:
    Jul 22, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    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. drackox

    drackox Active Member

    Joined:
    May 6, 2004
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dallas
    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. asmar

    asmar Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    some problem here

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

    Many thanks


     
Loading...

Share This Page