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

1.1.2 Different Issues / Problems.

Scheduled Pinned Locked Moved
FOG Problems
4
12
3.5k
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 Jul 18, 2014, 7:23 AM

    Hello, i’ve been using FOG 0.32 without any problem.
    But after migration to 1.1.2 we’ve face several issues and right now we’re stuck.

    First ot the is that we missed the graph of the storage node. We receive onm the main page a “failed to connect to” message, but Fog i gathering the data: If we click over the link error we reive the correct info about the node.

    But the real problem is that during the image upload, after the image completion we receive a Image Upload Complete and after that just only asterisk
    *
    *
    *
    *
    *

    This happens boht on the Storage node and server.
    The image keeps stored on /images/dev.

    drwxrwxrwx 3 fog fog 4096 2014-07-16 10:55 .
    drwxrwxrwx 4 fog fog 4096 2014-07-16 10:54 …
    drwxrwxrwx 2 fog fog 4096 2014-07-16 10:55 0026b9bbf9ca
    -rwxrwxrwx 1 fog fog 0 2014-07-16 10:54 .mntcheck
    atadmin@VAT-IT-FOG-LRZ:/images/dev$
    drwxrwxrwx 4 fog fog 4096 2014-07-16 10:54 .
    drwxr-xr-x 25 root root 4096 2014-07-01 13:53 …
    drwxrwxrwx 3 fog fog 4096 2014-07-16 10:55 dev
    drwxrwxrwx 2 fog fog 16384 2014-07-16 10:47 lost+found
    -rwxrwxrwx 1 fog fog 0 2014-07-16 10:48 .mntcheck
    The user fog password is the same password that is configured on both the management interface of the storage node and default node. Also is the same configured on the tftp server password.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jul 18, 2014, 9:11 AM

      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.

      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 Aug 6, 2014, 9:07 AM

        [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
        • T
          Tom Elliott
          last edited by Aug 6, 2014, 9:08 AM

          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 Aug 6, 2014, 11:56 AM

            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 Aug 19, 2014, 6:25 AM

              Do you need something else?

              1 Reply Last reply Reply Quote 0
              • C
                cadyfish
                last edited by Aug 19, 2014, 1:31 PM

                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 Aug 25, 2014, 10:27 AM

                  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
                  • J
                    Junkhacker Developer
                    last edited by Aug 25, 2014, 4:04 PM

                    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 Aug 26, 2014, 7:35 AM

                      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 Aug 26, 2014, 9:46 AM

                        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 Sep 1, 2014, 2:59 PM

                          Any suggestion?

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

                          205

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project