› Forums › Network Management › ZeroShell › problem activating the proxy service
- This topic is empty.
-
AuthorPosts
-
June 6, 2008 at 6:12 pm #41047
thenach
MemberHi, I’m taking a problem activating the proxy service. I jump a error what say “Activating swap file ERROR”
I parched the distribution with patch A500root@pcfiltro A500> ./install.sh
Reading configuration …
Extracting packages …
Running scripts …
Starting updater process for the release 1.0.beta9 …
–> Checking for installed updates:
[A500] Increase the stability of the proxy service
[AA00] DansGuardian – True Web Content Filtering for All
–> Replacing files …
–> Running scripts …
Activating swap file… [FAILED]
Preparing DansGuardian…
Checking HTTP Transparent Proxy and AntiVirus configuration…//
root@pcfiltro init.d> ./proxy start
Checking HTTP Transparent Proxy and AntiVirus configuration…
–> Starting HAVP Proxy service…
/root/kerbynet.cgi/scripts/proxy_start: line 69: 14678 Illegal instruction havp -c /tmp/havp.config >/dev/null 2>/dev/null
–> Starting ClamAV AntiVirus AutoUpdate…
root@pcfiltro init.d>Thanx in advance
June 6, 2008 at 8:08 pm #46541imported_fulvio
ParticipantDo not worry. The swap is correctly activated.
Regards
FulvioJune 7, 2008 at 12:57 pm #46542thenach
Memberthanx Fulvio for your response, but I can’t put the proxy status in up
Nacho
June 7, 2008 at 3:04 pm #46543imported_fulvio
ParticipantType the command
havp
and then:
export LD_LIBRARY_PATH=/Database/opt/1.0/beta9/packages/lib
/Database/opt/1.0/beta9/packages/sbin/havpin both the case you should obtain:
Configuration is not edited!
You must delete REMOVETHISLINE option.
Review the configuration carefully. 🙂
Exiting..Let me know the results
Regards
FulvioJune 9, 2008 at 12:55 pm #46544thenach
MemberYess , I get that message.
How can I keep doing that?June 12, 2008 at 7:56 pm #46545thenach
MemberI need the original and configurated hvap.conf file for this distribution.
Who anybody help me?
June 12, 2008 at 9:20 pm #46546imported_fulvio
ParticipantCould you create a new database and try again?
June 13, 2008 at 12:58 pm #46547thenach
Memberthe machine is in production mode and configured with firewall rules, users and the captive portal.
Create the database take me very long time. but if is necesary i do itwhat are your opinion?
June 14, 2008 at 11:36 am #46548imported_fulvio
ParticipantOk, to reset the proxy configuration you just need to type the following commands:
rm -rf /var/register/system/havp/
rm -rf /var/register/system/ClavAVand then restart the system.
Regards
FulvioNovember 19, 2008 at 6:54 am #46549kingjm
MemberI have followed the steps above
rm -rf havp
rm -rf ClamAVthen reboot
I still cannot activate the proxy.
The proxy log shows
00:00:38 === Starting HAVP Version: 0.89
00:00:38 Running as user: havp, group: havp
00:00:38 Use transparent proxy mode
00:00:38 — Initializing ClamAV Library Scanner
00:00:38 ClamAV: Using database directory: /var/register/system/ClamAV/dbThe antivirus log shows
00:00:38 ClamAV: Using database directory: /var/register/system/ClamAV/db
The update log is blank
What can I do?
November 19, 2008 at 7:10 pm #46550imported_fulvio
ParticipantCheck if there is at least 50MB of free space on the filesystem you are using to store the profile.
Regards
FulvioNovember 20, 2008 at 4:03 pm #46551kingjm
Memberthe total size is 193 MB. 117 MB is used. Leaving 76MB free. Could it be the ram I only have the minimum 96MB. Any other ideas?
Thanks for helping. And this product is great!
November 20, 2008 at 5:06 pm #46552kingjm
MemberI have created an new Hdd with 500MB and 128 MB Ram. The Proxy is now up. after activating the proxy the hdd is already at 40% full. I have not added in my own configuration at this time. Thankyou for your efforts and input.
November 20, 2008 at 8:59 pm #46553imported_fulvio
ParticipantIf you use the proxy service you need at least 192MB of RAM. This is because the ClamAV libraries need to have the Virus signature decompressed into the RAM. To increase the performances you have to increase the size of the memory. In this case more havp processes are created.
Regards
Fulvio -
AuthorPosts
- You must be logged in to reply to this topic.