URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 68776
[ Назад ]

Исходное сообщение
"Неработает вывод статистики! ХЕЛП МИ!"

Отправлено yurka , 07-Сен-06 20:19 
У меня на фре, настроен подсчет трафика через IPA результат выводится по команде:
# ipastat -r yura
+------+------+---------------------+---------------------+
| Rule | Info | From                | To                  |
+------+------+---------------------+---------------------+
| yura |      | 2006.09.01/00:00:00 | 2006.09.30/24:00:00 |
+------+------+---------------------+---------------------+

+------------+--------+--------+
| Date       |  Bytes | Mbytes |
+------------+--------+--------+
| 2006.09.07 | 446858 |      0 |
+------------+--------+--------+
|            | 446858 |      0 |
+------------+--------+--------+
* 1 day *

это было настроено и в веб-интерфейсе, по адресу:
http://www.stat.sit-ua.com/showipa.cgi?user=yura

результат выводился такой же как и выше, просто так удобней для юзеров смотреть свою статистику!
Сейчас при запросе странички выдает такое:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@sit-ua.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


В чем может быть проблемма!? Я просто ненастраивал эту всю статистику по этому незнаю что где может быть! Подскажите плиз!!!


Содержание

Сообщения в этом обсуждении
"Неработает вывод статистики! ХЕЛП МИ!"
Отправлено Sherlock , 08-Сен-06 08:00 
>Сейчас при запросе странички выдает такое:
>Internal Server Error
>The server encountered an internal error or misconfiguration and was unable to
>complete your request.
>Please contact the server administrator, webmaster@sit-ua.com and inform them of the time
>the error occurred, and anything you might have done that may
>have caused the error.
>
>More information about this error may be available in the server error
>log.
>
>
>В чем может быть проблемма!? Я просто ненастраивал эту всю статистику по
>этому незнаю что где может быть! Подскажите плиз!!!

Надо смотреть не то, что пользователю выдается на страницу, а логи ошибок апача.
Там будет более предметно написано, в чем проблема.


"Неработает вывод статистики! ХЕЛП МИ!"
Отправлено yurka , 08-Сен-06 13:13 
>>Сейчас при запросе странички выдает такое:
>>Internal Server Error
>>The server encountered an internal error or misconfiguration and was unable to
>>complete your request.
>>Please contact the server administrator, webmaster@sit-ua.com and inform them of the time
>>the error occurred, and anything you might have done that may
>>have caused the error.
>>
>>More information about this error may be available in the server error
>>log.
>>
>>
>>В чем может быть проблемма!? Я просто ненастраивал эту всю статистику по
>>этому незнаю что где может быть! Подскажите плиз!!!
>
>Надо смотреть не то, что пользователю выдается на страницу, а логи ошибок
>апача.
>Там будет более предметно написано, в чем проблема.

а где логи находятся!?


"Неработает вывод статистики! ХЕЛП МИ!"
Отправлено yurka , 08-Сен-06 13:17 
>>>Сейчас при запросе странички выдает такое:
>>>Internal Server Error
>>>The server encountered an internal error or misconfiguration and was unable to
>>>complete your request.
>>>Please contact the server administrator, webmaster@sit-ua.com and inform them of the time
>>>the error occurred, and anything you might have done that may
>>>have caused the error.
>>>
>>>More information about this error may be available in the server error
>>>log.
>>>
>>>
>>>В чем может быть проблемма!? Я просто ненастраивал эту всю статистику по
>>>этому незнаю что где может быть! Подскажите плиз!!!
>>
>>Надо смотреть не то, что пользователю выдается на страницу, а логи ошибок
>>апача.
>>Там будет более предметно написано, в чем проблема.
>
>а где логи находятся!?


Все нашел:
/var/log/httpd-access.log


"Неработает вывод статистики! ХЕЛП МИ!"
Отправлено yurka , 08-Сен-06 13:28 
>>>>Сейчас при запросе странички выдает такое:
>>>>Internal Server Error
>>>>The server encountered an internal error or misconfiguration and was unable to
>>>>complete your request.
>>>>Please contact the server administrator, webmaster@sit-ua.com and inform them of the time
>>>>the error occurred, and anything you might have done that may
>>>>have caused the error.
>>>>
>>>>More information about this error may be available in the server error
>>>>log.
>>>>
>>>>
>>>>В чем может быть проблемма!? Я просто ненастраивал эту всю статистику по
>>>>этому незнаю что где может быть! Подскажите плиз!!!
>>>
>>>Надо смотреть не то, что пользователю выдается на страницу, а логи ошибок
>>>апача.
>>>Там будет более предметно написано, в чем проблема.
>>
>>а где логи находятся!?
>
>
>Все нашел:
>/var/log/httpd-access.log

У меня в логе куча айпишников время и еще запросы GET OPTIONS HTML


