Current time: 11-22-2024, 09:47 PM Hello There, Guest! (LoginRegister)


Post Reply 
Strange problem with ftp... can access all domains except one.
Author Message
APOCALIPSIS Offline
Junior Member
*

Posts: 12
Joined: Nov 2008
Reputation: 0
Post: #1
Strange problem with ftp... can access all domains except one.
System: ubuntu 8.04 openvz virtual machine
ISCP rc07 nightly build ... i think 1-30-2009 (or so)

Machine name: hosting.pkisistemas.com

Basic installation + fail2ban + monit+webmin

This is a test machine ...(the real domains are in other machine)

First we installed 2 domains... arguedas.net and naroa.org... created several users for this domains... and transfered data to the domains... whithout troubles...

Next we created 1 domain more... pkisistemas.com ... create a new user... and cant access to it..., create another user... and cant access to it...


Ftp grups in database...

pksistemas.com 2003 sistemas@pksistemas.com,prueba@pksistemas.com

Ftp_users in database

sistemas@pksistemas.com $1$BnFO>_$8os9uEfg3HI30L/w66MwU1 2003 2003 /bin/sh /var/www/virtual/pksistemas.com
prueba@pksistemas.com $1$ePg`v0$tCIyT1gGa59vguI82lDpp0 2003 2003 /bin/sh /var/www/virtual/pksistemas.com/htdocs


The configuration of proftpd i think is ok (because i can access with previous users)

The ftpsql log...
Feb 04 09:27:18 mod_sql/4.2.2[15034]: query "SELECT userid, passwd, uid, gid, homedir, shell FROM ftp_users WHERE (userid='prueba@pkisistemas.com') LIMIT 1"
Feb 04 09:27:18 mod_sql/4.2.2[15034]: entering mysql cmd_close
Feb 04 09:27:18 mod_sql/4.2.2[15034]: connection 'default' count is now 3
Feb 04 09:27:18 mod_sql/4.2.2[15034]: exiting mysql cmd_close
Feb 04 09:27:18 mod_sql/4.2.2[15034]: exiting mysql cmd_select
Feb 04 09:27:18 mod_sql/4.2.2[15034]: <<< cmd_getgroups
Feb 04 09:27:18 mod_sql/4.2.2[15034]: <<< sql_pre_pass
Feb 04 09:27:18 mod_sql/4.2.2[15034]: >>> cmd_endpwent
Feb 04 09:27:18 mod_sql/4.2.2[15034]: <<< cmd_endpwent
Feb 04 09:27:18 mod_sql/4.2.2[15034]: >>> cmd_endgrent
Feb 04 09:27:18 mod_sql/4.2.2[15034]: <<< cmd_endgrent
Feb 04 09:27:18 mod_sql/4.2.2[15034]: >>> cmd_getpwnam
Feb 04 09:27:18 mod_sql/4.2.2[15034]: entering mysql cmd_escapestring
Feb 04 09:27:18 mod_sql/4.2.2[15034]: entering mysql cmd_open
Feb 04 09:27:18 mod_sql/4.2.2[15034]: connection 'default' count is now 4
Feb 04 09:27:18 mod_sql/4.2.2[15034]: exiting mysql cmd_open
Feb 04 09:27:18 mod_sql/4.2.2[15034]: exiting mysql cmd_escapestring
Feb 04 09:27:18 mod_sql/4.2.2[15034]: cache miss for user 'prueba@pkisistemas.com'
Feb 04 09:27:18 mod_sql/4.2.2[15034]: : entering mysql cmd_select
Feb 04 09:27:18 mod_sql/4.2.2[15034]: entering mysql cmd_open
Feb 04 09:27:18 mod_sql/4.2.2[15034]: connection 'default' count is now 5
Feb 04 09:27:18 mod_sql/4.2.2[15034]: exiting mysql cmd_open


And finally the auth log...
Feb 4 08:47:18 hosting proftpd[12897]: hosting.pkisistemas.com (85.219.38.141[85.219.38.141]) - USER pkisistemas@pkisistemas.com: no such user found from 85.219.38.141 [85.219.38.141] to 87.98.229.173:21
Feb 4 08:47:20 hosting proftpd[12897]: hosting.pkisistemas.com (85.219.38.141[85.219.38.141]) - FTP session closed.


I have created another domain and can access without problem, only one domain user has this problem... the same domain of the machine (asi said, the machine name is hosting.pkisistemas.com, and the domain with troubles is pkisistemas.com)...
02-04-2009 07:59 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)