SAMS. System Information - нету данных
Добавлено: 2012-09-11 10:21:25
SAMS. System Information перестали выводиться данные, после чего незнаю. Кто знает как их подняять помогите. Заранее спасибо.
Раз не осталось живых, значит мертвые — Встать!
https://forum.lissyara.su/
Ты не понял, все было настроено, работало и отображалось. После какихто манипуляций - не отображаеться. Что было сделано - незнаю.Electronik писал(а):статьи почитать, не?
http://www.lissyara.su/articles/freebsd ... ams+rejik/
Дайте выводRidik5533 писал(а):SAMS. System Information перестали выводиться данные, после чего незнаю. Кто знает как их подняять помогите. Заранее спасибо.
Код: Выделить всё
cat /var/log/httpd-error.log
вотCharlz_Klug_ писал(а):Дайте выводRidik5533 писал(а):SAMS. System Information перестали выводиться данные, после чего незнаю. Кто знает как их подняять помогите. Заранее спасибо..Код: Выделить всё
cat /var/log/httpd-error.log
Код: Выделить всё
[Fri Aug 17 09:43:00 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/tray.php on line 140
[Fri Aug 17 09:43:00 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/tray.php on line 141
[Fri Aug 17 09:43:00 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:43:00 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Fri Aug 17 09:43:06 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:43:06 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Fri Aug 17 09:43:09 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:43:09 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Fri Aug 17 09:43:26 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:43:26 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Fri Aug 17 09:43:39 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/lframe.php on line 61
[Fri Aug 17 09:43:39 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/lframe.php on line 62
[Fri Aug 17 09:43:39 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:43:39 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Fri Aug 17 09:43:39 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/tray.php on line 140
[Fri Aug 17 09:43:39 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/tray.php on line 141
[Fri Aug 17 09:43:39 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:43:39 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Fri Aug 17 09:43:43 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:43:43 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Fri Aug 17 09:43:44 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:43:44 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Fri Aug 17 09:43:55 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:43:55 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Fri Aug 17 09:43:55 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/lframe.php on line 61
[Fri Aug 17 09:43:55 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/lframe.php on line 62
[Fri Aug 17 09:43:55 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/tray.php on line 140
[Fri Aug 17 09:43:55 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/tray.php on line 141
[Fri Aug 17 09:43:55 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:43:55 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Fri Aug 17 09:43:57 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:43:57 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Fri Aug 17 09:44:07 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Fri Aug 17 09:44:07 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Tue Sep 4 11:27:59 2012] [notice] caught SIGTERM, shutting down
[Tue Sep 4 11:27:46 2012] [notice] Apache/1.3.42 (Unix) PHP/5.3.6 with Suhosin-Patch configured -- resuming normal operations
[Tue Sep 4 11:27:46 2012] [notice] Accept mutex: flock (Default: flock)
[Thu Sep 6 13:02:18 2012] [notice] caught SIGTERM, shutting down
[Thu Sep 6 13:04:04 2012] [notice] Apache/1.3.42 (Unix) PHP/5.3.6 with Suhosin-Patch configured -- resuming normal operations
[Thu Sep 6 13:04:04 2012] [notice] Accept mutex: flock (Default: flock)
[Tue Sep 11 09:58:09 2012] [error] [client 10.0.0.1] File does not exist: /usr/local/www/data/favicon.ico
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: user in /usr/local/share/sams/tray.php on line 139
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: passwd in /usr/local/share/sams/tray.php on line 139
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: user in /usr/local/share/sams/main.php on line 338
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: passwd in /usr/local/share/sams/main.php on line 338
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: user in /usr/local/share/sams/lframe.php on line 60
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: passwd in /usr/local/share/sams/lframe.php on line 60
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/tray.php on line 140
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/tray.php on line 141
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/lframe.php on line 61
[Tue Sep 11 09:58:09 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/lframe.php on line 62
[Tue Sep 11 10:09:06 2012] [error] PHP Notice: Undefined index: user in /usr/local/share/sams/main.php on line 338
[Tue Sep 11 10:09:06 2012] [error] PHP Notice: Undefined index: passwd in /usr/local/share/sams/main.php on line 338
[Tue Sep 11 10:09:06 2012] [error] PHP Notice: Undefined index: user in /usr/local/share/sams/lframe.php on line 60
[Tue Sep 11 10:09:06 2012] [error] PHP Notice: Undefined index: passwd in /usr/local/share/sams/lframe.php on line 60
[Tue Sep 11 10:09:06 2012] [error] PHP Notice: Undefined index: user in /usr/local/share/sams/tray.php on line 139
[Tue Sep 11 10:09:06 2012] [error] PHP Notice: Undefined index: passwd in /usr/local/share/sams/tray.php on line 139
[Tue Sep 11 10:09:06 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Tue Sep 11 10:09:06 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Tue Sep 11 10:09:06 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/lframe.php on line 61
[Tue Sep 11 10:09:06 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/lframe.php on line 62
[Tue Sep 11 10:09:07 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/tray.php on line 140
[Tue Sep 11 10:09:07 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/tray.php on line 141
[Tue Sep 11 10:09:07 2012] [error] PHP Notice: Undefined index: user in /usr/local/share/sams/main.php on line 338
[Tue Sep 11 10:09:07 2012] [error] PHP Notice: Undefined index: passwd in /usr/local/share/sams/main.php on line 338
[Tue Sep 11 10:09:07 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Tue Sep 11 10:09:07 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Tue Sep 11 10:09:53 2012] [error] PHP Notice: Undefined index: user in /usr/local/share/sams/main.php on line 338
[Tue Sep 11 10:09:53 2012] [error] PHP Notice: Undefined index: passwd in /usr/local/share/sams/main.php on line 338
[Tue Sep 11 10:09:53 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Tue Sep 11 10:09:53 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Tue Sep 11 10:09:54 2012] [error] PHP Notice: Undefined index: user in /usr/local/share/sams/main.php on line 338
[Tue Sep 11 10:09:54 2012] [error] PHP Notice: Undefined index: passwd in /usr/local/share/sams/main.php on line 338
[Tue Sep 11 10:09:54 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Tue Sep 11 10:09:54 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Tue Sep 11 10:09:58 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Tue Sep 11 10:09:58 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/main.php on line 339
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/main.php on line 340
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/lframe.php on line 61
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/lframe.php on line 62
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined index: domainuser in /usr/local/share/sams/tray.php on line 140
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined index: gauditor in /usr/local/share/sams/tray.php on line 141
usr/local/share/sams/bin/getuptime: not found
usr/local/share/sams/bin/getuptime: not found
usr/local/share/sams/bin/freemem: not found
usr/local/share/sams/bin/freemem: not found
usr/local/share/sams/bin/freeswap: not found
usr/local/share/sams/bin/freeswap: not found
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined offset: 1 in /usr/local/share/sams/src/configtray.php on line 38
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined offset: 2 in /usr/local/share/sams/src/configtray.php on line 38
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined offset: 3 in /usr/local/share/sams/src/configtray.php on line 38
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined offset: 1 in /usr/local/share/sams/src/configtray.php on line 44
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined offset: 2 in /usr/local/share/sams/src/configtray.php on line 44
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined offset: 3 in /usr/local/share/sams/src/configtray.php on line 44
usr/local/share/sams/bin/fsusage: not found
usr/local/share/sams/bin/fsusage: not found
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined offset: 1 in /usr/local/share/sams/src/configtray.php on line 86
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined offset: 2 in /usr/local/share/sams/src/configtray.php on line 86
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined offset: 3 in /usr/local/share/sams/src/configtray.php on line 86
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined offset: 4 in /usr/local/share/sams/src/configtray.php on line 86
[Tue Sep 11 10:10:21 2012] [error] PHP Notice: Undefined offset: 5 in /usr/local/share/sams/src/configtray.php on line 86
[Tue Sep 11 10:10:21 2012] [error] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /usr/local/share/sams/src/configtray.php on line 121
[Tue Sep 11 10:10:21 2012] [error] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /usr/local/share/sams/src/configtray.php on line 122
[Tue Sep 11 10:10:21 2012] [error] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /usr/local/share/sams/src/configtray.php on line 123
[Tue Sep 11 12:23:39 2012] [notice] caught SIGTERM, shutting down
[Tue Sep 11 12:25:05 2012] [notice] Apache/1.3.42 (Unix) PHP/5.3.6 with Suhosin-Patch configured -- resuming normal operations
[Tue Sep 11 12:25:05 2012] [notice] Accept mutex: flock (Default: flock)
Вот вам и ответ.Ridik5533 писал(а): вотКод: Выделить всё
usr/local/share/sams/bin/getuptime: not found usr/local/share/sams/bin/getuptime: not found usr/local/share/sams/bin/freemem: not found usr/local/share/sams/bin/freemem: not found usr/local/share/sams/bin/freeswap: not found usr/local/share/sams/bin/freeswap: not found usr/local/share/sams/bin/fsusage: not found usr/local/share/sams/bin/fsusage: not found
Все эти файлы на своих местах!Charlz_Klug_ писал(а):Вот вам и ответ.Ridik5533 писал(а): вотКод: Выделить всё
usr/local/share/sams/bin/getuptime: not found usr/local/share/sams/bin/getuptime: not found usr/local/share/sams/bin/freemem: not found usr/local/share/sams/bin/freemem: not found usr/local/share/sams/bin/freeswap: not found usr/local/share/sams/bin/freeswap: not found usr/local/share/sams/bin/fsusage: not found usr/local/share/sams/bin/fsusage: not found
Ridik5533 писал(а):Все эти файлы на своих местах!Charlz_Klug_ писал(а):Вот вам и ответ.Ridik5533 писал(а): вотКод: Выделить всё
usr/local/share/sams/bin/getuptime: not found usr/local/share/sams/bin/getuptime: not found usr/local/share/sams/bin/freemem: not found usr/local/share/sams/bin/freemem: not found usr/local/share/sams/bin/freeswap: not found usr/local/share/sams/bin/freeswap: not found usr/local/share/sams/bin/fsusage: not found usr/local/share/sams/bin/fsusage: not found
Код: Выделить всё
test# pwd
/usr/local/share/sams/bin
test# ls
diskspace fsusage samsdf
freemem getuptime testwbinfopasswd
freeswap getwbinfousers updateuserlist
test# ./freemem
free: not found
test#
Код: Выделить всё
test# cat freemem
#!/bin/sh
STR=`free | grep Mem:`
echo $STR
test#
Код: Выделить всё
imil@Azadbash:~$ uname -a
Linux Azadbash.local 2.6.32-5-486 #1 Sun May 6 03:29:22 UTC 2012 i686 GNU/Linux
imil@Azadbash:~$ free|grep Mem:
Mem: 2074376 1289656 784720 0 26500 558320
imil@Azadbash:~$