LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2005, 08:36 AM   #1
meDream
Member
 
Registered: Jan 2005
Distribution: Mandrake 10.1
Posts: 47

Rep: Reputation: 15
bootup sequence services problem


My maschine works fine!!!

The problem is while the bootup those services in init.rd, rc0, rc1.d etc don't exist???
on the screen i've got: /etc/init.rd/S********: Command not found

well, my question is: Is there a log where i can see what those services are and clean them from the start sequence??

or

is there some other way to do it??
 
Old 05-17-2005, 09:07 AM   #2
andygo
Member
 
Registered: May 2005
Location: Ukraine, Kiev
Distribution: Gentoo, Kubuntu
Posts: 112

Rep: Reputation: 15
ls -al /etc/rc.d/rc5.d and you'll see only sim links there. follow those linkx they point on scrips(simple text files you can read with your favourive text editor) read them and you'll find out what are they for to turn them of - rename the link from S30some_service to K30some_service - and it will never wake up %-)
 
Old 05-18-2005, 07:25 AM   #3
meDream
Member
 
Registered: Jan 2005
Distribution: Mandrake 10.1
Posts: 47

Original Poster
Rep: Reputation: 15
thanx!

I'll try youre way and see what will happen, but it was not my intention to erase the services but to fix them!!

anyway i found the log file: /var/log/boot.log (unbelievable ))) )

the funny thing is that all the services start complaining in the same line and then line by line till nearly the end of the code?!?!?!?!?!

partmon: /etc/rc5.d/S13partmon: line 24: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 25: 25: command not found
partmon: /etc/rc5.d/S13partmon: line 26: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 27: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 28: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 29: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 30: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 31: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 32: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 33: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 34: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 35: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 36: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 37: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 38: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 39: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 40: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 41: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 42: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 43: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 44: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 45: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 46: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 47: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 48: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 49: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 50: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 51: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 52: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 53: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 54: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 55: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 56: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 57: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 58: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 59: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 60: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 61: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 62: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 63: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 64: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 65: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 66: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 67: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 68: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 69: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 70: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 71: Looking: command not found
partmon: /etc/rc5.d/S13partmon: line 72: Looking: command not found
partmon: Checking if partitions have enough free diskspace:
partmon: ^[[65G[^[[1;32m
partmon: OK
partmon:
rc: Starting partmon: succeeded

and this is the code:
#!/bin/sh
#
# Checks if a partition is close to full up
#
# description: Checks if a partition is close to full up
# chkconfig: 345 13 20

# Source function library.
. /etc/rc.d/init.d/functions

# The following file prevents from "starting" again when changing
# runlevel
SYSCONF_FILE=/var/lock/subsys/partmon

# See how we were called.
case "$1" in
start)
gprintf "Checking if partitions have enough free diskspace: "
str=`/usr/bin/partmon`
if [ "$str" = "" ]; then
echo_success
touch $SYSCONF_FILE
else
#to start to print problems at column 0
echo
echo $str
echo_failure
echo
exit 1
fi
echo
;;
stop)
rm -f $SYSCONF_FILE
;;
status)
if [ -f $SYSCONF_FILE ]
then
gprintf "partmon has been started"
else
gprintf "partmon has not been started, or check gave a failure"
fi
;;
restart)
$0 stop
$0 start
;;
*)
gprintf "Usage: %s\n" "$0 {start|stop|restart|status}"
exit 1
esac

exit 0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
glibc/gettext/multibyte-sequence problem, resolved... sundialsvcs Linux - Software 0 09-17-2005 02:02 PM
New Gentoo Install boot sequence problem?? rjohnson244 Linux - Software 4 03-29-2005 02:14 PM
Starting services at bootup Lucasite Linux - Newbie 5 04-17-2004 03:08 PM
smiley face escape sequence problem mandrakeroot Programming 12 09-06-2003 07:11 PM
How to modify bootup sequence??? Marci Sarwan Linux - Newbie 2 02-21-2001 02:55 PM


All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration