SAMS. System Information - нету данных

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Аватара пользователя
Ridik5533
рядовой
Сообщения: 39
Зарегистрирован: 2011-12-20 18:16:11
Откуда: Киев

SAMS. System Information - нету данных

Непрочитанное сообщение Ridik5533 » 2012-09-11 10:21:25

SAMS. System Information перестали выводиться данные, после чего незнаю. Кто знает как их подняять помогите. Заранее спасибо.
Вложения
1.jpg

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Electronik
капитан
Сообщения: 1593
Зарегистрирован: 2008-11-15 17:32:56
Откуда: Минск
Контактная информация:

Re: SAMS. System Information - нету данных

Непрочитанное сообщение Electronik » 2012-09-11 23:36:08

статьи почитать, не?
http://www.lissyara.su/articles/freebsd ... ams+rejik/
Предскажем будущее hw по логам и дампу, снимем сглаз и порчу с рута, поможем придумать пароль(С)
Блог

Аватара пользователя
Ridik5533
рядовой
Сообщения: 39
Зарегистрирован: 2011-12-20 18:16:11
Откуда: Киев

Re: SAMS. System Information - нету данных

Непрочитанное сообщение Ridik5533 » 2012-09-12 9:10:47

Electronik писал(а):статьи почитать, не?
http://www.lissyara.su/articles/freebsd ... ams+rejik/
Ты не понял, все было настроено, работало и отображалось. После какихто манипуляций - не отображаеться. Что было сделано - незнаю.

Аватара пользователя
bagas
лейтенант
Сообщения: 922
Зарегистрирован: 2010-08-18 19:49:01
Откуда: Воронеж
Контактная информация:

Re: SAMS. System Information - нету данных

Непрочитанное сообщение bagas » 2012-09-12 10:49:00

посмотри конфиг самса.
Перегрузи сервер, может сбой системный какойто.
Что бы ты не делал , жизнь слишком коротка!
Блог о BSD системах.

Charlz_Klug_
проходил мимо

Re: SAMS. System Information - нету данных

Непрочитанное сообщение Charlz_Klug_ » 2012-09-12 16:42:25

Ridik5533 писал(а):SAMS. System Information перестали выводиться данные, после чего незнаю. Кто знает как их подняять помогите. Заранее спасибо.
Дайте вывод

Код: Выделить всё

cat /var/log/httpd-error.log
.

Аватара пользователя
Ridik5533
рядовой
Сообщения: 39
Зарегистрирован: 2011-12-20 18:16:11
Откуда: Киев

Re: SAMS. System Information - нету данных

Непрочитанное сообщение Ridik5533 » 2012-09-18 12:32:05

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)

Charlz_Klug_
проходил мимо

Re: SAMS. System Information - нету данных

Непрочитанное сообщение Charlz_Klug_ » 2012-09-18 18:50:49

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
рядовой
Сообщения: 39
Зарегистрирован: 2011-12-20 18:16:11
Откуда: Киев

Re: SAMS. System Information - нету данных

Непрочитанное сообщение Ridik5533 » 2012-09-27 10:27:50

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
Вот вам и ответ.
Все эти файлы на своих местах!

Charlz_Klug_
проходил мимо

Re: SAMS. System Information - нету данных

Непрочитанное сообщение Charlz_Klug_ » 2012-09-27 20:28:00

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# 
Смотрим что там в freemem:

Код: Выделить всё

test# cat freemem 
#!/bin/sh

STR=`free | grep Mem:`
echo $STR 
test# 
Похоже, что это линуксовый free:

Код: Выделить всё

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:~$ 
Здесь (примерно в самом низу) написано как исправить это дело. Но, по-хорошему надо бы написать PR.