1.1.2 Different Issues / Problems.
-
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=“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.phpFOG Version: 1.1.2
Ubuntu 10.4I searched the wili and forums.
I changed permissions and owner.[url=“/_imported_xf_attachments/1/1256_foginstall.zip?:”]foginstall.zip[/url]
-
Sorry typoon mypart. Try /var/log/fog/lib/fog/Config.class.php
-
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 24I 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]
-
Do you need something else?
-
Based on the config file you attached your passwords are:
SQL password xw2vr4nh6!
& you don’t have a FTP password setVerify 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.
-
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-FOGOn 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 0As long as the system finish imaging i receive an error:
undefined index current use and imaging does not finish. -
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] -
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?
-
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] -
Any suggestion?