4.0 upgrade

Discussion in 'Install/Configuration' started by anewday, Mar 25, 2009.

  1. anewday

    anewday Moderator

    Just upgraded from 3.3.24 to 4.0 today. Saw this during installation.

    chown: cannot access `/var/log/httpd/domains': No such file or directory
    Congratulations! The LiteSpeed Web Server has been successfully installed.
    Command line script - "/usr/local/lsws/bin/lswsctrl"
    can be used to start or stop the server.

    Is there anything to be worried about? Also, it doesn't give me the option of installing with large file support.
  2. anewday

    anewday Moderator

    Also, see these in error log every 5 minutes.

    2009-03-24 20:49:21.834 NOTICE [74.x.x.x:57022-0#_AdminVHost] [STDERR] PHP Warning: file(/tmp/lshttpd/.vmstats) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory in /usr/local/lsws/admin/html.4.0/classes/STATS.php on line 163

    2009-03-24 21:05:01.210 INFO [] File not found [/usr/local/apache/htdocs/whm-server-status]
    2009-03-24 21:05:01.210 INFO [] Cannot found appropriate handler for [/whm-server-status]
    2009-03-24 21:05:01.210 INFO [] File not found [/usr/local/apache/htdocs/404.shtml]

    It will fill up the log quickly. :eek:
    Last edited: Mar 25, 2009
  3. anewday

    anewday Moderator

    And one more thing.

    [config:server:basic] invalid value of <autoReloadApacheConf>:3, use default=0

    Did you remove one option from "Auto reload on changes"? I set it to Use Apache binary wrapper and when I type service http, it's pointing to Apache.
  4. Tony

    Tony Well-Known Member

    I've seen the wrapper be overwritten before. Did you check to see what the contents of /usr/local/apache/bin/httpd were?
  5. mistwang

    mistwang LiteSpeed Staff

    This is a bug, confirmed, fix will be available soon.
  6. mistwang

    mistwang LiteSpeed Staff

    download 4.0 package again, should be fixed.
  7. anewday

    anewday Moderator

    George, what about the first 2 messages I wrote?

    Thanks for the quick fix. It shows a value of "3" for Auto Reload on Changes but after you click on EDIT, it shows a value of "No" since 3 is not a valid option and thus reverted back to the default value of 0 for "No"
  8. anewday

    anewday Moderator

    Last edited: Mar 26, 2009
  9. anewday

    anewday Moderator

    George, please address the first 2 posts in this thread. :(
  10. IrPr

    IrPr Well-Known Member

    Same here
    a lot of File not found for shtml SSI files

    any solution to disable such logs?? not create the file
  11. anewday

    anewday Moderator

    Yeah, it's filling the logs to the tune of 2MB everyday and it makes searching the logs a pita having to go through pages and pages.
  12. mistwang

    mistwang LiteSpeed Staff

    the vmstats error will be addressed in 4.0.1 release.

    For the /whm-server-status error, just create a empty file at /usr/local/apache/htdocs/whm-server-status, it will be addressed when we add support for apache style server status page.

    I cannot turn off 404 error log as it is required for shared hosting environment, user need to know which file is missing from the log file.
  13. anewday

    anewday Moderator

    can I do the same for 404.shtml ?

    Edit: seems the log doesn't show 404.shtml errors after I created a whm-server-status file.
    Last edited: Mar 31, 2009
  14. anewday

    anewday Moderator

    I'm starting to see these in the error_log

    2009-04-01 11:06:17.590	INFO	[] File not found [/usr/local/apache/htdocs/roundcube/bin/msgimport]
    2009-04-01 11:06:17.590	INFO	[] File not found [/usr/local/apache/htdocs/404.shtml]
    2009-03-31 19:58:54.660	INFO	[] File not found [/usr/local/apache/htdocs/w00tw00t.at.ISC.SANS.DFind:)]
    2009-03-31 19:58:54.660	INFO	[] File not found [/usr/local/apache/htdocs/404.shtml]
    and it appears in the domain logs.

    Code: - - [01/Apr/2009:06:17:52 -0500] "GET /roundcube//bin/msgimport HTTP/1.1" 404 389 "-" "Toata drago
    stea mea pentru diavola" - - [01/Apr/2009:11:06:17 -0500] "GET /roundcube//bin/msgimport HTTP/1.1" 404 389 "-" "Toata drago
    stea mea pentru diavola"
    Shouldn't it return a 400 Bad Request instead of a 404? Also, should I make a 404.shtml file inside /usr/local/apache/htdocs/ ?
  15. MindTooth

    MindTooth Active Member

    When can I upgrade from 4.0rc1 to 4.0? Waiting for the web gui upgrade path.

    Birger :)

Share This Page