1.1.2 Different Issues / Problems.

  • 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
    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.

  • Any suggestion?

  • Forget the above reply, please.
    I’m right now testing again with NFS.
    My config is as follow:
    NAS: /images nfs defaults 0 0
    Fog Server:

    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][/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:, 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]
    [CENTER][FONT=Ubuntu][COLOR=#555555]FOGFTP: Failed to connect. Host:, Error: Undefined variable: whereArray[/COLOR][/FONT][/CENTER]

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

    FSTAB: /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?

  • Developer

    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]

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

    I have a master server with IP
    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 (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: /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.

  • 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.

  • Do you need something else?

  • The only error i have in the logs is the following:
    [Wed Aug 06 12:08:58 2014] [error] [client] 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


  • Senior Developer

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

  • [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:

    FOG Version: 1.1.2
    Ubuntu 10.4

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


  • Senior Developer

    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.

Log in to reply