• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

FOG ClamAV Task Mount Permission Denied on Ubuntu.

Scheduled Pinned Locked Moved
FOG Problems
3
4
479
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.
  • F
    foggystarz
    last edited by foggystarz May 24, 2020, 10:38 AM May 24, 2020, 4:32 PM

    Hi there, I’ve taken myself on a crash course journey in to Linux (Ubuntu in this case) and deployments with FOG over the last few days. Normally I’m windows sysadmin but want to expand my skillset so I’ve been running some VM’s and decided FOG would be a great implementation and cool task to wipe and redeploy servers I’ve been messing with.

    After following some guide and a lot of restarting I finally managed to get FOG working yesterday in a new Ubuntu VM.
    I have tested registering a host, uploading the image and redeploying and all is working fine. The fog set up is on a fresh ubuntu build and fog is standard, apart from having issues with the FTP client whereby I had to change the username/password, then change it back again from the password listed in the fog configuration file (can’t remember where this was located now, still a bit lost with Linux file systems, somewhere in /opt/fog irrc).

    Anyway, the problem right now is that I added a CLAMAV task to my win server host and set to run asap. I rebooted the VM’d host and it picks up the task but encounters a problem loading the NFS share and reboots after a minute. I’m not sure if this is because of the password I changed earlier or something else. The username/password in the fog storage is the same as the fog linux user account. I am guessing that the the fact I can upload and deploy images means the user/pass for the /images dir is fine but there is some mismatch somewhere with the /bin/fog.av dir.

    Error message is:

    Unable to mount location. (/bin/fog.av)
    Args Passed:
    Reason: mount : mounting 192.168.1.46:/opt/fog/clamav on /opt/fog/clamav failed Permission denied

    I would appreciate some help here as I think it’s a neat feature and this problem is probably going to occur with other mounted tasks if I need to use them (disk wipe seems very handy also and WOL).

    Kind regards,
    Will

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by May 25, 2020, 4:44 AM

      @foggystarz Hi and welcome to the forums.

      I am guessing that the the fact I can upload and deploy images means the user/pass for the /images dir is fine but there is some mismatch somewhere with the /bin/fog.av dir.

      The AV feature of FOG has been dropped some time ago but never fully been removed from the code. Find more information on this here: https://github.com/FOGProject/fogproject/issues/328

      Now that you bring it up I might look into fixing this soon so new users like you don’t run into this again.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      F 1 Reply Last reply May 25, 2020, 12:45 PM Reply Quote 1
      • F
        foggystarz @Sebastian Roth
        last edited by May 25, 2020, 12:45 PM

        Thanks for reply @Sebastian-Roth. I’ll create a Win PE recovery image or something like that instead.

        G 1 Reply Last reply May 25, 2020, 2:52 PM Reply Quote 0
        • G
          george1421 Moderator @foggystarz
          last edited by May 25, 2020, 2:52 PM

          @foggystarz You might want to look through this thread for ideas for pxe booting recovery media with FOG: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/3?_=1590418175520

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            4/4
            Last post

          154

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project