HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

Service havp status/stop and mandatory
http://havp.hege.li/forum/viewtopic.php?f=3&t=361
Page 1 of 1

Author:  jackdragma [ 30 Apr 2008 18:59 ]
Post subject:  Service havp status/stop and mandatory

Good afternoon guys,

When I run the command #service havp status/stop I get the following result.

[root@pruebas ~]# service havp start
Starting HAVP ...
Starting HAVP Version: 0.88
[root@pruebas ~]# service havp status
Checking for service HAVP ...
[root@pruebas ~]# service havp stop
Shutting down HAVP ...
Error: HAVP not running or PIDFILE unreadable


Is It right?

Another problem is to mount /var/tmp/havp. I have a virtual machine and can not run mount /dev/hda9 /var/tmp/havp -o mand. I've settled:

# mkfs.ext3 /dev/ram0
# mount dev/ram0 /var/tmp/havp -o mand

This solution is not satisfactory because I do not have much ram (512MB). I ride the SWAP? How is this done? I have another hard drive, I can mount it there? How?

Thank you for your help. Greetings,

Author:  hege [ 30 Apr 2008 20:09 ]
Post subject:  Re: Service havp status/stop and mandatory

jackdragma wrote:
Good afternoon guys,

When I run the command #service havp status/stop I get the following result.

[root@pruebas ~]# service havp start
Starting HAVP ...
Starting HAVP Version: 0.88
[root@pruebas ~]# service havp status
Checking for service HAVP ...
[root@pruebas ~]# service havp stop
Shutting down HAVP ...
Error: HAVP not running or PIDFILE unreadable


Have you set PIDFILE in config?


Quote:
Another problem is to mount /var/tmp/havp. I have a virtual machine and can not run mount /dev/hda9 /var/tmp/havp -o mand. I've settled:

# mkfs.ext3 /dev/ram0
# mount dev/ram0 /var/tmp/havp -o mand

This solution is not satisfactory because I do not have much ram (512MB). I ride the SWAP? How is this done? I have another hard drive, I can mount it there? How?


You can simply add mand to your existing partition:

mount -o remount,mand /

or if you have existing /var as separate partition..

mount -o remount,mand /var

Also add mand to fstab for it.

Author:  jackdragma [ 04 May 2008 19:48 ]
Post subject:  Re: Service havp status/stop and mandatory

In my file I have this configuration,

# Default:
PIDFILE /var/run/havp/havp.pid


I have the following permissions,

#chown -R havp:havp /var/run/havp
#chmod ug+rwx -R /var/run/havp


when I run the command service havp stop , now works correctly, but when i run service havp status shows me the following

[root@pruebas havp]# service havp status
Checking for service HAVP ...
[root@pruebas havp]#

I do not receive any response. Any solution? Thank you.

Author:  hege [ 04 May 2008 19:53 ]
Post subject:  Re: Service havp status/stop and mandatory

jackdragma wrote:
when I run the command service havp stop , now works correctly, but when i run service havp status shows me the following

[root@pruebas havp]# service havp status
Checking for service HAVP ...
[root@pruebas havp]#

I do not receive any response. Any solution?


I don't think it's supposed to work. There is no such function in the current init-script.

Perhaps someone can contribute a revised script that has all the functions and works on all OS/distributions..

Personally I don't use the script, I just "/usr/local/sbin/havp" and "pkill havp".

Author:  jackdragma [ 04 May 2008 20:12 ]
Post subject:  Re: Service havp status/stop and mandatory

Thank you for responding so quickly. And thank you very much for creating this great software that is HAVP. Best regards

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/