Bug 126774 - www/cherokee-devel - [cherokee-devel] v0.8.1_1 don't start
Summary: www/cherokee-devel - [cherokee-devel] v0.8.1_1 don't start
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-24 08:00 UTC by regisr
Modified: 2008-08-24 10:40 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 regisr 2008-08-24 08:00:13 UTC
Version 0.8.1_1 don't run:

# ./cherokee start
Starting cherokee.
server.c:1295: Invalid Virtual Server entry 'default'
Couldn't read the config file: /usr/local/etc/cherokee/cherokee.conf

-rw-r--r--  1 root  wheel  17788  8 aoû 23:48 usr/local/etc/cherokee/cherokee.conf

Downgrade to 0.7.2_1: this version run fine.

Configuration: only the php fastCGI was added to the default Virtual Server and another Virtuel was created.
Comment 1 regisr 2008-08-24 08:24:36 UTC
Fix:

Copy the previous configuration file
cp  /usr/local/etc/cherokee/cherokee.conf /usr/local/etc/cherokee/cherokee.conf.07

Run the python script:
ENV
['WRKDIRPREFIX']/www/cherokee-devel/work/cherokee-0.8.1/contrib/07to08.py /usr/local/etc/cherokee/cherokee.conf.07 /usr/local/etc/cherokee/cherokee.conf.08

and copy the new to  /usr/local/etc/cherokee/cherokee.conf:
cp  /usr/local/etc/cherokee/cherokee.conf.08 /usr/local/etc/cherokee/cherokee.conf
(if file location is not changed)

This script is not installed.


-- 
regis
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2008-08-24 09:26:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

Over to maintainer.
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-08-24 10:29:13 UTC
beech       2008-08-24 09:29:04 UTC

  FreeBSD ports repository

  Modified files:
    www/cherokee-devel   Makefile pkg-plist 
  Log:
  - Fix so port respects %localstatedir%
  - Fix .conf file handling [1]
  - Bump portrevision
  
  PR:             ports/126774
  Submitted by:   regisr <regisr@pobox.com> [1]
  
  Revision  Changes    Path
  1.54      +5 -1      ports/www/cherokee-devel/Makefile
  1.25      +2 -2      ports/www/cherokee-devel/pkg-plist
_______________________________________________
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 4 Beech Rintoul freebsd_committer freebsd_triage 2008-08-24 10:29:52 UTC
State Changed
From-To: open->closed

Committed, Thanks!