Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cron and env-update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
jaa1180
n00b
n00b


Joined: 30 Dec 2003
Posts: 24
Location: Lebanon, Tennessee

PostPosted: Wed Jan 21, 2004 10:25 pm    Post subject: cron and env-update Reply with quote

Here is the problem... on the boot, doing an emerge, or env-update I get this...
Code:

>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
 *  Service 'fcron' already provide 'cron'!;
 *  Not adding service 'vcron'...
 *  Service 'fcron' already provide 'cron'!;
 *  Not adding service 'vixie-cron'...                                                                        [ ok ]


I know what happened... it was my fault. I just do not know what to do to fix it...
Ideas anyone? :)
_________________
Linux is for people who are tired of the OS holding there hand. Reboots is for hardware
Back to top
View user's profile Send private message
Vanquirius
Retired Dev
Retired Dev


Joined: 14 Jun 2002
Posts: 1297
Location: Ethereal plains

PostPosted: Wed Jan 21, 2004 10:42 pm    Post subject: Reply with quote

Supposing that what happened is that you added multiple daemons to control you cronjobs, the commands you are looking for are

rc-update show
and
rc-update del [package_name]

For instance, rc-update del vcron (this will delete vcron from all runlevels)
_________________
Hello.
Back to top
View user's profile Send private message
jaa1180
n00b
n00b


Joined: 30 Dec 2003
Posts: 24
Location: Lebanon, Tennessee

PostPosted: Wed Jan 21, 2004 11:11 pm    Post subject: Reply with quote

That is what I did... I tried what you said... here is the results.
Code:

root@gentoo jeff # env-update
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
 *  Service 'fcron' already provide 'cron'!;
 *  Not adding service 'vcron'...
 *  Service 'fcron' already provide 'cron'!;
 *  Not adding service 'vixie-cron'...                                                                    [ ok] root@gentoo jeff # rc-update del fcron
 * fcron not found in any of the specified runlevels.
root@gentoo jeff # rc-update del vcron
 * vcron not found in any of the specified runlevels.
root@gentoo jeff # rc-update del vixie-cron
 * vixie-cron not found in any of the specified runlevels.
root@gentoo jeff # rc-update show
             Win4Lin |
               acpid |
           alsasound | jboot
                apmd |
            bootmisc | boot
          bootsplash |      default
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
         crypto-loop |
               cupsd |
          domainname |      default
              esound |
                 fam |      default
                famd |
               fcron |
            gkrellmd |
                 gpm |
              hdparm |
            hostname | boot
             hotplug |      default
                 i8k |
            iptables |
             keymaps | boot
                lisa |
          lm_sensors |
               local |      default nonetwork
          localmount | boot
             modules | boot
               mondo |      default
            net.eth0 |      default
              net.lo | boot
            net.ppp0 |
            netmount |      default
                nscd |
             numlock |
             portmap |
         powertweakd |
             reslisa |
           rmnologin | boot
              rsyncd |
               samba |
              serial | boot
           shorewall |
               slapd |
              slurpd |
                sshd |
              switch |
           syslog-ng |      default
             urandom | boot
             usermin |      default
               vcron |
          vixie-cron |
             winbind |
                 xdm |      default
                 xfs |


you can see that is did not work.... what else to try.
Learned something... did not know about rc-update show.
:)
_________________
Linux is for people who are tired of the OS holding there hand. Reboots is for hardware
Back to top
View user's profile Send private message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Jan 21, 2004 11:19 pm    Post subject: Reply with quote

Code:
rm -i /etc/init.d/fcron
rm -i /etc/init.d/vcron
rc-update add vixie-cron default


should do the trick.


HTH
T.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
jaa1180
n00b
n00b


Joined: 30 Dec 2003
Posts: 24
Location: Lebanon, Tennessee

PostPosted: Thu Jan 22, 2004 2:18 am    Post subject: Reply with quote

Think4UrS11 wrote:
Code:
rm -i /etc/init.d/fcron
rm -i /etc/init.d/vcron
rc-update add vixie-cron default


should do the trick.


HTH
T.


That worked!!!! Thanks Think4UrS11 :D :D
_________________
Linux is for people who are tired of the OS holding there hand. Reboots is for hardware
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Thu Jan 22, 2004 5:49 pm    Post subject: Reply with quote

tomk pointed out that there are a lot of people having issues with this. The official solution thread is here: Minor service dependancy annoyance... Please post there for further assistance on this topic.

Moving from Installing Gentoo.

tomk wrote:
Noticed a few of these *cron posts recently. These are the dupes I've found:

https://forums.gentoo.org/viewtopic.php?t=114461
https://forums.gentoo.org/viewtopic.php?t=124942
https://forums.gentoo.org/viewtopic.php?t=124214
https://forums.gentoo.org/viewtopic.php?t=120640
https://forums.gentoo.org/viewtopic.php?t=119611
https://forums.gentoo.org/viewtopic.php?t=119166
https://forums.gentoo.org/viewtopic.php?t=115113
https://forums.gentoo.org/viewtopic.php?t=105625
https://forums.gentoo.org/viewtopic.php?t=104659
https://forums.gentoo.org/viewtopic.php?t=69621

This seems to be the definative answer:

https://forums.gentoo.org/viewtopic.php?t=121455

Edit: one more i missed

https://forums.gentoo.org/viewtopic.php?t=126998

_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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