
5th June 2009, 17:59
|
|
Member
|
|
Join Date: Dec 2006
Location: Jackson, MS, USA
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
New FTP Users can't login
I'm having an issue where new users can't login into sites recently created. This is the error I'm getting, "Could not connect as user (username)". I'm currently using ISPConfig 2.2.30. Any input on what is causing this? I've tried deleting the site and client so that I could recreate it fresh but it doesn't delete from the recycle bin even after clicking Empty Recycle Bin.
|

6th June 2009, 10:36
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Which distribution are you using? Are there any errors in the logs? Did you try both active and passive transfers in your FTP client?
|

6th June 2009, 16:55
|
|
Member
|
|
Join Date: Dec 2006
Location: Jackson, MS, USA
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hey Falko, I'm using ISPConfig 2.2.3o and I've tried connected via active and passive and neither has worked. Honestly, I don't remember how to access the ISPConfig logs to find the error.
|

6th June 2009, 17:01
|
|
Member
|
|
Join Date: Dec 2006
Location: Jackson, MS, USA
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
here is the latest entry from proftpd.log
Jun 05 13:26:30 outpost proftpd[28088] outpost (67.98.241.15[67.98.241.15]): FTP session opened.
Jun 05 13:26:30 outpost proftpd[28088] outpost (67.98.241.15[67.98.241.15]): mod_delay/0.5: delaying for 156 usecs
Jun 05 13:26:30 outpost proftpd[28088] outpost (67.98.241.15[67.98.241.15]): no such user 'ergon.mobi_ergon'
Jun 05 13:26:30 outpost proftpd[28088] outpost (67.98.241.15[67.98.241.15]): USER ergon.mobi_ergon: no such user found from 67.98.241.15 [67.98.241.15] to $
Jun 05 13:26:30 outpost proftpd[28088] outpost (67.98.241.15[67.98.241.15]): mod_delay/0.5: delaying for 1334014 usecs
Jun 05 13:26:32 outpost proftpd[28088] outpost (67.98.241.15[67.98.241.15]): FTP session closed.
|

6th June 2009, 17:09
|
|
Member
|
|
Join Date: Dec 2006
Location: Jackson, MS, USA
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
and this is info from the isp_isp_user table show that the user does exist
> select doc_id, user_username, user_admin, user_shell from isp_isp_user order by doc_id desc limit 1;
+--------+------------------+------------+------------+
| doc_id | user_username | user_admin | user_shell |
+--------+------------------+------------+------------+
| 86 | ergon.mobi_ergon | 1 | 1 |
+--------+------------------+------------+------------+
|

7th June 2009, 14:40
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,885
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
FTP does not authenticate against the mysql database, it authenticates against /etc/password. The problem is that usernames may not contain a dot, change your username or username_prefix so that there is no dot in it.
|

7th June 2009, 16:29
|
|
Member
|
|
Join Date: Dec 2006
Location: Jackson, MS, USA
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
well the username is generated from ISPConfig for that particular site. I have a passwd file and a passwd-. I checked both files and neither contain that new user I've created. So, do I need to start manually users to the passwd file or is this some kind of bug that is in ISPConfig 2.2.30?
|

7th June 2009, 16:32
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,885
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
ISPConfig does not create usernames with a dot by default and this is no bug. You must have changed the username prefix to a wrong value. Please change it back to the original value.
|

7th June 2009, 17:09
|
|
Member
|
|
Join Date: Dec 2006
Location: Jackson, MS, USA
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
So based on what you're saying this username wouldn't work on this example site because it has a dot in the name as well?
|

7th June 2009, 17:37
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
Originally Posted by pyropoptrt
well the username is generated from ISPConfig for that particular site. I have a passwd file and a passwd-. I checked both files and neither contain that new user I've created.
|
What's the output of
Code:
ls -la /root/ispconfig
? Are there any warnings in /home/admispconfig/ispconfig/ispconfig.log?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 10:14.
|
Recent comments
7 hours 50 min ago
12 hours 49 min ago
14 hours 15 min ago
15 hours 8 min ago
16 hours 51 min ago
21 hours 15 min ago
22 hours 7 min ago
1 day 20 min ago
1 day 13 hours ago
1 day 15 hours ago