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.

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:
    16
    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
     
  2. never2far

    never2far Active Member

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

    This is how it was solved:

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

Share This Page