Logs stored, but server log viewer can not show them

PSS

Well-Known Member
#1
LiteSpeed Web Server Enterprise 5.2.5

Server logs are stored correctly in /opt/lsws/logs

Code:
-rw-r--r--  1 nobody nobody 3.6K Mar  5 13:14 error.log.2018_03_05
-rw-r--r--  1 nobody nobody 5.6K Mar  5 14:20 error.log.2018_03_05.01
etc.

In LS admin CP, server log viewer can tell "Log Size: 5.96 KB" or so, but does not show anything in the list regardless of display levels.

Any ideas?
 
Last edited:

NiteWave

Administrator
#2
1. ensure lastest version, now 5.2.5 build 2
2. only error.log will be viewed on admin console
3. if still problem, can you show 1~3 lines of log entries ? need check the timestamp format. millisecond fraction or microsecond fraction is used.
 

PSS

Well-Known Member
#3
I have 5.2.5 Active (Build 1), so will the force reinstall command making it build 2?
BTW: This has been confusing for years now, why can't you simply release new versions as
5.2.5.1
5.2.5.2
and so on?

Still nothing shown in admin panel logs:

Code:
[xxxx@xxxx logs]# pwd
/opt/lsws/logs

[xxxx@xxxx logs]# tail error.log -n 10
2018-03-24 15:41:44.520795 [INFO] [207.46.13.179:8760] [HOTLINK] Direct access detected, access denied.
2018-03-24 15:41:46.862581 [INFO] [207.46.13.131:7087] [HOTLINK] Direct access detected, access denied.
2018-03-24 15:41:51.903791 [INFO] [157.55.39.201:16866] [HOTLINK] Direct access detected, access denied.
2018-03-24 15:41:52.171645 [INFO] [157.55.39.201:16934] [HOTLINK] Direct access detected, access denied.
2018-03-24 15:41:52.621782 [INFO] [79.170.40.43:33582] File not found [/xxxx/wp-admin/]
2018-03-24 15:41:56.431511 [INFO] [86.148.204.99:54222] File not found [/xxxx/apple-touch-icon-precomposed.png]
2018-03-24 15:41:56.578441 [INFO] [86.148.204.99:54222-1#xxxx] File not found [/xxxx/apple-touch-icon.png]
2018-03-24 15:42:02.785134 [INFO] [47.223.89.143:53968] [HOTLINK] Direct access detected, access denied.
2018-03-24 15:42:07.334392 [INFO] [157.55.39.201:4526] [HOTLINK] Direct access detected, access denied.
2018-03-24 15:42:07.648122 [INFO] [157.55.39.201:4566] [HOTLINK] Direct access detected, access denied.


[xxxx@xxxx logs]# ls -lha
total 231M
drwxr-xr-x  2 root   root   4.0K Mar 24 15:29 .
drwxr-xr-x 17 root   root   4.0K Mar  5 13:42 ..
-rw-r--r--  1 nobody nobody    0 Mar 10 20:19 access.log
-rw-r--r--  1 nobody nobody 181M Mar 24 15:17 access.log.2018_03_10
-rw-r--r--  1 nobody nobody  38K Mar 24 15:43 error.log
-rw-r--r--  1 nobody nobody 3.6K Mar  5 13:14 error.log.2018_03_05
....
Code:
-rw-r--r--  1 nobody nobody  41K Mar  9 19:42 error.log.2018_03_09.02
-rw-r--r--  1 nobody nobody 1.7M Mar 10 07:50 error.log.2018_03_10
-rw-r--r--  1 nobody nobody 949K Mar 10 14:19 error.log.2018_03_10.01
-rw-r--r--  1 nobody nobody  11M Mar 13 23:47 error.log.2018_03_13
-rw-r--r--  1 nobody nobody  11M Mar 17 09:03 error.log.2018_03_17
-rw-r--r--  1 nobody nobody  11M Mar 20 09:36 error.log.2018_03_20
-rw-r--r--  1 nobody nobody  11M Mar 23 10:11 error.log.2018_03_23
-rw-r--r--  1 nobody nobody 4.0M Mar 24 15:33 error.log.2018_03_24
-rw-r--r--  1 root   root    880 Mar  9 19:06 lsrestart.log
-rw-r--r--  1 nobody nobody 265K Mar 24 14:57 stderr.log
 
Last edited by a moderator:

Pong

Administrator
Staff member
#4
Try to force upgrade, it generally fix any permission error.
Code:
 /opt/lsws/admin/misc/lsup.sh -f -v 5.2.5
If still a problem, please log a ticket with us by providing tmp root access to your server and we can take a look there.
 
Last edited by a moderator:
Top