Error "Undefined index: pass" in capture
-
Server
- FOG Version: 1.3.5
- OS: Ubuntu 14.04
Client
- Service Version:
- OS: Windows
Description
I’m capturing an image and in one of the last steps, after uploading image, in “Updating database…” phase I get:
“Error returned: Type: 8. File: /var/www/html/lib/fog/fogbase.clas.php. Line: 837. Message: Undefined index: pass.Host: xx.xx.xx.xx. Username: fog” -
-
@Tom-Elliott Thanks for your answer.
I guess you mean issues with ftp credentials, but the message points to code. I have not changed any storage settings but I am going to double-check it anyway. -
The message “undefined” typically comes when a storage node is not running. This is just from my experience though. The reason I suggest running through the troubleshoot ftp is because it’s a good basis to start looking and finding the cause.
-
@Tom-Elliott I’ve monitoring de “database updating” with wireshark and I see an http dialog between fog main server an the client. This seems to go OK, but after clients seems to wait something for half a minute until the error appears.
Does this tell something to you? -
@Frank said in Error "Undefined index: pass" in capture:
@Tom-Elliott I’ve monitoring de “database updating” with wireshark and I see an http dialog between fog main server an the client. This seems to go OK, but after clients seems to wait something for half a minute until the error appears.
Does this tell something to you?I’m going to try to be more explicit:
First come a http dialog between fog main server and client.
Then clients waits on “Updating database…” half a minute.
“Failed” is shown.
Another http dialog happens between main server and client. -
@Frank Can you please do the basic steps in the troubleshooting article?
-
@Wayne-Workman
After rebooting all implied servers now its working !?!
Let’s left it as another IT mystery. Thanks to all for your help anyway.
Problem can be closed as well.
My God! I was on holiday and I have confused myself! sorry!
Its still failing at the same point -
@Frank I still need you to do the troubleshooting. This is what I would do if I were there.
-
@Wayne-Workman I’ve followed the troubleshooting guide in case of “Update database…failed” and tftpd passwords are OK.
The error happens in fog.imgcomplete script, in “curl” line. If I do the curl at command prompt I get this:curl -ks --data ‘mac=98:90:96:d8:29:4d&type=up&osid=9’ http://<ip_of_main_fog_server>/fog/service/Post_Stage2.php
Type: 8, File: /var/www/html/fog/lib/fog/fogbase.class.php, Line: 837, Message: Undefined index: pass. Host: <storage_node_ip>, Username:fog
-
@Frank said in Error "Undefined index: pass" in capture:
@Wayne-Workman I’ve followed the troubleshooting guide in case of “Update database…failed” and tftpd passwords are OK.
The error happens in fog.imgcomplete script, in “curl” line. If I do the curl at command prompt I get this:curl -ks --data ‘mac=98:90:96:d8:29:4d&type=up&osid=9’ http://<ip_of_main_fog_server>/fog/service/Post_Stage2.php
Type: 8, File: /var/www/html/fog/lib/fog/fogbase.class.php, Line: 837, Message: Undefined index: pass. Host: <storage_node_ip>, Username:fog
SOLVED!! So simple as a firewall rule! Shame on me.
Fog main server was unable to contact client to port 21.
What had made me crazy was log messages, which seemed to have no sense.
Thanks anyway.