Home > Mac administration > mod_nss issue causing problems with running Tomcat and Apache on the same RedHat server

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.

Categories: Mac administration
  1. balasuresh
    February 10, 2012 at 5:14 am

    “yum remove mod_nss” this was the perfect solution

    finally i manage to restart the httpd succesfully

    thanks friend.

  2. enalec
    December 4, 2012 at 12:10 pm

    tq, remove mod_nss using “yum remove mod_nss” manage to start httpd.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 143 other followers

%d bloggers like this: