Bug 147187 - www/lighttpd: lighttpd not running? (check /var/run/lighttpd.pid). Starting lighttpd. 2010-05-29 15:23:55: (network.c.535) SSL: error:00000000:lib(0):func(0):reason(0) /usr/local/etc/rc.d/lighttpd: WARNING: failed to start lighttpd
Summary: www/lighttpd: lighttpd not running? (check /var/run/lighttpd.pid). Starting l...
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: Marcus Alves Grando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-29 14:40 UTC by O. Hartmann
Modified: 2010-06-17 20:50 UTC (History)
0 users

See Also:


Attachments
patch-src_network.c (588 bytes, text/plain)
2010-05-30 14:10 UTC, O. Hartmann
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2010-05-29 14:40:08 UTC
After a full update from FreeBSD 8.0-STABLE to FreeBSD 8.1-PRERELEASE where OpenSSL has been updated (I suppose),  www/lighttpd was updated from 1.4.26 -> 1.4.26_1 and endet up in startup problems.

When trying to start lighttpd via normal startup process (rc.conf/rc.conf.local or manually) one receive this error:

Starting lighttpd.
2010-05-29 13:33:42: (network.c.535) SSL: error:00000000:lib(0):func(0):reason(0) 
/usr/local/etc/rc.d/lighttpd: WARNING: failed to start lighttpd


This happens on ALL(!) boxes running FreeBSD 8.1-PRERELEASE/amd64 AND 9.0-CURRENT/amd64.

I deperately tried generating new self-signed certificates since I thought SSLv2 has been gone into my certificates but even with options v3_req and v3_cert in openssl.conf lighttpd refuses to start with the above mentioned error. Since this happens on all of our FreeBSD amd64 running boxes (i do not have an i386 box handy) I assume this an serious bug.

How-To-Repeat: Install and try running lighttpd 1.4.26_1 from ports with SSL enabled on FreeBSD 9.0-CURRENT/amd64 and 8.1-PRERELEASE/amd64
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-05-29 14:40:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mnag

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 O. Hartmann 2010-05-30 14:10:30 UTC
This bug seems to be well-known (see 
http://redmine.lighttpd.net/issues/2157).

Appended is a patchfile which works for me and solves the issue 
successfully on all boxes in questions.

Regards,
Oliver
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-06-17 20:46:26 UTC
garga       2010-06-17 19:46:06 UTC

  FreeBSD ports repository

  Modified files:
    www/lighttpd         Makefile 
  Added files:
    www/lighttpd/files   patch-src__network.c 
  Log:
  - Fix SSL related error, lighttpd bug #2157
  - Bump PORTREVISION
  
  PR:             ports/147187
  Submitted by:   Hartmann, "O." <ohartman@mail.zedat.fu-berlin.de>
  Approved by:    mnag (maintainer)
  Obtained from:  http://redmine.lighttpd.net/issues/2157
  
  Revision  Changes    Path
  1.80      +1 -1      ports/www/lighttpd/Makefile
  1.1       +11 -0     ports/www/lighttpd/files/patch-src__network.c (new)
_______________________________________________
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 Renato Botelho freebsd_committer freebsd_triage 2010-06-17 20:46:30 UTC
State Changed
From-To: open->closed

Committed. Thanks!