[Comm] Проблема с работой скриптов в lightsquid.

Сергей Дунин =?iso-8859-1?q?forthja_=CE=C1_gmail=2Ecom?=
Пн Июл 7 13:22:56 MSD 2008


У меня так ничего и не получилось :(
Вот лог /var/log/@message
Я мало что могу понять тут

Jul 7 05:55:01 lt-corp crond[16039]: (lightsquid) CMD
(/usr/sbin/lightparser.pl today)
Jul 7 06:01:01 lt-corp crond[16049]: (root) CMD (run-parts /etc/cron.hourly)
Jul 7 06:22:51 lt-corp -- MARK --
Jul 7 06:42:51 lt-corp -- MARK --
Jul 7 06:55:01 lt-corp crond[16053]: (lightsquid) CMD
(/usr/sbin/lightparser.pl today)
Jul 7 07:01:01 lt-corp crond[16062]: (root) CMD (run-parts /etc/cron.hourly)
Jul 7 07:22:52 lt-corp -- MARK --
Jul 7 07:42:52 lt-corp -- MARK --
Jul 7 07:55:01 lt-corp crond[16065]: (lightsquid) CMD
(/usr/sbin/lightparser.pl today)
Jul 7 08:01:01 lt-corp crond[16075]: (root) CMD (run-parts /etc/cron.hourly)
Jul 7 08:22:53 lt-corp -- MARK --
Jul 7 08:42:53 lt-corp -- MARK --
Jul 7 08:43:54 lt-corp smbd[16077]: [2008/07/07 08:43:54, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 08:43:54 lt-corp smbd[16077]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 08:43:54 lt-corp smbd[16077]: [2008/07/07 08:43:54, 0]
lib/util_sock.c:write_data(562)
Jul 7 08:43:54 lt-corp smbd[16077]: write_data: write failure in writing to
client 192.168.0.4. Error Connection reset by peer
Jul 7 08:43:54 lt-corp smbd[16077]: [2008/07/07 08:43:54, 0]
lib/util_sock.c:send_smb(761)
Jul 7 08:43:54 lt-corp smbd[16077]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 08:44:13 lt-corp smbd[16080]: [2008/07/07 08:44:13, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 08:44:13 lt-corp smbd[16080]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 08:44:13 lt-corp smbd[16080]: [2008/07/07 08:44:13, 0]
lib/util_sock.c:write_data(562)
Jul 7 08:44:13 lt-corp smbd[16080]: write_data: write failure in writing to
client 192.168.0.4. Error Connection reset by peer
Jul 7 08:44:13 lt-corp smbd[16080]: [2008/07/07 08:44:13, 0]
lib/util_sock.c:send_smb(761)
Jul 7 08:44:13 lt-corp smbd[16080]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 08:51:06 lt-corp smbd[5102]: [2008/07/07 08:51:06, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 08:51:06 lt-corp smbd[5102]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 08:51:06 lt-corp smbd[16083]: [2008/07/07 08:51:06, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 08:51:06 lt-corp smbd[16083]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 08:51:06 lt-corp smbd[16083]: [2008/07/07 08:51:06, 0]
lib/util_sock.c:write_data(562)
Jul 7 08:51:06 lt-corp smbd[16083]: write_data: write failure in writing to
client 0.0.0.0. Error Connection reset by peer
Jul 7 08:51:06 lt-corp smbd[16083]: [2008/07/07 08:51:06, 0]
lib/util_sock.c:send_smb(761)
Jul 7 08:51:06 lt-corp smbd[16083]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 08:55:01 lt-corp crond[16087]: (lightsquid) CMD
(/usr/sbin/lightparser.pl today)
Jul 7 09:01:01 lt-corp crond[16096]: (root) CMD (run-parts /etc/cron.hourly)
Jul 7 09:09:06 lt-corp smbd[16098]: [2008/07/07 09:09:06, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 09:09:06 lt-corp smbd[16098]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 09:09:06 lt-corp smbd[16098]: [2008/07/07 09:09:06, 0]
lib/util_sock.c:write_data(562)
Jul 7 09:09:06 lt-corp smbd[16098]: write_data: write failure in writing to
client 192.168.0.11. Error Connection reset by peer
Jul 7 09:09:06 lt-corp smbd[16098]: [2008/07/07 09:09:06, 0]
lib/util_sock.c:send_smb(761)
Jul 7 09:09:06 lt-corp smbd[16098]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 09:22:53 lt-corp -- MARK --
Jul 7 09:42:54 lt-corp -- MARK --
Jul 7 09:55:01 lt-corp crond[16104]: (lightsquid) CMD
(/usr/sbin/lightparser.pl today)
Jul 7 10:01:01 lt-corp crond[16113]: (root) CMD (run-parts /etc/cron.hourly)
Jul 7 10:18:21 lt-corp smbd[16115]: [2008/07/07 10:18:21, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 10:18:21 lt-corp smbd[16115]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 10:18:21 lt-corp smbd[16115]: [2008/07/07 10:18:21, 0]
lib/util_sock.c:write_data(562)
Jul 7 10:18:21 lt-corp smbd[16115]: write_data: write failure in writing to
client 192.168.0.11. Error Connection reset by peer
Jul 7 10:18:21 lt-corp smbd[16115]: [2008/07/07 10:18:21, 0]
lib/util_sock.c:send_smb(761)
Jul 7 10:18:21 lt-corp smbd[16115]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 10:42:54 lt-corp -- MARK --
Jul 7 10:53:02 lt-corp sshd[16118]: Accepted password for sergey from
212.38.104.162 port 29103 ssh2
Jul 7 10:55:01 lt-corp crond[16223]: (lightsquid) CMD
(/usr/sbin/lightparser.pl today)
Jul 7 10:57:31 lt-corp httpd2: sending signal 1 to httpd2 succeeded
Jul 7 11:01:01 lt-corp crond[16266]: (root) CMD (run-parts /etc/cron.hourly)
Jul 7 11:01:21 lt-corp smbd[16268]: [2008/07/07 11:01:21, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 11:01:21 lt-corp smbd[16268]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 11:01:21 lt-corp smbd[16268]: [2008/07/07 11:01:21, 0]
lib/util_sock.c:write_data(562)
Jul 7 11:01:21 lt-corp smbd[16268]: write_data: write failure in writing to
client 192.168.0.23. Error Connection reset by peer
Jul 7 11:01:21 lt-corp smbd[16268]: [2008/07/07 11:01:21, 0]
lib/util_sock.c:send_smb(761)
Jul 7 11:01:21 lt-corp smbd[16268]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 11:01:27 lt-corp smbd[16271]: [2008/07/07 11:01:27, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 11:01:27 lt-corp smbd[16271]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 11:01:27 lt-corp smbd[16271]: [2008/07/07 11:01:27, 0]
lib/util_sock.c:write_data(562)
Jul 7 11:01:27 lt-corp smbd[16271]: write_data: write failure in writing to
client 192.168.0.11. Error Connection reset by peer
Jul 7 11:01:27 lt-corp smbd[16271]: [2008/07/07 11:01:27, 0]
lib/util_sock.c:send_smb(761)
Jul 7 11:01:27 lt-corp smbd[16271]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 11:03:30 lt-corp httpd2: sending signal 1 to httpd2 succeeded
Jul 7 11:03:33 lt-corp smbd[16308]: [2008/07/07 11:03:33, 0]
lib/util_sock.c:write_data(562)
Jul 7 11:03:33 lt-corp smbd[16308]: write_data: write failure in writing to
client 192.168.0.11. Error Connection reset by peer
Jul 7 11:03:33 lt-corp smbd[16308]: [2008/07/07 11:03:33, 0]
lib/util_sock.c:send_smb(761)
Jul 7 11:03:33 lt-corp smbd[16308]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 11:11:16 lt-corp apt-get: apache2-suexec-0:2.2.6-alt4 installed
Jul 7 11:11:35 lt-corp httpd2: httpd2 shutdown succeeded
Jul 7 11:11:36 lt-corp httpd2: Syntax OK
Jul 7 11:11:36 lt-corp httpd2: Checking configuration sanity for httpd2:
succeeded
Jul 7 11:11:36 lt-corp httpd2: httpd2 startup succeeded
Jul 7 11:22:55 lt-corp -- MARK --
Jul 7 11:29:32 lt-corp httpd2: httpd2 shutdown succeeded
Jul 7 11:29:33 lt-corp httpd2: Syntax OK
Jul 7 11:29:33 lt-corp httpd2: Checking configuration sanity for httpd2:
succeeded
Jul 7 11:29:33 lt-corp httpd2: httpd2 startup succeeded
Jul 7 11:42:55 lt-corp -- MARK --
Jul 7 11:55:01 lt-corp crond[16806]: (lightsquid) CMD
(/usr/sbin/lightparser.pl today)
Jul 7 12:01:01 lt-corp crond[16816]: (root) CMD (run-parts /etc/cron.hourly)
Jul 7 12:22:56 lt-corp -- MARK --
Jul 7 12:23:43 lt-corp smbd[16818]: [2008/07/07 12:23:43, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 12:23:43 lt-corp smbd[16818]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 12:23:43 lt-corp smbd[16818]: [2008/07/07 12:23:43, 0]
lib/util_sock.c:write_data(562)
Jul 7 12:23:43 lt-corp smbd[16818]: write_data: write failure in writing to
client 192.168.0.22. Error Connection reset by peer
Jul 7 12:23:43 lt-corp smbd[16818]: [2008/07/07 12:23:43, 0]
lib/util_sock.c:send_smb(761)
Jul 7 12:23:43 lt-corp smbd[16818]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 12:34:49 lt-corp smbd[5102]: [2008/07/07 12:34:49, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 12:34:49 lt-corp smbd[5102]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 12:34:49 lt-corp smbd[16826]: [2008/07/07 12:34:49, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 12:34:49 lt-corp smbd[16826]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 12:34:49 lt-corp smbd[16826]: [2008/07/07 12:34:49, 0]
lib/util_sock.c:write_data(562)
Jul 7 12:34:49 lt-corp smbd[16826]: write_data: write failure in writing to
client 0.0.0.0. Error Connection reset by peer
Jul 7 12:34:49 lt-corp smbd[16826]: [2008/07/07 12:34:49, 0]
lib/util_sock.c:send_smb(761)
Jul 7 12:34:49 lt-corp smbd[16826]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 12:36:19 lt-corp smbd[16828]: [2008/07/07 12:36:19, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 12:36:19 lt-corp smbd[16828]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 12:36:19 lt-corp smbd[16828]: [2008/07/07 12:36:19, 0]
lib/util_sock.c:write_data(562)
Jul 7 12:36:19 lt-corp smbd[16828]: write_data: write failure in writing to
client 192.168.0.11. Error Connection reset by peer
Jul 7 12:36:19 lt-cotil_sock.c:send_smb(761)
Jul 7 12:36:19 lt-corp smbd[16828]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 12:36:27 lt-corp smbd[16831]: [2008/07/07 12:36:27, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 12:36:27 lt-corp smbd[16831]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 12:36:27 lt-corp smbd[16831]: [2008/07/07 12:36:27, 0]
lib/util_sock.c:write_data(562)
Jul 7 12:36:27 lt-corp smbd[16831]: write_data: write failure in writing to
client 192.168.0.11. Error Connection reset by peer
Jul 7 12:36:27 lt-corp smbd[16831]: [2008/07/07 12:36:27, 0]
lib/util_sock.c:send_smb(761)
Jul 7 12:36:27 lt-corp smbd[16831]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
Jul 7 12:55:01 lt-corp crond[16872]: (lightsquid) CMD
(/usr/sbin/lightparser.pl today)
Jul 7 13:01:01 lt-corp crond[16887]: (root) CMD (run-parts /etc/cron.hourly)
Jul 7 13:01:28 lt-corp smbd[16889]: [2008/07/07 13:01:28, 0]
lib/util_sock.c:get_peer_addr(1224)
Jul 7 13:01:28 lt-corp smbd[16889]: getpeername failed. Error was Transport
endpoint is not connected
Jul 7 13:01:28 lt-corp smbd[16889]: [2008/07/07 13:01:28, 0]
lib/util_sock.c:write_data(562)
Jul 7 13:01:28 lt-corp smbd[16889]: write_data: write failure in writing to
client 192.168.0.23. Error Connection reset by peer
Jul 7 13:01:28 lt-corp smbd[16889]: [2008/07/07 13:01:28, 0]
lib/util_sock.c:send_smb(761)
Jul 7 13:01:28 lt-corp smbd[16889]: Error writing 4 bytes to client. -1.
(Connection reset by peer)


06.07.08, Michael Shigorin <mike на osdn.org.ua> написал(а):
>
> On Mon, Jun 30, 2008 at 09:28:52AM +0400, Хихин Руслан wrote:
> >  > Настроил lightsquid но при запросе статистики отображается
> >  > только тело index.cgi.  Что где поверить подкрутить, что бы
> >  > отображалась а нужном виде.
> > Этот вопрос лучше в Sysadmins задать - там больше спецов.
>
>
> http://search.altlinux.org apache2 cgi => вторая ссылка:
> http://lists.altlinux.org/pipermail/community/2008-June/412143.html
> http://lists.altlinux.org/pipermail/community/2008-June/412165.html
> http://lists.altlinux.org/pipermail/sysadmins/2007-July/010827.html
>
>
> --
>   ---- WBR, Michael Shigorin <mike на altlinux.ru>
>   ------ Linux.Kiev http://www.linux.kiev.ua/
>
> _______________________________________________
> community mailing list
> community на lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/community/attachments/20080707/5778ab9e/attachment-0002.html>


Подробная информация о списке рассылки community