[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-10-22 Thread Mike Kenney
Danny Howard, you need to insure that the directories
/var/lib/couchdb/$vers and /var/log/couchdb/$vers exist and are owned by
the user:group couchdb:couchdb ($vers is the package version, currently
0.10.0). The directory permissions should be set to 0770.

Once the directories are created, kill the existing process (sudo
killall couchdb) and restart (sudo service couchdb start).

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-10-22 Thread Danny Howard
Hello,

I can't start couchdb via:
sudo /etc/init.d/couchdb start

And until doing the fix described by Nilas, simply running couchdb
crashed.  Now I can start couchdb with:

sudo couchdb

Alas, /etc/init.d/couchdb is still broken:

0-21:53 d...@noneedto ~$ sudo /etc/init.d/couchdb start
 * Starting database server couchdb  [ OK ] 

(Doesn't actually answer on http://127.0.0.1:5984/ )

0-21:53 d...@noneedto ~$ sudo /etc/init.d/couchdb stop
 * Stopping database server couchdb  [ OK ] 
0-21:53 d...@noneedto ~$ ps auxww | grep couch
couchdb   5611  0.0  0.0   1748   580 pts/1S21:53   0:00 /bin/sh -e 
/usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" 
-b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
couchdb   5815  0.0  0.0   4032   636 pts/1S21:53   0:00 sleep 5
djh   5844  0.0  0.0   4116   800 pts/1S+   21:54   0:00 grep couch
0-21:54 d...@noneedto ~$ sudo killall couchdb

So . . . it would be neat if the init.d worked. :)

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-10-20 Thread Nicklas W Bjurman
Ahh me and CardinalFang on #couc...@freenode figured it out. Seems like
there is a need for another patch including mkdir -p
/var/log/couchdb/0.10.0; chown couchdb:couchdb /var/log/couchdb/0.10.0

I believe CardinalFang may be working on it, though I would sure want to
know how to create such a patch myself so I can contribute more
productively to projects in the future.

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-10-20 Thread Chad Miller
Nicklas, what version?  What does the log file say?  Can you "sudo
strace -f -e trace=file -o couchdb.trace couchdb" and attach the
resulting couchdb.trace file?

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-10-20 Thread Nicklas W Bjurman
I can not get it started, on jaunty I simply did sudo couchdb but using sudo 
couchdb on Karmic, erlang reports:
{"init terminating in 
do_boot",{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1},{erl_eval,do_apply,5},{erl_eval,exprs,5},{init,start_it,1},{init,start_em,1}]}}

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-10-16 Thread Chad Miller
Gareth Jones, you want bug #453049 instead.

** Changed in: couchdb (Ubuntu)
   Status: New => Fix Released

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-10-15 Thread Gareth Jones
I can confirm this problem with the latest Karmic package and that
creating /var/log/couchdb/0.10.0/ with global read/write/execute
permissions works as a temporary fix to the problem.

** Changed in: couchdb (Ubuntu)
   Status: Fix Released => New

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-10-03 Thread Sense Hofstede
Everything works fine when desktopcouch is used to start CouchDB.

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-10-03 Thread Mike Kenney
I can confirm that this bug is present in the latest Karmic package. The
log and database directories are not being created at installation time
and thus the process fails to start.

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-10-03 Thread Kore Nordmann
For the mentioned error the CouchDB wiki suggests that wrong permissions
might lead to this error:
http://wiki.apache.org/couchdb/Error_messages#IncorrectPermissions

After doing an `strace -f -e open couchdb` it looks like the directory
/var/log/couchdb/0.10.0~svn818859 needs to be created and properly
chown'd.

After that mochiweb (the internal httpd) complains that the address is
in use, which `netstat -tulpen` claims otherwise. Changing the port in
/etc/couchdb/local.ini to something else makes CouchDB run on the
changed port, at least as root.

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-09-03 Thread Jamie Bennett
I see this problem with Karmic Alpha 5 and CouchDB 0.10.0a.

Attached crashdump.


** Attachment added: "erl_crash.dump"
   http://launchpadlibrarian.net/31290610/erl_crash.dump

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-08-31 Thread Elliot Murphy
** Changed in: couchdb (Ubuntu)
   Status: Incomplete => Fix Released

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-08-22 Thread Sense Hofstede
CouchDB is running now, so the problem must be gone.

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-08-22 Thread Elliot Murphy
Actually, I see this is probably already fixed. Sense, do you still see
this problem with couchdb 0.9.0-2ubuntu5 ?

** Changed in: couchdb (Ubuntu)
   Status: New => Incomplete

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-08-22 Thread Elliot Murphy
I will try to reproduce. I've been working from a local ppa snapshot of
couchdb in karmic, preparing a new version to be uploaded, so I hadn't
seen these until just today. I've also subscribed to bugs on this
package, so we should be able to get things cleaned up for couchdb very
soon.

** Changed in: couchdb (Ubuntu)
 Assignee: (unassigned) => Elliot Murphy (statik)

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 398380] Re: [karmic] CouchDB crashes on start

2009-07-12 Thread Sense Hofstede

** Attachment added: "erl_crash.dump"
   http://launchpadlibrarian.net/28930661/erl_crash.dump

-- 
[karmic] CouchDB crashes on start
https://bugs.launchpad.net/bugs/398380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs