Chown -R -v havp Errors



  • 2.0-BETA5 (i386)
    built on Fri Dec 31 13:27:33 EST 2010

    HTTP Antivirus Proxy ( Stopped ) Stopped    havp-0.91_1 HTTP Antivirus Proxy
    Antivirus Server      ( Started ) Running    ClamAV 0.96.5/12478/Tue Jan 4 14:31:18 2011

    havp service stop and wont start

    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /usr/local/etc/havp' returned exit code '1', the output was 'chown: havp: Invalid argument'
    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /var/tmp/havp' returned exit code '1', the output was 'chown: havp: Invalid argument'
    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /var/tmp/havpRAM' returned exit code '1', the output was 'chown: havp: Invalid argument'
    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /usr/local/share/examples/havp/templates' returned exit code '1', the output was 'chown: havp: Invalid argument'
    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /usr/local/share/examples/havp/templates_ex' returned exit code '1', the output was 'chown: havp: Invalid argument'
    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /var/log/havp' returned exit code '1', the output was 'chown: havp: Invalid argument'
    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /var/run/havp.pid' returned exit code '1', the output was 'chown: havp: Invalid argument'
    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /usr/local/etc/freshclam.conf' returned exit code '1', the output was 'chown: havp: Invalid argument'
    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /var/log/clamav' returned exit code '1', the output was 'chown: havp: Invalid argument'
    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /usr/local/etc/rc.d/havp_avupdate' returned exit code '1', the output was 'chown: havp: Invalid argument'
    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /usr/local/etc/clamd.conf' returned exit code '1', the output was 'chown: havp: Invalid argument'
    Jan 4 9:11:06 php: /pkg_edit.php: The command 'chown -R -v havp /usr/local/etc/havp' returned exit code '1', the output was 'chown: havp: Invalid argument'



  • you have to add user havp via commandline: pw useradd havp. That resolves your problem. Have this too. After a reboot of your pfsense look if the user exists: cat/etc/passwd.



  • Thanks for the tip.  Is there a way to make havp permanent since it breaks everytime when there is a reboot.

    Thanks,
    Darkk



  • @Darkk:

    Thanks for the tip.  Is there a way to make havp permanent since it breaks everytime when there is a reboot.

    Thanks,
    Darkk

    I am using pfsesne 2.0-RC3 and I do not have this issue with havp…. By the looks of your version it looks like you need to upgrade.



  • @serialdie:

    @Darkk:

    Thanks for the tip.  Is there a way to make havp permanent since it breaks everytime when there is a reboot.

    Thanks,
    Darkk

    I am using pfsesne 2.0-RC3 and I do not have this issue with havp…. By the looks of your version it looks like you need to upgrade.

    Nope…still same issue.  I just updated it and after a package rebuild it works fine.  But when I reboot it...bam it happens.

    Here is my snapshot info:

    2.0-RC3 (i386)
    built on Tue Jul 19 02:18:00 EDT 2011

    For whatever reason the passwd file do NOT survive a reboot.  So not sure where it's pulling the old file from.



  • @Darkk:

    @serialdie:

    @Darkk:

    Thanks for the tip.  Is there a way to make havp permanent since it breaks everytime when there is a reboot.

    Thanks,
    Darkk

    I am using pfsesne 2.0-RC3 and I do not have this issue with havp…. By the looks of your version it looks like you need to upgrade.

    Nope…still same issue.  I just updated it and after a package rebuild it works fine.  But when I reboot it...bam it happens.

    Here is my snapshot info:

    2.0-RC3 (i386)
    built on Tue Jul 19 02:18:00 EDT 2011

    For whatever reason the passwd file do NOT survive a reboot.  So not sure where it's pulling the old file from.

    Mhhh something broke than…
    I can cat passwd and find the user there just fine..

    havp:*:1003:1001:havp daemon:/nonexistent:/sbin/nologin



  • @serialdie:

    @Darkk:

    @serialdie:

    @Darkk:

    Thanks for the tip.  Is there a way to make havp permanent since it breaks everytime when there is a reboot.

    Thanks,
    Darkk

    I am using pfsesne 2.0-RC3 and I do not have this issue with havp…. By the looks of your version it looks like you need to upgrade.

    Nope…still same issue.  I just updated it and after a package rebuild it works fine.  But when I reboot it...bam it happens.

    Here is my snapshot info:

    2.0-RC3 (i386)
    built on Tue Jul 19 02:18:00 EDT 2011

    For whatever reason the passwd file do NOT survive a reboot.  So not sure where it's pulling the old file from.

    Mhhh something broke than…
    I can cat passwd and find the user there just fine..

    havp:*:1003:1001:havp daemon:/nonexistent:/sbin/nologin

    I know it's odd and I did a cat on the file and it's there but after a reboot it's not so not sure where to look.



  • Waiting for a bugfix… I have found this solution:

    make user "havp" (any password, I used "havp") using pfSense "User manager" from System menu

    than reboot and look into syslog. The error shuold be gone and the two Havp services should correctly start.

    :)



  • @bluinside:

    Waiting for a bugfix… I have found this solution:

    make user "havp" (any password, I used "havp") using pfSense "User manager" from System menu

    than reboot and look into syslog. The error shuold be gone and the two Havp services should correctly start.

    :)

    Did this correct the issue?


Locked