LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-07-2006, 12:25 AM   #1
dling
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
zebra problem in FC5/FC6


When I telnet to zebra to configure the interfaces of my FC5 linux box, it allows me to do everything except the "write" operation. It always gives me an error message like " Can't open configuration file zebra.conf.Eyn4DP".

Can anyone help?

Thanks in advance.

Dan

 
Old 11-08-2006, 03:57 AM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by dling
When I telnet to zebra to configure the interfaces of my FC5 linux box, it allows me to do everything except the "write" operation. It always gives me an error message like " Can't open configuration file zebra.conf.Eyn4DP".
As zebra save its configuration to "/etc/zebra/zebra.conf" & you are not able to do that, this could possibly be some rights & permission issue. And hence you got to use root credentials to modify & configure zebra.
 
Old 11-25-2006, 11:47 PM   #3
dling
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your suggestion, amitsharma_26! I did use root access to run zebra,and I even changed permission of the file (zebra.conf) to 777. It didn't resolve the problem. It got to be something else! Just wonder anyone out there experienced the same problem before and be able to resolve the problem?

Thanks again!
 
Old 11-27-2006, 04:59 AM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
It sounds like zebra is trying to write to a temp file before it copies it to the main config file name. Normal users do not have permission to create files in /etc. Even if the zebra process isn't running as root, and the config file isn't owned by root, you still won't be able to create files in /etc unless you are root. Do not change the write permissions on the /etc directory.

There must be some documentation for zebra that explains how to run as non-root and still be able to write the configuration. Probably there is some option to make the daemon use a different location for the config file.
 
  


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
upgrade fc5 to fc6 test1 o2bfishn Fedora 6 01-13-2007 03:39 PM
Upgrade from fc5 to fc6 naveedccsp Fedora 1 10-31-2006 09:50 AM
Problem Starting/Mount software raid after upgade FC5 to FC6 mitsuhama Linux - Hardware 0 10-28-2006 08:59 AM
Can FC5 & FC6 co-exist?? Hitboxx Fedora 1 10-28-2006 12:08 AM
update from fc5 last kernel to fc6 test 2 eskuai Fedora 1 09-04-2006 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:33 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