Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    5

    Default Homedir Var Not Set

    For the past week or so, I see the following entry in the cPanel error log every time I access WHM or cPanel:

    info [Cpanel::Form]: - homedir var not set, defaulting to /root at /usr/local/cpanel/Cpanel/Form.pm line 436

    The only homedir variable I know about is in wwwacct.conf and it is correct there.

    I have run upcp --force and restarted the VPS but the log entries keep occurring.

    Anyone have any ideas?

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    What version and build # are you running?

    Thanks

  3. #3
    Registered User
    Join Date
    Dec 2006
    Posts
    5

    Default

    WHM 11.23.0 cPanel 11.23.1-C24909

    Here is a complete log entry:

    Sat May 31 10:45:49 2008 info [Cpanel::Form]: - homedir var not set, defaulting to /root at /usr/local/cpanel/Cpanel/Form.pm line 436
    Cpanel::Form::_log('homedir var not set, defaulting to /root') called at /usr/local/cpanel/Cpanel/Form.pm line 470
    Cpanel::Form::log_bandwidth(1, 27) called at /usr/local/cpanel/Cpanel/Form.pm line 338
    Cpanel::Form:: parseform() called at /usr/local/cpanel/whostmgr/docroot/cgi/addon_lview.cgi line 26

    This was all working fine until a week ago.

  4. #4
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    This is just a warning that the addon_lview.cgi (I'm not sure where that came from) did not set the $Cpanel::homedir variable and the Cpanel::Form module set it since it was missing. The addon probably just needs to be updated. However this shouldn't pose any problems if it isn't as Cpanel::Form will take care of setting the variable and this message is just a warning.

Similar Threads & Tags
Similar threads

  1. Replies: 30
    Last Post: 08-28-2010, 06:12 AM
  2. /var is 80% full due to /var/log/btmp
    By discovery in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-27-2010, 02:26 AM
  3. /var partition set to read only
    By chapsrulez in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-17-2010, 02:26 PM
  4. Drive Space Warning [ /dev/root (/var/named/chroot/var/run/dbus) ]
    By cool999 in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 01-29-2010, 02:43 PM
  5. what is homedir?
    By dunno in forum Data Protection
    Replies: 4
    Last Post: 10-02-2004, 11:37 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube