The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Home directory not available

Discussion in 'General Discussion' started by scifimeshes, Dec 15, 2004.

Thread Status:
Not open for further replies.
  1. scifimeshes

    scifimeshes Registered

    Joined:
    Jun 10, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    OK, first off I'm not a uber web admin so I probably screwed this up myself.

    Here is what happened and now what the problem is.

    I created a new account on my dedicated server, which got created in a folder called /home, by accident. (fixed). I moved the site files (/site) from /home, to the directory /home

    The site is working fine.. http..etc.. however I can no longer FTP into the site via software cuteftp Pro.

    I get this error message:

    STATUS:> Resolving host name www.&&&&&&&.com...
    STATUS:> Host name www.&&&&&&&.com resolved: ip = 111.111.111.111.
    STATUS:> Connecting to FTP server www.&&&&&&&&.com:21 (ip = 111.111.111.111)...
    STATUS:> Socket connected. Waiting for welcome message...
    220---------- Welcome to Pure-FTPd [TLS] ----------
    220-You are user number 1 of 50 allowed.
    220-Local time is now 21:03. Server port: 21.
    220 You will be disconnected after 15 minutes of inactivity.
    STATUS:> Connected. Authenticating...
    COMMAND:> USER &&&&
    331 User &&&& OK. Password required
    COMMAND:> PASS *****
    421 Home directory not available - aborting
    ERROR:> Service unavailable. Try again later.
    STATUS:> Waiting 30 seconds...
    ERROR:> Can't read from control socket. Socket error = #10054.

    This was working perfectly right before I moved this directory.. now it won't.

    Can someone tell me where the file is located that tells the server where directories for accounts are located? Because it's pointing to the OLD directory that no longer exists.

    Can anyone help?
    Scifi
     
  2. manokiss

    manokiss Well-Known Member

    Joined:
    Mar 31, 2002
    Messages:
    571
    Likes Received:
    0
    Trophy Points:
    16
    check into /etc/pure-ftpd/user if the path is correct
     
  3. yufool

    yufool Active Member

    Joined:
    Jan 24, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Any fixes for this problem?

    I am having the same problem...
    Please advise...
     
  4. luispic

    luispic Registered

    Joined:
    Feb 15, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Re: Any fixes for this problem?

    I know it's been a while but in case this happens to someone else, the solution is to use the user name and password of the user that generated the FTP account in CPANEL.
    This error is due to the lack of permissions for the new user to modify the home folder, in case it was YOU who created the new FTP user, then use your "admin" user, in case you have a hosting account with a friend ask them to give permission to your new FTP user of the "home" folder or ask them for their admin user (less likely) ;)
    hope this helps anyone!

    :cheers:
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    From the first post:
    That's not by accident, that's where cPanel creates accounts.


    This thread is several years old. If there's a problem you need assistance with, please start a new thread and provide the details of the issue at hand.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page