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

    Cant find Config.PHP

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    4
    1.3k
    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.
    • N
      Nox245
      last edited by Nox245

      hello again.
      so im having a problem now that when i try to take an image from a machine, i schedule a task for it,
      it runs but it says it cant mount /images/ to /DATA
      i mounted that manually… so im looking for the config.php file to change the location there to /DATA
      i looked at /var/www/html/fog/commons/config.php where it should be on centos 6.7
      but its not there … did they move it on fog 1.2.0 ?
      i just cant find it >< …
      trying to work with those instructions : https://wiki.fogproject.org/wiki/index.php/Change_NFS_location

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by george1421

        On my centos 6.7 there is a file of that name in /opt/fog/service/etc/config.php but that only points to the web root folder.

        I suspect that the setting you are looking for has moved to a different location.

        But to address your nfs issue. What does this command show you?

        showmount -e localhost
        

        And if you run this command do you see the nfs exports?

         cat /etc/exports
        

        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
        • N
          Nox245
          last edited by Wayne Workman

          [root@FOG etc]# showmount -e localhost
          Export list for localhost:
          /Data *
          [root@FOG etc]# cat /etc/exports
          /Data *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1,)
          

          Mod edited to use code boxes.

          1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator
            last edited by george1421

            Ok that tells me you only have /Data exported from your FOG server, I understand why the client can’t connect to the /images folder.

            For full disclosure this is what I get when I run the following commands.

            showmount -e localhost

            Export list for localhost:
            /images/dev *
            /images     *
            

            cat /etc/exports

            /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
            /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
            

            I’m going to recommend that you add the above two lines to your /etc/exports file.

            Then run:

            exportfs -r
            

            Then run the showmount -e localhost command. This should then show you the exported /images directory.

            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 1
            • 1 / 1
            • First post
              Last post

            175

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project