Sounay Phothisane
Sounay Phothisane

Reputation: 1

cKan Failed installation on restarting Apache service

I have installed ckan from this tutorial http://docs.ckan.org/en/latest/maintaining/installing/install-from-package.html

until I came to part 4. Restart Apache and Nginx, I run "sudo service apache2 restart" and got this error:

Can anyone help me with this out.

Regards, Sounay

Upvotes: 0

Views: 346

Answers (1)

D Read
D Read

Reputation: 3224

You're telling Apache to serve on port 8080 but get error 'Address already in use'. Sounds like you are running another server on your machine - port 8080 is a pretty common port to use for web apps.

You can see what is running on port 8080 like this:

sudo netstat -plnt | grep :8080

Now you need to move a server to another port number (e.g. 8081) - either the service you discover, or ckan.

To change CKAN's port, edit ckan's apache & nginx config files and replace '8080' everywhere with the new port number.

Upvotes: 0

Related Questions