[ckan-dev] Debian Wheezy 64bit installation help

Nigel Babu nigel.babu at okfn.org
Sat Mar 29 12:49:51 UTC 2014


This is because Apache needs to listen on :8080 and nginx on :80.

* Check that your virtualhost file for ckan has *:8080 in the virtualhost
definition
* Check that /etc/apache2/ports.conf has the following lines. You need to
remove the lines that say :80

NameVirtualHost *:8080
Listen 8080


There is an existing bug for this and I plan to fix it right away.

Nigel Babu

Developer  |  @nigelbabu <https://twitter.com/nigelbabu>

The Open Knowledge Foundation <http://okfn.org/>

Empowering through Open Knowledge

http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>

 CKAN | http://ckan.org/ | @CKANproject
<http://twitter.com/CKANproject> |the world’s leading open-source data
portal platform


On 26 March 2014 22:59, Domenico Giusti <dncgst at gnewarchaeology.it> wrote:

> On mer, 2014-03-26 at 10:47 +0100, Domenico Giusti wrote:
> > Hi,
> > I have upgraded the solr-jetty package from testing and it seems to
> > work. But now I'm facing another error setting up the DataStore.
> > To set permissions:
> >
> > Option1_Paster command → "user *** is notallowed to execute
> > '/usr/bin/psql --dbname=datastore_default --no-password --set
> > ON_ERROR_STOP=1' as postgres on ***"
> > 'sudo -u postgres psql' doesn't work...
>
> Solved: wrong definitions in my sudoers file...
>
> I've followed the doc for deploying a source install and I cannot access
> the virtual host. I have no others site enabled
> in /etc/apache2/sites-enabled/ and in /etc/nginx/sites-enabled/ (only
> ckan_default).
>
> * service apache2 restart gives me:
>
> [....] Restarting web server: apache2apache2: Could not reliably
> determine the server's fully qualified domain name, using 127.0.1.1
> for ServerName
> [Wed Mar 26 17:13:48 2014] [warn] NameVirtualHost *:80 has no
> VirtualHosts
>  ... waiting apache2: Could not reliably determine the server's fully
> qualified domain name, using 127.0.1.1 for ServerName
> [Wed Mar 26 17:13:49 2014] [warn] NameVirtualHost *:80 has no
> VirtualHosts
> . ok
>
> * service nginx restart gives me:
>
> Restarting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
> Address already in use)
> nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
> nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
> nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
> nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
> nginx: [emerg] still could not bind()
> nginx.
>
> * if I browse to localhost (or 127.0.0.1) I still have the default web
> page (/var/www/index.html)
>
> * if I browse to default.cknahosted.com nothing
>
> * no log in /var/log/apache2/ckan_default.error.log or .custom.log
>
> Thanks for help!
>
> >
> > Option3_SQL script → Where is the set_permissions.sql file that I should
> > copy and edit?
> >
> > Thank you very much for help!
> >
> > Best,
> >
> > On mar, 2014-03-25 at 17:34 +0100, Domenico Giusti wrote:
> > > Hi,
> > > Thank you very much for your quick reply.
> > > The reported bug
> > >
> > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683854
> > >
> > > seems fixed in version lucene-solr/3.6.2+dfsg-1~exp1 (Debian Jessie
> > > package).
> > >
> > > https://packages.debian.org/jessie/solr-jetty
> > >
> > > I will try to upgrade from testing. But it seems to work also fixing
> the
> > > symlink...
> > >
> > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683854#10
> > >
> > > Thanks,
> > >
> > > On mar, 2014-03-25 at 15:58 +0100, Marek Šplíchal wrote:
> > > > Hi, in Debian is bug in solr package -
> > > > The cause: the package installs the following
> > > > *broken* symlink to /var/lib/jetty/webapps:
> > > >
> > > >   solr -> /usr/share/solr/webapp
> > > >
> > > > where it should be:
> > > >
> > > >   solr -> /usr/share/solr/web/
> > > >
> > > > Dne 25.3.2014 16:56, Domenico Giusti napsal(a):
> > > > > Hi all,
> > > > > I'm trying to install CKAN in a local machine running Debian Wheezy
> > > > > 64bit. I'm following the online tutorial for installation from
> sources,
> > > > > but I can't go on because I have an error setting up Solr:
> > > > >
> > > > > After I restarted the Jelly service, I can see it running on
> > > > > localhost:8983, but I have
> > > > >
> > > > > HTTP ERROR 404
> > > > > Problem accessing /solr/. Reason:
> > > > > NOT_FOUND
> > > > >
> > > > > accessing localhost:8983/solr/
> > > > >
> > > > > I could not find any help or specific howto on install CKAN on
> Debian.
> > > > >
> > > > > Thanks,
> > > >
> > >
> >
>
> --
> Domenico Giusti <dncgst at gnewarchaeology.it>
> GPG keyID: 2048R/A3AB7054F6E5D778
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140329/715ad137/attachment-0003.html>


More information about the ckan-dev mailing list