Ubuntu : impossible de lancer = prob. serveur HTTP

Postez ici vos questions en français. Vous pourriez avoir de meilleures et plus rapides réponses que dans les forums anglais. ASTUCE: vous pouvez sélectionner français dans votre profil utilisateur.
Locked
Draky
Newbie
Newbie
Posts: 19
Joined: April 20th, 2010, 3:10 pm
Location: France

Ubuntu : impossible de lancer = prob. serveur HTTP

Post by Draky »

Salut

J'essaye de lancer sous Ubuntu (install. via dépôt) mais j'ai un mesage d'erreur me disant de changer de port. Je m'exécute mais j'ai toujours un message, quelque soit le port (8081,8082, etc.).

Voilà ce que j'ai en terminale :

Code: Select all

gilles@gilles-desktop:~$ /usr/bin/sabnzbdplus --server 192.168.0.1:8082
2010-12-18 10:00:36,287::INFO::[sabnzbdplus:961] --------------------------------
2010-12-18 10:00:36,287::INFO::[sabnzbdplus:962] sabnzbdplus-0.5.6 (rev=2503)
2010-12-18 10:00:36,289::INFO::[sabnzbdplus:972] Platform = posix
2010-12-18 10:00:36,289::INFO::[sabnzbdplus:973] Python-version = 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) 
[GCC 4.4.5]
2010-12-18 10:00:36,351::INFO::[__init__:702] /home/gilles/.sabnzbd/cache/bookmarks.sab removed
2010-12-18 10:00:36,354::INFO::[postproc:139] Loading postproc queue
2010-12-18 10:00:36,355::INFO::[__init__:702] /home/gilles/.sabnzbd/cache/postproc1.sab removed
2010-12-18 10:00:36,356::INFO::[downloader:334] Resuming
2010-12-18 10:00:36,367::INFO::[__init__:251] All processes started
2010-12-18 10:00:36,368::INFO::[sabnzbdplus:270] Web dir is /usr/share/sabnzbdplus/interfaces/Plush
2010-12-18 10:00:36,385::INFO::[sabnzbdplus:1026] Starting sabnzbdplus-0.5.6
2010-12-18 10:00:36,387::INFO::[dirscanner:375] Dirscanner starting up
2010-12-18 10:00:36,388::INFO::[sabnzbdplus:378] _yenc module... found!
2010-12-18 10:00:36,389::INFO::[sabnzbdplus:386] par2 binary... found (/usr/bin/par2)
2010-12-18 10:00:36,389::INFO::[sabnzbdplus:394] unrar binary... found (/usr/bin/unrar)
2010-12-18 10:00:36,390::INFO::[sabnzbdplus:399] unzip binary... found (/usr/bin/unzip)
2010-12-18 10:00:36,390::INFO::[sabnzbdplus:405] nice binary... found (/usr/bin/nice)
2010-12-18 10:00:36,390::INFO::[sabnzbdplus:409] ionice binary... found (/usr/bin/ionice)
2010-12-18 10:00:36,391::INFO::[sabnzbdplus:414] pyOpenSSL... found (True)
2010-12-18 10:00:36,392::INFO::[sabnzbdplus:1124] Starting web-interface on 192.168.0.1:8082
2010-12-18 10:00:36,388::INFO::[urlgrabber:103] URLGrabber starting up
2010-12-18 10:00:37,394::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Bus STARTING
2010-12-18 10:00:37,398::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Started monitor thread '_TimeoutMonitor'.
2010-12-18 10:00:37,501::ERROR::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 1629, in start
    raise socket.error, msg
error: [Errno 99] Cannot assign requested address

2010-12-18 10:00:37,502::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Bus STOPPING
2010-12-18 10:00:37,502::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.0.1', 8082)) already shut down
2010-12-18 10:00:37,513::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Stopped thread '_TimeoutMonitor'.
2010-12-18 10:00:37,513::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Bus STOPPED
2010-12-18 10:00:37,513::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Bus EXITING
2010-12-18 10:00:37,514::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Bus EXITED
Exception in thread HTTPServer Thread-10:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 1629, in start
    raise socket.error, msg
error: [Errno 99] Cannot assign requested address

2010-12-18 10:00:37,600::ERROR::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x1a6a050>>
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/usr/share/sabnzbdplus/cherrypy/_cpserver.py", line 90, in start
    ServerAdapter.start(self)
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 99] Cannot assign requested address

2010-12-18 10:00:37,601::ERROR::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 184, in start
    self.publish('start')
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/usr/share/sabnzbdplus/cherrypy/_cpserver.py", line 90, in start
    ServerAdapter.start(self)
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 99] Cannot assign requested address

2010-12-18 10:00:37,602::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Bus STOPPING
2010-12-18 10:00:37,602::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.0.1', 8082)) already shut down
2010-12-18 10:00:37,602::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE No thread running for _TimeoutMonitor.
2010-12-18 10:00:37,603::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Bus STOPPED
2010-12-18 10:00:37,603::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Bus EXITING
2010-12-18 10:00:37,604::INFO::[_cplogging:55] [18/Dec/2010:10:00:37] ENGINE Bus EXITED
2010-12-18 10:00:37,604::ERROR::[sabnzbdplus:243] Echec du lancement de l'interface web
2010-12-18 10:00:37,605::INFO::[misc:584] Lauching browser with /tmp/tmpmN4dl9.html
2010-12-18 10:00:37,612::INFO::[__init__:287] SABnzbd shutting down...
2010-12-18 10:00:37,615::INFO::[urlgrabber:98] URLGrabber shutting down
2010-12-18 10:00:37,619::INFO::[dirscanner:289] Dirscanner shutting down
2010-12-18 10:00:38,392::INFO::[downloader:490] Shutting down
2010-12-18 10:00:38,392::INFO::[assembler:102] Shutting down
2010-12-18 10:00:38,393::INFO::[postproc:134] Saving postproc queue
2010-12-18 10:00:38,393::INFO::[nzbqueue:92] Saving queue
2010-12-18 10:00:38,395::INFO::[postproc:134] Saving postproc queue
2010-12-18 10:00:38,395::INFO::[__init__:322] All processes stopped
Une idée ?

Merci.
freakyzoidberg
Newbie
Newbie
Posts: 6
Joined: January 1st, 2011, 9:01 pm

Re: Ubuntu : impossible de lancer = prob. serveur HTTP

Post by freakyzoidberg »

A premiere vue je dirai que le port est deja utilise par un autre service
Draky
Newbie
Newbie
Posts: 19
Joined: April 20th, 2010, 3:10 pm
Location: France

Re: Ubuntu : impossible de lancer = prob. serveur HTTP

Post by Draky »

Y'a un moyen de servir lequel ?
Parce que comme je change de port pour sab, ça me dit tjs que c'est impossible et j'ai pas 10 ports utilisés...
freakyzoidberg
Newbie
Newbie
Posts: 6
Joined: January 1st, 2011, 9:01 pm

Re: Ubuntu : impossible de lancer = prob. serveur HTTP

Post by freakyzoidberg »

tu as plusieurs facon de voir ca :

Code: Select all

lsof -Pnl +M -i4

Code: Select all

netstat -tulpn
ou le bon vieux nmap

Code: Select all

nmap -sS -O 127.0.0.1
Rhotull
Newbie
Newbie
Posts: 1
Joined: January 4th, 2011, 9:10 am

Re: Ubuntu : impossible de lancer = prob. serveur HTTP

Post by Rhotull »

Bonjour,

J'aurais tendance à dire que le problème est ici :
/usr/bin/sabnzbdplus --server 192.168.0.1:8082

192.168.0.1, cela a une bonne tête d'adresse de modem/routeur, et pas d'adresse d'un PC

127.0.0.1 par contre....
Locked