LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-20-2014, 03:42 AM   #1
Bouki
LQ Newbie
 
Registered: May 2011
Posts: 24

Rep: Reputation: Disabled
httpd rpm in oracle linux


Hello guys.
im trying to install nagios in oracle linux but i cant run the make install-webconf, after little search i found out its because of httpd rpm.
because of some reason i cant use the yum to install the packages and i have to do it offline.
i downloaded httpd rpm and try to install but dependency error happened. every time i try to install one of the required packages a dependency error happening again!!!!!
i really don't know to handle this?

is there any way so i can download all httpd rpms with dependence's?
thank you.
 
Old 12-20-2014, 04:17 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Bouki View Post
because of some reason i cant use the yum to install the packages and i have to do it offline.
Then lets first fix that, shall we? Is this machine properly configured and registered with Oracle to receive updates and install software? If unsure post full output from running 'yum repolist all; yum -C clean all; yum check-update;'.


*Also note I'll be moving this thread to the Linux - Distributions forum soon as Oracle "unbreakable" Linux is not Red Hat Enterprise Linux.
 
Old 12-20-2014, 05:38 AM   #3
Bouki
LQ Newbie
 
Registered: May 2011
Posts: 24

Original Poster
Rep: Reputation: Disabled
Hello dear unSpawn.
i didn't register my machine! (for some reason i have to install nagios offline)
here is what you asked:
[root@gam ~]# yum repolist all
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be disabled.
http://public-yum.oracle.com/repo/Or...ta/repomd.xml: [Errno 14] HTTP Error 403: Forbidden
Trying other mirror.
repo id repo name status
el5_addons Enterprise Linux 5Server Add ons (x86_64) disabled
el5_ga_base Oracle Linux 5Server GA installation media copy (x86_64) disabled
el5_latest Oracle Linux 5Server Latest (x86_64) enabled: 0
el5_oracle_addons Oracle Software addons for Enterprise Linux 5Server (x86_64) disabled
el5_u1_base Enterprise Linux 5Server Update 1 installation media copy (x86_64) disabled
el5_u2_base Enterprise Linux 5Server Update 2 installation media copy (x86_64) disabled
el5_u3_base Enterprise Linux 5Server Update 3 installation media copy (x86_64) disabled
el5_u4_base Enterprise Linux 5Server Update 4 installation media copy (x86_64) disabled
el5_u5_base Enterprise Linux 5Server Update 5 installation media copy (x86_64) disabled
el5_unsupported Productivity Applications for Enterprise Linux 5Server (x86_64) disabled
ol5_UEK_base Unbreakable Enterprise Kernel for Oracle Linux 5Server (x86_64) disabled
ol5_UEK_latest Latest Unbreakable Enterprise Kernel for Oracle Linux 5Server (x86_64) enabled: 0
ol5_u10_base Oracle Linux 5Server Update 10 installation media copy (x86_64) disabled
ol5_u5_base Oracle Linux 5Server Update 5 installation media copy (x86_64) disabled
ol5_u6_base Oracle Linux 5Server Update 6 installation media copy (x86_64) disabled
ol5_u7_base Oracle Linux 5Server Update 7 installation media copy (x86_64) disabled
ol5_u8_base Oracle Linux 5Server Update 8 installation media copy (x86_64) disabled
ol5_u9_base Oracle Linux 5Server Update 9 installation media copy (x86_64) disabled
repolist: 0
[root@gam ~]# yum -C clean all
Loaded plugins: rhnplugin, security
Cleaning up Everything
[root@gam ~]# yum check-update
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be disabled.
http://public-yum.oracle.com/repo/Or...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: el5_latest. Please verify its path and try again

my main problem is this:"
when i try this command: make install-webconf
this error happens:
[root@gam nagios-4.0.8]# make install-webconf
/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf
/usr/bin/install: cannot create regular file `/etc/httpd/conf.d/nagios.conf': No such file or directory
make: *** [install-webconf] Error 1
im not sure its because of httpd. i pretty sure the apache service installed on my machine!
 
Old 12-20-2014, 06:31 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Bouki View Post
i didn't register my machine
Then either please do so if you have a specific reason to use Oracle Linux or install CentOS if all you need is a current, maintained RHEL clone. That, and hardening the machine and keeping up with updates, will keep your machine safe and fix the problem in the process. *Just to make things clear: if you keep using Oracle Linux I assert you know what you're doing and subsequently don't require any help.
 
1 members found this post helpful.
  


Reply



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
Linux rpm pre-installation issue for oracle 10g SridharT Linux - Newbie 5 05-07-2013 08:12 AM
LXer: Oracle Java JDK 7 on Ubuntu Linux - Source or RPM Installation LXer Syndicated Linux News 0 01-17-2013 04:30 AM
[SOLVED] Compiling HTTPD 2.2.22 RPM - error wills Linux - Server 2 02-21-2012 04:39 PM
[SOLVED] Trouble building httpd RPM custangro Linux - Enterprise 7 07-13-2009 01:42 PM
i try to rpm httpd-devel-2.0.40-11 rhuser Linux - Software 1 01-21-2003 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:52 AM.

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
Open Source Consulting | Domain Registration