HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Ftp (http://www.howtoforge.com/forums/showthread.php?t=51175)

Breezer 28th January 2011 20:34

Ftp
 
Hello, i am new in linux world, but i have followed the The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 3], it seemed to me that everything installed fine, i followed the suggestions that were made even if the install wasn't working from the comments bellow... anyways I have an issue the the pureftpd and ispconfig 3.... using FileZilla, i am able to log in as root onto the server with ftp.... the minute i care a user on the ispconfig 3 for ftp... it does not work... it keeps saying authentication failed....

my though is that the directorys do not match for the username and passwords with pureftp/myphpadmin/ispconfig, am I on the right track? or way off please help

Thank you

pititis 28th January 2011 20:47

root login is not allowed. Check /etc/ftpusers

Breezer 28th January 2011 20:55

Sorry that directory does not exist...

the thing is i have tried logging in as root and it did work...

I can not create users in ISPConfig 3, they do not authenticate...

falko 29th January 2011 17:24

Did you try both active and passive transfers in your FTP client?
Is SELinux disabled?
Is this a physical server or a virtual machine?

Breezer 1st February 2011 14:02

Did you try both active and passive transfers in your FTP client?

--> yes i have tried both (its give me authentication error)

Is SELinux disabled?

--> yes it is disabled

Is this a physical server or a virtual machine?

It is a physical server...


to me it seems like the ISPconfig 3 and the pureftd are looking a different directory for username and password....

I am not sure how to check if the are looking at the same files... Thanks

falko 2nd February 2011 15:57

Do you have any error messages that you can post, e.g. from your FTP client and your server logs?

Breezer 2nd February 2011 21:57

sure thing....
this happens when i log in a root with ftp filezilla:

Status: Connecting to 555.555.555.555...
Response: fzSftp started
Command: open "root@555.555.555.555" 22
Command: Pass: ********
Status: Connected to 555.555.555.555
Status: Retrieving directory listing...
Command: pwd
Response: Current directory is: "/root"
Status: Directory listing successful

NOW!!!!

when creating a user in ISPConfig3 --- trying to connect with a user by just changing user name and password--->

Status: Connecting to 555.555.555.555...
Response: fzSftp started
Command: open "user1@555.555.555.555" 22
Command: Pass: ********
Error: Authentication failed.
Error: Critical error
Error: Could not connect to server


when I check out show system log in ISPConfig 3 i get
Feb 2 14:20:01 server1 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Feb 2 14:20:01 server1 pure-ftpd: (?@127.0.0.1) [INFO] Logout.

every 5 min

falko 3rd February 2011 15:15

Did you mark that FTP account as active in ISPConfig?
Any errors in your auth log?

Breezer 4th February 2011 18:18

Yes it is Active... its checked as default
Where would i find Authentication log file?

in ispconfig3 under monitor Logfiles this is what i find...
* Show Mail Queue
* Show Mail Log
* Show Mail Warn-Log
* Show Mail Error-Log
* Show System-Log
* Show ISPC Cron-Log
* Show Freshclam-Log
* Show Clamav-Log
* Show RKHunter-Log
* Show fail2ban-Log

no Auth log

please let me know how i can check the auth log thanx and ill let you know what it says....

Thank You

falko 6th February 2011 21:43

The auth log should be located in /var/log/.


All times are GMT +2. The time now is 13:36.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.