[solved] no Real-Time Statistics after upgrade to v4.1.1

#1
Hi,

I've no 'Real-Time Statistics' after upgrading to 4.1.1
all the values are blank or zero

Please help resolve this matter.

Thanks,
 
Last edited by a moderator:
#5
I've run the command you mentioned, but the problem persists,

as far as I checked, there are lots of APVH_www.XXXXXX.com_Suphp.sock.XXX in mentioned directory, but there is no files in /tmp/lshttpd/swap

the permission of /tmp/lshttpd/swap is :
Code:
ls -ald /tmp/lshttpd/swap/
drwx------ 2 apache apache 4096 Jun 19 17:54 /tmp/lshttpd/swap/
maybe related

Thanks,
 
#7
Thanks, here is the result you requested :

Code:
 # groups lsadm
lsadm : lsadm apache
Code:
 # ls -al /usr/local/lsws/admin/tmp

total 28
drwx--x---  2 lsadm apache 12288 Jun 20 05:03 .
drwxr-xr-x 11 root  root    4096 Jun 18 22:29 ..
srwxr-xr-x  1 root  root       0 Jan 23 17:20 admin.sock.7000
srwxr-xr-x  1 lsadm lsadm      0 Apr  6 19:34 admin.sock.7002
srwxr-xr-x  1 lsadm lsadm      0 Jan 31 09:27 admin.sock.7012
srwxr-xr-x  1 lsadm lsadm      0 Feb  4 10:34 admin.sock.7013
srwxr-xr-x  1 lsadm lsadm      0 Jan  6 06:42 admin.sock.7018
srwxr-xr-x  1 lsadm lsadm      0 May 18 09:02 admin.sock.7022
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 17:30 admin.sock.7023
srwxr-xr-x  1 lsadm lsadm      0 Feb 10 20:35 admin.sock.7030
srwxr-xr-x  1 lsadm lsadm      0 Apr  4 18:54 admin.sock.7035
srwxr-xr-x  1 lsadm lsadm      0 Mar  3 09:11 admin.sock.7037
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 17:28 admin.sock.7039
srwxr-xr-x  1 lsadm lsadm      0 Feb  3 21:05 admin.sock.7045
...
srwxr-xr-x  1 lsadm lsadm      0 May 28 08:06 admin.sock.7349
srwxr-xr-x  1 lsadm lsadm      0 Dec 31 16:19 admin.sock.7351
srwxr-xr-x  1 lsadm lsadm      0 Jun 13 09:42 admin.sock.7353
srwxr-xr-x  1 lsadm lsadm      0 Feb 25 14:31 admin.sock.7360
srwxr-xr-x  1 lsadm lsadm      0 May 20 07:32 admin.sock.7365
srwxr-xr-x  1 lsadm lsadm      0 Feb 19 13:03 admin.sock.7367
srwxr-xr-x  1 lsadm lsadm      0 Apr 29 14:47 admin.sock.7373
srwxr-xr-x  1 lsadm lsadm      0 Jan 17 19:14 admin.sock.7374
srwxr-xr-x  1 root  root       0 Jun  6 08:19 admin.sock.7377
srwxr-xr-x  1 lsadm lsadm      0 Feb 19 12:24 admin.sock.7379
srwxr-xr-x  1 lsadm lsadm      0 May 19 12:15 admin.sock.7384
srwxr-xr-x  1 lsadm lsadm      0 Mar  3 17:37 admin.sock.7395
srwxr-xr-x  1 lsadm lsadm      0 Jun  1 11:23 admin.sock.7401
srwxr-xr-x  1 lsadm lsadm      0 Jan 29 11:24 admin.sock.7402
srwxr-xr-x  1 lsadm lsadm      0 Apr 25 15:16 admin.sock.7404
srwxr-xr-x  1 lsadm lsadm      0 Apr 25 15:33 admin.sock.7407
srwxr-xr-x  1 lsadm lsadm      0 May 22 09:22 admin.sock.7416
srwxr-xr-x  1 lsadm lsadm      0 Jan 31 12:07 admin.sock.7424
srwxr-xr-x  1 lsadm lsadm      0 Feb  3 21:06 admin.sock.7433
srwxr-xr-x  1 lsadm lsadm      0 Feb  3 08:33 admin.sock.7440
srwxr-xr-x  1 lsadm lsadm      0 Jan 24 09:51 admin.sock.7441
srwxr-xr-x  1 lsadm lsadm      0 May 19 11:31 admin.sock.7448
srwxr-xr-x  1 lsadm lsadm      0 Feb 18 22:51 admin.sock.7454
srwxr-xr-x  1 root  root       0 Jan 15 21:36 admin.sock.7458
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 17:24 admin.sock.7472
srwxr-xr-x  1 lsadm lsadm      0 Jan 16 08:36 admin.sock.7474
srwxr-xr-x  1 lsadm lsadm      0 Feb  4 12:07 admin.sock.7477
srwxr-xr-x  1 lsadm lsadm      0 May 19 15:58 admin.sock.7478
srwxr-xr-x  1 lsadm lsadm      0 May 18 16:25 admin.sock.7479
srwxr-xr-x  1 lsadm lsadm      0 May 25 18:39 admin.sock.7482
srwxr-xr-x  1 lsadm lsadm      0 May 24 08:17 admin.sock.7483
srwxr-xr-x  1 lsadm lsadm      0 Feb  4 07:59 admin.sock.7499
srwxr-xr-x  1 lsadm lsadm      0 Jun  1 15:48 admin.sock.7509
srwxr-xr-x  1 root  root       0 Apr 18 13:33 admin.sock.7515
srwxr-xr-x  1 lsadm lsadm      0 Jun 19 14:21 admin.sock.7516
srwxr-xr-x  1 lsadm lsadm      0 Jan 23 20:53 admin.sock.7518
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 21:44 admin.sock.7527
srwxr-xr-x  1 lsadm lsadm      0 Mar  2 11:49 admin.sock.7538
srwxr-xr-x  1 lsadm lsadm      0 Mar 31 01:33 admin.sock.7539
srwxr-xr-x  1 lsadm lsadm      0 Mar 20 09:08 admin.sock.7540
srwxr-xr-x  1 lsadm lsadm      0 Jun 13 09:25 admin.sock.7549
srwxr-xr-x  1 lsadm lsadm      0 May 26 14:00 admin.sock.7557
srwxr-xr-x  1 lsadm lsadm      0 Mar  2 08:53 admin.sock.7560
srwxr-xr-x  1 root  root       0 Apr 18 13:50 admin.sock.7562
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 15:16 admin.sock.7566
srwxr-xr-x  1 lsadm lsadm      0 May  9 21:06 admin.sock.7569
srwxr-xr-x  1 lsadm lsadm      0 Apr  6 19:58 admin.sock.7574
srwxr-xr-x  1 lsadm lsadm      0 Feb  4 10:33 admin.sock.7576
srwxr-xr-x  1 lsadm lsadm      0 Apr  3 15:18 admin.sock.7585
srwxr-xr-x  1 lsadm lsadm      0 Feb  3 09:27 admin.sock.7589
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 15:06 admin.sock.7590
srwxr-xr-x  1 lsadm lsadm      0 May 19 15:42 admin.sock.7593
srwxr-xr-x  1 lsadm lsadm      0 Jan 26 09:17 admin.sock.7598
srwxr-xr-x  1 root  root       0 Feb  5 15:09 admin.sock.7601
srwxr-xr-x  1 lsadm lsadm      0 Jan 29 10:55 admin.sock.7603
srwxr-xr-x  1 lsadm lsadm      0 May  1 13:25 admin.sock.7609
srwxr-xr-x  1 lsadm lsadm      0 Jan 17 15:04 admin.sock.7613
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 16:05 admin.sock.7617
srwxr-xr-x  1 root  root       0 May 25 15:35 admin.sock.7619
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 17:26 admin.sock.7620
srwxr-xr-x  1 lsadm lsadm      0 Mar  3 15:26 admin.sock.7635
srwxr-xr-x  1 root  root       0 Mar 30 12:55 admin.sock.7637
srwxr-xr-x  1 lsadm lsadm      0 Apr 20 06:39 admin.sock.7641
srwxr-xr-x  1 lsadm lsadm      0 Jun  2 20:29 admin.sock.7658
srwxr-xr-x  1 lsadm lsadm      0 May 19 12:53 admin.sock.7666
srwxr-xr-x  1 lsadm lsadm      0 Jan 29 11:26 admin.sock.7671
srwxr-xr-x  1 lsadm lsadm      0 Jan 19 00:22 admin.sock.7674
srwxr-xr-x  1 lsadm lsadm      0 Feb  3 10:04 admin.sock.7679
srwxr-xr-x  1 lsadm lsadm      0 May 23 14:19 admin.sock.7686
srwxr-xr-x  1 lsadm lsadm      0 Jan 31 12:24 admin.sock.7687
srwxr-xr-x  1 lsadm lsadm      0 Jan 29 11:23 admin.sock.7691
srwxr-xr-x  1 lsadm lsadm      0 Feb  1 04:22 admin.sock.7693
srwxr-xr-x  1 lsadm lsadm      0 May 18 09:08 admin.sock.7695
srwxr-xr-x  1 root  root       0 Jun  4 08:34 admin.sock.7696
srwxr-xr-x  1 root  root       0 Apr 20 21:40 admin.sock.7697
srwxr-xr-x  1 lsadm lsadm      0 Mar 21 10:31 admin.sock.7711
srwxr-xr-x  1 lsadm lsadm      0 Apr 20 21:40 admin.sock.7737
srwxr-xr-x  1 lsadm lsadm      0 Feb 11 07:59 admin.sock.7741
srwxr-xr-x  1 root  root       0 May  9 21:07 admin.sock.7743
srwxr-xr-x  1 lsadm lsadm      0 Jan 15 21:34 admin.sock.7755
srwxr-xr-x  1 lsadm lsadm      0 May  9 10:44 admin.sock.7757
srwxr-xr-x  1 lsadm lsadm      0 Apr  4 09:15 admin.sock.7758
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 11:18 admin.sock.7759
srwxr-xr-x  1 lsadm lsadm      0 Jun 18 22:31 admin.sock.7760
srwxr-xr-x  1 lsadm lsadm      0 Feb  4 11:51 admin.sock.7766
srwxr-xr-x  1 lsadm lsadm      0 Jun 13 10:06 admin.sock.7767
srwxr-xr-x  1 lsadm lsadm      0 Jan 23 14:34 admin.sock.7768
srwxr-xr-x  1 lsadm lsadm      0 Apr 20 21:36 admin.sock.7772
srwxr-xr-x  1 lsadm lsadm      0 Dec 30 00:42 admin.sock.7780
srwxr-xr-x  1 lsadm lsadm      0 May 23 14:21 admin.sock.7781
srwxr-xr-x  1 lsadm lsadm      0 Feb 19 12:40 admin.sock.7783
srwxr-xr-x  1 lsadm lsadm      0 Jan 30 15:40 admin.sock.7784
srwxr-xr-x  1 lsadm lsadm      0 May 29 14:06 admin.sock.7785
srwxr-xr-x  1 lsadm lsadm      0 Jun 10 13:23 admin.sock.7786
srwxr-xr-x  1 lsadm lsadm      0 Mar 30 12:55 admin.sock.7797
srwxr-xr-x  1 lsadm lsadm      0 Feb  9 10:21 admin.sock.7798
srwxr-xr-x  1 lsadm lsadm      0 Jan 31 11:31 admin.sock.7800
srwxr-xr-x  1 lsadm lsadm      0 Feb  6 16:10 admin.sock.7804
srwxr-xr-x  1 lsadm lsadm      0 Jan  8 20:41 admin.sock.7810
srwxr-xr-x  1 lsadm lsadm      0 Jan 31 11:07 admin.sock.7812
srwxr-xr-x  1 lsadm lsadm      0 Jan 20 12:50 admin.sock.7814
srwxr-xr-x  1 lsadm lsadm      0 Feb  3 17:29 admin.sock.7823
srwxr-xr-x  1 lsadm lsadm      0 Feb  3 14:37 admin.sock.7826
srwxr-xr-x  1 lsadm lsadm      0 Feb 19 20:03 admin.sock.7835
srwxr-xr-x  1 lsadm lsadm      0 Feb 19 09:41 admin.sock.7842
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 22:22 admin.sock.7847
srwxr-xr-x  1 lsadm lsadm      0 Feb  3 19:42 admin.sock.7850
srwxr-xr-x  1 lsadm lsadm      0 Apr 18 15:00 admin.sock.7854
srwxr-xr-x  1 lsadm lsadm      0 Dec 25 08:17 admin.sock.7855
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 22:29 admin.sock.7858
srwxr-xr-x  1 root  root       0 Jun  6 08:20 admin.sock.7872
srwxr-xr-x  1 lsadm lsadm      0 May 29 10:41 admin.sock.7876
srwxr-xr-x  1 lsadm lsadm      0 Jan 30 15:32 admin.sock.7879
srwxr-xr-x  1 lsadm lsadm      0 Jan  9 11:24 admin.sock.7883
srwxr-xr-x  1 root  root       0 Jan  8 20:42 admin.sock.7893
srwxr-xr-x  1 lsadm lsadm      0 Feb  3 00:23 admin.sock.7898
srwxr-xr-x  1 root  root       0 May 23 14:21 admin.sock.7903
srwxr-xr-x  1 lsadm lsadm      0 Apr  4 07:58 admin.sock.7916
srwxr-xr-x  1 lsadm lsadm      0 Jan 23 17:19 admin.sock.7918
srwxr-xr-x  1 lsadm lsadm      0 Feb  3 10:14 admin.sock.7919
srwxr-xr-x  1 root  root       0 Jan  8 20:41 admin.sock.7921
srwxr-xr-x  1 lsadm lsadm      0 Jun 14 13:05 admin.sock.7922
srwxr-xr-x  1 lsadm lsadm      0 Jun 19 19:57 admin.sock.7924
srwxr-xr-x  1 lsadm lsadm      0 Jan  2 19:39 admin.sock.7930
srwxr-xr-x  1 lsadm lsadm      0 May 19 16:41 admin.sock.7934
srwxr-xr-x  1 lsadm lsadm      0 Feb 24 07:19 admin.sock.7935
srwxr-xr-x  1 lsadm lsadm      0 Feb  1 09:19 admin.sock.7942
srwxr-xr-x  1 lsadm lsadm      0 Jan 31 11:03 admin.sock.7963
srwxr-xr-x  1 root  root       0 Jan  2 19:38 admin.sock.7968
srwxr-xr-x  1 root  root       0 Jan 28 22:37 admin.sock.7971
srwxr-xr-x  1 lsadm lsadm      0 Mar  2 10:23 admin.sock.7974
srwxr-xr-x  1 lsadm lsadm      0 Jan 27 13:08 admin.sock.7976
srwxr-xr-x  1 lsadm lsadm      0 Feb  5 17:31 admin.sock.7981
srwxr-xr-x  1 lsadm lsadm      0 May 19 20:59 admin.sock.7985
srwxr-xr-x  1 lsadm lsadm      0 Apr  6 19:52 admin.sock.7996
srwxr-xr-x  1 lsadm lsadm      0 Jan 28 22:36 admin.sock.7998
-rw-------  1 lsadm lsadm    179 Jun 18 23:38 sess_618f36077d09e9154987147ce2994074
-rw-------  1 lsadm lsadm     78 Jun  9 10:38 sess_988ea88df714051c8cbbd0256a261545
-rw-------  1 lsadm lsadm     78 Jun 11 20:46 sess_b
Please note that, the lsws has been isntalled on DirectAdmin

Thanks again.
 

NiteWave

Administrator
#8
for a quick test, try
#chmod a+x /usr/local/lsws/admin/tmp
if any difference.
if still not, try
#chmod 777 /usr/local/lsws/admin/tmp
#rm -rf /usr/local/lsws/admin/tmp/*
 
#9
I've run the command :

Code:
 # ls -lad /usr/local/lsws/admin/tmp
drwxrwxrwx 2 lsadm apache 12288 Jun 20 11:28 /usr/local/lsws/admin/tmp
Code:
# ls -lah /usr/local/lsws/admin/tmp
total 24K
drwxrwxrwx  2 lsadm apache  12K Jun 20 11:39 .
drwxr-xr-x 11 root  root   4.0K Jun 18 22:29 ..
srwxr-xr-x  1 lsadm lsadm     0 Jun 20 11:28 admin.sock.7554
-rw-------  1 lsadm lsadm   184 Jun 20 08:43 sess_329023cc468884beb5ba687f3256b930
-rw-------  1 lsadm lsadm   179 Jun 20 11:39 sess_63a8929a324bc7f30f204369cc62d235
but no changes yet, the problem persists
 
Last edited:

webizen

Well-Known Member
#15
empty realtime stats is due to php (admin_php) for admin Vhost is using a modified php.ini (/usr/local/lsws/admin/conf/php.ini) in which functions like exec(), etc are disabled. However, these functions are needed to pull realtime stats. revert php.ini file or remove disable_function in php.ini and restart lsws will fix it.
 

foka

New Member
#17
The solution worked for me too.
#cp /usr/bin/php.ini /usr/local/lsws/admin/conf/php.ini
and refresh the real time stats page.
 
Top