Re: [gentoo-user] services

2004-01-17 Thread Jani-Matti Hätinen
On Saturday 17 January 2004 14:19, Stefano Carraro wrote:
> Hello,
> during gentoo installation i've installed metalog as log service. Now, i've
> replaced it whith syslog-ng (replaced also in default runlevel). After
> doing this, all emerge will display this message:
[SNIP]

Have you done rc-update del metalog default? If so, you also need to delete 
the metalog rc-script, i.e. rm /etc/init.d/metalog (portage doesn't do this 
automatically since the config files in /etc are protected by default) Then 
do a rc-update add syslog-ng default, and it should work.
  You'll probably run into the same problem if you use vcron. The rc-script 
for it changed from vcron to vixie-cron (like the whole ebuild) late last 
year and caused similar problems. Again the solution is to delete the old 
vcron script from the runlevel and /etc/init.d/ and adding the new script to 
the runlevel.
  As a sidenote, when you unmerge stuff it's generally a good idea to look at 
the emerge output. Not all files are necessarily deleted. Things might remain 
behind because they're protected config files (visible as !cfgpro in the 
output) or because they've been modified afterwards (visible as !mtime). 
Generally it's safe to delete the config files manually, but the changed 
files might be trickier.

-- 
Jani-Matti Hätinen


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] services

2004-01-17 Thread Tom Wesley
On Sat, 2004-01-17 at 13:29, Stefano Carraro wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Alle 14:14, sabato 17 gennaio 2004, Tom Wesley ha scritto:
> 
> > emerge -C metalog
> > rm /etc/init.d/metalog
> > rc-update add syslog-ng boot
> 
> yes, i've found the problem, but, following the gentoo installation 
> instructions, i've added syslog to default runlevel. Moving it in boot is 
> safe?
> 
> thanks.
> 

Actually, after checking mine is also in default - I'd leave it there..

-- 
Tom Wesley

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] services

2004-01-17 Thread Stefano Carraro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alle 14:14, sabato 17 gennaio 2004, Tom Wesley ha scritto:

> emerge -C metalog
> rm /etc/init.d/metalog
> rc-update add syslog-ng boot

yes, i've found the problem, but, following the gentoo installation 
instructions, i've added syslog to default runlevel. Moving it in boot is 
safe?

thanks.

- -- 

Gentoo Linux:   Gentoo Base System version 1.4.3.10p1
kernel-2.4.22-ac4   AMD Athlon(tm) XP 2500+
Acer Aspire 1315LC

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFACTjBfXAYERCkbrcRAjEvAJ4gTq9SDeqqkUKx3PA8b7OhGuQ4agCeKiYj
qqrtAig/zSkXXyAaFUbn8DE=
=dOfF
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] services

2004-01-17 Thread Stefano Carraro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

resolved!

probably some mistake in command order. In /etc/init.d script for starting 
metalog was present after unmerge. I've delete the script, removed and 
reinserted from default runlevel the services depending from logger (vcron).

- -- 

Gentoo Linux:   Gentoo Base System version 1.4.3.10p1
kernel-2.4.22-ac4   AMD Athlon(tm) XP 2500+
Acer Aspire 1315LC

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFACTg4fXAYERCkbrcRAkXFAJsGU3UcfyFBcONNz4Pm54h/CreAswCeLTLu
mfkTlXufv645v9BaevFxst4=
=8vZG
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] services

2004-01-17 Thread Tom Wesley
On Sat, 2004-01-17 at 12:19, Stefano Carraro wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hello,
> during gentoo installation i've installed metalog as log service. Now, i've 
> replaced it whith syslog-ng (replaced also in default runlevel). After doing 
> this, all emerge will display this message:
> 
>  * Caching service dependencies...
>  *  Service 'metalog' already provide 'logger'!;
>  *  Not adding service 'syslog-ng'...  
> [ ok ]
> >>> Auto-cleaning packages ...
> 
> How ca i correct this?

emerge -C metalog
rm /etc/init.d/metalog
rc-update add syslog-ng boot

should do it...

-- 
Tom Wesley

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] services

2004-01-17 Thread Anarconda
Have you run "#rc-update del metalog" before add syslog-ng?

Cheers.

Stefano Carraro wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
during gentoo installation i've installed metalog as log service. Now, i've 
replaced it whith syslog-ng (replaced also in default runlevel). After doing 
this, all emerge will display this message:

 * Caching service dependencies...
 *  Service 'metalog' already provide 'logger'!;
 *  Not adding service 'syslog-ng'...  
[ ok ]

Auto-cleaning packages ...


How ca i correct this?

- -- 

Gentoo Linux:		Gentoo Base System version 1.4.3.10p1
kernel-2.4.22-ac4		AMD Athlon(tm) XP 2500+
Acer Aspire 1315LC

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFACShofXAYERCkbrcRAh8WAJ9uh7sn1iVYMfbW/rABNc0s/XdK7gCfTYLB
WSaq7TDyGV3KTjmXgXZvNco=
=m97x
-END PGP SIGNATURE-
--
[EMAIL PROTECTED] mailing list

--
Scientia et sapientia patrimonium humanitatis sunt.
--
[EMAIL PROTECTED] mailing list


[gentoo-user] services

2004-01-17 Thread Stefano Carraro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,
during gentoo installation i've installed metalog as log service. Now, i've 
replaced it whith syslog-ng (replaced also in default runlevel). After doing 
this, all emerge will display this message:

 * Caching service dependencies...
 *  Service 'metalog' already provide 'logger'!;
 *  Not adding service 'syslog-ng'...  
[ ok ]
>>> Auto-cleaning packages ...

How ca i correct this?

- -- 

Gentoo Linux:   Gentoo Base System version 1.4.3.10p1
kernel-2.4.22-ac4   AMD Athlon(tm) XP 2500+
Acer Aspire 1315LC

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFACShofXAYERCkbrcRAh8WAJ9uh7sn1iVYMfbW/rABNc0s/XdK7gCfTYLB
WSaq7TDyGV3KTjmXgXZvNco=
=m97x
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list