Re: [rdiffweb] Problem running rdiffweb

91 views
Skip to first unread message
Message has been deleted

Patrik Dufresne

unread,
Apr 30, 2020, 3:56:28 PM4/30/20
to Zdenek Kreml, rdiffweb
Hello Zdenek,

The message "Port 127.0.0.1 is in use on 8080" tells you there is another process already listening on port 8080. You cannot have two processes listening on the same port. From here you have two solutions:
1. Change the default port of rdiffweb to something else like 9090 using the ServerPort options. Read more in the documentation: https://github.com/ikus060/rdiffweb/blob/master/doc/configuration.md#other-settings
2. Find the other process listening on port 8080 and stop it.

To find the other process, you may google about this, but it goes along the line of these commans:

sudo netstat -nap | grep 8080
udp        0      0 0.0.0.0:8080           0.0.0.0:*                           2028/java
sudo kill 2028

Hope it's helping you.


On Thu, Apr 30, 2020 at 6:31 AM Zdenek Kreml <zdene...@gmail.com> wrote:
Hi, sorry for my English.
I wanted to install Rdiffweb on a VPS Debian 10 and the problem with the launch of Rdiffweb.I tried to follow the instructions here https://github.com/ikus060/rdiffweb/blob/master/doc/index.md port 8080 enabled .But the web doesn't work.
I don't know for that it's good.Here is an extract from /usr/local/bin/rdiffweb --log-access-file=/var/log/rdiffweb-access.log.
[30/Apr/2020:12:17:34] ENGINE Listening for SIGTERM.
[30/Apr/2020:12:17:34] ENGINE Listening for SIGHUP.
[30/Apr/2020:12:17:34] ENGINE Listening for SIGUSR1.
[30/Apr/2020:12:17:34] ENGINE Listening for SIGUSR2.
[30/Apr/2020:12:17:34] ENGINE Listening for SIGABRT.
[30/Apr/2020:12:17:34] ENGINE Bus STARTING
[30/Apr/2020:12:17:34] ENGINE Started monitor thread 'RemoveOlder'.
[30/Apr/2020:12:17:34] ENGINE Started monitor thread 'NotificationPlugin'.
[30/Apr/2020:12:17:35] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x7ff31d2da9e8>>
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/portend.py", line 115, in free
    Checker(timeout=0.1).assert_free(host, port)
  File "/usr/local/lib/python3.7/dist-packages/portend.py", line 69, in assert_free
    list(itertools.starmap(self._connect, info))
  File "/usr/local/lib/python3.7/dist-packages/portend.py", line 85, in _connect
    raise PortNotFree(tmpl.format(**locals()))
portend.PortNotFree: Port 127.0.0.1 is in use on 8080.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/cherrypy/process/wspbus.py", line 230, in publish
    output.append(listener(*args, **kwargs))
  File "/usr/local/lib/python3.7/dist-packages/cherrypy/_cpserver.py", line 180, in start
    super(Server, self).start()
  File "/usr/local/lib/python3.7/dist-packages/cherrypy/process/servers.py", line 177, in start
    portend.free(*self.bind_addr, timeout=Timeouts.free)
  File "/usr/local/lib/python3.7/dist-packages/portend.py", line 119, in free
    raise Timeout("Port {port} not free on {host}.".format(**locals()))
portend.Timeout: Port 8080 not free on 127.0.0.1.

[30/Apr/2020:12:17:35] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/cherrypy/process/wspbus.py", line 268, in start
    self.publish('start')
  File "/usr/local/lib/python3.7/dist-packages/cherrypy/process/wspbus.py", line 248, in publish
    raise exc
cherrypy.process.wspbus.ChannelFailures: Timeout('Port 8080 not free on 127.0.0.1.')

[30/Apr/2020:12:17:35] ENGINE Bus STOPPING
[30/Apr/2020:12:17:35] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 8080)) already shut down
[30/Apr/2020:12:17:35] ENGINE Stopped thread 'NotificationPlugin'.
[30/Apr/2020:12:17:35] ENGINE Stopped thread 'RemoveOlder'.
[30/Apr/2020:12:17:35] ENGINE Bus STOPPED
[30/Apr/2020:12:17:35] ENGINE Bus EXITING
[30/Apr/2020:12:17:35] ENGINE Bus EXITED

Thank you very much for any information Zdenek


--
You received this message because you are subscribed to the Google Groups "rdiffweb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdiffweb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdiffweb/dbf17bbc-154f-45d8-b6aa-eb52357e301c%40googlegroups.com.


--
Logiciel Ikus inc.
https://www.ikus-soft.com/
130 rue Doris
St-Colomban, QC J5K 1T9
vcs

Zdenek Kreml

unread,
Apr 30, 2020, 5:03:34 PM4/30/20
to rdiffweb


Dne čtvrtek 30. dubna 2020 12:31:55 UTC+2 Zdenek Kreml napsal(a):

Zdenek Kreml

unread,
Apr 30, 2020, 5:05:56 PM4/30/20
to rdiffweb

Hello Patrik
Thank you very much for your answer.I tried the order sudo netstat -nap | grep 8080 I had Terminal
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      35170/python3      
tcp        0      0 127.0.0.1:36206         127.0.0.1:8080          TIME_WAIT   -                  
tcp        0      0 127.0.0.1:36220         127.0.0.1:8080          TIME_WAIT   -                  
tcp        0      0 127.0.0.1:36208         127.0.0.1:8080          TIME_WAIT   -                  
tcp        0      0 127.0.0.1:36204         127.0.0.1:8080          TIME_WAIT   -                  
tcp        0      0 127.0.0.1:36222         127.0.0.1:8080          TIME_WAIT   -                  
tcp        0      0 127.0.0.1:36224         127.0.0.1:8080          TIME_WAIT   -                  
tcp        0      0 127.0.0.1:36216         127.0.0.1:8080          TIME_WAIT   -                  
tcp        0      0 127.0.0.1:36212         127.0.0.1:8080          TIME_WAIT   -                  
tcp        0      0 127.0.0.1:36218         127.0.0.1:8080          TIME_WAIT   -                  
tcp        0      0 127.0.0.1:36214         127.0.0.1:8080          TIME_WAIT   -                  
tcp        0      0 127.0.0.1:36226         127.0.0.1:8080          TIME_WAIT   -                  
tcp        0      0 127.0.0.1:36210         127.0.0.1:8080          TIME_WAIT   -          
And sudo kill 35170 did not help.
Can you please to say,where the configuration file is stored,where I change the port?Thanks again for your information and help.
Dne čtvrtek 30. dubna 2020 21:56:28 UTC+2 Patrik Dufresne napsal(a):
To unsubscribe from this group and stop receiving emails from it, send an email to rdif...@googlegroups.com.

Patrik Dufresne

unread,
Apr 30, 2020, 6:00:51 PM4/30/20
to Zdenek Kreml, rdiffweb
You may try killing with "kill -9 35170"

The config file is located under /etc/rdiffweb

To unsubscribe from this group and stop receiving emails from it, send an email to rdiffweb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdiffweb/acfd21b1-acef-4e34-981b-d68500a9f29d%40googlegroups.com.

Zdenek Kreml

unread,
May 1, 2020, 2:07:41 AM5/1/20
to rdiffweb
Good morning.Thank you very much.Everything is solved.The file was badly copied rdw.conf.So I added from GitHub and adjusted everything according to your advice.Finally everything is running.I am very grateful for your advice and information, thank you very much.Zdenek.

Patrik Dufresne

unread,
May 1, 2020, 8:12:01 AM5/1/20
to Zdenek Kreml, rdiffweb
Great ! I'm happy to read it.

Don't hesitate to bring more feedback about rdiffweb. You may also take a look at Minarca project which is a cousin of rdiffweb providing a client and a server approach tightly integrated together.

On Fri, May 1, 2020 at 2:07 AM Zdenek Kreml <zdene...@gmail.com> wrote:
Good morning.Thank you very much.Everything is solved.The file was badly copied rdw.conf.So I added from GitHub and adjusted everything according to your advice.Finally everything is running.I am very grateful for your advice and information, thank you very much.Zdenek.

--
You received this message because you are subscribed to the Google Groups "rdiffweb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdiffweb+u...@googlegroups.com.
Message has been deleted

Zdenek Kreml

unread,
May 1, 2020, 1:08:20 PM5/1/20
to rdiffweb
Hi,
If I can still ask for advice,I made a backup from my computer rdiff-backup --terminal-verbosity 5 /home/archos/Dokumenty zdendys@my_ip_adress::/home/zdendys/archos 
the backup was done well,but I can't browse it on the web.I attached a log.After clicking on the repository,i have a mistake 404 Not Found
Sorry, an error has occured.I don't know where I'm making a mistake. Thank you.

Nothing matches the given URI
Dne pátek 1. května 2020 14:12:01 UTC+2 Patrik Dufresne napsal(a):
Skvělý ! Jsem rád, že si to přečtu.

Neváhejte přinést další zpětnou vazbu o rdiffweb. Můžete se také podívat na projekt Minarca, který je bratrancem rdiffweb a poskytuje přístup klienta a serveru úzce integrovaný dohromady.

On Fri, May 1, 2020 at 2:07 AM Zdenek Kreml <zdene...@gmail.com> wrote:
Dobré ráno. Děkuji vám. Všechno je vyřešeno. Soubor byl špatně zkopírován rdw.conf.So jsem přidal z GitHub a upravil vše podle vaší rady.Konec vše běží. Jsem velmi vděčný za vaši radu a informace, děkuji moc moc.Zdenek.

-
Tuto zprávu jste obdrželi, protože jste přihlášeni k odběru skupiny „rdiffweb“ Skupiny Google.
Chcete-li se odhlásit z této skupiny a přestat z ní přijímat e-maily, pošlete e-mail na adresu rdif ... @ googlegroups.com .
Chcete-li zobrazit tuto diskusi na webu, navštivte https://groups.google.com/d/ msgid / rdiffweb / ff5a57e6-50cd- 44c2-94c3-dde2c0c3e063% 40googlegroups.com .


--
Ikus software vč.
https://www.ikus-soft.com/
130 Doris Street
St-Colomban, QC J5K 1T9
vy kluci
log_rdiffweb

Patrik Dufresne

unread,
May 1, 2020, 1:20:33 PM5/1/20
to Zdenek Kreml, rdiffweb
Hard to tell with only this log.
To get any more information, you should enable debug logs. That would help alot. 

LogLevel = DEBUG

--
You received this message because you are subscribed to the Google Groups "rdiffweb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdiffweb+u...@googlegroups.com.


--
Logiciel Ikus inc.
https://www.ikus-soft.com/
130 rue Doris
St-Colomban, QC J5K 1T9
vcs

Patrik Dufresne

unread,
May 1, 2020, 1:44:21 PM5/1/20
to Zdenek Kreml, rdiffweb
Now thinking of it. You may have a problem with the root directory of your user. If you have set something like /backups/zdendys/, could you try with only /backups/ ?

Zdenek Kreml

unread,
May 1, 2020, 4:30:38 PM5/1/20
to rdiffweb
Good evening,
So the error was in the user's root directory,exactly as you wrote above.Thank you very much for your time, precious information and a great job on rdiffweb.Minarca I'll try, it looks like a great project.
Dne pátek 1. května 2020 19:44:21 UTC+2 Patrik Dufresne napsal(a):
To unsubscribe from this group and stop receiving emails from it, send an email to rdif...@googlegroups.com.


--
Logiciel Ikus inc.
https://www.ikus-soft.com/
130 rue Doris
St-Colomban, QC J5K 1T9
Reply all
Reply to author
Forward
0 new messages