Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[rc-update] Warning curieux .... (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Sat Aug 28, 2004 9:57 am    Post subject: [rc-update] Warning curieux .... (résolu) Reply with quote

Bonjour à tous,

Lors de l'installation de ma Gentoo j'ai choisi d'installer syslog-ng comme logger, donc je l'ai ajouté au runlevel default via la commande classique : "rc-update add syslog-ng default". La modification a bien été prise en compte.

Par contre le soucis c'est qu'à chaque fois que je fais un rc-update add/del ou un emerge foo j'ai le warning suivant :

Code:

 *  Service 'sysklogd' already provide 'logger'!;
 *  Not adding service 'syslog-ng'...


c'est comme s'il voulait à chaque fois refaire l'ajout du logger au runlevel, bizarrement il me dit que sysklogd (installé mais non utilisé) fournit déja le service .... je ne comprend pas trop d'ou vient le pb, mais j'aimerais bien me débarrasser de ce warning car cela ne fait pas très "propre".

Merci pour vos avis éclairés :wink:


Last edited by matthias* on Sat Aug 28, 2004 10:43 am; edited 1 time in total
Back to top
View user's profile Send private message
kopp
Advocate
Advocate


Joined: 09 Apr 2004
Posts: 2885
Location: Grenoble, France

PostPosted: Sat Aug 28, 2004 10:20 am    Post subject: Reply with quote

t'es sur que syslogd n'est pas deja dans le runlevel ?
Code:
rc-update show

si oui tu peux tjs l'enlever avec
Code:
rc-update del syslogd


et sinon, vu que tu ne t'en sers pas ... pourquoi le garder sur ton systeme

ou alors il existe peut etre un fichier d'environnement qui specifie quel logger est utilisé ...
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3636
Location: Belgium

PostPosted: Sat Aug 28, 2004 10:22 am    Post subject: Re: [rc-update] Warning curieux .... (en cours) Reply with quote

matthias* wrote:
c'est comme s'il voulait à chaque fois refaire l'ajout du logger au runlevel, bizarrement il me dit que sysklogd

En fait, c'est parce que le script d'initialisation de sysklogd est toujours présent, même après la désinstallation du package.
Donc les étapes devraient être :
- /etc/init.d/sysklogd stop
- rc-update del sysklogd boot
- emerge -C sysklogd
- rm /etc/init.d/sysklogd
- emerge syslog-ng
- rc-update add syslog-ng boot
- /etc/init.d/syslog-ng start

Eventuellement, vérifier aussi l'absence de toute référence à sysklogd dans /var/cache/edb/virtuals
Back to top
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Sat Aug 28, 2004 10:28 am    Post subject: Reply with quote

sysklogd n'est pourant pas utilisé ...

Code:

               acpid |      default                 
            bootmisc | boot                         
             checkfs | boot                         
           checkroot | boot                         
               clock | boot                         
         consolefont | boot                         
              cpudyn |      default                 
         crypto-loop |                               
          domainname |      default                 
                 gpm |                               
              hdparm |                               
            hostname | boot                         
             hotplug |                               
            iptables |                               
             keymaps | boot                         
               local |              nonetwork       
          localmount | boot                         
             modules | boot                         
            net.eth0 |                               
            net.eth1 |      default                 
              net.lo | boot                         
            netmount |                               
                nscd |                               
             numlock |                               
           rmnologin | boot                         
              rsyncd |                               
              serial | boot                         
                sshd |                               
            sysklogd |                               
           syslog-ng |      default                 
             urandom | boot                         
                 xdm |                               
                 xfs |                               


>ghoti : je vais essayer ta procédure en prenant en compte le fait que sysklogd ne soit pas utilisé


merci
Back to top
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Sat Aug 28, 2004 10:33 am    Post subject: Re: [rc-update] Warning curieux .... (en cours) Reply with quote

ghoti wrote:

Eventuellement, vérifier aussi l'absence de toute référence à sysklogd dans /var/cache/edb/virtuals


dans ce fichier j'ai ça

Code:

virtual/logger app-admin/syslog-ng app-admin/sysklogd


je vais modifier et voir si cela résout le problème
Back to top
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Sat Aug 28, 2004 10:42 am    Post subject: Reply with quote

merci pour votre aide, elle m'a permit de résoudre mon problème :D
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Sat Aug 28, 2004 11:28 pm    Post subject: Reply with quote

Tu peux nous dire comment tu as fait plz ?


ghoti, pas besoin de mette syslog-ng au runlevel boot, le default suffit.
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
Argian
l33t
l33t


Joined: 01 May 2004
Posts: 682
Location: Nîmes

PostPosted: Sat Aug 28, 2004 11:38 pm    Post subject: Reply with quote

bosozoku wrote:
Tu peux nous dire comment tu as fait plz ?
ghoti, pas besoin de mette syslog-ng au runlevel boot, le default suffit.
Bien sûr, sauf si tu prends autre chose que sysklogd comme défaut. Ceci devrait répondre à ta question, mais j'ai un doute, je ne sais pas pourquoi :?
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3636
Location: Belgium

PostPosted: Sun Aug 29, 2004 12:01 am    Post subject: Reply with quote

bosozoku wrote:
ghoti, pas besoin de mette syslog-ng au runlevel boot, le default suffit.

En effet ! Sais pas pourquoi j'ai parlé du runlevel boot :?
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Sun Aug 29, 2004 1:07 am    Post subject: Reply with quote

Mouarf la honte, j'ai corrigé un vétéran ! :twisted:


edit : je vais bien travailler pour le devenir :lol:
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Sun Aug 29, 2004 11:14 am    Post subject: Reply with quote

bosozoku wrote:
Tu peux nous dire comment tu as fait plz ?


c'est vrai, j'ai fauté, milles excuses :wink:

alors voila ce que j'ai fais

-suppression de sysklogd dans la /var/cache/edb/virtuals
- emerge -C sysklogd
- rm /etc/init.d/sysklogd
- emerge syslog-ng
- rc-update add syslog-ng boot

voila
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Sun Aug 29, 2004 11:29 am    Post subject: Reply with quote

Oki je te remercie.

Sinon encore une fois c'est pas boot qu'il faut mettre comme runlevel mais default. boot est réservé au mode mono-utilisateur.
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
malty
n00b
n00b


Joined: 25 Aug 2004
Posts: 37
Location: France Nice

PostPosted: Sun Aug 29, 2004 9:16 pm    Post subject: Reply with quote

Merci pour la solution :o
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum