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!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witajcie,
Napotkałem pewien problem podczas instalacji mysqla i nie bardzo wiem jak sobie z nim poradzić:
/# aptitude install mysql-server [ 0%] Building dependency tree The following partially installed packages will be configured: mysql-server mysql-server-5.1 No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. Setting up mysql-server-5.1 (5.1.66-0+squeeze1) ... Stopping MySQL database server: mysqld. 121228 18:01:24 [Note] Plugin 'FEDERATED' is disabled. 121228 18:01:24 InnoDB: Initializing buffer pool, size = 8.0M 121228 18:01:24 InnoDB: Completed initialization of buffer pool 121228 18:01:25 InnoDB: Started; log sequence number 0 44233 121228 18:01:25 InnoDB: Starting shutdown... 121228 18:01:30 InnoDB: Shutdown completed; log sequence number 0 44233 insserv: warning: script 'owserver' missing LSB tags and overrides insserv: There is a loop between service openmediavault-beep and owserver if stopped insserv: loop involving service owserver at depth 2 insserv: loop involving service openmediavault-beep at depth 1 insserv: Stopping owserver depends on openmediavault-beep and therefore on system facility `$all' which can not be true! insserv: exiting now without changing boot order! update-rc.d: error: insserv rejected the script header dpkg: error processing mysql-server-5.1 (--configure): subprocess installed post-installation script returned error exit status 1 configured to not write apport reports dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.1; however: Package mysql-server-5.1 is not configured yet. dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured configured to not write apport reports Errors were encountered while processing: mysql-server-5.1 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up mysql-server-5.1 (5.1.66-0+squeeze1) ... Stopping MySQL database server: mysqld. insserv: warning: script 'owserver' missing LSB tags and overrides insserv: There is a loop between service openmediavault-beep and owserver if stopped insserv: loop involving service owserver at depth 2 insserv: loop involving service openmediavault-beep at depth 1 insserv: Stopping owserver depends on openmediavault-beep and therefore on system facility `$all' which can not be true! insserv: exiting now without changing boot order! update-rc.d: error: insserv rejected the script header dpkg: error processing mysql-server-5.1 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.1; however: Package mysql-server-5.1 is not configured yet. dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server-5.1 mysql-server
Próbowałem usuwać wszystkie pliki konfiguracyjne i powiązane pakiety ale niestety bez zmian://
Pomożecie?
Z góry dziękuje.
Ostatnio edytowany przez Jacq (2012-12-28 18:16:29)
Offline
Jacq napisał(-a):
Kod:
insserv: warning: script 'owserver' missing LSB tags and overrides
Uwalony skrypt startowy owserver. Skąd go masz? Widzę, że w Wheezym jest, ale mysql 5.1 to raczej Squeeze. Zatem jakiś z zewnątrz?
Offline
Tak z zewnatrz, jego postac to
#! /bin/sh # /etc/init.d/owserver case "$1" in start) /opt/owfs/bin/owserver -d /dev/ttyUSB0 -p 3001 ;; stop) killall owserver ;; *) echo "Usage: $N {start|stop}" >&2 exit 1 ;; esac exit 0
Mam go z jakiegoś forum:)
Jak zatem podpinać to pod crona by uniknąć takich problemów?
Ostatnio edytowany przez Jacq (2012-12-29 00:24:22)
Offline
Może inaczej – spróbuj nagłówek mu dać: http://dug.net.pl/tekst/157/jak_umiescic_swoj_skryp … startowych__/
Offline
A można ten poprzedni jakoś usunąć?
Offline
update-rc.d -f owserver remove
Offline
Ok, ale czego wystepuje poniższy konflikt:
:/etc/init.d# insserv owserver insserv: script owserver is not an executable regular file, skipped! insserv: warning: script 'owfs' missing LSB tags and overrides insserv: There is a loop between service openmediavault-beep and owfs if stopped insserv: loop involving service owfs at depth 2 insserv: loop involving service openmediavault-beep at depth 1 insserv: Stopping owfs depends on openmediavault-beep and therefore on system facility `$all' which can not be true! insserv: exiting now without changing boot order!
Offline
Jakieś inne uwalone skrypty najwyraźniej jeszcze masz. ;) A co do początku, to chyba nie nadałeś skryptowi prawa do wykonywania.
Offline
Uprawnienia poprawiłem:)
Jeśli chodzi o ten drugi z ktorym jest konflikt, ma on ten nagłówek:
etc/init.d# cat openmediavault-beep #!/bin/sh ### BEGIN INIT INFO # Provides: openmediavault-beep # Required-Start: $all # Required-Stop: $all # Should-Start: # Should-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Beeps after system start or before shutdown ### END INIT INFO case "$1" in start|"") beep -f 3000 -l 100 -n -f 3500 -l 100 -r 2 ;; stop) beep -f 3000 -l 100 -r 2 -n -f 2000 -l 150 ;; *) echo "Usage: openmediavault-beep [start|stop]" >&2 exit 3 ;; esac
Offline
Według tego zobacz: http://wiki.debian.org/LSBInitScripts
No i jeszcze z owfs też coś jest nie tak.
Offline