Fogftp login failed
-
You guys where pretty active today!
Two things that came to my mind when reading all the posting from today:
[LIST]
[]Several vsftpd instances running? Maybe thatâs causing trouble? Have you killed (service vsftpd stop; killall -9 vsftpd) and restarted vsftpd?
[]On that last screenshot where you can see the password there seam to be two spaces after âmypasswordâ before the comma. I havenât checked the code yet but Iâd suppose there arenât any spaces printed in that error message. Make sure there are NO spaces in that passwordâŠ
[/LIST] -
The folder permissions are correct (chmod -R 777 already done).
When I run :systemctl status vsftpd.service -l
I have :
vsftpd.service - Vsftpd ftp daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; enabled)
Active: active (running) since ven. 2015-02-27 16:48:20 CET; 2 days ago
Process: 26942 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=0/SUCCESS)
Main PID: 26943 (vsftpd)
CGroup: /system.slice/vsftpd.service
ââ 7801 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
ââ 7802 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
ââ26943 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.confmars 02 14:20:01 fog vsftpd[7679]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=fog rhost=fog user=fog
mars 02 14:20:09 fog vsftpd[7690]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=fog rhost=fog user=fog -
Are the folder permissions correct?
[code]sudo chmod -R 777 /images/[/code]
-
Yes it is showing the password âmypasswordâ.
I can create download tasks (you can see on the screenshot that the upload is stuck at 99%).
Attached 2 screenshotsIâm using fog 1.2.0.
[url=â/_imported_xf_attachments/1/1729_FullSizeRender(3).jpg?:â]FullSizeRender(3).jpg[/url][url=â/_imported_xf_attachments/1/1730_FullSizeRender(4).jpg?:â]FullSizeRender(4).jpg[/url]
-
So the screen thatâs stating the âPlease Specify a passwordâ is it showing a password? Can you create download tasks?
What version of fog are you running?
-
Iâm sure that this password is set properly. Attached a screenshot of the Web GUI.
so âmypasswordâ is my storage management password and my fog user password.[url=â/_imported_xf_attachments/1/1728_FullSizeRender(2).jpg?:â]FullSizeRender(2).jpg[/url]
-
There is no file used so sure, you can specify it in any file you want, but it will not work.
How are you sure itâs set properly? Youâve actually looked at the storage node from Storage Management Page, clicked the eye on the Password field? I know this is probably already what youâve done, but it seems strange that itâs not even passing the password for you, when this is where it gets that password to begin with.
-
Sorry for this confusion, I meant that I could access to my ftp server.
On my FOG server I do : ftp localhost
I have a login successful :
ftp localhost
Connected to localhost (127.0.0.1).
220 (vsFTPd 3.0.2)
Name (localhost:root): fog
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.Iâm sure that the storage management password is set properly. This password is the same as the fog user password on my server.
Is there a file in /var/www/html/fog/ in which I can write the password directly ?Here the content of my /etc/exports file :
/data/images/ *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1,)
/data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2)
/data/ 192.12.59.0/24(rw)In the WEB GUI, my default storage is /data/images, did I make a mistake ?
-
What tftp server? Tftp and FTP are two completely different things.
The message, as Iâm seeing it, says that the password is not set. This tells me the storage Management password isnât set properly.
-
Hi Uncle Frank, thank you for your patience.
I can access to my tftp server from another computer. I have a login successful.
The problem is that when I upload my image to my FOG server, everything is ok but this upload is stuck at 99% everytime. Attached a screenshot.
[url=â/_imported_xf_attachments/1/1727_FullSizeRender(1).jpg?:â]FullSizeRender(1).jpg[/url]
-
Re-reading your first post I am a bit confused about the error message because thatâs exactly the message your get when you try logging into FTP just after you provided the username. See here:
[CODE]$ ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 2.3.5)
Name (127.0.0.1:fog): fog
331 Please specify the password.
Password:
âŠ[/CODE]
Please douple check the username too! But I really wonder why this would cause ftp_login to fail?? -
Yes, when I try to connect from another computer using ftp, it works, I have a login successful.
And in the log I can see : [fog] OK LOGIN: Client â192.12.59.19â
-
Try connecting via ftp command line client for testing using those credentials. Does that work for you?
-
The password in the Web GUI for my relative node is the same as the password in lib/fog/Config.class.php. In this file, I defined my password : define(âSTORAGE_FTP_PASSWORDâ, âMY_PASSWORDâ);
I found this post but it does not help me : [url]http://fogproject.org/forum/threads/fogftp-ftp_login-failed-at-the-end-of-imaging.10437/[/url]
-
You can find these settings within the web interface: Storage Management -> Storage Node Settings -> Management Username/PasswordâŠ
-
Iâm pretty sure troubleshooting this is either in the wiki and/or on these forums. I know I even gave suggestions as early as yesterday.
Go to Storage Management Page.
Choose your relative node.
Scroll to the bottom of that edit page. You will see Management Username and Management Password.
Click the Eye on the password, this should be the password set for FTP that fog is trying to use.
Try using this pair through a FTP client. Are there errors?