View previous topic :: View next topic |
Author |
Message |
Gandalf98 Guru
Joined: 28 Feb 2003 Posts: 472 Location: Loano
|
Posted: Fri Feb 18, 2005 10:14 am Post subject: depscan and vixie-cron problem |
|
|
Hello, I have a strange problem in the startup script of vixie-cron:
Code: | # /etc/init.d/vixie-cron restart
* Re-caching dependency info (mtimes differ)...
* Could not get dependency info for "vixie-cron"!
* Please run:
* # /sbin/depscan.sh
* to try and fix this.
* Stopping vixie-cron ... [ ok ]
* Re-caching dependency info (mtimes differ)...
* Could not get dependency info for "vixie-cron"!
* Please run:
* # /sbin/depscan.sh
* to try and fix this.
* Re-caching dependency info (mtimes differ)...
* Could not get dependency info for "vixie-cron"!
* Please run:
* # /sbin/depscan.sh
* to try and fix this.
* Re-caching dependency info (mtimes differ)...
* Could not get dependency info for "vixie-cron"!
* Please run:
* # /sbin/depscan.sh
* to try and fix this.
* Re-caching dependency info (mtimes differ)...
* Could not get dependency info for "vixie-cron"!
* Please run:
* # /sbin/depscan.sh
* to try and fix this.
* Starting vixie-cron ... [ ok ]
|
So I run the suggested command, but I return this error:
Code: | # /sbin/depscan.sh
* Caching service dependencies ...
/var/lib/init.d/depcache: line 2170: syntax error: unexpected end of file [ ok ]
|
I'tried emerge many versions of baselayout (actually 1.11.9-r1), but with no luck!
Can someone tell me how to solve this problem?
Thanks in advance
Gandalf
Code: | # emerge --info
Portage 2.0.51-r15 (default-linux/x86/2004.2/gcc34, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.7-ck4 i686)
=================================================================
System uname: 2.6.7-ck4 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.9
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 9 2005, 14:02:51)]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi alsa apm arts artswrappersuid audiofile avi bash-completion bitmap-fonts bluetooth bootsplash bzlib cdparanoia cdr codecs crypt cups curl dga divx4linux dvd dvdr emboss encode esx exif f77 faac faad fam fbcon ffmpeg flac font-server fortran freetype gif gimp gimpprint gnokii gphoto2 gpm gstreamer gtk2 imagemagick imap imlib2 irmc java javascript jce jpeg jpeg2k justify kde kdexdeltas kerberos krb4 lcms libwww lm_sensors logitech-mouse mad maildir matroska mikmod mldonkeypango mmx monkey motif mozilla moznocompose moznoirc moznomail mozsvg mpeg mplayer ncurses nls nomac nptl nptlonly oggvorbis ooo-kde opengl pam pda pdflib perl pic plotutils png python qt quicktime readline samba sasl scanner sdl slang smime sms spell sse ssl svg svga tcltk tcpd tetex theora tiff transcode truetype truetype-fonts type1 type1-fonts unicode wmf wsconvert xine xml2 xmms xprint xv xvid zlib linguas_it"
Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
|
|
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Fri Feb 18, 2005 11:11 am Post subject: |
|
|
It might be a small error in a config file or init script which causes a failure when sourcing it. Try to source them manually.
Edit: sourcing files in /etc/init.d might be a bad idea.
Edit2: Here is a short script for that purpose: Code: | for file in /etc/conf.d/* /etc/make.conf /etc/rc.conf
do
if ! source $file
then
echo $file looks suspicious
fi
done |
|
|
Back to top |
|
|
Gandalf98 Guru
Joined: 28 Feb 2003 Posts: 472 Location: Loano
|
Posted: Fri Feb 18, 2005 1:21 pm Post subject: |
|
|
I copied in a script
Code: | # cat script.sh
#!/bin/bash
for file in /etc/conf.d/* /etc/make.conf /etc/rc.conf
do
if ! source $file
then
echo $file looks suspicious
fi
done
|
When I run it the first time find the suspicious /etc/init.d/net.rej, I removed this file, reemerged baselayout, and now the script run smoothly without any error:
But I still have the vixie-cron error!
Thanks
gandalf |
|
Back to top |
|
|
|
|
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
|
|