Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 525 in cherokee: cherokee leaves semephore

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Jul 8, 2009, 12:25 PM

Post #1 of 4 (284 views)
Permalink
Issue 525 in cherokee: cherokee leaves semephore

Status: New
Owner: ----

New issue 525 by bozzaj: cherokee leaves semephore
http://code.google.com/p/cherokee/issues/detail?id=525

What steps will reproduce the problem?
1. Configure cherokee to run as www user/group
2. Make /var/log/cherokee.access/error not writable by www:www
3. Try to start cherokee

What is the expected output? What do you see instead?
Error: Couldn't open '/var/log/cherokee.access' for appending
Cherokee not running, but Semaphore was created and still exists.
Repeated runs of Cherokee will leave additional semaphores, requiring
manually removal.

What version of the product are you using? On what operating system?
0.99.20 - FreeBSD 7.2-STABLE

Please provide any additional information below.
Any type of failure will cause this - I figured it out with the above, but
it also happened if cherokee couldn't bind to the port.



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jul 9, 2009, 12:56 AM

Post #2 of 4 (254 views)
Permalink
Issue 525 in cherokee: cherokee leaves semephore [In reply to]

Updates:
Status: Accepted
Owner: alobbs
Labels: Type-Defect Priority-Medium OpSys-All Component-Logic

Comment #1 on issue 525 by alobbs: cherokee leaves semephore
http://code.google.com/p/cherokee/issues/detail?id=525

Does this patch fix the problem for you?

Index: cherokee/main.c
===================================================================
--- cherokee/main.c (revision 3428)
+++ cherokee/main.c (working copy)
@@ -852,9 +852,6 @@
DELAY_ERROR);
}

- if (! single_time) {
- clean_up();
- }
-
+ clean_up();
return EXIT_OK;
}


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jul 9, 2009, 7:59 AM

Post #3 of 4 (255 views)
Permalink
Issue 525 in cherokee: cherokee leaves semephore [In reply to]

Comment #2 on issue 525 by bozzaj: cherokee leaves semephore
http://code.google.com/p/cherokee/issues/detail?id=525

Nope - Still doesn't seem to hit the clean_up().

Also - failure returns an exit status code of 2. Does that help?


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jul 11, 2009, 7:03 AM

Post #4 of 4 (247 views)
Permalink
Issue 525 in cherokee: cherokee leaves semephore [In reply to]

Updates:
Status: Fixed

Comment #3 on issue 525 by alobbs: cherokee leaves semephore
http://code.google.com/p/cherokee/issues/detail?id=525

r3441 fixed it:

http://svn.cherokee-project.com/changeset/3441

Thanks for reporting and following up!

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.