Results 1 to 14 of 14

Thread: Strange ProFTPd issue

  1. #1
    Join Date
    Dec 2005
    Location
    The Netherlands
    Posts
    174

    Strange ProFTPd issue

    Hello,

    If this is the wrong location please move the post to the correct location.

    I did move users from server a to server b. This went well without any big problem. After the change I did shutdown server a and added the IP to server b.

    Before the move:
    server a: 10.0.0.220
    server b: 192.168.0.150

    After the move:
    server a: 10.0.0.220
    server a: 192.168.0.150

    However I now have one user complaining about that they can't use FTP. The DNS (ftp.domain.tld) points to 10.0.0.220 and in DirectAdmin 10.0.0.220 is listed as IP for that user (shared server IP). When connecting to ftp.domain.tld or to 10.0.0.220 their FTP accounts are refused (directadmin account + extra FTP accounts tested). It somehow works if they connect to 192.168.0.150 with the FTP accounts.

    I did check /usr/local/data/users/[name]/* for IP 192.168.0.150 and couldn't find it, where should/could I look to fix this?

    IPs are changed, however both IPs are from different /8's as listed in the IPs above.

    How can I fix this or where should I look?

    With kind regards,

    Mark Scholten
    Operating system: Debian
    DNSSEC plugin for DA: http://forum.directadmin.com/showthread.php?t=47487

  2. #2
    Join Date
    Mar 2005
    Posts
    5,283
    These are private network addresses. Domains need to point to public ip addresses if they are to be seen on the web. The only way someone could see the domain or upload to it is if they were on the same private network.
    Floyd Morrissette Little Creek Hosting
    Web Hosting Solutions. Virtual Private Servers
    DirectAdmin Administration and Support
    Our focus is on quality customer support

  3. #3
    Join Date
    Dec 2005
    Location
    The Netherlands
    Posts
    174
    Quote Originally Posted by floyd View Post
    These are private network addresses. Domains need to point to public ip addresses if they are to be seen on the web. The only way someone could see the domain or upload to it is if they were on the same private network.
    As I did mention I did change the IP address here in the information I did provide.

    In reality it is something like:
    91.x.y.220
    213.u.v.150

    With the last number corresponding with the private IPs in the example.
    Operating system: Debian
    DNSSEC plugin for DA: http://forum.directadmin.com/showthread.php?t=47487

  4. #4
    Join Date
    Mar 2005
    Posts
    5,283
    With fake information this could take days to solve.

    However I now have one user complaining about that they can't use FTP.
    But can you login using their domain and username and password?
    Floyd Morrissette Little Creek Hosting
    Web Hosting Solutions. Virtual Private Servers
    DirectAdmin Administration and Support
    Our focus is on quality customer support

  5. #5
    Join Date
    Dec 2005
    Location
    The Netherlands
    Posts
    174
    Quote Originally Posted by floyd View Post
    With fake information this could take days to solve.



    But can you login using their domain and username and password?
    Yes I can, but only after connecting to another IP as listed in DirectAdmin for their account.
    Operating system: Debian
    DNSSEC plugin for DA: http://forum.directadmin.com/showthread.php?t=47487

  6. #6
    Join Date
    Mar 2005
    Posts
    5,283
    So the answer to MY question is no.

    Does the domain work?

    Again it would be really helpful to have the actual domain and ip's.
    Floyd Morrissette Little Creek Hosting
    Web Hosting Solutions. Virtual Private Servers
    DirectAdmin Administration and Support
    Our focus is on quality customer support

  7. #7
    Join Date
    Dec 2005
    Location
    The Netherlands
    Posts
    174
    Quote Originally Posted by floyd View Post
    So the answer to MY question is no.

    Does the domain work?

    Again it would be really helpful to have the actual domain and ip's.
    Actual IPs:
    213.189.17.150 and 91.199.167.220 providing the domainname is impossible (as it is owned by a client). It is only a FTP problem, everything else works.
    Operating system: Debian
    DNSSEC plugin for DA: http://forum.directadmin.com/showthread.php?t=47487

  8. #8
    Join Date
    Mar 2005
    Posts
    5,283
    It is only a FTP problem, everything else works.
    Sorry if I don't take your word for that. Too many times I have heard that and spent hours on a problem and it turns out it was something completely different than what the client thought. With ANY problem remotely related to a domain I always check the whois first to see if the status is still active. Then I check to see if it is resolving to the correct ip address. And so on and on.

    Your client is trying to ftp using the domain name as the hostname. It would have been nice if we were able to check those things FIRST. As it is we do not even know if the correct server is being contacted. As far as we know the ftp client is contacting the registrar because the domain is expired. There are many factors involved.

    The reason for needing the ip addresses: 1. to check to see if the domain resolves correctly, 2. to see if an ftp server is listening, 3. to check to make sure they are on the same machine.

    I could go on and on about why we need the domain and ip address. Its like you want us to help you blindfolded.

    You may be very right about it being an ftp problem. But yet you have provided no evidence that shows this. You have not provided one log entry. Surely to conclude that its an ftp problem you had to have checked the logs. What do the logs say when trying to connect?

    Is it an owned ip? If so have you read this http://help.directadmin.com/item.php?id=122
    Floyd Morrissette Little Creek Hosting
    Web Hosting Solutions. Virtual Private Servers
    DirectAdmin Administration and Support
    Our focus is on quality customer support

  9. #9
    Join Date
    Mar 2005
    Posts
    5,283
    Did you check /etc/proftpd.vhosts.conf
    Floyd Morrissette Little Creek Hosting
    Web Hosting Solutions. Virtual Private Servers
    DirectAdmin Administration and Support
    Our focus is on quality customer support

  10. #10
    Join Date
    Jan 2008
    Location
    /dev/null
    Posts
    702
    If a user has his own IP, only on that IP FTP works, as I know
    Why most people reboot the server when they have a problem

  11. #11
    Join Date
    Dec 2005
    Location
    The Netherlands
    Posts
    174
    Quote Originally Posted by daveyw View Post
    If a user has his own IP, only on that IP FTP works, as I know
    It works on the owned IP and the server IP, however it doesn't work with other IPs on the server (owned by other users and/or shared by the reseller they are under). At least it looks like that is the problem here.
    Operating system: Debian
    DNSSEC plugin for DA: http://forum.directadmin.com/showthread.php?t=47487

  12. #12
    Join Date
    Mar 2005
    Posts
    5,283
    Quote Originally Posted by streamservice View Post
    At least it looks like that is the problem here.
    That is not a problem. That is the way it is supposed to work. People with owned ip's will have entries in /etc/proftpd.vhosts.conf that I referred to earlier.
    Floyd Morrissette Little Creek Hosting
    Web Hosting Solutions. Virtual Private Servers
    DirectAdmin Administration and Support
    Our focus is on quality customer support

  13. #13
    Join Date
    Dec 2005
    Location
    The Netherlands
    Posts
    174
    Quote Originally Posted by floyd View Post
    That is not a problem. That is the way it is supposed to work. People with owned ip's will have entries in /etc/proftpd.vhosts.conf that I referred to earlier.
    The IP used by the user is a shared IP (shared by their reseller). It did work to use the server IP (but not with that shared IP), I guess somewhere a config has the wrong content.
    Operating system: Debian
    DNSSEC plugin for DA: http://forum.directadmin.com/showthread.php?t=47487

  14. #14
    Join Date
    Jul 2011
    Posts
    4
    I have the same problem.
    The IP used by the user is a shared IP (shared by their reseller). It did work to use the server IP (but not with that shared IP). Any ideas?

Similar Threads

  1. Strange Web Dav Issue
    By topdog in forum DirectAdmin General Discussion
    Replies: 0
    Last Post: 08-25-2010, 08:30 PM
  2. Strange DNS Issue
    By kevster in forum General Technical Discussion & Troubleshooting
    Replies: 53
    Last Post: 03-08-2009, 06:44 PM
  3. Strange issue with POP3.
    By Mitnick in forum General Technical Discussion & Troubleshooting
    Replies: 0
    Last Post: 02-19-2008, 07:42 AM
  4. Strange issue with APF
    By david510 in forum System-Level Technical Discussion
    Replies: 1
    Last Post: 12-08-2006, 07:12 AM
  5. Strange cron issue.
    By Cryo in forum System-Level Technical Discussion
    Replies: 4
    Last Post: 03-05-2006, 01:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •