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

Upgrade fail : Qmail error HTTPD_SERVICE

Discussion in 'Plesk for Linux - 8.x and Older' started by zola2, Jul 12, 2007.

  1. zola2

    zola2 Guest

    0
     
    I have a problem with Qmail :

    Can you help me please ?
     
  2. stefanb

    stefanb Guest

    0
     
    Hello zola2,


    I'm on Fedora core 5 and upgraded to 8.2.0
    After that there 4 showed up in /etc/psa/psa.conf
    you need to add them and your problem should be solved

    HTTPD_SERVICE httpd
    LIB_SSL_PATH /lib/libssl.so.6
    LIB_CRYPTO_PATH /lib/libcrypto.so.6
    CLIENT_PHP_BIN /usr/local/psa/bin/php-cli
     
  3. bisbee

    bisbee Guest

    0
     
    Plesk 8.1.1 to 8.2 upgrade failed on my machine, killing qmail in the process, as well. Stefanb's suggestion got me up and running again. Thanks Stefanb!

    Note that the correct values for these four variables are dependant on what system you are running. Libssl and Libcrypto are usually installed with Openssl. Use your package manager to find out where they are installed on your system.

    For example, I'm on SUSE 9.3 64-bit and these are the values that worked for me:

    Code:
    HTTPD_SERVICE httpd
    LIB_SSL_PATH /usr/lib64/libssl.so.0
    LIB_CRYPTO_PATH /usr/lib64/libcrypto.so.0
    CLIENT_PHP_BIN /usr/local/psa/bin/php-cli
    
    Of course you then have to stop and restart Plesk to read the new configuration file:

    Code:
    # /etc/rc.d/psa stopall
    # /etc/rc.d/psa start
    This got qmail and my Plesk installation running again, but I'm not yet sure that it's running correctly. I know that the Plesk Updater GUI is now completely goofy--red exlamation points for every revision of Plesk from 7.5.4 on up. If anyone else can contribute some steps to take in the recovery process, that'd be helpful.
     
  4. toneworks

    toneworks Guest

    0
     
    'Error: HTTPD_SERVICE not defined' fix for RHEL4

    We run CentOS release 4.5 (RHEL4 compatible) on our server.
    These are the settings that worked for us:

    Added to /etc/psa/psa.conf:
    Code:
    HTTPD_SERVICE httpd
    LIB_SSL_PATH /lib/libssl.so.4
    LIB_CRYPTO_PATH /lib/libcrypto.so.4
    CLIENT_PHP_BIN /usr/local/psa/bin/php-cli
    Restarting Plesk:
    Code:
    #service psa stopall
    #service psa start
     
  5. mback2k

    mback2k New Pleskian

    22
     
    Joined:
    Oct 21, 2007
    Messages:
    2
    Likes Received:
    0
    I am using SUSE 10.1 and cannot get Plesk up while using any of this configurations.

    I tried:
    Code:
    HTTPD_SERVICE httpd
    LIB_SSL_PATH /lib/libss.so.2
    LIB_CRYPTO_PATH /lib/libcrypt.so.1
    CLIENT_PHP_BIN /usr/local/psa/bin/php-cli
    Code:
    HTTPD_SERVICE httpd
    LIB_SSL_PATH /usr/lib/libss.so
    LIB_CRYPTO_PATH /usr/lib/libcrypt.so
    CLIENT_PHP_BIN /usr/local/psa/bin/php-cli
    But as soon as I insert one of these lines, Plesk and none of my websites are available. Can anyone help me please?

    Code:
    # /etc/rc.d/psa start
    xinetd  on
    Starting INET services. (xinetd)                                     done
    named  off
    Starting name server BIND                                            done
    mysql  off
    Starting service MySQL                                               done
    qmail  on
    Starting qmail:                                                      done
    courier-imap  on
    Starting Courier-IMAP server:
       Starting imapd                                                    done
       Starting imap-ssl                                                 done
       Starting pop3                                                     done
       Starting pop3-ssl                                                 done
    
    psa-spamassassin  off
    Starting psa-spamassassin service:                                   done
    /mysql: No such file or directory
    apache2  off
    /admin/sbin/websrvmng: No such file or directory
    /mysql: No such file or directory
    /admin/bin/httpsdctl: No such file or directory
    Starting Plesk:                                                      failed
    drwebd  on
    Starting drwebd                                                      done
    If I run the following afterwards Plesk and Apache are running again, but after the next restart I have to do the same again.

    Code:
    /usr/local/psa/admin/bin/httpsd
    /etc/init.d/apache2 start
    Thanks in advance,
    mback2k
     
  6. stefanb

    stefanb Guest

    0
     
    Humm... to me it looks like you
    you are missing the PRODUCT_ROOT_D path in your psa.conf file.

    Basically it should be something like that

    PRODUCT_ROOT_D /usr/local/psa
     
  7. mback2k

    mback2k New Pleskian

    22
     
    Joined:
    Oct 21, 2007
    Messages:
    2
    Likes Received:
    0
    No, that path is configured at the beginning of the file:

    Code:
    #
    # (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
    
    # Directory for config files
    PRODUCT_ETC_D /usr/local/psa/etc
    
    # Virtual hosts directory
    HTTPD_VHOSTS_D /srv/www/vhosts
    
    # Apache configuration files directory
    HTTPD_CONF_D /etc/apache2
    
    # Apache include files directory
    HTTPD_INCLUDE_D /etc/apache2/conf.d
    
    # Apache binary files directory
    HTTPD_BIN_D /usr/bin
    
    #Apache log files directory
    HTTPD_LOG_D /var/log/apache2
    
    # 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/lib/named
    NAMED_OPTIONS_CONF /etc/named.conf.include.plesk-options
    NAMED_ZONES_CONF /etc/named.conf.include.plesk-zones
    
    # 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 /srv/www/cgi-bin
    AWSTATS_TOOLS_D /usr/share/doc/packages/awstats/tools
    AWSTATS_DOC_D /usr/share/apache2/icons/awstats
    
    # openssl binary
    OPENSSL_BIN /usr/bin/openssl
    
    # mail fix
    HTTPD_SERVICE httpd
    LIB_SSL_PATH /lib/libss.so.2
    LIB_CRYPTO_PATH /lib/libcrypt.so.1
    CLIENT_PHP_BIN /usr/local/psa/bin/php-cli
    Thanks for the help :)
     
Loading...