mod_nss issue causing problems with running Tomcat and Apache on the same RedHat server
I’ve been evaluating Jamf‘s Casper Mac management suite at my workplace, with the Casper server hosted off of a RedHat Enterprise Linux virtual server (instead of an Apple XServe.) I have been pushing software using an SMB share, which mounts on the desktop, then disappears. However, because I want the process to be as invisible as possible, I decided to enable Apache on the server in addition to the Tomcat installation I’ve got running.
Apache promptly complained at startup:
—–
httpd failed. The error was: Stopping httpd: [FAILED]
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
[FAILED]
—–
This didn’t make any sense because Apache is set to use port 80, rather than 8443. After some research, I found a post on the Parallels forums that pointed to an Apache module called mod_nss being the culprit. The suggested fix was to uninstall mod_nss using yum:
yum remove mod_nss
Since it didn’t look like I was going to be using the functionality that mod_nss was providing, I uninstalled it. Once removed, Apache fired up without complaint.
“yum remove mod_nss” this was the perfect solution
finally i manage to restart the httpd succesfully
thanks friend.
tq, remove mod_nss using “yum remove mod_nss” manage to start httpd.