Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Chown -R -v havp Errors

    Scheduled Pinned Locked Moved pfSense Packages
    9 Posts 6 Posters 10.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      ToxIcon
      last edited by

      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'

      1 Reply Last reply Reply Quote 0
      • _
        _igor_
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • D
          Darkk
          last edited by

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

          Thanks,
          Darkk

          1 Reply Last reply Reply Quote 0
          • S
            serialdie
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • D
              Darkk
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • S
                serialdie
                last edited by

                @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

                1 Reply Last reply Reply Quote 0
                • D
                  Darkk
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bluinside
                    last edited by

                    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.

                    :)

                    1 Reply Last reply Reply Quote 0
                    • H
                      Highroller
                      last edited by

                      @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?

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.