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

    FOGFTP: Failed to connect. Host xxx.xxx.xxx.xxx, Error: Undefined Index CurrentUser

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    14
    7.3k
    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.
    • K
      Kevin Kennedy
      last edited by

      [COLOR=#333333]OS: Ubuntu 12.04 LTS[/COLOR]
      [COLOR=#333333]Fog Version: 0.33B[/COLOR]
      [COLOR=#333333]I took all of the defaults except the DHCP server, which I left OFF since I already have a DHCP server on the network. I also left the password for SQL blank.[/COLOR]
      [COLOR=#333333]I’ve just configured a new FOG installation on a VM. My old install would not work on the latest hardware we have received so I decided to try the Beta version to see how that works. Well, it works great until it tries to move the image that was uploaded from the temp location to the permanent location. I then get this error: “FOGFTP: Failed to Connect. Host : 192.168.127.101, Error: Undefined Index: currentUser”[/COLOR]
      [COLOR=#333333]I’m a NOOB when it comes to UNIX so please give detailed step by step instructions for any commands you want me to try.[/COLOR]
      [COLOR=#333333]Thanks in advance![/COLOR]

      1 Reply Last reply Reply Quote 0
      • B
        BPSTravis Developer
        last edited by

        Check the fog settings - TFTP Server - FOG_TFTP_PXE_KERNEL_DIR

        Should read exactly as below:

        [CODE]/var/www/fog/service/ipxe/[/CODE]

        [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
        • JunkhackerJ
          Junkhacker Developer
          last edited by

          try updating to the latest release, i suspect this was just fixed

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • R
            raumin
            last edited by

            Hi, i’ve got the same error, i launched a checkout to obtain the latest version of fog 0.33b but it’s the same.

            What could i do ? Is there any log in relation ?

            Thx

            FOG trunk

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              Verify the TFTP_PXE_KERNEL_DIR is set appropriately. On Ubuntu it should point at: /var/www/fog/service/ipxe/ On Redhat based OS’s it should be: /var/www/html/fog/service/ipxe/.

              Also verify that the TFTP_FTP_HOST IP address is the same as your FOG Server. Verify that the TFTP_FTP_USERNAME and TFTP_FTP_PASSWORD are set correct. If you’re having issues on the imaging side of it, verify that the relevant Storage Nodes Management Username and Password are set correctly.

              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
              • R
                raumin
                last edited by

                Hi, thank you.

                The TFTP_PXE_KERNEL_DIR is ok, i am on debian 7. The username and password are ok.

                I am on FOG 0.33b (svn checkout this morning). The IP address is correct too.

                In error.log, i have this :

                [CODE]ls: cannot access /images/DoubleBootrxxmath: No such file or directory
                ls: cannot access /images/DoubleBootrxxmath: No such file or directory[/CODE]

                It’s FTP related ?

                FOG trunk

                1 Reply Last reply Reply Quote 0
                • R
                  raumin
                  last edited by

                  ok, vsftpd is not properly installed. And the daemon is not started and i cant start it. But the binary is present… When i try to remove and reinstall i get these errors messages in loop and nothing is done :

                  [CODE]root@fog-project:# aptitude remove --purge vsftpd

                  insserv: Starting FOGScheduler depends on rc.local and therefore on system facility $all' which can not be true! insserv: Starting FOGMulticastManager depends on rc.local and therefore on system facility $all’ which can not be true!
                  insserv: Starting FOGImageReplicator depends on rc.local and therefore on system facility `$all’ which can not be true!

                  Blablabla

                  insserv: exiting now without changing boot order!
                  update-rc.d: error: insserv rejected the script header
                  dpkg: erreur de traitement de open-iscsi (–configure) :
                  le sous-processus script post-installation installé a retourné une erreur de sortie d’état 1
                  Des erreurs ont été rencontrées pendant l’exécution :
                  open-iscsi[/CODE]

                  Any idea ? It’s a clear install of debian, my /images is an iscsitarget mounted correctly, the rights and owners are properly set!

                  Thank you

                  FOG trunk

                  1 Reply Last reply Reply Quote 0
                  • JunkhackerJ
                    Junkhacker Developer
                    last edited by

                    can you veify that the ftp service is running, and you can connect to it? there’s a bit of an issue with vsftpd that sometimes requires an edit to it’s config

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    1 Reply Last reply Reply Quote 0
                    • R
                      raumin
                      last edited by

                      nop, the service is not running.Which options can i edit ?

                      FOG trunk

                      1 Reply Last reply Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer
                        last edited by

                        in /etc/vsftpd.conf is there a line for seccomp_sandbox=no ?
                        if there is remove it and restart the service
                        if there is not add it and restart the service

                        signature:
                        Junkhacker
                        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                        1 Reply Last reply Reply Quote 0
                        • R
                          raumin
                          last edited by

                          Ok, the option was in the file, i deleted it but i cant start, stop, or restart the service.

                          I rebooted the machine and it’s the same.

                          No output, no process.

                          FOG trunk

                          1 Reply Last reply Reply Quote 0
                          • JunkhackerJ
                            Junkhacker Developer
                            last edited by

                            if you had that line in the file, you had a version installed prior to version 1525, which was release 2 days ago. but your post says that you installed the latest yesterday. was this an upgrade install, or a fresh install?

                            signature:
                            Junkhacker
                            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                            1 Reply Last reply Reply Quote 0
                            • R
                              raumin
                              last edited by

                              Oh…i didnt know after each checkout i had to upgrade FOG.

                              It works great thanks !

                              FOG trunk

                              1 Reply Last reply Reply Quote 0
                              • S
                                SuP3R_Ch1cKeN
                                last edited by

                                I’m having this issue also. Receiving the “[COLOR=#333333]Error: Undefined Index: currentUser[/COLOR]” after uploading an image.

                                FOG_TFTP_PXE_KERNEL_DIR = /var/www/html/fog/service/ipxe/
                                FOG_TFTP_HOST = Server’s IP address
                                FOG_TFTP_FTP_USERNAME/PASSWORD = same login as fog user on server
                                vsftpd seems to be installed correctly

                                Unsure if this is related or not but under “Image Management” it’s not reading “Image Size:ON SERVER” like it did before on Ubuntu. The image files are there and they match the definitions. I can even deploy the images.

                                OS: CentOS 6.4
                                FOG Version: 1.0.1

                                FOG Server OS: CentOS 7
                                FOG Version: FOG 1.2.0

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post

                                337

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project