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

TFTP Problems?

Scheduled Pinned Locked Moved
FOG Problems
4
13
3.7k
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.
  • J
    John Finley
    last edited by Apr 22, 2014, 9:26 PM

    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-generic

    When 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?

    1 Reply Last reply Reply Quote 0
    • J
      John Finley
      last edited by Apr 22, 2014, 9:28 PM

      Just for clarification - This

      FOG_TFTP_FTP_USERNAME
      FOG_TFTP_FTP_PASSWORD

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

      1 Reply Last reply Reply Quote 0
      • J
        John Finley
        last edited by Apr 22, 2014, 9:29 PM

        I’m using Fog 0.32

        1 Reply Last reply Reply Quote 0
        • J
          Jaymes Driver Developer
          last edited by Apr 22, 2014, 10:37 PM

          Did you navigate to the web address and update the mysql schema?

          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

          1 Reply Last reply Reply Quote 0
          • J
            John Finley
            last edited by Apr 23, 2014, 6:55 PM

            Yes indeed I did

            1 Reply Last reply Reply Quote 0
            • J
              John Finley
              last edited by Apr 23, 2014, 6:56 PM

              I’ve now done a reinstall of ubuntu server 14.04 and a clean install of fog with the same problems

              1 Reply Last reply Reply Quote 0
              • J
                Jaymes Driver Developer
                last edited by Apr 23, 2014, 7:03 PM

                [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]

                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                1 Reply Last reply Reply Quote 0
                • J
                  John Finley
                  last edited by Apr 23, 2014, 7:09 PM

                  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.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jaymes Driver Developer
                    last edited by Apr 23, 2014, 7:11 PM

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

                    WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                    1 Reply Last reply Reply Quote 0
                    • J
                      John Finley
                      last edited by Apr 23, 2014, 7:13 PM

                      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.

                      1 Reply Last reply Reply Quote 0
                      • B
                        BPSTravis Developer
                        last edited by Apr 23, 2014, 8:36 PM

                        I would use .33

                        More features and is now a release candidate.

                        [SIZE=12px]signature:[/SIZE]
                        [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jaymes Driver Developer
                          last edited by Apr 23, 2014, 8:53 PM

                          0.33 would be your best bet.

                          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Apr 23, 2014, 9:07 PM

                            Please use 0.33 and report any issues.

                            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
                            • 1 / 1
                            1 / 1
                            • First post
                              8/13
                              Last post

                            145

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project