LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-10-2005, 12:50 PM   #1
Codegen
Member
 
Registered: Aug 2004
Posts: 69

Rep: Reputation: 15
Two Questions


I am having 2 problems with Gentoo Linux. I ran a stage 3 install. That was succesful. However, I have 2 problems.

1) Whenever I reboot, there is a message about dhcpcd already running, and if not delete /etc/dhcpc/dhcpcd-eth0.pid, or some file along the lines of that anyway. I delete it, and it keeps coming back. Anything I can do to fix this?

2)I accidentily installed 2 system loggers. How would I go about removing one?

Last edited by Codegen; 01-10-2005 at 01:05 PM.
 
Old 01-10-2005, 01:20 PM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
can only help you on # 1 , and not too much on that either..

The message you described comes into action when dhcpcd (the prog that configures your net from the dhcp server) is allready running when it is activated.. Now, I dont know much about the init process of gentoo, but I doubt any distro would have it done twice out of the stock.. Any modifications youve done concerning dhcp / net access is the most likely cause.. Anyways.. The pid file it tells about exists to stop the dhcpcd from being started twice, and ensures an easy killage for it, so _dont_ remove it.. It isnt much of a catastrophe if you remove it, but better leave it where it is unless you kill dhcpcd yourself.. (; But no danger realy in starting it twice as long as you have the pid file intact that stops the bogy
 
Old 01-12-2005, 06:04 AM   #3
Codegen
Member
 
Registered: Aug 2004
Posts: 69

Original Poster
Rep: Reputation: 15
Problem is, my Internet doesn't work whatsoever unless I delete that file and restart dhcpcd.
 
Old 01-12-2005, 09:59 AM   #4
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Well, in that case id recommend finding the init stuff that make the first attempt at dhcpcd and fix that, or if it seems to be allright, make sure it is started after networking is online, if not, then delay it..
 
Old 01-12-2005, 11:10 AM   #5
sludink
Member
 
Registered: Jan 2005
Location: Brabant, the Netherlands
Distribution: Gentoo 2004.x (2.6.10 hardened)
Posts: 91

Rep: Reputation: 15
Hope this is a help:

I have gentoo myself, and the init script loads stuff from /etc/init.d, in contrary to other distro's, which use /etc/rc.d if I'm right (Debian for example)

You can change things with:
/sbin/rc-update (must be root).

To show what is started at init:
/sbin/rc-update -s

For me, a nice table shows up, for example showing

sysklogd | default

Which means sysklogd (logger) is started at the default runlevel. It also shows dhcpd.

To disable something from starting up, for example sysklogd:

rc-update del sysklogd default

To add something:

rc-update add sysklogd default.

So, to disable dhcpd from starting up:

rc-update del dhcpd default.

That's all I know.

Don't forget man rc-update and rc-update --help could be a great help.
Good luck!

Last edited by sludink; 01-12-2005 at 11:11 AM.
 
Old 01-13-2005, 10:35 AM   #6
Codegen
Member
 
Registered: Aug 2004
Posts: 69

Original Poster
Rep: Reputation: 15
Well, =I apologize for the long-ass gap in replies. But using Links or Lynx really is a true pain in the ass, considering I cannot even read half of what is being said.

Anyways, When I run rc-update -s, bot the loggers show up , but only one of them ( I forget which) has tags on it. I'll check out the dhcpcd thing when I get back ho,e as it is kinda hard to reach my keyboard from school.
 
  


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
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 11:50 AM
Solaris - Questions! Questions! Questions! qs_tahmeed Solaris / OpenSolaris 2 07-16-2005 05:27 AM
window manager questions and/or theme questions t3gah Linux - Software 2 02-27-2005 04:16 PM
Some questions... CryptDragoon Linux From Scratch 2 02-04-2004 08:28 PM
few questions? pudhiyavan Linux - General 2 10-03-2003 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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