Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTTPD Issue

Status
Not open for further replies.

felix001

Technical User
Nov 15, 2008
102
GB
Ive stumbled into a really pants problem.
I had a NSM server installed on RHEL 5. NSM being a management server for Juniper Netscreen firewalls.
I then installed via yum httpd and built a web server.
All was fine. I then decided to uninstall the NSM.
Now it is uninstalled I am unabled to start the HTTPD.
It seems that it compiled the program using kernel modules from the NSM software.

Ive tried removing the HTTPD but this gives me an error saying that it is missing a NSM component (dependency).
Is there anyway other then reinstalling the NSM software to get around this... ???

A+, N+, CCNA, CCSA, SNPA
- Keeping You in the Know
 
You will need to check the yum man pages but I think there is a -nodeps option which tells yum (who tells rpm) to ignore the dependency thing. If you don't, it will try to remove other things such as php. It's not the end of the world if it does. You just need to type "yum install httpd" or "yum install php" and so on. Yum will look for all the dependencies and download and install those too automatically.

 
But how could HTTPD compile in those NSM .so's. Its a yum package. Unless I am missing something. I would think that those .so's would be config directives at compile time.

You might run:
ldd /usr/sbin/httpd

to see if the NMS libraries are linked in.


[root@netwatch ~]# yum remove windows
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: windows
No Packages marked for removal

OH YEAH!
 
You said "kernel modules". Hrm......... ok,

The ldd command:
That will show you what the binary HTTPD was compiled with.

There is a HTTP command

/usr/sbin/http -l ........ will list the STATIC objects compiled in at compile time

/usr/sbin/http -v ........ will show what was used at compile time in the configure statement.

httpd -M ......... will show all modules STATIC and DYNAMIC

If you want to show me your error, I will take a look at it.
It smells like a httpd.conf configuration error (but not totally sure). Or you might be that your old httpd is still without NSM dependencies, around and your new one is not running.

You can take a preflight with:
httpd -t
this will check sytax.

You can see the startup errors with:
httpd -e debug ...... this should tell you where it choking.

I can assist you, I need to befriend a Cisco guy. Setting up my PIX at home.


[root@netwatch ~]# yum remove windows
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: windows
No Packages marked for removal

OH YEAH!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top