• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Problem setting up Ftp account

J

jeffos101

Guest
I have Plesk 8.10 install on my dedicated server and cannot setup the physical ftp host of my domain.

We haven't changed any files or settings. We just bought the Linux PRo I server from 1and1 france.

When going to the config section and entering a new password. It says: information updated but nothing is actually saved. The same 6 stars remains (password is 10 characters) and when trying to logon through my ftp client, the passw is not recognized.

Also when trying to click on the file manager icon it gives us the following error:

"ERROR: PleskFatalException

Unable to resolve rath path to file /var/www/vhosts/eusabroad.eu

--------------------------------------------------------------------------------

0: /usr/local/psa/admin/plib/class.Checker.php:785
Checker::filepath(string '/var/www/vhosts/eusabroad.eu', string '/var/www/vhosts/eusabroad.eu', string 'eusabroad')
1: /usr/local/psa/admin/plib/class.FileManager.php:528
FileManager->get_file_path(string '/')
2: /usr/local/psa/admin/plib/class.FileManager.php:699
FileList->fetchFileList()
3: /usr/local/psa/admin/plib/class.cList.php3:97
cList->fetchList()
4: /usr/local/psa/admin/plib/class.cList.php3:117
cList->init()
5: /usr/local/psa/admin/htdocs/filemanager/filemanager.php:621"


Thank you for your great assistance. We're stuck.

J.
 
I've got the same issue, anyone can provide solution? Thanks in advance.
 
Originally posted by jeffos101

When going to the config section and entering a new password. It says: information updated but nothing is actually saved. The same 6 stars remains (password is 10 characters) and when trying to logon through my ftp client, the passw is not recognized.

Also when trying to click on the file manager icon it gives us the following error:

"ERROR: PleskFatalException

Unable to resolve rath path to file /var/www/vhosts/eusabroad.eu


Could you specify which config section do you mean? As for the error in FileManager I can suggest you first of all check /usr/local/psa/admin/logs/httpsd_error_log file on your server for more exactly errors and check Plesk configuration file /etc/psa/psa.conf abd be sure that VHOSTS path is correct there:
# cat /etc/psa/psa.conf|grep HOST
HTTPD_VHOSTS_D /var/www/vhosts
 
Re: Re: Problem setting up Ftp account

Originally posted by Dmitry Frantsev
Could you specify which config section do you mean? As for the error in FileManager I can suggest you first of all check /usr/local/psa/admin/logs/httpsd_error_log file on your server for more exactly errors and check Plesk configuration file /etc/psa/psa.conf abd be sure that VHOSTS path is correct there:
# cat /etc/psa/psa.conf|grep HOST
HTTPD_VHOSTS_D /var/www/vhosts

My /usr/local/psa/admin/logs/httpsd_error_log file reads


[root@s15241211 logs]# vi httpsd_error_log
[Mon Jan 15 05:23:35 2007] [error] mod_ssl: SSL handshake interrupted by system [Hint: Stop button pressed in browser?!] (System error follows)
[Mon Jan 15 05:23:35 2007] [error] System: Connection reset by peer (errno: 104)
[Mon Jan 15 05:23:35 2007] [error] mod_ssl: SSL handshake interrupted by system [Hint: Stop button pressed in browser?!] (System error follows)
[Mon Jan 15 05:23:35 2007] [error] System: Connection reset by peer (errno: 104)
[Mon Jan 15 05:23:35 2007] [error] mod_ssl: SSL handshake interrupted by system [Hint: Stop button pressed in browser?!] (System error follows)
[Mon Jan 15 05:23:35 2007] [error] System: Connection reset by peer (errno: 104)
filemng: Cannot chdir to eusabroad homedir /home/u43898566
System error 2: No such file or directory

My /etc/psa/psa.conf reads:


