#1  
Old 22nd July 2012, 21:48
mikej mikej is offline
Junior Member
 
Join Date: Jul 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default ftp problem

Having a problem after creating an FTP user it is not allowing it to log in.

This is a Virtual server
this is from the auth log.

Jul 22 15:32:02 web sshd[1988]: input_userauth_request: invalid user wolfordrealty [preauth]
Jul 22 15:32:02 web sshd[1988]: pam_unix(sshd:auth): check pass; user unknown
Jul 22 15:32:02 web sshd[1988]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.1.15.2
Jul 22 15:32:05 web sshd[1988]: Failed password for invalid user wolfordrealty from 10.1.15.2 port 1861 ssh2
Jul 22 15:32:05 web sshd[1988]: fatal: Read from socket failed: Connection reset by peer [preauth]


I checked in the databse ftp users and the user is there.

I tried deleting and remaking the user in ispconfig and still same results.
Reply With Quote
Sponsored Links
  #2  
Old 23rd July 2012, 14:22
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Are you talking about ftp or ssh? As you can see, the log entries are reported by your ssh deamon.

Quote:
Jul 22 15:32:02 web sshd[1988]: pam_unix(sshd:auth): check pass; user unknown
Reply With Quote
  #3  
Old 24th July 2012, 01:23
mikej mikej is offline
Junior Member
 
Join Date: Jul 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

We;; ot seems the ftp server won;t even start , here is the error when I try and restart the service



root@web:/# service pure-ftpd-mysql restart
Restarting ftp server: /usr/sbin/pure-ftpd-wrapper: Invalid configuration file /etc/pure-ftpd/conf/DEADJOE: No corresponding directive
root@web:/#
Reply With Quote
  #4  
Old 24th July 2012, 11:25
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

What did you already do to solve the error? E.g. checking what the error message "No corresponding directive" means and afterwards what's inside the file "/etc/pure-ftpd/conf/DEADJOE".
Reply With Quote
  #5  
Old 24th July 2012, 14:30
mikej mikej is offline
Junior Member
 
Join Date: Jul 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well after lookin at that file a second time, first time i did not see what it shows now, it seems that was just a file made from a bad session. So I removed the file. but now I am getting this error in the syslog.


Jul 24 07:28:16 web pure-ftpd: (?@?) [ERROR] Sorry, but that file doesn't exist: [/etc/ssl/private/pure-ftpd.pem]


checked on it and it is there. I had put in the free SSL from startcom and linked the pure-ftpd.pem to the main .pem file like the instructions said.
Reply With Quote
  #6  
Old 24th July 2012, 21:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's the output of
Code:
ls -la /etc/ssl/private/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 24th July 2012, 23:16
mikej mikej is offline
Junior Member
 
Join Date: Jul 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is the info

drwx--x--- 2 root ssl-cert 4096 Jul 21 08:59 .
drwxr-xr-x 4 root root 4096 Jul 18 07:11 ..
lrwxrwxrwx 1 root root 48 Jul 21 08:59 pure-ftpd.pem -> /usr/local/ispconfig/interface/ssl/ispserver.pem
-rw------- 1 root root 3119 Jul 18 11:55 pure-ftpd.pem_bak
-rw-r----- 1 root ssl-cert 1704 Jul 18 11:35 ssl-cert-snakeoil.key
Reply With Quote
  #8  
Old 25th July 2012, 16:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's the output of
Code:
ls -la /usr/local/ispconfig/interface/ssl/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 27th July 2012, 02:54
mikej mikej is offline
Junior Member
 
Join Date: Jul 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is the info


root@web:/home/svicweb# ls -la /usr/local/ispconfig/interface/ssl/
total 44
drwxr-x--- 2 ispconfig ispconfig 4096 Jul 19 20:22 .
drwxr-x--- 7 ispconfig ispconfig 4096 Jul 18 12:40 ..
-rw-r--r-- 1 root root 2857 Jul 19 20:21 ispserver.crt
-rwxr-x--- 1 ispconfig ispconfig 2110 Jul 19 19:16 ispserver.crt_bak
-rwxr-x--- 1 ispconfig ispconfig 1740 Jul 19 19:20 ispserver.csr
-rwxr-x--- 1 ispconfig ispconfig 3272 Jul 19 19:20 ispserver.key
-rwxr-x--- 1 ispconfig ispconfig 3311 Jul 19 19:13 ispserver.key.secure
-rw------- 1 root root 0 Jul 24 17:14 ispserver.pem
-rw-r--r-- 1 root root 2760 May 6 2008 startssl.ca.crt
-rw-r--r-- 1 root root 4972 Jul 19 20:22 startssl.chain.class1.server.crt
-rw-r--r-- 1 root root 2212 Apr 17 2010 startssl.sub.class1.server.ca.crt
Reply With Quote
  #10  
Old 27th July 2012, 12:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Quote:
-rw------- 1 root root 0 Jul 24 17:14 ispserver.pem
The file is empty.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ftp problem Vm problem toux General 1 10th February 2011 09:45
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
ftp problems tgansert Installation/Configuration 20 27th May 2006 19:06
WEB UI FTP not working gimhan90 Installation/Configuration 2 16th March 2006 08:03
Website users? ctroyp General 25 6th January 2006 18:02


All times are GMT +2. The time now is 03:48.


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