TFTP Problems?
-
This is a new install on Ubuntu 14.04 - I followed the instructions for installing on 14.04.
I can get the Fog menu on the machine. I’m trying to pull my first image.
But when I schedule the task - I also get this Unable to connect to tftp server.
I didn’t create a “fog” user. I tried changing the following entries to match:In /var/www/fog/commons/config.php
define( “TFTP_FTP_USERNAME”, “fog” );
define( “TFTP_FTP_PASSWORD”, “xxxx” );
define( “STORAGE_FTP_USERNAME”, “fog” );
define( “STORAGE_FTP_PASSWORD”, “xxxx” );They also match what is in the gui password settings
The /tftpboot directory is owned by fog:root all the way down through the directories.This is the kernel
3.13.0-24-genericWhen I tail out the apache log - well there are a lot of errors, but this is among them:
PHP Warning: ftp_login(): Login incorrect. in /var/www/fog/commons/functions.include.php on line 2283
This is that line
$ftp_loginres = ftp_login($ftp, getSetting( $conn, “FOG_TFTP_FTP_USERNAME” ), getSetting( $conn, “FOG_TFTP_FTP_PASSWORD” ));
FOG_TFTP_FTP_USERNAME
FOG_TFTP_FTP_PASSWORD
WTF?
There’s also a lot of this:
Undefined index: uname in /var/www/fog/management/includes/processlogin.include.php on line 17
Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32,
And this:
PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5, referer:
PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5, referer:
PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5, referer:
PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5, referer:
PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer:
PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5, referer:
PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5, referer:
PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5, referer:
PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5, referer:
PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer:
PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer:
Not sure if any of that helps…
Any guesses? -
Just for clarification - This
FOG_TFTP_FTP_USERNAME
FOG_TFTP_FTP_PASSWORDIs not part of the preceding line - but the username and password in both of those fields in the web gui matches what’s in the config.php file.
-
I’m using Fog 0.32
-
Did you navigate to the web address and update the mysql schema?
-
Yes indeed I did
-
I’ve now done a reinstall of ubuntu server 14.04 and a clean install of fog with the same problems
-
[quote=“John Finley, post: 25968, member: 23810”]I’ve now done a reinstall of ubuntu server 14.04 and a clean install of fog with the same problems[/quote]
Ubuntu 14.04 is not supported at the moment, please use 13.10 or an older version of Ubuntu.
however, there is a thread already on the forums that touches on the issue you are experiencing.
Please perform the following:
[SIZE=13px][FONT=Tahoma][COLOR=#141414][url]http://fogproject.org/forum/threads/latest-fog-0-33b.6476/page-72#post-25932[/url] [quote=“Mr.Myagy, post: 25932, member: 23824”]Coming back with the solution, I realised I couldn’t login via telnet localhost 21, using the correct password. After some digging and some pure luck, I found that /etc/passwd didn’t have any login shell for user fog. I added the shell and everything started working :)[/quote][/COLOR][/FONT][/SIZE]
-
Ok I will use 13.10. I chatted with Tom Elliot for a while last night trying to straighten it out. I set all the passwords to password right from the start this time so I don’t know if it’s something funny with 14.04. I saw you had posted that you didn’t have any problems with it other than something minor in another thread.
-
[quote=“John Finley, post: 25974, member: 23810”]Ok I will use 13.10. I chatted with Tom Elliot for a while last night trying to straighten it out. I set all the passwords to password right from the start this time so I don’t know if it’s something funny with 14.04. I saw you had posted that you didn’t have any problems with it other than something minor in another thread.[/quote]
It is probably isolated to 14.04 I have installed 0.33b MANY times on 10.04, 12.04, 13.04 and 13.10
14.04 is just too new, and Ubuntu has taken a turn for the worse, instead of staying true to it’s debian roots, they have began using other methods, this time with apache, and it’s hard to say what else is broken, they are slowly killing the OS I supported for so many years… I guess it’s time to go back to Debain and Gnome.
I will be ironing out the issues with 14.04 eventually, but for now It’s state testing time I don’t have the free time to “play” like I use to.
-
Sure no problem - I was using 0.32. Would you recommend I use 0.33 with 13.10? or is 0.32 known to work well with 13.10 - I’m willing to use whatever version is most likely to work at this point ha.
-
I would use .33
More features and is now a release candidate.
-
0.33 would be your best bet.
-
Please use 0.33 and report any issues.