FOGFTP: Failed to connect. Host xxx.xxx.xxx.xxx, Error: Undefined Index CurrentUser
-
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.
-
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 ?
-
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
-
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
-
nop, the service is not running.Which options can i edit ?
-
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 -
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.
-
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?
-
Oh…i didnt know after each checkout i had to upgrade FOG.
It works great thanks !
-
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 correctlyUnsure 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