1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Problem setting up Ftp account

Discussion in 'Plesk for Linux - 8.x and Older' started by jeffos101, Jan 13, 2007.

  1. jeffos101

    jeffos101 Guest

    0
     
    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.
     
  2. jeffos101

    jeffos101 Guest

    0
     
    anybody ?
     
  3. izjman

    izjman Guest

    0
     
    I've got the same issue, anyone can provide solution? Thanks in advance.
     
  4. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    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
     
  5. jeffos101

    jeffos101 Guest

    0
     
    Re: Re: Problem setting up Ftp account

    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.
     
  6. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    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.
     
  7. jeffos101

    jeffos101 Guest

    0
     
    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
     
  8. arctic_ged

    arctic_ged Guest

    0
     
    I have the same problem, have you managed to fix this issue?
     
  9. blank_page

    blank_page Regular Pleskian

    24
    53%
    Joined:
    Dec 17, 2006
    Messages:
    229
    Likes Received:
    0
    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.
     
Loading...