Ticket #231 (new defect)

Opened 11 months ago

Last modified 11 months ago

Error starting Cryptobox: Port not free

Reported by: SeanKilleen@… Owned by: lars
Priority: normal Milestone:
Component: debian-package Version: cryptobox-server 0.3.4
Severity: normal Keywords:
Cc:

Description

Hello all,

Love the idea of the product but am having issues installing.

For the record, I'm a beginner with Linux, so I might be missing something obvious or might need to provide you with more detail; just ask.

Installed on Ubuntu Jaunty via the FAQ at http://devel.cryptobox.org/wiki/faq#HowdoIusetheserverpackagefromtheDebianrepository and got it to work after installing python 2.5 and directing CryptoBox to use 2.5 instead of 2.6.

However, when running "/etc/init.d/cryptobox-server start" I receive the error:

 * Starting CryptoBox Daemon (webinterface)                              [ OK ] 
root@Lakota:~# Failed to start CryptoBox: Port not free.

In the webserver.log file, I see:

  HTTP INFO Port 8080 not free on 'localhost'

netstat listen reveals:

root@Lakota:~# netstat -an | grep "LISTEN "
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     
tcp6       0      0 ::1:631                 :::*                    LISTEN     

It's a fresh install of Ubuntu; only other thing I did was software updates and install the CryptoNAS package.

Any information or advice you can give would be greatly appreciated. E-mail is in my username. Thanks in advance.

Sean

Attachments

Change History

Changed 11 months ago by SeanKilleen@…

Update:

I have since found /etc/default/cryptobox-server file, and edited to a random port (8350) that I know will not be currently listened on.

After doing that, I receive a bunch of output, the result being:

validate.VdtValueError: the value "/usr/share/cryptobox-server/template (not found)" is unacceptable.

I notice that there is a folder named "templates" but none named "template", so I copy the contents of the templates folder into a new folder called "template" that I created.

Upon doing this, I receive the same error (port not free) that I'd received before.

Will keep looking around and updating with what I can find. Thanks for any help.

Changed 11 months ago by SeanKilleen@…

Latest update:

after a restart, netstat -an | grep -i listen reveals:

tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:8350            0.0.0.0:*               LISTEN     
tcp6       0      0 ::1:631                 :::*                    LISTEN     

so it does appear that the cryptonas server is listening on my new port (8350) as defined in /etc/default/cryptobox-server.

So, how the heck do I get to it now? when going to http://localhost:8350, I receive a 404 error "path '/' was not found" and says it's powered by CherryPy? 2.3.0. I receive the same screen when going to my internal ip (192.168.1.3) from a browser on this PC and another PC.

Add/Change #231 (Error starting Cryptobox: Port not free)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
The owner will change to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.