Bug 57566 - Resin cannot start at system boot
Summary: Resin cannot start at system boot
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: Ernst de Haan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-04 10:10 UTC by Jean-Baptiste Quenot
Modified: 2003-11-20 21:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Quenot 2003-10-04 10:10:05 UTC
Pid file created in /var/run is removed at system boot, thus preventing Resin from starting.

Fix: 

Update the www/resin2 port with the following tarball:
http://caraldi.com/jbq/resin/distfiles/resin2/resin2.tgz

An update for www/resin3 is pending.
How-To-Repeat: Install Resin, start it and reboot.  Resin will not start at boot.
Comment 1 Jean-Baptiste Quenot 2003-10-06 18:24:33 UTC
An update for www/resin3 is now also available for download:

http://caraldi.com/jbq/resin/distfiles/resin3/resin3.tgz
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/
Comment 2 Ernst de Haan freebsd_committer freebsd_triage 2003-10-10 11:10:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->znerd

I'll handle this.
Comment 3 ernst.dehaan 2003-10-10 11:13:18 UTC
Jean-Baptiste,

Officially, the preferred way to send a patch for a port is by attaching it 
to the PR.

If you do upload it somewhere -which I find perfectly fine- please send the 
MD5 in the PR, so the port committer can be sure (s)he has the right file.

Ernst
Comment 4 Jean-Baptiste Quenot 2003-10-10 11:27:28 UTC
* Ernst de Haan:

> If you  do upload it  somewhere -which  I find perfectly  fine- please
> send the MD5  in the PR, so  the port committer can be  sure (s)he has
> the right file.

MD5 (resin2.tgz) = e1845a3d3695bd2332628d3481503dea
MD5 (resin3.tgz) = b2482447c60d1b631f2ed6cd71f5bbce
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/
Comment 5 Jean-Baptiste Quenot 2003-11-17 14:17:03 UTC
A new version of the Resin ports is available:

* Avoid conflict between resin2 and resin3
* Fix resin{2,3}ctl first line (perl path)
* Pid file is no more created in the Makefile
* New resin.sh startup script, manages pid file
* pkg-[de]install and pkg-message are now generated
* Do not write anything after including bsd.port.post.mk
* Packages are now supported (reported by Arcadius Ahouansou)
* Integration with apxs for [de]activating mod_caucho

The MD5 sums are:

MD5 (resin3.tgz) = 63e50897d9ccf03682290ce554fcce43
MD5 (resin2.tgz) = a43662328c61f116814a8c0e5ab42b49

Thanks in advance,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/
Comment 6 Greg Lewis freebsd_committer freebsd_triage 2003-11-20 21:44:42 UTC
State Changed
From-To: open->closed

Committed, thanks! 

Please check the port with portlint next time.  I fixed a number of minor 
issues with the ports (mainly echo -> ${ECHO_CMD}).