[Solved] Listeners reporting 'Errors' 'Restart Required'

#1
I've got 4 Listeners that are all reporting errors and 4 virtual hosts claiming that a restart is required, however after restarting, the status remains the same. The sites all still work, but the logging facilities appear not to.

The server error log doesn't show anything at all, no errors, just information about the restarts I've been doing and the expiration of my License key.

Any ideas?
 

webizen

Well-Known Member
#2
Is there anything logged in stderr.log?

Also, please post your logging level at server and vhost level here:
Admin Console-> Server-> Log -> Server Log
File Name:
Log Level:
Debug Level:
Enable stderr Log:
Admin Console-> Virutal Hosts -> vhost1,2.. -> Log -> Virtual Host Log
Use Server's Log:
Log Level:
 

webizen

Well-Known Member
#6
Even the Server log level is set to DEBUG, the debug level could be set to NONE (default) which disables debug logging. Please double check. Change to something like MEDIUM or HIGH if it is NONE.
 
#11
The stderr.log file doesn't have anything in it since November 25th, the error.log is now storing debug info and has too many standard notices in it to make it readable. Am I looking for something specific that might cause this or are there a number of reasons?
 

webizen

Well-Known Member
#12
If the errors about the listeners persist, you should see entries in error.log like '2010-12-01 02:34:56 [ERROR] err_about_the_listener ...' and more entires around that with '[NOTICE|INFO|DEBUG]' to give more details. Are you still seeing listener errors? Can you paste a few lines around the error entry here (or via pm) if so?
 

webizen

Well-Known Member
#15
Here are the errors that may give a clue.

Code:
[STDERR] PHP Warning: filemtime() [<a href='function.filemtime'>function.filemtime</a>]: Stat failed for /tmp/lshttpd/.status (errno=13 - Permission denied) in /usr/local/lsws/admin/html.4.0.17/classes/ws/Service.php on line 33
[STDERR] PHP Warning: fopen(/tmp/lshttpd/lshttpd.pid) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /usr/local/lsws/admin/html.4.0.17/classes/ws/Service.php on line 70
Basically lsws is unable to open files (.status and lshttpd.pid) in /tmp/lshttpd/. Therefore, web admin console still showing the old server status (no matter how many graceful restarts are done) and real-time stats is empty as well.

Please reference the following post and see if the fix applies to your case:

http://www.litespeedtech.com/support/forum/showthread.php?t=3718
 
Last edited:
Top