[
https://issues.apache.org/jira/browse/COUCHDB-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671440#action_12671440
]
Patrick Antivackis commented on COUCHDB-128:
--------------------------------------------
On my side there are two things that should be changed in this file
1) change the first line
#!/bin/sh -e
by
#!/bin/sh
in fact, i tested Linux Fedora, CentOs and Linux Mandriva and all not succeed
to start with the -e flag.
If i do with the original init script :
/opt/couchdb/etc/rc.d/couchdb start
Nothing is started
if i do with the original script :
/bin/sh /opt/couchdb/etc/rc.d/couchdb start
I get a :
Starting database server couchdb
And couch is indeed started.
If i edit the init script and remove the -e flag and launch
/opt/couchdb/etc/rc.d/couchdb start
I get a :
Starting database server couchdb
And couch is indeed started.
I look in all the scripts in /etc/init.d and none have the -e flag
2) it should be necesssary to add
COUCHDB_USER=couchdb
in the init script to reflect the security consideration in the README file in
order to not start couch as a root user
Regards
> couchdb is not starting properly from init.d script in trunk
> ------------------------------------------------------------
>
> Key: COUCHDB-128
> URL: https://issues.apache.org/jira/browse/COUCHDB-128
> Project: CouchDB
> Issue Type: Bug
> Components: Build System
> Reporter: Noah Slater
> Assignee: Noah Slater
> Priority: Blocker
> Fix For: 0.9
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.