"Неработает вывод статистики! ХЕЛП МИ!"
Отправлено yurka , 08-Сен-06 13:42 
>>>>Сейчас при запросе странички выдает такое:
>>>>Internal Server Error
>>>>The server encountered an internal error or misconfiguration and was unable to
>>>>complete your request.
>>>>Please contact the server administrator, webmaster@sit-ua.com and inform them of the time
>>>>the error occurred, and anything you might have done that may
>>>>have caused the error.
>>>>
>>>>More information about this error may be available in the server error
>>>>log.
>>>>
>>>>
>>>>В чем может быть проблемма!? Я просто ненастраивал эту всю статистику по
>>>>этому незнаю что где может быть! Подскажите плиз!!!
>>>
>>>Надо смотреть не то, что пользователю выдается на страницу, а логи ошибок
>>>апача.
>>>Там будет более предметно написано, в чем проблема.
>>
>>а где логи находятся!?
>
>
>Все нашел:
>/var/log/httpd-access.log

У меня в логе куча айпишников время и еще запросы GET OPTIONS HTML


"Неработает вывод статистики! ХЕЛП МИ!"
Отправлено redmoon , 08-Сен-06 13:49 
там должен быть есчо и error-log


покажи последние записи в error-log и в access_log


"Неработает вывод статистики! ХЕЛП МИ!"
Отправлено yurka , 08-Сен-06 15:41 
>там должен быть есчо и error-log
>
>
>
>
>покажи последние записи в error-log и в access_log

Фрагмент записей!

PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/fileinfo.so' - Cannot open &
[Thu Dec  1 18:53:21 2005] [warn] _default_ VirtualHost overlap on port 443, the first has precedenc
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/fileinfo.so' - Cannot open &
[Thu Dec  1 18:53:22 2005] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7e-p1 PHP/4.4.1
[Thu Dec  1 18:53:22 2005] [notice] Accept mutex: flock (Default: flock)
[Thu Dec  1 18:56:04 2005] [notice] SIGHUP received.  Attempting to restart
[Thu Dec  1 18:56:04 2005] [warn] _default_ VirtualHost overlap on port 443, the first has precedenc
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/fileinfo.so' - Cannot open &
[Thu Dec  1 18:56:05 2005] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7e-p1 PHP/4.4.1
[Thu Dec  1 18:56:05 2005] [notice] Accept mutex: flock (Default: flock)
^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
^GCharacter set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/chars
^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
^GCharacter set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/chars
^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
^GCharacter set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/chars
^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
^GCharacter set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/chars
^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
^GCharacter set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/chars
^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
^GCharacter set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/chars
^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
^GCharacter set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/chars
^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
^GCharacter set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/chars
^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
^GCharacter set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/chars
^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
^GCharacter set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/chars
^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
^GCharacter set '#51' is not a compiled character set and is not specified in the 'NONEXISTENT/chars


"Неработает вывод статистики! ХЕЛП МИ!"
Отправлено yurka , 08-Сен-06 15:53 
>>там должен быть есчо и error-log
>>
>>
>>
>>
>>покажи последние записи в error-log и в access_log
>
>Фрагмент записей!
>
>PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/fileinfo.so' - Cannot
>open &
>[Thu Dec  1 18:53:21 2005] [warn] _default_ VirtualHost overlap on port
>443, the first has precedenc
>PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/fileinfo.so' - Cannot
>open &
>[Thu Dec  1 18:53:22 2005] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7e-p1 PHP/4.4.1
>
>[Thu Dec  1 18:53:22 2005] [notice] Accept mutex: flock (Default: flock)
>
>[Thu Dec  1 18:56:04 2005] [notice] SIGHUP received.  Attempting to
>restart
>[Thu Dec  1 18:56:04 2005] [warn] _default_ VirtualHost overlap on port
>443, the first has precedenc
>PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/lib/fileinfo.so' - Cannot
>open &
>[Thu Dec  1 18:56:05 2005] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7e-p1 PHP/4.4.1
>
>[Thu Dec  1 18:56:05 2005] [notice] Accept mutex: flock (Default: flock)
>
>^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
>^GCharacter set '#51' is not a compiled character set and is not
>specified in the 'NONEXISTENT/chars
>^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
>^GCharacter set '#51' is not a compiled character set and is not
>specified in the 'NONEXISTENT/chars
>^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
>^GCharacter set '#51' is not a compiled character set and is not
>specified in the 'NONEXISTENT/chars
>^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
>^GCharacter set '#51' is not a compiled character set and is not
>specified in the 'NONEXISTENT/chars
>^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
>^GCharacter set '#51' is not a compiled character set and is not
>specified in the 'NONEXISTENT/chars
>^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
>^GCharacter set '#51' is not a compiled character set and is not
>specified in the 'NONEXISTENT/chars
>^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
>^GCharacter set '#51' is not a compiled character set and is not
>specified in the 'NONEXISTENT/chars
>^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
>^GCharacter set '#51' is not a compiled character set and is not
>specified in the 'NONEXISTENT/chars
>^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
>^GCharacter set '#51' is not a compiled character set and is not
>specified in the 'NONEXISTENT/chars
>^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
>^GCharacter set '#51' is not a compiled character set and is not
>specified in the 'NONEXISTENT/chars
>^GFile 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
>^GCharacter set '#51' is not a compiled character set and is not
>specified in the 'NONEXISTENT/chars


Там пишет что-то про 443 порт, где его включить или как исправить эту ошибку!?


"Неработает вывод статистики! ХЕЛП МИ!"
Отправлено redmoon , 11-Сен-06 09:17 
ну вы разобрались со статистикой ? работает ?