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.

2 Problems here

Discussion in 'General Discussion' started by BrentD, May 25, 2004.

  1. BrentD

    BrentD Member

    Joined:
    May 25, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indiana
    OK the first problem I have is that every since I installed zend and ioncube my apache (ssl) won't start up on reboot, neither does bind or exim 26, but if I let it sit there long enough bind and exim 26 will start up with cpanel I guess, but apache will still not startup, I use the command in ssh2 telnet of:

    /usr/local/apache/bin/apachectl sslstart

    and I get this:

    /usr/local/apache/bin/apachectl sslstart: httpd started

    But when I go to whm and look at service status its still not running (apache that is).


    MY 2nd problem is I have a reseller who cannot setup accoutns on his whm, it gets started setting up and then stops and hangs and then says done, it does create the customers folder but it won't setup dns or anything else, it gets down to as far as here:

    Using new quota support
    will 1 51200 51200 (uid 32046):
    Filesystem blocks soft hard inodes soft hard
    /dev/hda2 0 51200 51200 1 0 0
    /dev/hdb1 8 51200 51200 2 0 0


    Then it just stops and says done, he cannot create email accounts either.


    I am hoping someone can help with these problems please.
     
  2. BrentD

    BrentD Member

    Joined:
    May 25, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indiana
    I tailed error_log and got this:


    root@underworld [~]# tail -f /usr/local/apache/logs/error_log
    [Tue May 25 10:24:57 2004] [alert] Child 8698 returned a Fatal error... \nApache is exiting!
    [Tue May 25 10:28:14 2004] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Tue May 25 10:28:14 2004] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Tue May 25 10:28:14 2004] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Tue May 25 10:28:14 2004] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Tue May 25 10:28:15 2004] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Tue May 25 10:28:15 2004] [notice] Apache/1.3.31 (Unix) FrontPage/5.0.2.2634 mod_ssl/2.8.17 OpenSSL/0.9.7a configured -- resuming normal operations
    [Tue May 25 10:28:15 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Tue May 25 10:28:15 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Tue May 25 10:28:15 2004] [alert] Child 8913 returned a Fatal error... \nApache is exiting!
    [Tue May 25 10:33:43 2004] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Tue May 25 10:33:43 2004] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Tue May 25 10:33:43 2004] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Tue May 25 10:33:43 2004] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Tue May 25 10:33:43 2004] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Tue May 25 10:33:43 2004] [notice] Apache/1.3.31 (Unix) FrontPage/5.0.2.2634 mod_ssl/2.8.17 OpenSSL/0.9.7a configured -- resuming normal operations
    [Tue May 25 10:33:43 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Tue May 25 10:33:43 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Tue May 25 10:33:43 2004] [alert] Child 9222 returned a Fatal error... \nApache is exiting!
     
  3. BrentD

    BrentD Member

    Joined:
    May 25, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indiana
    Also I got Syntax OK:

    root@underworld [/usr/local/apache/bin]# ./apachectl configtest
    Syntax OK


    So I am totally lost here :(
     
  4. noc32

    noc32 Member

    Joined:
    Feb 28, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    With what user apache runs? Have you deleted that user? Check httpd.conf (it should be run as nobody) and after that check if that user exist in your system.
     
  5. BrentD

    BrentD Member

    Joined:
    May 25, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indiana
    How do I check that since I cannot get apache to start to see???


    BrentD
     
  6. BrentD

    BrentD Member

    Joined:
    May 25, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indiana
    I have the following:

    root@underworld [~]# locate httpd.conf
    /etc/httpd.old/conf/httpd.conf
    /root/installd/buildapache/httpd.conf.tmpeditlib
    /root/installd/buildapache/apache_1.3.29/conf/httpd.conf-dist
    /root/installd/buildapache/apache_1.3.29/conf/httpd.conf-dist-nw
    /root/installd/buildapache/apache_1.3.29/conf/httpd.conf-dist-win
    /usr/share/redhat-config-httpd/httpd.conf.xsl
    /usr/local/apache/conf/httpd.conf.default
    /usr/local/apache/conf/httpd.conf
    /usr/local/apache/conf/httpd.conf.bak
    /usr/local/apache/conf/httpd.conf.tmpeditlib
    /usr/local/apache/conf/httpd.conf.suexec
    /usr/local/apache/conf/httpd.conf,v
    /usr/local/apache/conf/httpd.conf.checkallowoverride
    /usr/local/apache/conf/httpd.conf.tmpeditlib.skip
    /usr/local/apache/conf/httpd.conf.phpopenbasectl
    /usr/local/apache/conf/httpd.conf.userdirctl
    /usr/local/apache/conf/httpd.conf-
    /usr/local/apache/conf/httpd.conf.bytes
    /usr/local/apache/conf/httpd.conf.prev
    /usr/local/apache/conf/httpd.conf.tmp
    /usr/local/apache/conf/httpd.conf.installssl-www.vvhost.us
    /usr/local/apache/conf/httpd.conf.tmpeditlib.lock
    /usr/local/apache/conf/httpd.conf.lock
    /usr/local/apache/conf/httpd.conf.backup
    /usr/local/apache/conf/httpd.conf.installssl-www.cd-media.net
    /home/virtfs/cloak/usr/share/redhat-config-httpd/httpd.conf.xsl


    When I do a pico /usr/local/apache/conf/httpd.conf its empty but when I do a pico /etc/httpd.old/conf/httpd.conf I see all my virtualhsots and such in it, how can I tell which file apache is truely using and find out what user it runs as?


    BrentD
     
  7. noc32

    noc32 Member

    Joined:
    Feb 28, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Usually it uses /etc/httpd/conf/httpd.conf but it seems that in /etc you have only httpd.old dir.
    You can try renaming httpd.old to httpd and try to restart the apache server.
     
Loading...

Share This Page