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

    1.1.2 Different Issues / Problems.

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    12
    3.4k
    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.
    • V
      Victor Gabriel
      last edited by

      [quote=“Tom Elliott, post: 33500, member: 7271”]Can you check the /var/www/fog/lib/Config.class.php in the db_settings function?

      I’m going to guess the DATABASE_PASSWORD is incorrect.[/quote]

      Sorry. I was out for holidays.

      Currently we have not the file:
      /var/www/fog/lib/Config.class.php

      FOG Version: 1.1.2
      Ubuntu 10.4

      I searched the wili and forums.
      I changed permissions and owner.

      [url=“/_imported_xf_attachments/1/1256_foginstall.zip?:”]foginstall.zip[/url]

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Sorry typoon mypart. Try /var/log/fog/lib/fog/Config.class.php

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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

        1 Reply Last reply Reply Quote 0
        • V
          Victor Gabriel
          last edited by

          The only error i have in the logs is the following:
          [Wed Aug 06 12:08:58 2014] [error] [client 192.168.11.82] PHP Parse error: syntax error, unexpected ‘;’ in /var/www/fog/service/Post_Stage2.php on line 24

          I attach you the /var/www/fog/lib/fog/Config.class.php

          [url=“/_imported_xf_attachments/1/1257_Config.class.php.zip?:”]Config.class.php.zip[/url]

          1 Reply Last reply Reply Quote 0
          • V
            Victor Gabriel
            last edited by

            Do you need something else?

            1 Reply Last reply Reply Quote 0
            • C
              cadyfish
              last edited by

              Based on the config file you attached your passwords are:
              SQL password xw2vr4nh6!
              & you don’t have a FTP password set

              Verify the passwords are the same in the website… Guessing it is due to FTP password is blank in the config file normally there would be one. The Post Stage 2 moves the image from /images/dev to /images/{image name} it could also be a permission issue or the folder doesn’t exist.

              1 Reply Last reply Reply Quote 0
              • V
                Victor Gabriel
                last edited by

                Hello, i did reinstalled with 1.2.0 but another problem appeared.

                I have a master server with IP 172.16.0.102
                I have a NAS connectted to this system where i configured a new storage node.
                The storage node is configured asn no master node with IP 192.168.0.143 (the NAS one)
                The image Path is: /mnt/HD/HD_a2/LRZ-FOG

                On the linux, the node is mapped as /imagesNAS and fog user has permission read / write:
                192.168.0.143:/mnt/HD/HD_a2/LRZ-FOG /imagesNAS nfs defaults 0 0

                As long as the system finish imaging i receive an error:
                undefined index current use and imaging does not finish.

                1 Reply Last reply Reply Quote 0
                • JunkhackerJ
                  Junkhacker Developer
                  last edited by

                  does your storage path end in /images ?
                  does it contain a directory /images/dev ?
                  have you touched the directories so that they contain the hidden file [FONT=Times New Roman].mntcheck ?[/FONT]

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  1 Reply Last reply Reply Quote 0
                  • V
                    Victor Gabriel
                    last edited by

                    No.
                    Right now i’m testing with CIFS, but the configuration was:

                    FSTAB: 192.168.0.143:/mnt/HD/HD_a2/LRZ-FOG /imagesNAS nfs defaults 0 0

                    And te linux configuration was /imagesNAS and /imagesNAS/dev
                    Both had the .mntcheck and read write permissions.

                    Sould the NAS path /mnt/HD/HD_a2/LRZ-FOG contain /images?

                    1 Reply Last reply Reply Quote 0
                    • V
                      Victor Gabriel
                      last edited by

                      Forget the above reply, please.
                      I’m right now testing again with NFS.
                      My config is as follow:
                      NAS: 192.168.0.143:/mnt/HD/HD_a2/LRZ-FOG /images nfs defaults 0 0
                      Fog Server: 172.16.0.102

                      /etc/exports:
                      images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1)
                      /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2)

                      The owner of /images and /images/dev is fog.root they have both .mntcheck

                      The FOG configuration is that the Fog Server has the following storage Node:
                      IP Adress: [FONT=Ubuntu][COLOR=#555555]192.168.0.143[/COLOR][/FONT]
                      [FONT=Ubuntu][COLOR=#555555]StorageGroup: Default[/COLOR][/FONT]
                      [FONT=Ubuntu][COLOR=#555555]Is Master NOde: yes[/COLOR][/FONT]
                      [FONT=Ubuntu][COLOR=#555555]Image Path: /mnt/HD/HD_a2/LRZ-FOG[/COLOR][/FONT]
                      [FONT=Ubuntu][COLOR=#555555]User: fog[/COLOR][/FONT]
                      [FONT=Ubuntu][COLOR=#555555]PAssword: the same password it does have on the OS.[/COLOR][/FONT]

                      [FONT=Ubuntu][COLOR=#555555]Imaging process looks working fine, but when it finish i receive the message:[/COLOR][/FONT]

                      [FONT=Ubuntu][COLOR=#555555]FOGFTP: Failed to connect. Host: 192.168.0.143, Error: Undefined index: currentUser.[/COLOR][/FONT]

                      [FONT=Ubuntu][COLOR=#555555]And never ends.[/COLOR][/FONT]

                      [FONT=Ubuntu][COLOR=#555555]Also, when i enter the Fog Console and go to the images on the image i was trying to capture, i have the following message:[/COLOR][/FONT]
                      [FONT=Ubuntu][COLOR=#555555][/COLOR][/FONT]
                      [CENTER][FONT=Ubuntu][COLOR=#555555]FOGFTP: Failed to connect. Host: 192.168.0.143, Error: Undefined variable: whereArray[/COLOR][/FONT][/CENTER]

                      1 Reply Last reply Reply Quote 0
                      • V
                        Victor Gabriel
                        last edited by

                        Any suggestion?

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

                        210

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project