[ckan-dev] Debian Wheezy 64bit installation help
Domenico Giusti
dncgst at gnewarchaeology.it
Wed Mar 26 17:29:04 UTC 2014
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
More information about the ckan-dev
mailing list