• 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

httpd fails - new install

BDMM

Basic Pleskian
Help.

I have just installed 9.0.1 on a new clean server running centOS 5.2
Install went OK according to log

However I get the following message when trying to stop/start httpd

service httpd start
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:8443
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8443
no listening sockets available, shutting down
Unable to open logs

AND

/usr/sbin/lsof -i | grep http
sw-cp-ser 5053 sw-cp-server 6u IPv4 11206 TCP * : pcsync-https (LISTEN)

ALSO

rpm -qa | grep sw-
sw-libxslt-1.1.20-5.centos5.x86_64
sw-boost1.34-program_options-1.34.1-1.x86_64
sw-sso-2.1-r2652.noarch
sw-boost1.34-filesystem-1.34.1-1.x86_64
sw-libxml2-2.6.27-5.centos5.x86_64
sw-engine-2.0-1.200811131452.centos5.x86_64
sw-libxml2-python-2.6.27-5.centos5.x86_64
sw-xmlrpc-c-1.06.10-7.centos5.x86_64
sw-boost1.34-regex-1.34.1-1.x86_64
sw-cp-server-1.0-3.200811141432.centos5.x86_64


When I log into the CP I get php error messages.

HELP!!!!

Thanks
 
Wow yeah thats weird, your instance of apache is trying to run on port 8443, which is where the plesk daemon is. Have you got any custom configs in /etc/httpd/conf.d, or in the users dirs? Look for any references to "Listen 8443"
 
Hi atomic

I get

/etc/httpd/conf.d

grep "8443" *
nss.conf:# Listen directives: "Listen [::]:8443" and "Listen 0.0.0.0:443"
nss.conf:Listen 8443
nss.conf:<VirtualHost _default_:8443>
nss.conf:#ServerName www.example.com:8443
 
That'll do it all right... looking at my desktop box (fedora 10 in this case) that belongs to mod_nss and indeed also runs on port 8443.

It is apparently associated with the Fedora Directory server project, and isnt needed for SSL support under regular apache. Neat find there, I had no idea something like that was floating around.

So what you can do is either remove mod_nss with:

yum remove mod_nss

Or you could just disable their config

mv /etc/httpd/conf.d/nss.conf /etc/httpd/conf.d/nss.conf.disabled

If for some reason this package is not associated with mod_nss, you can get the package name for a file by using:

rpm -qf /etc/httpd/conf.d/nss.conf
 
Thanks

yum remove mod_nss worked perfect.

I googled itand saw some ref to SSO here but assume it is not being used by plesk/SSO in this case.

BDMM
 
Its definitely not used by plesk, looks like its a dependency for the fedora directory services project (active directory replacement)
 
Back
Top