• 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.6k
    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.
    • 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

                            91

                            Online

                            12.2k

                            Users

                            17.4k

                            Topics

                            155.5k

                            Posts
                            Copyright © 2012-2024 FOG Project