[MacPorts] #16985: couchdb 0.8.1 does not fully start
#16985: couchdb 0.8.1 does not fully start --------------------------------+------------------------------------------- Reporter: sethladd@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: --------------------------------+------------------------------------------- Hello, I've installed couchdb 0.8.1 via macports, but when I run it via the command line, it does not fully initialize and start. Asking on #couchdb, they seem to believe it's an issue the macports version, and that they have heard this before. CouchDB servers installed from source work fine. Here's what I see when I start couchdb: {{{ seth-ladds-macbook-pro:Development sethladd$ sudo couchdb Apache CouchDB 0.8.1-incubating (LogLevel=info) Apache CouchDB is starting. Config Info /opt/local/etc/couchdb/couch.ini: CurrentWorkingDir=/Users/sethladd/Development DbRootDir=/opt/local/var/lib/couchdb BindAddress="127.0.0.1" Port="5984" DocumentRoot=/opt/local/share/couchdb/www LogFile=/opt/local/var/log/couchdb/couch.log UtilDriverDir=/opt/local/lib/couchdb/erlang/lib/couch-0.8.1-incubating/priv/lib DbUpdateNotificationProcesses= FullTextSearchQueryServer= javascript=/opt/local/bin/couchjs /opt/local/share/couchdb/server/main.js }}} I have confirmed, via netstat, that the port is never opened and that the directories like /opt/local/var/lib/couchdb are never created. -- Ticket URL: <http://trac.macports.org/ticket/16985> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16985: couchdb 0.8.1 does not fully start ---------------------------------+------------------------------------------ Reporter: sethladd@gmail.com | Owner: jwa@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: couchdb | ---------------------------------+------------------------------------------ Changes (by macsforever2000@macports.org): * owner: macports-tickets@lists.macosforge.org => jwa@macports.org * port: => couchdb Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/16985#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16985: couchdb 0.8.1 does not fully start ---------------------------------+------------------------------------------ Reporter: sethladd@gmail.com | Owner: jwa@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: couchdb | ---------------------------------+------------------------------------------ Comment(by oddsimons@gmail.com): The install script needs to create the directory for the log file, so try this manually and see if that fixes it for you as well: {{{
sudo mkdir -p /opt/local/var/log/couchdb/ /opt/local/bin/couchdb Apache CouchDB 0.8.1-incubating (LogLevel=info) Apache CouchDB is starting.
Apache CouchDB has started. Time to relax. }}} The same directory creation is missing from the `couchdb-devel` version as well. Both work fine once the log directory is created. -- Ticket URL: <http://trac.macports.org/ticket/16985#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16985: couchdb 0.8.1 does not fully start ---------------------------------+------------------------------------------ Reporter: sethladd@gmail.com | Owner: jwa@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: couchdb | ---------------------------------+------------------------------------------ Comment(by oddsimons@gmail.com): Heh. My mistake in the commands write-up - it needs to be `sudo /opt/local/bin/couchdb` of course... -- Ticket URL: <http://trac.macports.org/ticket/16985#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16985: couchdb 0.8.1 does not fully start --------------------------------+------------------------------------------- Reporter: sethladd@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: couchdb --------------------------------+------------------------------------------- Comment(by oddsimons@…): Fix by creating directory with proper permissions was confirmed by another user on the CouchDB IRC channel today. -- Ticket URL: <http://trac.macports.org/ticket/16985#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16985: couchdb 0.8.1 does not fully start --------------------------------+------------------------------------------- Reporter: sethladd@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: couchdb --------------------------------+------------------------------------------- Comment(by oddsimons@…): Some further digging into the issue made me discover the `+server` variant of the port. So this actually works: {{{ sudo port install couchdb +server # or sudo port install couchdb-devel +server }}} I think most users would expect to be able to serve databases when installing couchdb, and especially since the startup item is not enabled by default anyway. Is there really a good reason for keeping this variant? A CouchDB install as client/libs-only does not make all that much sense to me - but if it does to someone then the `/opt/local/bin/coucdb` startup script shouldn't be created either when not `+server`. It is very confusing. BTW, the URL for the repository has changed now that CouchDB has graduated from incubator. New URL is `http://svn.apache.org/repos/asf/couchdb/trunk`. -- Ticket URL: <http://trac.macports.org/ticket/16985#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16985: couchdb 0.8.1 does not fully start ---------------------------------+------------------------------------------ Reporter: sethladd@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: Port: couchdb | ---------------------------------+------------------------------------------ Changes (by jwa@…): * status: new => closed * resolution: => wontfix Comment: Hi, sorry for the late comment. Probably I'll do not change this for the current version, but this might be a good idea to implement, when a new version is released. I'd guess the server variant will be default, then (it just is usual to make a server variant for this type of port). Thanks for the update of the development version URL, this seems to be quite new, as I regularly livecheck the ports, and this affects the check. -- Ticket URL: <http://trac.macports.org/ticket/16985#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts