Public bug reported: "start couchdb" seems to be not starting couchdb. In the "/var/log/upstart/couchdb.log" file the following line was repeated many times: /proc/self/fd/9: line 4: chdir: command not found
In the "script" section of the upstart config file of couchdb there is a "chdir" command which could not be interpreted by the bash. However, "chdir" is valid keyword of upstart, since it will be interpreted by the shell it should be "cd" instead. After changing "chdir" to "cd" the problem does not occur anymore. Environment: # lsb_release -rd Description: Ubuntu 12.04.4 LTS Release: 12.04 couchdb version: ii couchdb 1.5.0-0ubuntu2 RESTful document oriented database - system-wide instance other packages: ii couchdb-bin 1.5.0-0ubuntu2 RESTful document oriented database ii couchdb-common 1.5.0-0ubuntu2 RESTful document oriented database - common data ii bash 4.2-2ubuntu2.1 GNU Bourne Again SHell ii libc-bin 2.15-0ubuntu10.5 Embedded GNU C Library: Binaries ii libc6 2.15-0ubuntu10.5 Embedded GNU C Library: Shared libraries ii libc6:i386 2.15-0ubuntu10.5 Embedded GNU C Library: Shared libraries ii upstart 1.5-0ubuntu7.2 event-based init daemon kernel: Linux foo 2.6.32-042stab085.20 #1 SMP Fri Mar 21 19:07:05 MSK 2014 x86_64 x86_64 x86_64 GNU/Linux ** Affects: couchdb (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1303394 Title: Upstart script fails at "chdir" command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/couchdb/+bug/1303394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs