Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: problem s balickem  (Přečteno 1626 krát)

Harad

  • Aktivní člen
  • *
  • Příspěvků: 194
problem s balickem
« kdy: 10 Června 2008, 19:27:19 »
Instaloval jsem balíček motion http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome (bez kamerky, s tím, že ji dodám později - byl jsem líný ji vytahovat s šuplíku), a v průběhu instalace mi vypadl proud, nyní nemohu nic nainstalovat/updatovat systém:

Kód: [Vybrat]
janinus@einstein:~$ sudo apt-get update
[sudo] password for janinus:
Cíl http://archive.canonical.com hardy Release.gpg
Ign http://archive.canonical.com hardy/partner Translation-cs
Cíl http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-cs
Ign http://security.ubuntu.com hardy-security/restricted Translation-cs       
Ign http://security.ubuntu.com hardy-security/universe Translation-cs         
Ign http://security.ubuntu.com hardy-security/multiverse Translation-cs       
Cíl http://cz.archive.ubuntu.com hardy Release.gpg                             
Cíl http://cz.archive.ubuntu.com hardy/main Translation-cs                     
Cíl http://archive.ubuntu.com hardy Release.gpg                               
Cíl http://archive.canonical.com hardy Release                                 
Cíl http://security.ubuntu.com hardy-security Release                   
Cíl http://archive.ubuntu.com hardy Release                             
Cíl http://cz.archive.ubuntu.com hardy/restricted Translation-cs
Cíl http://cz.archive.ubuntu.com hardy/universe Translation-cs
Ign http://cz.archive.ubuntu.com hardy/multiverse Translation-cs
Cíl http://cz.archive.ubuntu.com hardy-updates Release.gpg
Ign http://cz.archive.ubuntu.com hardy-updates/main Translation-cs
Ign http://cz.archive.ubuntu.com hardy-updates/restricted Translation-cs
Ign http://cz.archive.ubuntu.com hardy-updates/universe Translation-cs
Ign http://cz.archive.ubuntu.com hardy-updates/multiverse Translation-cs
Cíl http://cz.archive.ubuntu.com hardy-backports Release.gpg
Ign http://cz.archive.ubuntu.com hardy-backports/main Translation-cs
Ign http://cz.archive.ubuntu.com hardy-backports/restricted Translation-cs
Ign http://cz.archive.ubuntu.com hardy-backports/universe Translation-cs
Ign http://cz.archive.ubuntu.com hardy-backports/multiverse Translation-cs
Cíl http://cz.archive.ubuntu.com hardy Release
Cíl http://cz.archive.ubuntu.com hardy-updates Release
Cíl http://cz.archive.ubuntu.com hardy-backports Release
Cíl http://archive.canonical.com hardy/partner Packages
Cíl http://archive.canonical.com hardy/partner Sources
Cíl http://security.ubuntu.com hardy-security/main Packages
Cíl http://security.ubuntu.com hardy-security/restricted Packages     
Cíl http://security.ubuntu.com hardy-security/restricted Sources     
Cíl http://security.ubuntu.com hardy-security/main Sources           
Cíl http://archive.ubuntu.com hardy/main Sources                     
Cíl http://security.ubuntu.com hardy-security/multiverse Sources     
Cíl http://security.ubuntu.com hardy-security/universe Sources
Cíl http://security.ubuntu.com hardy-security/universe Packages
Cíl http://security.ubuntu.com hardy-security/multiverse Packages
Cíl http://archive.ubuntu.com hardy/restricted Sources
Cíl http://cz.archive.ubuntu.com hardy/main Packages
Cíl http://cz.archive.ubuntu.com hardy/restricted Packages
Cíl http://cz.archive.ubuntu.com hardy/restricted Sources
Cíl http://cz.archive.ubuntu.com hardy/main Sources
Cíl http://cz.archive.ubuntu.com hardy/multiverse Sources
Cíl http://cz.archive.ubuntu.com hardy/universe Sources
Cíl http://cz.archive.ubuntu.com hardy/universe Packages
Cíl http://cz.archive.ubuntu.com hardy/multiverse Packages
Cíl http://cz.archive.ubuntu.com hardy-updates/main Packages
Cíl http://cz.archive.ubuntu.com hardy-updates/restricted Packages
Cíl http://cz.archive.ubuntu.com hardy-updates/restricted Sources
Cíl http://cz.archive.ubuntu.com hardy-updates/main Sources
Cíl http://cz.archive.ubuntu.com hardy-updates/multiverse Sources
Cíl http://cz.archive.ubuntu.com hardy-updates/universe Sources
Cíl http://cz.archive.ubuntu.com hardy-updates/universe Packages
Cíl http://cz.archive.ubuntu.com hardy-updates/multiverse Packages
Cíl http://cz.archive.ubuntu.com hardy-backports/main Packages
Cíl http://cz.archive.ubuntu.com hardy-backports/restricted Packages
Cíl http://cz.archive.ubuntu.com hardy-backports/universe Packages
Cíl http://cz.archive.ubuntu.com hardy-backports/multiverse Packages
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

