Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-13-2009, 06:01 AM   #1
LQ Newbie
Registered: Dec 2009
Location: india
Distribution: Redhat ES 5
Posts: 2

Rep: Reputation: 0
Unable to vi on Red Hat 3.4.3-9.EL4

Hi, I have just installed NRPE daemon on my linux Red Hat 3.4.3-9.EL4 server when i am changing in /etc/services i am unable to do that.

when checking permission it is showing

-rw-r--r-- 1 root root 20373 Dec 13 15:42 services~

Can any body help me??

Thanks in advance.
Old 12-13-2009, 06:03 AM   #2
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
3.4.3-9.EL4?? that's not a version of redhat... google says it might be your gcc version? What are you actually seeing wrong? That file you listed is not the service file, it's got a different name...
Old 12-13-2009, 06:51 AM   #3
LQ Newbie
Registered: Dec 2009
Location: india
Distribution: Redhat ES 5
Posts: 2

Original Poster
Rep: Reputation: 0
dear thnx for your reply.
when i hit cat /etc/version it is giving output below.
Linux version 2.6.9-5.ELsmp ( (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 SMP Wed Jan 5 19:30:39 EST 2005

as well when i check uname -a output is
Linux test 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux

Hi again,,, i found that file /etc/services was write protected my problem has been solved. What id did
lsattr /etc/services

chattr -i /etc/services

Last edited by mourya; 12-13-2009 at 07:41 AM. Reason: Problem resolved
Old 12-13-2009, 12:29 PM   #4
Senior Member
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
I would strongly suggest you do an update on that kernel. Currently RHEL4 is on 2.6.9-89(the -89 being the important part). There have been a ton of security patches between -5 and -89, not to mention the hardware support improvements.


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
cloning red hat EL4 or El5 servers Linux - Server 4 03-11-2009 02:36 PM
install pgplot on Red Hat 3.4.3-9.EL4 lengyue Linux - Software 3 09-09-2008 04:59 AM
Red Hat EL4 changes the case of file names sporks Red Hat 3 09-05-2007 06:03 PM
Problem after installation of Red Hat EL4 liknocks Linux - General 2 08-30-2005 01:57 PM
Red Hat EL4 vs. SuSE ES 9 dumbsheep Linux - Software 3 07-13-2005 07:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:36 AM.

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