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.

httpd.conf not written to

Discussion in 'General Discussion' started by phatblinkie, Feb 14, 2006.

  1. phatblinkie

    phatblinkie Registered

    Joined:
    Dec 3, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    for some reason whm stopped being able to write new account information to the httpd.conf file. everything else is working for the account creation except this.
    when an account is added it shows this
    Code:
    WWWAcct 10.0 (c) 1997-2005 cPanel, Inc.
    
       +===================================+
       | New Account Info                  |
       +===================================+
       | Domain: texaspups.com
       | Ip: 67.18.223.58 (n)
       | HasCgi: y
       | UserName: texas
       | PassWord: dogpoo
       | CpanelMod: x
       | HomeRoot: /home
       | Quota: 150 Meg
       | NameServer1: ns1.siteguruz.com
       | NameServer2: ns2.siteguruz.com
       | NameServer3: 
       | NameServer4: 
       | Contact Email: raymond@domain.com
       +===================================+
    Changing password for texas
    Password for texas has been changed
    Removing Shell Access (n)
    Changing shell for texas.
    Shell changed.
    Copying skel files from /home/etgames/cpanel3-skel/ to /home/texas/
    Using Quota v3 Support
    [an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive]Added Entries to httpd.conf
    Bind reconfiguring on ns1 using rndc
    Added Named File
    Restarting apache
    Ftp Password Files synced
    Vhost Passwords synced
    Notifcation => secret@hotmail.com via EMAIL [level => 3]
    wwwacct creation finished
    Account Creation Complete!!!
    I can see it is spitting errors out, and located that area of the wwwacct script, but its greek to me what is causing the error. permissions on the httpd.conf file are
    Code:
    root@ns1 [/scripts]# ls -ail /etc/httpd/conf/httpd.conf
     919393 -rw-r--r--    1 root     root        81026 Feb 14 09:33 /etc/httpd/conf/httpd.conf
    any ideas?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Those indicate problems in the scripts. Usually they write out the problem into the error log in /usr/local/cpanel/logs/error_log
     
  3. phatblinkie

    phatblinkie Registered

    Joined:
    Dec 3, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    no luck there, i wish.

    that file is there but its empty. :confused:
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Check that you have not ticked WHM > Tweak Settings > Display Errors in cPanel instead of logging them to /usr/local/cpanel/logs/error_log
     
  5. schlecht

    schlecht Registered

    Joined:
    Dec 10, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    ...nearly the same issue

    WHM/Cpanel info:

    WHM 10.1.0 cPanel 10.2.0-S83
    RedHat Enterprise 3 i686 - WHM X v3.1.0

    Getting nearly the same error:

    Code:
    Password for allsetmu has been changed
    Keeping Shell Access (y)
    Jail Shell Enabled
    Changing shell for allsetmu.
    Shell changed.
    Copying skel files from /root/cpanel3-skel/ to /home/allsetmu/
    [an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive]Added Entries to httpd.conf
    Bind reconfiguring on bloodletting using rndc
    Added Named File
    No Server found 	
    
    
    Restarting apache
    Ftp Password Files synced
    Notifcation => ron_schlecht@hotmail.com via EMAIL [level => 3]
    Vhost Passwords synced
    wwwacct creation finished
    My error_log looks like this:

    Code:
    Can't locate version.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /
    usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_per
    l /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /scripts) at /scripts/cPScript/cPQuota.pm line 11.
    BEGIN failed--compilation aborted at /scripts/cPScript/cPQuota.pm line 11.
    Compilation failed in require at /scripts/editquota line 8.
    BEGIN failed--compilation aborted at /scripts/editquota line 8.
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: settings-logstyle passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: settings-suexec passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: ip passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: logdir passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: settings-usecannameoff passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: settings-namevirtualhost passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: docroot passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: user passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: dirusers passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: settings-hascgi passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: settings-scriptalias passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: serveralias passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: homedir passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: logname passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: settings-dirprotect passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: servername passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: settings-phpopendir passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    (internal warning) Sat Feb 18 09:59:37 2006 [4720] warn: Unused key: serveradmin passed! at /scripts/cPScript/Template.pm line 89.
            cPScript::Template::gethttptemplate('default','apache1','HASH(0x9c23f2c)') called at /scripts/wwwacct line 891
    Died at /scripts/initbyteslog line 56.
    
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'd suggest you upgrade perl from v5.8.0 to v5.8.7 and see if that resolves your problems using the package on http://layer1.cpanel.net since you're missing some essential perl modules and v5.8.0 is proving too old now.
     
  7. schlecht

    schlecht Registered

    Joined:
    Dec 10, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I was updating whm/cpanel, but oddly enough until I tweaked some settings didn't get a full update. Now that it's update fully, everything works. Thanks for the help.
     
  8. phatblinkie

    phatblinkie Registered

    Joined:
    Dec 3, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    yes, i fixed mine too. upgrading perl didnt do it, so i ran /scripts/upcp all the way through, after that i was able to create accounts with no issue, as well as i have been provided with some new features i didnt have before, so the auto job of running that script must not have been working correctly, thanks for your help
     
Loading...

Share This Page