Kód: [Vybrat]
janinus@einstein:~$ sudo dpkg --configure -a
Nastavuji balík motion (3.2.10-0.ubuntu.hardy) ...
Starting motion detection : motion
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Unknown config option "sql_log_image"
[0] Unknown config option "sql_log_snapshot"
[0] Unknown config option "sql_log_mpeg"
[0] Unknown config option "sql_log_timelapse"
[0] Unknown config option "sql_query"
[0] Motion 3.2.10 Started
[0] ffmpeg LIBAVCODEC_BUILD 3352064 LIBAVFORMAT_BUILD 3344896
[0] Thread 1 is from /etc/motion/motion.conf
[1] Thread 1 started
[1] Failed to open video device /dev/video0: Device or resource busy
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[0] httpd bind(): Address already in use
[0] httpd thread exit
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] Failed to open video device /dev/video0: Device or resource busy
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] Failed to open video device /dev/video0: Device or resource busy
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] Failed to open video device /dev/video0: Device or resource busy
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] Failed to open video device /dev/video0: Device or resource busy
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] Failed to open video device /dev/video0: Device or resource busy
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] Failed to open video device /dev/video0: Device or resource busy
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting

Prosím, poraďte mi, jak tento problém vyřešit.

Tomáš Jančík

  • Stálý člen
  • **
  • Příspěvků: 1179
    • TomášJančík.net
Re: problem s balickem
« Odpověď #1 kdy: 10 Června 2008, 20:55:15 »
v podstate jsem z toho vycetl, ze si stezuje, ze nemuze najit obraz z kamery a za se nemuze pripojit na port 8081, kterej uz je pry obsazenej...
zkusio bych pripojit tu kameru, co se stane

3m9d

  • Stálý člen
  • **
  • Příspěvků: 768
Re: problem s balickem
« Odpověď #2 kdy: 10 Června 2008, 21:01:13 »
sorry - to jsem si nevšim :P
« Poslední změna: 10 Června 2008, 21:23:52 od 3m9d »
* Ve Windows jde všechno - do někdy, v Linuxu jde všechno od někdy. * Omlouvám se jestli vám proti vaší vůli vykám... Jsem tak zvyklý. * Kdo nemůže žít bez opravování překlepů, ať to dělá na wiki! :)

Tomáš Jančík

  • Stálý člen
  • **
  • Příspěvků: 1179
    • TomášJančík.net
Re: problem s balickem
« Odpověď #3 kdy: 10 Června 2008, 21:07:37 »
myslím, že na konci prvního kódu máte odpověď :
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
takže
Kód: [Vybrat]
sudo dpkg --configure -aa zkuste to znova ;)

a na začátku druhého výpisu je vidět, že už to provedl... bez úspěchu

Harad

  • Aktivní člen
  • *
  • Příspěvků: 194
Re: problem s balickem
« Odpověď #4 kdy: 10 Června 2008, 21:50:14 »
v podstate jsem z toho vycetl, ze si stezuje, ze nemuze najit obraz z kamery a za se nemuze pripojit na port 8081, kterej uz je pry obsazenej...
zkusio bych pripojit tu kameru, co se stane
Kameru jsem připojil, byla to první věc, co mne napadla... bez úspěchu. V systému mám jen mplayer, mencoder a možná ještě pár dalších zbytečností (ale většinu věcí jsem odstranil hned po instalaci, neb stroj slouží jen (primárně) pro sdílení disku v síti a sdílení tiskárny -> funkčnost tohoto naštěstí není ohrožena). Jelikož se jedná o PIII 450MHz, 128MB RAM, tak Gnome jsem vyměnil za XFCE.

Martin Kiklhorn

  • Člen občanského sdružení Ubuntu ČR a placené komunitní podpory
  • Administrátor fóra
  • Závislák
  • ******
  • Příspěvků: 4807
  • グーグル!ご存知ですか?
    • HEJ
Re: problem s balickem
« Odpověď #5 kdy: 03 Srpna 2008, 04:30:59 »
Kód: [Vybrat]
sudo dpkg -P motion
sudo apt-get update
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get upgrade
a pak to motion zkuste instalnout znovu
« Poslední změna: 03 Srpna 2008, 04:35:30 od kiklhorn »
Jsou ve vašem dotazu OPRAVDU VŠECHNY vám dostupné informace o problému?
Linux user since 2007-10-11, Registered #456007
Virtual
| Distribuce
~/slozka znamená /home/"vase jmeno"/slozka
6521 69DE 0F34 FCBC FB1D  DE76 360E 52B2 F71A B8E8

 

Provoz zaštiťuje spolek OpenAlt.