• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Oct 26, 2015, 6:44 AM Oct 26, 2015, 12:43 PM

    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
    • G
      george1421 Moderator
      last edited by george1421 Oct 26, 2015, 8:38 AM Oct 26, 2015, 2:37 PM

      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 Oct 26, 2015, 10:01 AM Oct 26, 2015, 2:53 PM

        [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
        • G
          george1421 Moderator
          last edited by george1421 Oct 26, 2015, 9:07 AM Oct 26, 2015, 3:07 PM

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

          261

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project