Bug 126954 - www/cherokee 0.8.1 isn't starting
Summary: www/cherokee 0.8.1 isn't starting
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-29 17:00 UTC by Dulmandakh Sukhbaatar
Modified: 2008-08-30 06:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dulmandakh Sukhbaatar 2008-08-29 17:00:03 UTC
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

Fix: 

patch to rc script.--RDFJnUGQWQUGm13MAsRIyNKd8o2d7m4c8qoEdxM30G4ZpElQ
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- 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
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
Comment 1 Beech Rintoul freebsd_committer freebsd_triage 2008-08-29 18:23:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

Mine!
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-08-29 18:43:26 UTC
beech       2008-08-29 17:43:09 UTC

  FreeBSD ports repository

  Modified files:
    www/cherokee         Makefile 
    www/cherokee/files   cherokee.sh.in 
  Log:
  - Fix rc script
  - Bump portrevision
  
  PR:             ports/126954
  Submitted by:   Dulmandakh Sukhbaatar <dulmandakh@gmail.com>
  
  Revision  Changes    Path
  1.45      +1 -0      ports/www/cherokee/Makefile
  1.6       +2 -2      ports/www/cherokee/files/cherokee.sh.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Beech Rintoul freebsd_committer freebsd_triage 2008-08-29 18:43:32 UTC
State Changed
From-To: open->closed

Committed, Thanks!
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2008-08-30 06:26:05 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool)