Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2002 00:50:43 -0400 (EDT)
From:      Alan Eldridge <ports@geeksrus.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nbm@FreeBSD.org
Subject:   ports/37878: www/zope: redirect stderr as well in rc.d/zope.sh so boot-time startup does not fail
Message-ID:  <200205090450.g494ohUC083179@wwweasel.geeksrus.net>

next in thread | raw e-mail | index | archive | help

>Number:         37878
>Category:       ports
>Synopsis:       www/zope: redirect stderr as well in rc.d/zope.sh so boot-time startup does not fail
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 08 21:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alan Eldridge
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Geeksrus.NET
>Environment:
System: FreeBSD wwweasel.geeksrus.net 4.5-STABLE FreeBSD 4.5-STABLE #1: Tue Apr 30 11:24:21 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386

>Description:

The boot-time startup of zope.sh fails for me. Adding the redirected stderr to
the startup script cured the problem.

>How-To-Repeat:
>Fix:

==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==
Index: www/zope/files/zope.sh.in
===================================================================
RCS file: /home/ncvs/ports/www/zope/files/zope.sh.in,v
retrieving revision 1.3
diff -u -3 -r1.3 zope.sh.in
--- www/zope/files/zope.sh.in	5 Feb 2002 20:26:09 -0000	1.3
+++ www/zope/files/zope.sh.in	9 May 2002 04:44:49 -0000
@@ -8,7 +8,8 @@
 	       -f %%ZOPE_FTP_PORT%% \
 	       -m %%ZOPE_MONITOR_PORT%% \
 	       -u %%ZOPE_USER%% \
-	       -p %%CGIBINDIR%%/Zope.cgi >> %%ZOPEBASEDIR%%/var/zope-output &
+	       -p %%CGIBINDIR%%/Zope.cgi \
+	       >> %%ZOPEBASEDIR%%/var/zope-output 2>&1 &
 	echo -n " Zope"
 	;;
 stop)
==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205090450.g494ohUC083179>