LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gentoo syslog-ng (https://www.linuxquestions.org/questions/linux-newbie-8/gentoo-syslog-ng-218114/)

sendas4 08-15-2004 11:40 PM

Gentoo syslog-ng
 
I finished a install of gentoo and emerged syslog-ng. Now ive done this tons of times and this has happend before. it tells me

Code:

Service ' Sysklogd' already provide 'logger'!;
Code:

Not adding service 'syslog-ng'...
It spat this at me after i emerged it i didnt know what it ment and tried what the gentoo installation howto told me.

Code:

rc-update add syslog-ng default
well everytime i emerge something i get that same error of it already provide.

can anyone point me in the right direction on how to fix this? or what it meens?

dalek 08-16-2004 12:44 AM

I did a quick search for ya:

http://forums.gentoo.org/viewtopic.php?t=203219
http://forums.gentoo.org/viewtopic.php?t=80137
http://forums.gentoo.org/viewtopic.php?t=136528
http://forums.gentoo.org/viewtopic.php?t=208156

I think that top one should do the trick. :rolleyes:

Later

:D :D :D :D :D

Demonbane 08-16-2004 05:39 AM

It means you can't have 2 log daemons installed at once, well strictly speaking you can, but you can't run them both at the same time, they'll fight each other(AFAIK).
The way rc-update in Gentoo checks this is using init files in /etc/init.d , if you open up /etc/init.d/syslog-ng you'll see something like
Code:

depend() {
    need whatever
    provide logger
}

If you know what you're doing change "logger" to something else for example "logger2", or manually make a symlink in /etc/runlevels/default.
Same goes for some other serivces such as dns, cron etc.


All times are GMT -5. The time now is 01:24 AM.