# (c) Copyright 2001-2006 SWsoft, Inc
# All Rights Reserved
#
# This file is used to declare the location of different utilities,
# services, and/or packages within Plesk. No changes should be made
# to this file without first consulting support. Any changes made can
# affect service availability and performance.
#
# Each line in this file follows the following format:
#
# variable [whitespace characters] value
#
# That is, the name of the field, followed by spaces or tabs, followed
# by field value. Trailing spaces are removed.
#

# Plesk tree
PRODUCT_ROOT_D /usr/local/psa

# Directory of SysV-like Plesk initscripts
PRODUCT_RC_D /etc/init.d

"psa.conf" 113L, 2252C


No mentions of VHOSTS

Thank you for your help.
 
As I can see many fields are missing from Plesk configuration file. Try to add them. As an example, I'm posting psa.conf file from Plesk 8.1 installation on FC4:
$ cat /etc/psa/psa.conf

# Plesk tree
PRODUCT_ROOT_D /usr/local/psa

# Directory of SysV-like Plesk initscripts
PRODUCT_RC_D /etc/init.d

# Directory for config files
PRODUCT_ETC_D /usr/local/psa/etc

# Virtual hosts directory
HTTPD_VHOSTS_D /var/www/vhosts

# Apache configuration files directory
HTTPD_CONF_D /etc/httpd/conf

# Apache include files directory
HTTPD_INCLUDE_D /etc/httpd/conf.d

# Apache binary files directory
HTTPD_BIN_D /usr/bin

#Apache log files directory
HTTPD_LOG_D /var/log/httpd

# Qmail directory
QMAIL_ROOT_D /var/qmail

# Location of qmail maildirs
QMAIL_MAILNAMES_D /var/qmail/mailnames

# Path to rblsmtpd
RBLSMTPD /usr/sbin/rblsmtpd

# Courier-IMAP
COURIER_IMAP_ROOT_D /

# Proftpd
FTPD_CONF /etc/proftpd.conf
FTPD_CONF_INC /etc/proftpd.include
FTPD_BIN_D /usr/bin
FTPD_VAR_D /var/run/proftpd

# Bind
NAMED_RUN_ROOT_D /var/named/run-root

# Webalizer
WEB_STAT /usr/bin/webalizer

# Logrotate
LOGROTATE /usr/local/psa/logrotate/sbin/logrotate

# MySQL
MYSQL_VAR_D /var/lib/mysql
MYSQL_BIN_D /usr/bin

# PostgreSQL
PGSQL_DATA_D /var/lib/pgsql/data
PGSQL_BIN_D /usr/bin

# Backups directory
DUMP_D /var/lib/psa/dumps

# Mailman directories
MAILMAN_ROOT_D /usr/lib/mailman
MAILMAN_VAR_D /var/lib/mailman

# Python binary
PYTHON_BIN /usr/bin/python2.4

# Tomcat root directory
CATALINA_HOME /usr/share/tomcat5

# DrWeb
DRWEB_ROOT_D /opt/drweb
DRWEB_ETC_D /etc/drweb

# GnuPG binary
GPG_BIN /usr/bin/gpg

# Tar binary
TAR_BIN /bin/tar

# Curl certificates
CURL_CA_BUNDLE_FILE /usr/share/curl/curl-ca-bundle.crt

# AWStats
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /var/www/cgi-bin/awstats
AWSTATS_TOOLS_D /usr/share/awstats

# openssl binary
OPENSSL_BIN /usr/bin/openssl

AWSTATS_DOC_D /var/www/html/awstats

Just in case, save your old file and try to edit it. Hope it helps.
 
It was my mistake, my /etc/psa/psa.conf was exactly like the one you pasted. I forgot to go down further.

The issue remains. Same error msg.

Lmk
 
I have the same problem, have you managed to fix this issue?
 
Hello,


check the following 3 elements:

user home: in /etc/passwd
the psa.conf and the HTTPD_VHOSTS_D
check the sys_users table see where does psa see the home.

if there is a difference make a symbolic link.
 
Back
Top