#1 Le 15/11/2005, à 15:16
- amkoolgarst
[Résolu/réinstallation...]Bloquage :stopping domain name service
salut à tous,
Comme je l'avais signalé dans un autre poste ( mon premier, sur la connexion) j'ai un problème quand je quitte ubuntu, celui se fige sur "stopping domain name service" et rien à faire je dois éteindre le pc.
Je suis en dualboot, je ne sais pas si c'est lié...
J'ai lu des truc, mais sincérement pas vu de cas semblables.
Sinon tout va bien, j'apprends et je suis trés content.:D:D:D
Un p'tit coup de main?::)
D'avance, merci.
Dernière modification par amkoolgarst (Le 24/11/2005, à 22:05)
Jifya moja haliinjiki chungu.
In girum imus nocte, ecce, et consumimur igni.
Hors ligne
#2 Le 16/11/2005, à 01:08
- sylware
Re : [Résolu/réinstallation...]Bloquage :stopping domain name service
Domain name service? Tu as un serveur DNS sur ta machine?
Peux-tu poster ici le contenu des répertoires /etc/init.d et /etc/Rc2.d? C'est histoire de voir si tu as installer un serveur DNS.
Hors ligne
#3 Le 17/11/2005, à 01:20
- amkoolgarst
Re : [Résolu/réinstallation...]Bloquage :stopping domain name service
Salut! alors pour etc/init.d voilà ce que ça me donne:
#!/bin/sh
#
# Fetchmail init script
# Latest change: Do Jun 23 16:59:08 CEST 2005
#
# A fetchmailrc file containg hosts and passwords for all local users should be
# placed in /etc/fetchmailrc. Remember to make the /etc/fetchmailrc mode 600
# to avoid disclosing the users' passwords.
#
# This script will NOT start or stop fetchmail if the /etc/fetchmailrc file
# does not exist.
#
set -e
# Defaults
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/fetchmail
USER=fetchmail
CONFFILE=/etc/fetchmailrc
OPTIONS="-f $CONFFILE"
PIDFILE="`getent passwd $USER | awk -F: '{ print $6 }'`/.fetchmail.pid"
UIDL=/var/mail/.fetchmail-UIDL-cache
test -f $DAEMON || exit 0
test -r $CONFFILE || exit 0
. /lib/lsb/init-functions
# sanity checks (saves on MY sanity :-P )
if ! id $USER >/dev/null 2>&1; then
if [ "$USER" = "fetchmail" ]; then
# The fetchmail user might have been removed when the fetchmail-common
# package is purged. We have to re-add it here so the system-wide
# daemon will run.
adduser --system --ingroup nogroup --home /var/run/fetchmail \
--shell /bin/sh --disabled-password fetchmail >/dev/null 2>&1 || true
# work around possible adduser bug, see #119366
[ -d /var/run/fetchmail ] || mkdir -p /var/run/fetchmail
chmod 700 /var/run/fetchmail
chown -h -R fetchmail:nogroup /var/run/fetchmail
else
log_failure_msg "$USER user does not exist!"
exit 1
fi
fi
# add daemon option if user hasn't already specified it
if ! grep -qs '^[[:space:]]*set[[:space:]]\+daemon[[:space:]]' "$CONFFILE"; then
OPTIONS="$OPTIONS -d 300"
fi
# add syslog option if user hasn't already specified it
if ! grep -qs '^[[:space:]]*set[[:space:]]\+no[[:space:]]\+syslog' "$CONFFILE"; then
OPTIONS="$OPTIONS --syslog"
fi
# support for ephemeral /var/run
if [ "${PIDFILE%/*}" = "/var/run/fetchmail" ] && [ ! -d ${PIDFILE%/*} ]; then
mkdir /var/run/fetchmail
chown -h $USER:nogroup /var/run/fetchmail
chmod 700 /var/run/fetchmail
fi
# sanity check
if [ ! -d ${PIDFILE%/*} ]; then
log_failure_msg "Directory ${PIDFILE%/*} does not exist!"
exit 1
fi
# If the user is going to use a UIDL cache, try to find a better place for the
# UIDL cache than root's homedir. Also create $UIDL if it doesn't exist,
# because the daemon won't have the permission.
if ! grep -qs idfile "$CONFFILE" && [ -d /var/mail ]; then
OPTIONS="$OPTIONS -i $UIDL"
touch $UIDL
chown -h $USER $UIDL
chmod 0600 $UIDL
fi
# Makes sure certain files/directories have the proper owner
if [ "`stat -c '%U %a' $CONFFILE 2>/dev/null`" != "$USER 600" ]; then
chown -h $USER $CONFFILE
chmod -f 0600 $CONFFILE
fi
case "$1" in
start)
log_begin_msg "Starting mail retrieval agent..."
start-stop-daemon -S -o -q -p $PIDFILE -x $DAEMON -u $USER -a /bin/su -- -c "$DAEMON $OPTIONS" $USER
log_end_msg $?
;;
stop)
log_begin_msg "Stopping mail retrieval agent..."
start-stop-daemon -K -o -q -p $PIDFILE -x $DAEMON -u $USER
log_end_msg $?
;;
force-reload|restart)
sh $0 stop
sh $0 start
;;
try-restart)
if start-stop-daemon -S -t -q -p $PIDFILE -x $DAEMON -u $USER >/dev/null; then
exit 0
fi
$0 restart
;;
awaken)
log_begin_msg "Awakening mail retrieval agent..."
if [ -r $PIDFILE ]; then
su -c $DAEMON $USER <&- >/dev/null 2>&1
log_end_msg 0
exit 0
else
log_end_msg 1
exit 1
fi
;;
debug-run)
log_success_msg "Initiating debug run of system-wide fetchmail service..." 1>&2
log_success_msg "script will be run in debug mode, all output to forced to" 1>&2
log_success_msg "stdout. This is not enough to debug failures that only" 1>&2
log_success_msg "happen in daemon mode." 1>&2
log_success_msg "You might want to direct output to a file, and tail -f it." 1>&2
if [ "$2" = "strace" ]; then
log_success_msg "(running debug mode under strace. See strace(1) for options)" 1>&2
log_success_msg "WARNING: strace output may contain security-sensitive info, such as" 1>&2
log_success_msg "passwords; please clobber them before sending the strace file to a" 1>&2
log_success_msg "public bug tracking system, such as Debian's." 1>&2
fi
log_success_msg "Stopping the service..." 1>&2
"$0" stop
log_success_msg "exit status of service stop was: $?"
log_success_msg "RUNUSER is $USER"
log_success_msg "OPTIONS would be $OPTIONS"
log_success_msg "Starting service in nodetach mode, hit ^C (SIGINT/intr) to finish run..." 1>&2
if [ "$2" = "strace" ] ; then
shift
shift
[ $# -ne 0 ] && log_success_msg "(strace options are: -tt $@)" 1>&2
su -c "/usr/bin/strace -tt $@ $DAEMON $OPTIONS --nosyslog --nodetach -v -v" $USER <&- 2>&1 && true
else
su -c "$DAEMON $OPTIONS --nosyslog --nodetach -v -v" $USER <&- 2>&1 && true
fi
log_success_msg "End of service run. Exit status was: $?"
exit 0
;;
*)
log_success_msg "Usage: /etc/init.d/fetchmail {start|stop|restart|force-reload|awaken|debug-run}"
log_success_msg " start - starts system-wide fetchmail service"
log_success_msg " stop - stops system-wide fetchmail service"
log_success_msg " restart, force-reload - starts a new system-wide fetchmail service"
log_success_msg " awaken - tell system-wide fetchmail to start a poll cycle immediately"
log_success_msg " debug-run [strace [strace options...]] - start a debug run of the"
log_success_msg " system-wide fetchmail service, optionally running it under strace"
exit 1
;;
esac
exit 0
# vim:ts=4:sw=4:
Et voilà pour etc/Rc2.d, voilà :
#!/bin/sh
#
# Fetchmail init script
# Latest change: Do Jun 23 16:59:08 CEST 2005
#
# A fetchmailrc file containg hosts and passwords for all local users should be
# placed in /etc/fetchmailrc. Remember to make the /etc/fetchmailrc mode 600
# to avoid disclosing the users' passwords.
#
# This script will NOT start or stop fetchmail if the /etc/fetchmailrc file
# does not exist.
#
set -e
# Defaults
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/fetchmail
USER=fetchmail
CONFFILE=/etc/fetchmailrc
OPTIONS="-f $CONFFILE"
PIDFILE="`getent passwd $USER | awk -F: '{ print $6 }'`/.fetchmail.pid"
UIDL=/var/mail/.fetchmail-UIDL-cache
test -f $DAEMON || exit 0
test -r $CONFFILE || exit 0
. /lib/lsb/init-functions
# sanity checks (saves on MY sanity :-P )
if ! id $USER >/dev/null 2>&1; then
if [ "$USER" = "fetchmail" ]; then
# The fetchmail user might have been removed when the fetchmail-common
# package is purged. We have to re-add it here so the system-wide
# daemon will run.
adduser --system --ingroup nogroup --home /var/run/fetchmail \
--shell /bin/sh --disabled-password fetchmail >/dev/null 2>&1 || true
# work around possible adduser bug, see #119366
[ -d /var/run/fetchmail ] || mkdir -p /var/run/fetchmail
chmod 700 /var/run/fetchmail
chown -h -R fetchmail:nogroup /var/run/fetchmail
else
log_failure_msg "$USER user does not exist!"
exit 1
fi
fi
# add daemon option if user hasn't already specified it
if ! grep -qs '^[[:space:]]*set[[:space:]]\+daemon[[:space:]]' "$CONFFILE"; then
OPTIONS="$OPTIONS -d 300"
fi
# add syslog option if user hasn't already specified it
if ! grep -qs '^[[:space:]]*set[[:space:]]\+no[[:space:]]\+syslog' "$CONFFILE"; then
OPTIONS="$OPTIONS --syslog"
fi
# support for ephemeral /var/run
if [ "${PIDFILE%/*}" = "/var/run/fetchmail" ] && [ ! -d ${PIDFILE%/*} ]; then
mkdir /var/run/fetchmail
chown -h $USER:nogroup /var/run/fetchmail
chmod 700 /var/run/fetchmail
fi
# sanity check
if [ ! -d ${PIDFILE%/*} ]; then
log_failure_msg "Directory ${PIDFILE%/*} does not exist!"
exit 1
fi
# If the user is going to use a UIDL cache, try to find a better place for the
# UIDL cache than root's homedir. Also create $UIDL if it doesn't exist,
# because the daemon won't have the permission.
if ! grep -qs idfile "$CONFFILE" && [ -d /var/mail ]; then
OPTIONS="$OPTIONS -i $UIDL"
touch $UIDL
chown -h $USER $UIDL
chmod 0600 $UIDL
fi
# Makes sure certain files/directories have the proper owner
if [ "`stat -c '%U %a' $CONFFILE 2>/dev/null`" != "$USER 600" ]; then
chown -h $USER $CONFFILE
chmod -f 0600 $CONFFILE
fi
case "$1" in
start)
log_begin_msg "Starting mail retrieval agent..."
start-stop-daemon -S -o -q -p $PIDFILE -x $DAEMON -u $USER -a /bin/su -- -c "$DAEMON $OPTIONS" $USER
log_end_msg $?
;;
stop)
log_begin_msg "Stopping mail retrieval agent..."
start-stop-daemon -K -o -q -p $PIDFILE -x $DAEMON -u $USER
log_end_msg $?
;;
force-reload|restart)
sh $0 stop
sh $0 start
;;
try-restart)
if start-stop-daemon -S -t -q -p $PIDFILE -x $DAEMON -u $USER >/dev/null; then
exit 0
fi
$0 restart
;;
awaken)
log_begin_msg "Awakening mail retrieval agent..."
if [ -r $PIDFILE ]; then
su -c $DAEMON $USER <&- >/dev/null 2>&1
log_end_msg 0
exit 0
else
log_end_msg 1
exit 1
fi
;;
debug-run)
log_success_msg "Initiating debug run of system-wide fetchmail service..." 1>&2
log_success_msg "script will be run in debug mode, all output to forced to" 1>&2
log_success_msg "stdout. This is not enough to debug failures that only" 1>&2
log_success_msg "happen in daemon mode." 1>&2
log_success_msg "You might want to direct output to a file, and tail -f it." 1>&2
if [ "$2" = "strace" ]; then
log_success_msg "(running debug mode under strace. See strace(1) for options)" 1>&2
log_success_msg "WARNING: strace output may contain security-sensitive info, such as" 1>&2
log_success_msg "passwords; please clobber them before sending the strace file to a" 1>&2
log_success_msg "public bug tracking system, such as Debian's." 1>&2
fi
log_success_msg "Stopping the service..." 1>&2
"$0" stop
log_success_msg "exit status of service stop was: $?"
log_success_msg "RUNUSER is $USER"
log_success_msg "OPTIONS would be $OPTIONS"
log_success_msg "Starting service in nodetach mode, hit ^C (SIGINT/intr) to finish run..." 1>&2
if [ "$2" = "strace" ] ; then
shift
shift
[ $# -ne 0 ] && log_success_msg "(strace options are: -tt $@)" 1>&2
su -c "/usr/bin/strace -tt $@ $DAEMON $OPTIONS --nosyslog --nodetach -v -v" $USER <&- 2>&1 && true
else
su -c "$DAEMON $OPTIONS --nosyslog --nodetach -v -v" $USER <&- 2>&1 && true
fi
log_success_msg "End of service run. Exit status was: $?"
exit 0
;;
*)
log_success_msg "Usage: /etc/init.d/fetchmail {start|stop|restart|force-reload|awaken|debug-run}"
log_success_msg " start - starts system-wide fetchmail service"
log_success_msg " stop - stops system-wide fetchmail service"
log_success_msg " restart, force-reload - starts a new system-wide fetchmail service"
log_success_msg " awaken - tell system-wide fetchmail to start a poll cycle immediately"
log_success_msg " debug-run [strace [strace options...]] - start a debug run of the"
log_success_msg " system-wide fetchmail service, optionally running it under strace"
exit 1
;;
esac
exit 0
# vim:ts=4:sw=4:
J'espère que cela te sera utile, d'avance merci.
Jifya moja haliinjiki chungu.
In girum imus nocte, ecce, et consumimur igni.
Hors ligne
#4 Le 17/11/2005, à 01:26
- sylware
Re : [Résolu/réinstallation...]Bloquage :stopping domain name service
En fait ce que je voulais dire, la sortie des commandes suivantes: "ls -l /etc/init.d" et "ls -l /etc/rc2.d".
Hors ligne
#5 Le 17/11/2005, à 01:33
- amkoolgarst
Re : [Résolu/réinstallation...]Bloquage :stopping domain name service
Y'a qu'à d'mander!!!!:P
root@ubuntu:~# ls -l /etc/init.d
totale 396
-rwxr-xr-x 1 root root 2442 2005-09-15 20:30 acpid
-rwxr-xr-x 1 root root 756 2005-10-04 06:07 acpi-support
-rwxr-xr-x 1 root root 5420 2005-09-29 16:12 alsa
-rwxr-xr-x 1 root root 7848 2005-09-29 16:41 alsa-utils
-rwxr-xr-x 1 root root 1015 2005-05-03 04:10 anacron
-rwxr-xr-x 1 root root 1386 2005-05-24 00:15 apmd
-rwxr-xr-x 1 root root 1080 2005-08-04 16:47 atd
-rwxr-xr-x 1 root root 1414 2005-04-19 19:39 bind9
-rwxr-xr-x 1 root root 1072 2005-08-18 03:37 binfmt-support
-rwxr-xr-x 1 root root 5293 2005-09-30 09:32 bluez-utils
-rw-r--r-- 1 root root 2805 2005-09-26 13:37 bootclean.sh
-rwxr-xr-x 1 root root 1468 2005-09-26 13:37 bootlogd
-rwxr-xr-x 1 root root 1371 2005-09-26 13:37 bootmisc.sh
-rwxr-xr-x 1 root root 2588 2005-09-22 20:42 capiutils
-rwxr-xr-x 1 root root 1316 2005-09-26 13:37 checkfs.sh
-rwxr-xr-x 1 root root 7718 2005-09-26 13:37 checkroot.sh
-rwxr-xr-x 1 root root 5812 2005-09-30 23:09 console-screen.sh
-rwxr-xr-x 1 root root 1168 2005-05-03 01:09 cron
-rwxr-xr-x 1 root root 1583 2005-09-14 15:46 cupsys
-rwxr-xr-x 1 root root 1935 2005-09-30 20:43 dbus
-rwxr-xr-x 1 root root 2398 2005-09-15 02:40 dhcp3-server
-rwxr-xr-x 1 root root 728 2005-08-30 02:46 dns-clean
-rwxr-xr-x 1 root root 923 2005-07-22 04:16 evms
-rwxr-xr-x 1 root root 5425 2005-08-18 04:16 fetchmail
-rwxr-xr-x 1 root root 2375 2005-10-04 16:46 gdm
-rwxr-xr-x 1 root root 811 2005-09-26 13:37 halt
-rwxr-xr-x 1 root root 5137 2005-09-27 23:22 hdparm
-rwxr-xr-x 1 root root 23539 2005-08-12 00:20 heartbeat
-rwxr-xr-x 1 root root 165 2005-09-26 13:37 hostname.sh
-rwxr-xr-x 1 root root 1256 2005-09-24 20:30 hotkey-setup
-rwxr-xr-x 1 root root 3629 2005-10-04 18:39 hotplug
-rwxr-xr-x 1 root root 761 2005-10-04 18:39 hotplug-net
-rwxr-xr-x 1 root root 4244 2005-09-22 15:41 hplip
-rwxr-xr-x 1 root root 4908 2005-09-20 18:43 hwclockfirst.sh
-rwxr-xr-x 1 root root 4892 2005-09-20 18:43 hwclock.sh
-rwxr-xr-x 1 root root 300 2005-09-19 14:37 ifrename
-rwxr-xr-x 1 root root 2269 2005-05-27 09:06 ifupdown
-rwxr-xr-x 1 root root 836 2005-05-27 08:53 ifupdown-clean
-rwxr-xr-x 1 root root 2940 2005-09-22 20:45 isdnutils
-rwxr-xr-x 1 root root 2964 2004-12-26 14:12 keymap.sh
-rwxr-xr-x 1 root root 1854 2005-09-23 22:08 klogd
-rwxr-xr-x 1 root root 363 2005-10-05 08:38 linux-restricted-modules-common-rwxr-xr-x 1 root root 2853 2004-09-03 17:09 lvm
-rwxr-xr-x 1 root root 798 2005-08-17 10:13 makedev
-rwxr-xr-x 1 root root 1189 2005-06-08 04:16 mdadm
-rwxr-xr-x 1 root root 1066 2005-06-08 04:16 mdadm-raid
-rwxr-xr-x 1 root root 1802 2005-09-20 03:09 module-init-tools
-rwxr-xr-x 1 root root 1157 2005-04-21 08:38 modutils
-rwxr-xr-x 1 root root 1134 2005-09-26 13:37 mountall.sh
-rwxr-xr-x 1 root root 1687 2005-09-26 13:37 mountnfs.sh
-rwxr-xr-x 1 root root 4872 2005-09-26 13:37 mountvirtfs
-rwxr-xr-x 1 root root 3755 2005-09-19 13:05 networking
-rwxr-xr-x 1 root root 723 2005-09-09 18:43 ntpdate
-rwxr-xr-x 1 root root 7423 2005-09-20 15:44 pcmcia
-rwxr-xr-x 1 root root 3579 2005-09-27 14:10 powernowd
-rwxr-xr-x 1 root root 1061 2005-05-27 18:15 ppp
-rwxr-xr-x 1 root root 189 2005-05-27 18:15 pppd-dns
-rwxr-xr-x 1 root root 1144 2005-04-21 12:07 procps.sh
-rwxr-xr-x 1 root root 2868 2005-09-26 13:37 rc
-rwxr-xr-x 1 root root 1573 2005-09-26 13:37 rcS
-rwxr-xr-x 1 root root 671 2005-09-16 11:40 readahead
-rw-r--r-- 1 root root 846 2005-09-26 13:37 README
-rwxr-xr-x 1 root root 245 2005-09-26 13:37 reboot
-rwxr-xr-x 1 root root 457 2005-09-26 13:37 rmnologin
-rwxr-xr-x 1 root root 2924 2005-07-09 23:48 rsync
-rwxr-xr-x 1 root root 586 2005-02-28 16:23 screen-cleanup
-rwxr-xr-x 1 root root 399 2005-09-26 13:37 sendsigs
-rwxr-xr-x 1 root root 843 2005-09-29 04:18 setkey
-rwxr-xr-x 1 root root 641 2005-09-26 13:37 single
-rwxr-xr-x 1 root root 2111 2005-09-26 13:37 skeletonroot@ubuntu:~# ls -l /etc/rc2.d
totale 0
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S05vbesave -> ../init.d/vbesave
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S10acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 18 2005-11-08 11:04 S10sysklogd -> ../init.d/sysklogdlrwxrwxrwx 1 root root 15 2005-11-08 11:04 S11klogd -> ../init.d/klogd
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S12dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root 19 2005-11-09 09:44 S13capiutils -> ../init.d/capiutils
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S13gdm -> ../init.d/gdm
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S14ppp -> ../init.d/ppp
lrwxrwxrwx 1 root root 15 2005-11-09 00:13 S15bind9 -> ../init.d/bind9
lrwxrwxrwx 1 root root 16 2005-11-08 11:04 S19cupsys -> ../init.d/cupsys
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S19hplip -> ../init.d/hplip
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S20apmd -> ../init.d/apmd
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S20hotkey-setup -> ../init.d/hotkey-setup
lrwxrwxrwx 1 root root 19 2005-11-09 00:19 S20isdnutils -> ../init.d/isdnutils
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S20makedev -> ../init.d/makedev
lrwxrwxrwx 1 root root 16 2005-11-08 11:04 S20pcmcia -> ../init.d/pcmcia
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S20powernowd -> ../init.d/powernowd
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S20rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root 21 2005-11-08 11:04 S25bluez-utils -> ../init.d/bluez-utils
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S25mdadm -> ../init.d/mdadm
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S40dhcp3-server -> ../init.d/dhcp3-server
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S50ntpdate -> ../init.d/ntpdate
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S75heartbeat -> ../init.d/heartbeat
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S89anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S89atd -> ../init.d/atd
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S89cron -> ../init.d/cron
lrwxrwxrwx 1 root root 24 2005-11-13 04:00 S90binfmt-support -> ../init.d/binfmt-support
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S98usplash -> ../init.d/usplash
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S99acpi-support -> ../init.d/acpi-support
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S99fetchmail -> ../init.d/fetchmail
lrwxrwxrwx 1 root root 19 2005-11-05 19:33 S99rmnologin -> ../init.d/rmnologin
lrwxrwxrwx 1 root root 23 2005-11-08 11:04 S99stop-bootlogd -> ../init.d/stop-bootlogd
root@ubuntu:~# sudo -s
root@ubuntu:~# ls -l /etc/rc2.d
totale 0
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S05vbesave -> ../init.d/vbesave
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S10acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 18 2005-11-08 11:04 S10sysklogd -> ../init.d/sysklogdlrwxrwxrwx 1 root root 15 2005-11-08 11:04 S11klogd -> ../init.d/klogd
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S12dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root 19 2005-11-09 09:44 S13capiutils -> ../init.d/capiutils
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S13gdm -> ../init.d/gdm
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S14ppp -> ../init.d/ppp
lrwxrwxrwx 1 root root 15 2005-11-09 00:13 S15bind9 -> ../init.d/bind9
lrwxrwxrwx 1 root root 16 2005-11-08 11:04 S19cupsys -> ../init.d/cupsys
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S19hplip -> ../init.d/hplip
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S20apmd -> ../init.d/apmd
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S20hotkey-setup -> ../init.d/hotkey-setup
lrwxrwxrwx 1 root root 19 2005-11-09 00:19 S20isdnutils -> ../init.d/isdnutils
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S20makedev -> ../init.d/makedev
lrwxrwxrwx 1 root root 16 2005-11-08 11:04 S20pcmcia -> ../init.d/pcmcia
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S20powernowd -> ../init.d/powernowd
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S20rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root 21 2005-11-08 11:04 S25bluez-utils -> ../init.d/bluez-utils
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S25mdadm -> ../init.d/mdadm
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S40dhcp3-server -> ../init.d/dhcp3-server
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S50ntpdate -> ../init.d/ntpdate
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S75heartbeat -> ../init.d/heartbeat
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S89anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S89atd -> ../init.d/atd
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S89cron -> ../init.d/cron
lrwxrwxrwx 1 root root 24 2005-11-13 04:00 S90binfmt-support -> ../init.d/binfmt-support
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S98usplash -> ../init.d/usplash
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S99acpi-support -> ../init.d/acpi-support
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S99fetchmail -> ../init.d/fetchmail
lrwxrwxrwx 1 root root 19 2005-11-05 19:33 S99rmnologin -> ../init.d/rmnologin
lrwxrwxrwx 1 root root 23 2005-11-08 11:04 S99stop-bootlogd -> ../init.d/stop-bootlogd
root@ubuntu:~#
lrwxrwxrwx 1 root root 8 2005-11-05 19:33 stop-bootlogd -> bootlogd
-rwxr-xr-x 1 root root 359 2005-09-30 10:11 sudo
-rwxr-xr-x 1 root root 1690 2005-09-23 22:08 sysklogd
-rwxr-xr-x 1 root root 976 2005-05-16 12:13 tspc
-rwxr-xr-x 1 root root 6603 2005-09-24 18:40 udev
-rwxr-xr-x 1 root root 854 2005-09-24 18:40 udev-mtab
-rwxr-xr-x 1 root root 553 2005-09-26 13:37 umountfs
-rwxr-xr-x 1 root root 1335 2005-09-26 13:37 umountnfs.sh
-rwxr-xr-x 1 root root 1254 2005-09-26 13:37 urandom
-rwxr-xr-x 1 root root 1718 2005-10-01 19:07 usplash
-rwxr-xr-x 1 root root 973 2005-10-05 03:10 vbesave
-rwxr-xr-x 1 root root 1465 2005-10-04 14:09 xorg-common
root@ubuntu:~#
et pour l'autre :
root@ubuntu:~# ls -l /etc/rc2.d
totale 0
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S05vbesave -> ../init.d/vbesave
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S10acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 18 2005-11-08 11:04 S10sysklogd -> ../init.d/sysklogdlrwxrwxrwx 1 root root 15 2005-11-08 11:04 S11klogd -> ../init.d/klogd
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S12dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root 19 2005-11-09 09:44 S13capiutils -> ../init.d/capiutils
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S13gdm -> ../init.d/gdm
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S14ppp -> ../init.d/ppp
lrwxrwxrwx 1 root root 15 2005-11-09 00:13 S15bind9 -> ../init.d/bind9
lrwxrwxrwx 1 root root 16 2005-11-08 11:04 S19cupsys -> ../init.d/cupsys
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S19hplip -> ../init.d/hplip
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S20apmd -> ../init.d/apmd
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S20hotkey-setup -> ../init.d/hotkey-setup
lrwxrwxrwx 1 root root 19 2005-11-09 00:19 S20isdnutils -> ../init.d/isdnutils
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S20makedev -> ../init.d/makedev
lrwxrwxrwx 1 root root 16 2005-11-08 11:04 S20pcmcia -> ../init.d/pcmcia
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S20powernowd -> ../init.d/powernowd
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S20rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root 21 2005-11-08 11:04 S25bluez-utils -> ../init.d/bluez-utils
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S25mdadm -> ../init.d/mdadm
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S40dhcp3-server -> ../init.d/dhcp3-server
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S50ntpdate -> ../init.d/ntpdate
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S75heartbeat -> ../init.d/heartbeat
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S89anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S89atd -> ../init.d/atd
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S89cron -> ../init.d/cron
lrwxrwxrwx 1 root root 24 2005-11-13 04:00 S90binfmt-support -> ../init.d/binfmt-support
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S98usplash -> ../init.d/usplash
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S99acpi-support -> ../init.d/acpi-support
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S99fetchmail -> ../init.d/fetchmail
lrwxrwxrwx 1 root root 19 2005-11-05 19:33 S99rmnologin -> ../init.d/rmnologin
lrwxrwxrwx 1 root root 23 2005-11-08 11:04 S99stop-bootlogd -> ../init.d/stop-bootlogd
root@ubuntu:~# sudo -s
root@ubuntu:~# ls -l /etc/rc2.d
totale 0
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S05vbesave -> ../init.d/vbesave
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S10acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 18 2005-11-08 11:04 S10sysklogd -> ../init.d/sysklogdlrwxrwxrwx 1 root root 15 2005-11-08 11:04 S11klogd -> ../init.d/klogd
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S12dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root 19 2005-11-09 09:44 S13capiutils -> ../init.d/capiutils
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S13gdm -> ../init.d/gdm
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S14ppp -> ../init.d/ppp
lrwxrwxrwx 1 root root 15 2005-11-09 00:13 S15bind9 -> ../init.d/bind9
lrwxrwxrwx 1 root root 16 2005-11-08 11:04 S19cupsys -> ../init.d/cupsys
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S19hplip -> ../init.d/hplip
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S20apmd -> ../init.d/apmd
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S20hotkey-setup -> ../init.d/hotkey-setup
lrwxrwxrwx 1 root root 19 2005-11-09 00:19 S20isdnutils -> ../init.d/isdnutils
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S20makedev -> ../init.d/makedev
lrwxrwxrwx 1 root root 16 2005-11-08 11:04 S20pcmcia -> ../init.d/pcmcia
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S20powernowd -> ../init.d/powernowd
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S20rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root 21 2005-11-08 11:04 S25bluez-utils -> ../init.d/bluez-utils
lrwxrwxrwx 1 root root 15 2005-11-08 11:04 S25mdadm -> ../init.d/mdadm
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S40dhcp3-server -> ../init.d/dhcp3-server
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S50ntpdate -> ../init.d/ntpdate
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S75heartbeat -> ../init.d/heartbeat
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S89anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 13 2005-11-08 11:04 S89atd -> ../init.d/atd
lrwxrwxrwx 1 root root 14 2005-11-08 11:04 S89cron -> ../init.d/cron
lrwxrwxrwx 1 root root 24 2005-11-13 04:00 S90binfmt-support -> ../init.d/binfmt-support
lrwxrwxrwx 1 root root 17 2005-11-08 11:04 S98usplash -> ../init.d/usplash
lrwxrwxrwx 1 root root 22 2005-11-08 11:04 S99acpi-support -> ../init.d/acpi-support
lrwxrwxrwx 1 root root 19 2005-11-08 11:04 S99fetchmail -> ../init.d/fetchmail
lrwxrwxrwx 1 root root 19 2005-11-05 19:33 S99rmnologin -> ../init.d/rmnologin
lrwxrwxrwx 1 root root 23 2005-11-08 11:04 S99stop-bootlogd -> ../init.d/stop-bootlogd
root@ubuntu:~#
Jifya moja haliinjiki chungu.
In girum imus nocte, ecce, et consumimur igni.
Hors ligne
#6 Le 17/11/2005, à 19:13
- amkoolgarst
Re : [Résolu/réinstallation...]Bloquage :stopping domain name service
:rolleyes::rolleyes::rolleyes:
Ben, euh, voilà....pour activer ma connection je fais en root adsl-start, pour l'arreter je devrais taper adsl-stop, non??? Ben, j'le dis pas trop fort : je ne tapais pas adsl-stop.
Quand je l'ai fait la premier fois, le pc s'est éteint normallement.
D'où problème résolu.
Par contre pour l'avoir au démarrage la connection je dois faire pppoeconf?
Merci.
Y-a-t-il un moyen de modifier le titre et de mettre résolu?
Ciao a tutti a presto.:)
Jifya moja haliinjiki chungu.
In girum imus nocte, ecce, et consumimur igni.
Hors ligne
#7 Le 17/11/2005, à 23:47
- sylware
Re : [Résolu/réinstallation...]Bloquage :stopping domain name service
S15bind9 -> ../init.d/bind9 et S40dhcp3-server -> ../init.d/dhcp3-server signifient que tu as un serveur DNS et un serveur DHCP qui tournent sur ta machine-->pas normal à priori.
Hors ligne
#8 Le 18/11/2005, à 01:29
- amkoolgarst
Re : [Résolu/réinstallation...]Bloquage :stopping domain name service
Salut! Ah bon, pas normal? Pourrais-tu m'en dire plus?
Merci et à bientot!:)
Jifya moja haliinjiki chungu.
In girum imus nocte, ecce, et consumimur igni.
Hors ligne
#9 Le 18/11/2005, à 21:04
- sylware
Re : [Résolu/réinstallation...]Bloquage :stopping domain name service
Bin à part si tu partages une connection internet, tu n'as pas besoin d'un serveur DNS et encore moins d'un serveur DHCP.
Hors ligne
#10 Le 18/11/2005, à 23:16
- amkoolgarst
Re : [Résolu/réinstallation...]Bloquage :stopping domain name service
Salut
Bin à part si tu partages une connection internet, tu n'as pas besoin d'un serveur DNS et encore moins d'un serveur DHCP.
Donc?
je fais quoi? Je te crois sur paroles quand tu me dis que j'en ai pas besoin, surtout que je ne l'ai jamais demandé !!!! Pour l'instant je ne partage pas de connexions....
J'oubliais juste de faire adsl-stop avant d'éteindre le pc....:rolleyes:
J'ai un autre problème, plus ennuyeux, que je m'en vais poster dans un nouveau topic...
En fin de compte, pour le problème qui concernait ce topic je pense qu'il est résolu, non?
Jifya moja haliinjiki chungu.
In girum imus nocte, ecce, et consumimur igni.
Hors ligne
#11 Le 19/11/2005, à 02:34
- sylware
Re : [Résolu/réinstallation...]Bloquage :stopping domain name service
Sérieusement ton setup est bizare.
Efface: /etc/rc2.d/S15bind9 et etc/rc2.d/S40dhcp3-server
Hors ligne