Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cron problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
cwizman
n00b
n00b


Joined: 28 Nov 2002
Posts: 29

PostPosted: Wed Jan 01, 2003 11:18 pm    Post subject: cron problem Reply with quote

I recently upgraded some packages, including the kernel. Now, when it boots and reaches runlevel 3, it says "WARNING: /etc/init.d/*cron missing". Also, when it goes to mount the network filesystems, it says "/sbin/runscript.sh: line 36: [: too many arguments". I've waded through many topics to no avail. Help will be appreciated!
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Jan 02, 2003 2:29 am    Post subject: Reply with quote

Moved from Desktop Environments.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Thu Jan 02, 2003 5:49 am    Post subject: Reply with quote

which cron do you have installed? have you already tried re-emerging your cron and sys-apps/baselayout?
Back to top
View user's profile Send private message
cwizman
n00b
n00b


Joined: 28 Nov 2002
Posts: 29

PostPosted: Thu Jan 02, 2003 6:32 am    Post subject: Reply with quote

I have vcron installed. I tried re-emerging baselayout and I got it to work. Although, I still have the "/sbin/runscript.sh: line 36: [: too many arguments" error. To me, it makes no sense. I took a look at line 36 in that file, and it was just a comment.
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Thu Jan 02, 2003 7:59 am    Post subject: Reply with quote

hi,
cwizman wrote:
Although, I still have the "/sbin/runscript.sh: line 36: [: too many arguments" error. To me, it makes no sense. I took a look at line 36 in that file, and it was just a comment.

it's line #36 in the interpreted file, not in the interpreter. that's probably /etc/init.d/netmount, isn't it?. if you need any further help, pleas post:
  • your baselayout version
  • your bash version
  • output of
    Code:
    $ ls -l /bin/*sh

  • output of
    Code:
    $ md5sum /etc/init.d/netmount

greeting, jukka
Back to top
View user's profile Send private message
lsiden
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2003
Posts: 116
Location: Ann Arbor, MI, USA

PostPosted: Wed Feb 26, 2003 11:15 pm    Post subject: Reply with quote

jukka wrote:
which cron do you have installed? have you already tried re-emerging your cron and sys-apps/baselayout?


I have this problem. I tried remerging cron and baselayout but I still get
Quote:
* WARNING: /etc/init.d/cron missing; skipping...


Any other suggestions?
Back to top
View user's profile Send private message
fifo
Guru
Guru


Joined: 14 Jan 2003
Posts: 437

PostPosted: Thu Feb 27, 2003 1:11 am    Post subject: Reply with quote

Show us the output of
Code:
$ ls -l /etc/runlevels/default/*cron

and
Code:
$ ls -l /etc/init.d/*cron
Back to top
View user's profile Send private message
lsiden
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2003
Posts: 116
Location: Ann Arbor, MI, USA

PostPosted: Fri Feb 28, 2003 9:57 pm    Post subject: Reply with quote

fifo wrote:
Show us the output of
Code:
$ ls -l /etc/runlevels/default/*cron

and
Code:
$ ls -l /etc/init.d/*cron


Never mind, fixed it. I didn't understand that "*cron" meant "vcron". (Saw that in a msg to another newbie.) I just had to
Quote:
rc-update add vcron default
and I was all set! Thanks nevertheless. :)
_________________
-ls

"In Heaven, if everyone is supposed to be happy, who cleans the toilets?"
--Jordan Siden, age 10
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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