Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2013-01-29 13:21:03

  P@blo - Nadworny matematyk

P@blo
Nadworny matematyk
Skąd: Wrocław v Jasło
Zarejestrowany: 2010-11-11

bootlogd nie pokazuje wszystkiego

Cześć,

Mam od pewnego czasu problem, ze startem różnych tam skryptów. Miedzy innymi minidlna. Zaraz po starcie systemu:

Kod:

pablo@lena:~$ /etc/init.d/minidlna status
[FAIL] minidlna is not running ... failed!

Wiem, że to problem na inny wątek, ale od tego się zaczęło. No więc jak system się uruchamia to widzę, że tam się minidlna wykrzaczyło wygląda to tak:

Kod:

[ ok ] Starting ACPI services....
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Loading cpufreq kernel modules...done (acpi-cpufreq).
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] CPUFreq Utilities: Setting ondemand CPUFreq governor...CPU0...CPU1...CPU2...CPU3...done.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting tor daemon...done.
[ ok ] Starting bluetooth: bluetoothd rfcomm.
[ ok ] Starting Samba daemons: nmbd smbd.
[ ok ] Starting network connection manager: NetworkManager.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting virtual private network daemon:.
[warn] PulseAudio configured for per-user sessions ... (warning).
[ ok ] Starting GNOME Display Manager: gdm3.
[2013/01/28 19:37:02] getifaddr.c:73: error: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
[2013/01/28 19:37:02] getifaddr.c:73: error: ioctl(s, SIOCGIFADDR, ...): No such device
[2013/01/28 19:37:02] minidlna.c:761: No IP address automatically detected!
[2013/01/28 19:37:02] minidlna.c:786: error: Usage:
        /usr/bin/minidlna [-d] [-v] [-f config_file]
                [-a listening_ip] [-p port]
                [-s serial] [-m model_number]
                [-t notify_interval] [-P pid_filename]
                [-w url] [-R] [-V] [-h]

Notes:
        Notify interval is in seconds. Default is 895 seconds.
        Default pid file is /run/minidlna/minidlna.pid.
        With -d minidlna will run in debug mode (not daemonize).
        -w sets the presentation url. Default is http address on port 80
        -h displays this text
        -R forces a full rescan
        -L do note create playlists
        -V print the version number

Mam tylko kawałek, no a bootlog pokazuje wszystko ok (jeszcze ciepły):

Kod:

