• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

httpsd.pid file - where is it ? Help ME!

O

oblongata

Guest
Help PSA Service failed

Here is copy of SSH- HELP ME PLEASE!!

My host has no support for this matter.

Starting psa-spamassassin service: [ OK ]
Error: AWSTATS_DOC_D not defined
Error: AWSTATS_DOC_D not defined
/usr/local/psa/admin/bin/httpsdctl start: httpd could not be started
Starting Plesk: [FAILED]
[root@Simpleton root]# service psa stopall
Stopping named: [ OK ]
Stopping MySQL: [ OK ]
Stopping : Stopping Courier-IMAP server:
Stopping imap [ OK ]
Stopping imap-ssl [ OK ]
Stopping pop3 [ OK ]
Stopping pop3-ssl [ OK ]

Stopping postgresql service: [ OK ]
Shutting down psa-spamassassin service: [ OK ]
Stopping httpd: [ OK ]
waiting for processes to exit [ OK ]
waiting for processes to exit
waiting for processes to exit
waiting for processes to exit
waiting for processes to exit
waiting for processes to exit
[root@Simpleton root]# service psa start
Starting named: [ OK ]
Starting MySQL: [ OK ]
Starting qmail: [ OK ]
Starting Courier-IMAP server:
Starting imapd [ OK ]
Starting imap-ssl [ OK ]
Starting pop3 [ OK ]
Starting pop3-ssl [ OK ]

Starting postgresql service: [ OK ]
Starting psa-spamassassin service: [ OK ]
websrvmng: Service /etc/init.d/httpd failed to stop
websrvmng: Service /etc/init.d/httpd failed to stop
Error: AWSTATS_DOC_D not defined
Error: AWSTATS_DOC_D not defined
/usr/local/psa/admin/bin/httpsdctl start: httpd could not be started
Starting Plesk: [FAILED]
 
I have been following the thread over at - http://forum.swsoft.com/showthread.php?s=&threadid=39184

Here is a copy of my - /etc/psa/psa.conf

#
# (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 /var/www/vhosts

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

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

# 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 /var/mailman
MAILMAN_VAR_D /var/mailman

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

# Tomcat root directory
CATALINA_HOME /var/tomcat4

# 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
nd
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 /var/mailman
MAILMAN_VAR_D /var/mailman

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

# Tomcat root directory
CATALINA_HOME /var/tomcat4

# 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
OPENSSL_BIN /usr/bin/openssl
 
Please any help? My host is refering me here. I am willing to pay for some help. I have contact Swsoft before and they refer me to my host. my host refers me to here... It really sucks to be stuck in the middle. I am considering changing hosts... But I have to reconfigure all of my domains... grrr...
 
Well After further review of my issue - located here- http://forum.swsoft.com/showthread.php?s=&threadid=39472

I have come this far. Within /usr/local/psa/admin/bin/httpsdctl

it points to a log file /usr/local/psa/admin/logs/httpsd.pid

when I go to that directory no such file exists... There are many log files in there but none with that name / extension.

This happened after my recent update and I am unable to get plesk up to log in.

Please help me, perhaps you can copy me your httpsd.pid file so I can place it in there... Or??

Im desperate...

help!
 
Actually, file /usr/local/psa/admin/logs/httpsd.pid exists only when Plesk is started, because it contains process ID. For example, from my server:
# cat /usr/local/psa/admin/logs/httpsd.pid
16993
# ps ax|grep httpsd|grep 16993
16993 ? Ss 0:00 /usr/local/psa/admin/bin/httpsd

So this is not an actual problem. Try to start Plesk manually on the server:

# /etc/init.d/psa start

What is the output?

From the previous thread I see that you had following error:

Error: AWSTATS_DOC_D not defined
Error: AWSTATS_DOC_D not defined

Try to add following line into /etc/psa/psa.conf file:

AWSTATS_DOC_D /var/www/html/awstats

It should help.
 
Oh thank you very much Dmitry !!
It works I am in plesk now hooray!

One question- I have found this within the help files-

Log in as root to your server.
Change to the directory, where Plesk is installed:

cd /plesk_installation_directory/bin

Run the following command:

./pleskbackup all <filename>

Where the <filename> is a target backup file name with absolute or relative path. The data will be backed up without disruption of hosting services and downtime. The resulting backup archive will be placed in the directory you specified.

How can I find out where my current plesk directory is? I think I have a few from past installs? but not sure? What should my path be?
Or is there an easy cmd to find out?

Thanks again for your help sir.
 
I think I figured it out-
cd to /usr/local/psa/bin
Then run
/pleskbackup all filename

Right?
 
Originally posted by oblongata
I think I figured it out-
cd to /usr/local/psa/bin
Then run
/pleskbackup all filename

Right?

Yes, you are right. Actually, it is possible to find out the ROOT directory for Plesk from Plesk configuration file:
# cat /etc/psa/psa.conf|grep PRODUCT_ROOT_D
PRODUCT_ROOT_D /usr/local/psa

Generally, by default Plesk located in /usr/local/psa/, only when Plesk installed on Debian or Ubuntu system it is located here /opt/psa/, just for your information.
 
Back
Top