LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2011, 07:50 AM   #1
PhilR60
LQ Newbie
 
Registered: Feb 2011
Location: Florida
Distribution: RedHat
Posts: 8

Rep: Reputation: 0
Loading Apache - help


I just loaded my first RHEL 6 server running at init 3.

This is a test box I want to load Nagios on.

Nagios requires:
Apache
PHP
GCC Compiler
GD Development Libraries

I can't use yum yet because I won't consider registering this until I test Nagios.

Using rpm has been a chore...seems like everything I try to load has some dependency. The funniest one was when I ran:

rpm -ivh httpd-2.2.15-5.el6.x86_64.rpm

and it said I needed the following dependencies:

apr-util-ldap is needed by httpd-2.2.15-5.el6.x86_64
httpd-tools = 2.2.15-5.el6 is needed by httpd-2.2.15-5.el6.x86_64
libapr-1.so.0()(64bit) is needed by httpd-2.2.15-5.el6.x86_64
libaprutil-1.so.0()(64bit) is needed by httpd-2.2.15-5.el6.x86_64

When I ran:

rmp -ivh apr-util-ldap-1.3.9-3.el6.x86_64.rpm

It said I needed apr-util-1.3.9-3.el6.x86_64.rpm

When I tried to load that package, it said the dependency was:

rpm -ivh apr-util-1.3.9-3.el6.x86_64.rpm
warning: apr-util-1.3.9-3.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
libapr-1.so.0()(64bit) is needed by apr-util-1.3.9-3.el6.x86_64

I do an ls libap* in the Packages folder on the CD-ROM and there is no file.

A friend told me to try:

rpm -ivh --aid apr-util-1.3.9-3.el6.x86_64.rpm

But I get the same results. I can't find this in the RHEL 6 book either.

Can anyone tell me what I'm doing wrong or what I have to do to get this moving?

Thanks,
Phil
 
Old 02-18-2011, 08:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
libapr-1.so.0()(64bit) is needed by apr-util-1.3.9-3.el6.x86_64
this is saying it needs a *FILE* and not a *PACKAGE*. Compare this with the httpd-tools *PACKAGE* dependency above. This is a different kind of dependency, and so you need to find out what package contains that file. the answer is just "apr", which is on your install media.
 
Old 02-18-2011, 09:11 PM   #3
PhilR60
LQ Newbie
 
Registered: Feb 2011
Location: Florida
Distribution: RedHat
Posts: 8

Original Poster
Rep: Reputation: 0
Does anyone know the packages to run, using rpm, to get these installed:

Apache
PHP
GCC Compiler
GD Development Libraries
 
Old 02-19-2011, 01:27 AM   #4
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Rep: Reputation: 14
Code:
you can use "rpm -ivh package", for more info check "man rpm".
 
1 members found this post helpful.
Old 02-19-2011, 02:49 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by PhilR60 View Post
Does anyone know the packages to run, using rpm, to get these installed:

Apache
PHP
GCC Compiler
GD Development Libraries
Not really, as it depends what you have installed already. Can you not just get a 30 day rhn trial if you don't want to register?
 
Old 02-19-2011, 07:53 AM   #6
PhilR60
LQ Newbie
 
Registered: Feb 2011
Location: Florida
Distribution: RedHat
Posts: 8

Original Poster
Rep: Reputation: 0
I always check the man pages before posting a question on here. I will not let this beat me and will eventually get it going.

I do not understand why they will not let me use yum for the 30 days after installing this, but they said I would either have to un-register one of my production servers and add this one. I will not do that, of course.

As far as what was loaded, that's easy, I loaded RHEL 6 from the iso in VMware and took the "Basic Server" build and only added the machine name and IP settings.

It should not be this difficult though, people...I realize Windoze is much simpler in a lot of ways, but Linux should not be this difficult either...just my two cents.
 
Old 02-19-2011, 10:14 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
It is difficult because you are making it difficult for yourself. Any troubles you're asking about here are your own making. Uu are not supposed to use rhel without an rhn subscription. If you don't want a subscription them use centos instead. Otherwise subscribe, possibly a free trial, to rhn. Either way, uu should be installing stuff with yum. Moreover, everything you need is on you distro media, so there is no need to download anything. Actually, have you tried using the add/remove upload in the system menu? I think that will initially reference your dvd's to install the server package groups you could have chosen at install time.
 
Old 02-20-2011, 07:50 AM   #8
PhilR60
LQ Newbie
 
Registered: Feb 2011
Location: Florida
Distribution: RedHat
Posts: 8

Original Poster
Rep: Reputation: 0
How am I making it difficult for myself, Chris? I downloaded the iso from their site, loaded it, it errors out when trying to run init 5, but Linux gained its popularity (from what I've read) from doing everything from the command line, right (not to mention how rock-solid it is!)?

So I should be able to do everything from there anyway, correct? I have several RHEL's in my production environment that I am paying for via RHN. I loaded this one to get Nagios running for a possible alternative to paid monitoring software, so why pay for something I'm just testing? If I like what I see, I will register it. The problem has not been with Nagios, I haven't even gotten there yet, it's all the dependencies for software that Nagios says must be installed (Apache, PHP, GCC, and GD Development Libraries). Through about 20 hours of reading and experimenting, I've been able to get the first three loaded and I might have downloaded something last night that will load the last requirement...we'll see (it says httpd is running, but I can't get to my default website yet...I think it is a firewall issue, but I haven't fixed that yet).

I disagree with your statement about not using RHEL without a subscription because they offer it as trial software, but when you load it, they do not want you to update it or load software unless you buy the subscription? How is that true trial software? I can download and update with other vendor's software (like SUSE and Windows).

Also, you said, "Moreover, everything you need is on you distro media, so there is no need to download anything. Actually, have you tried using the add/remove upload in the system menu?" Well, I have not been able to find the dependencies for the GD development libraries, but I did find a site stating this is not on the DVD and it offers the rpm's for many different vendor's software distributions, so I think I found what I need there. As I stated above, RHEL 6 won't run at init 5, so I can't do the add/remove in any menu...I found this:

http://forums.virtualbox.org/viewtopic.php?f=3&t=35551
But I'm not running beta, so I'll keep looking...

My point was nothing more than I do not believe it should be this difficult...maybe it's just me. I'm not trying to ruffle feathers or upset anyone...just stating how I feel about it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Not Loading Modules Hit3k Linux - General 2 04-17-2006 04:06 PM
apache not loading libphp4.so johnball Fedora 4 10-16-2005 06:04 PM
PHP not loading on Apache, help! enteal Linux - Software 3 04-19-2004 11:30 AM
apache loading error siphi Linux - Newbie 4 04-02-2004 05:48 PM
Loading PHP into Apache dwpondscum Linux - Software 2 10-18-2003 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration