4.0 upgrade

anewday

Well-Known Member
#1
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.
 

anewday

Well-Known Member
#2
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 [127.0.0.1:24475-0#APVH_Default] File not found [/usr/local/apache/htdocs/whm-server-status]
2009-03-24 21:05:01.210 INFO [127.0.0.1:24475-0#APVH_Default] Cannot found appropriate handler for [/whm-server-status]
2009-03-24 21:05:01.210 INFO [127.0.0.1:24475-0#APVH_Default] File not found [/usr/local/apache/htdocs/404.shtml]

It will fill up the log quickly. :eek:
 
Last edited:

anewday

Well-Known Member
#3
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.
 

Tony

Well-Known Member
#4
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.

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

mistwang

LiteSpeed Staff
#5
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.
This is a bug, confirmed, fix will be available soon.
 

anewday

Well-Known Member
#7
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"
 

IrPr

Well-Known Member
#10
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 [127.0.0.1:24475-0#APVH_Default] File not found [/usr/local/apache/htdocs/whm-server-status]
2009-03-24 21:05:01.210 INFO [127.0.0.1:24475-0#APVH_Default] Cannot found appropriate handler for [/whm-server-status]
2009-03-24 21:05:01.210 INFO [127.0.0.1:24475-0#APVH_Default] File not found [/usr/local/apache/htdocs/404.shtml]

It will fill up the log quickly. :eek:
Same here
a lot of File not found for shtml SSI files

any solution to disable such logs?? not create the file
 

mistwang

LiteSpeed Staff
#12
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.
 

anewday

Well-Known Member
#13
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:

anewday

Well-Known Member
#14
I'm starting to see these in the error_log

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

Code:
143.225.93.199 - - [01/Apr/2009:06:17:52 -0500] "GET /roundcube//bin/msgimport HTTP/1.1" 404 389 "-" "Toata drago
stea mea pentru diavola"
143.225.93.199 - - [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/ ?
 
Top