Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - pam-pam

Pages: [1]
1
Installation and Upgrades / problem http and firewall
« on: December 03, 2012, 06:36:03 am »
Hello
Installed Zentyal v2.2.7. To account for the traffic of users set ipcad.
After the start tolog.sh (ipcad'y indicates where to throw the collected statistics) command

Code: [Select]
sh tolog.shthere was an error - lost access to http (https, email clients, skype and ICQ work fine)
In the file /var/log/zentyal/zentyal.log had 3 errors
First
Code: [Select]
2012/12/03 10:16:19 ERROR> PgDBEngine.pm:258 EBox::PgDBEngine::multiInsert - Error inserting data: INSERT INTO squid_access (bytes,event,elapsed,rfc931,timestamp,url,method,peer,mimetype,remotehost,code) VALUES (?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?),Second
Code: [Select]
ERROR: bind message supplies 42 033 parameters, but prepared statement "dbdpg_p26826_218" requires 107,569
Values: $ VAR1 = [
          {
            'Bytes' => '650',
            'Event' => 'accepted',
            'Elapsed' => '315 ',
            'Rfc931' => '-',
            'Timestamp' => 'Mon Dec 3 10:12:27 2012',
            'Url' => 'http://mc.yandex.ru/webvisor/10738042?',
            'Method' => 'POST',
            'Peer' => 'DIRECT/93.158.134.119',
            'Mimetype' => 'image / gif',
            'Remotehost' => '192 .168.0.15 ',
            'Code' => 'TCP_MISS/200' (! Also describes the packages Items not to other users)
          }
and third
Code: [Select]
ERROR> Lock.pm: 31 EBox :: Util :: Lock :: lock - Could not get lock for service: firewallDid reboot the server and run a separate firewall - nothing helped.
In what could be the problem? How to solve it?

config file tolog.sh
Code: [Select]
#! /Bin/sh
net = "192.168."
# Net2 = "192.168.0"
ttime = `/usr/bin/rsh 127.0.0.1 sh ip acco | grep 'Accounting data saved' | awk '{print ($ 4)}'`
/Usr/bin/rsh 127.0.0.1 clear ip accounting
#/Usr/bin/rsh 127.0.0.1 show ip accounting checkpoint | grep $ net | awk-v vtime = $ ttime '{print (vtime ".000", 1, $ 2, "TCP_MISS/200", $ 4, "CONNECT "$ 1": "$ 5," - "," DIRECT / "$ 1," - ")} '>> /var/log/dansguardian/access.log
/Usr/bin/rsh 127.0.0.1 show ip accounting checkpoint | grep $ net | awk-v vtime = $ ttime '{print (vtime ".000", 1, $ 2, "TCP_MISS/200", $ 4, "CONNECT" , $ 1 ":" $ 5, "-", "DIRECT /" $ 1, "-")} '>> /var/log/squid/access.log
chown root: root /var/log/squid/access.log
# Chown root: root /var/log/dansguardian/access.log

I'm sorry of my english. i'm from Russia and this message translated google

2
Russian / Проблема с фильтром прокси
« on: October 10, 2012, 07:26:37 am »
Доброго времени суток.
Внезапно, (есть небольшая вероятность, что из-за запуска ipcad, в чем я сомневаюсь, потому что выключал его, менял настройки и т.п. - ничего не менялось) после снятия галочки с блокировки сайтов определенных только как IP, перестал работать доступ к http (все остальное: почта, skype, ftp работает как нормально) . При попытке сохранить изменения web морда выдает "The following modules failed while saving their changes, their state is unknown: firewall". Перезагрузка результатов не дала. В чем может быть проблема?

3
Russian / Пароль root
« on: October 04, 2012, 12:29:41 am »
Привет. Какой пароль root устанавливается по умолчанию, и можно где-нибудь его изменить?

4
Russian / Доступ из вне к файлохранилищу
« on: May 23, 2012, 03:53:32 am »
Здравствуйте. Нужна помощь в решении задачи.
Дано: Шлюз на Zentyal с прозрачным прокси, файлохранилище netgear stora (подробней http://forum.ixbt.com/topic.cgi?id=11:40912 ) с адресом в локальной сети 192.168.0.11.
Найти: Необходимо иметь доступ к сторе через инет.
Примечание: Если доступ к инету через обычный роутер, то на стору через инет можно выйти, либо через https://www.mystora.com/ Либо через настроенный на файлохранилище ftp 
Пытался настройти доступ через https://www.mystora.com включив доступ к upnp как советуют здесь http://forum.zentyal.org/index.php?topic=6796.0 , не помогло.

Pages: [1]