pablo@lena:~$ sudo cat /var/log/boot
Tue Jan 29 13:11:06 2013: [....] Setting parameters of disc: (none)^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:06 2013: [....] Setting preliminary keymap...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Tue Jan 29 13:11:06 2013: [....] Checking root file system...fsck from util-linux 2.20.1
Tue Jan 29 13:11:06 2013: DEBIAN: clean, 277623/1281120 files, 3878934/5120718 blocks
Tue Jan 29 13:11:06 2013: ^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Tue Jan 29 13:11:06 2013: [^[[36minfo^[[39;49m] Loading kernel module fuse.
Tue Jan 29 13:11:06 2013: [^[[36minfo^[[39;49m] Loading kernel module loop.
Tue Jan 29 13:11:06 2013: [....] Cleaning up temporary files... /tmp /lib/init/rw^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:07 2013: [....] Checking file systems...fsck from util-linux 2.20.1
Tue Jan 29 13:11:07 2013: SFERA: clean, 10942/6373376 files, 19998687/25485090 blocks
Tue Jan 29 13:11:07 2013: TORUS: clean, 80/6692864 files, 20200771/26752233 blocks
Tue Jan 29 13:11:07 2013: DANE: clean, 22447/1954064 files, 7109284/7811598 blocks (check deferred; on battery)
Tue Jan 29 13:11:07 2013: ^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Tue Jan 29 13:11:08 2013: [....] Mounting local filesystems...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Tue Jan 29 13:11:08 2013: [....] Cleaning up temporary files...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:08 2013: [....] Setting kernel variables ...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Tue Jan 29 13:11:08 2013: [....] Configuring network interfaces...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Tue Jan 29 13:11:08 2013: [....] Cleaning up temporary files...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:09 2013: [....] Setting up ALSA...warning: 'alsactl restore' failed with error message 'alsactl: set_control:1464: Cannot write control '3:3:0:Playback Channel Map:0' : File descriptor in bad state
Tue Jan 29 13:11:09 2013: alsactl: set_control:1464: Cannot write control '3:7:0:Playback Channel Map:0' : File descriptor in bad state
Tue Jan 29 13:11:09 2013: alsactl: set_control:1464: Cannot write control '3:8:0:Playback Channel Map:0' : File descriptor in bad state'...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Tue Jan 29 13:11:09 2013: [^[[36minfo^[[39;49m] Setting console screen modes.
Tue Jan 29 13:11:09 2013: ^[[9;30]^[[14;30][^[[36minfo^[[39;49m] Skipping font and keymap setup (handled by console-setup).
Tue Jan 29 13:11:09 2013: [....] Setting up console font and keymap...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Tue Jan 29 13:11:10 2013: [....] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:10 2013: [....] Setting sensors limits^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:10 2013: INIT: Entering runlevel: 2
Tue Jan 29 13:11:10 2013: [^[[36minfo^[[39;49m] Using makefile-style concurrent boot in runlevel 2.
Tue Jan 29 13:11:10 2013: [....] Starting enhanced syslogd: rsyslogd^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:11 2013: [....] Starting ACPI services...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:11 2013: [....] Starting periodic command scheduler: cron^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:12 2013: [....] Loading cpufreq kernel modules...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone (acpi-cpufreq).
Tue Jan 29 13:11:12 2013: [....] Starting OpenBSD Secure Shell server: sshd^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:12 2013: [....] Starting system message bus: dbus^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:13 2013: [....] CPUFreq Utilities: Setting ondemand CPUFreq governor...CPU0...CPU1...CPU2...CPU3...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Tue Jan 29 13:11:13 2013: [....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:13 2013: [....] Starting Samba daemons: nmbd smbd^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:13 2013: [....] Starting bluetooth: bluetoothd rfcomm^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:14 2013: [....] Starting network connection manager: NetworkManager^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:14 2013: [....] Starting tor daemon...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Tue Jan 29 13:11:14 2013: [....] Starting virtual private network daemon:^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Jan 29 13:11:14 2013: [....] PulseAudio configured for per-user sessions ...^[[?25l^[[?1c^[7^[[1G[^[[33mwarn^[[39;49m^[8^[[?25h^[[?0c ^[[33m(warning).^[[39;49m
Tue Jan 29 13:11:14 2013: [....] Starting GNOME Display Manager: gdm3^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.

Nie podoba mi się, to. Czy i wszystkich tak jest?

zaraz po starcie:

Kod:

pablo@lena:~$ /etc/init.d/bootlogd status
[FAIL] bootlogd is not running ... failed!

Kod:

pablo@lena:~$ cat /etc/default/bootlogd 
BOOTLOGD_ENDABLE=yes

Musiałem sam stworzyć ten plik.

Patrząc na to wszystko wydaje mi się, że projekt jest już nierozwijany, ale może się mylę?


ThinkPadX220i
| Procesor: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz |
|  Debian: sid   |   Arch: amd64   |   Sound: alsa   |
| No DE | WM: DWM  |  DM: .bash_profile  |  BIOS+MBR |

Offline

 

#2  2013-01-29 13:23:43

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: bootlogd nie pokazuje wszystkiego

Jakiego masz w ogóle Debiana?
Ten plik to w Squeeze był.
http://dug.net.pl/tekst/229/komunikaty_startowe___l … artu_systemu/

Offline

 

#3  2013-01-29 13:28:09

  P@blo - Nadworny matematyk

P@blo
Nadworny matematyk
Skąd: Wrocław v Jasło
Zarejestrowany: 2010-11-11

Re: bootlogd nie pokazuje wszystkiego

No fakt. Zapomniałem, że mam sid'a... Czyli w tym tkwi problem? No, ale jest bootlogd w unstable:

Kod:

pablo@lena:~$ aptitude versions bootlogd
Pakiet bootlogd:                                        
i   2.88dsf-39                                                                     unstable                                                      990 

Pakiet bootlogd:i386:
p   2.88dsf-39                                                                     unstable                                                      990

Więc powinno wszystko działać. W prawdzie czy mam ten plik czy nie to działało (jako tako), ale jak widzać nie pokazuje wszystko.


ThinkPadX220i
| Procesor: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz |
|  Debian: sid   |   Arch: amd64   |   Sound: alsa   |
| No DE | WM: DWM  |  DM: .bash_profile  |  BIOS+MBR |

Offline

 

#4  2013-01-29 13:43:43

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: bootlogd nie pokazuje wszystkiego

Z tego co pamiętam bootlogd zapisywał tylko do czasu uruchomienia menedżera logowania.

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)