ports/126954: cherokee 0.8.1 isn't starting

Dulmandakh Sukhbaatar dulmandakh at gmail.com
Fri Aug 29 16:00:04 UTC 2008


>Number:         126954
>Category:       ports
>Synopsis:       cherokee 0.8.1 isn't starting
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 29 16:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dulmandakh Sukhbaatar
>Release:        7.0
>Organization:
>Environment:
FreeBSD nagios.gov.mn 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Fri Aug 22 19:28:23 ULAT 2008     root at nagios.gov.mn:/usr/obj/usr/src/sys/NAGIOS  amd64
>Description:
after installing cherokee web server from ports (updated on 2008-08-29) I cannot start it using /usr/local/etc/rc.d/cherokee start command. I've added cherokee_enable="YES" in /etc/rc.conf. when I issue the command, error message below:

Starting cherokee.
cherokee: invalid option -- b
Cherokee Web Server
Usage: cherokee [options]

  -h,  --help                   Print this help
  -V,  --version                Print version and exit
  -t,  --test                   Just test configuration file
  -d,  --detach                 Detach from the console
  -C,  --config=PATH            Configuration file
  -p,  --port=NUM               TCP port number
  -r,  --documentroot=PATH      Server directory content
  -i,  --print-server-info      Print server technical information

Report bugs to http://bugs.cherokee-project.com

I think that they've removed -b option, but maintainer didn't updated startup script
>How-To-Repeat:
it's easy. do make install in /usr/ports/www/cherokee/. and add cherokee_enable="YES" to /etc/rc.conf. after all issue /usr/local/etc/rc.d/cherokee start
>Fix:
--- cherokee.orig	2008-08-29 23:57:59.000000000 +0800
+++ cherokee	2008-08-29 23:49:20.000000000 +0800
@@ -25,7 +25,7 @@
 : ${cherokee_conf="/usr/local/etc/cherokee/cherokee.conf"}
 
 command=/usr/local/sbin/cherokee
-command_args="-C ${cherokee_conf} -b"
+command_args="-C ${cherokee_conf}"
 pidfile=/var/run/cherokee.pid
 required_files=${cherokee_conf}
 stop_postcmd=stop_postcmd

patch to rc script.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list