Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SFTP-SCP Login Error

Discussion in 'General Discussion' started by Sheldon, Sep 17, 2008.

  1. Sheldon

    Sheldon Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Canada
    Hello all,

    When logging in with SFTP or SCP via WinSCP I get the following errors:

    Command 'groups'
    failed with return code 0 and error message
    job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory.

    Command 'pwd'
    failed with return code 1 and error message
    pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory.

    However, all other domains and accounts work, no errors. I tried rebuilding the proftp conf file tried a few different things. The paths are fine, changing the password has no effect. It was working and now is not. As far as I can see, the directories have the proper permissions and there is no issue.

    Normal FTP works just fine tho.

    What could be the issue.

    Cheers
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. never2far

    never2far Active Member

    Joined:
    May 6, 2008
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    56
    I had a similar problem.

    This is how it was solved:

    root@server [~]# umount /home/virtfs/<user>/home/<user>/
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice