Robert, I applied your hint, but it doesn't solve problem. When patching, you have to update openca/lib/servers/ca/functions/initServer script too.
Launching openca_start again, updated files do following errors: -bash-2.05b# ./openca_start Variable "$performance_test" is not imported at /opt/openca/openca/lib/servers/ca/functions/initServer line 417. Variable "@performance" is not imported at /opt/openca/openca/lib/servers/ca/functions/initServer line 418. Variable "@performance" is not imported at /opt/openca/openca/lib/servers/ca/functions/initServer line 420. Variable "@performance" is not imported at /opt/openca/openca/lib/servers/ca/functions/initServer line 421. Global symbol "$LANGUAGE" requires explicit package name at /opt/openca/openca/lib/servers/ca/functions/initServer line 312. Global symbol "$performance_test" requires explicit package name at /opt/openca/openca/lib/servers/ca/functions/initServer line 400. Global symbol "@performance" requires explicit package name at /opt/openca/openca/lib/servers/ca/functions/initServer line 401. Global symbol "@performance" requires explicit package name at /opt/openca/openca/lib/servers/ca/functions/initServer line 401. Global symbol "@performance" requires explicit package name at /opt/openca/openca/lib/servers/ca/functions/initServer line 402. Global symbol "@performance" requires explicit package name at /opt/openca/openca/lib/servers/ca/functions/initServer line 402. Global symbol "$performance_test" requires explicit package name at /opt/openca/openca/lib/servers/ca/functions/initServer line 417. Global symbol "@performance" requires explicit package name at /opt/openca/openca/lib/servers/ca/functions/initServer line 418. Global symbol "@performance" requires explicit package name at /opt/openca/openca/lib/servers/ca/functions/initServer line 420. Global symbol "@performance" requires explicit package name at /opt/openca/openca/lib/servers/ca/functions/initServer line 421. Compilation failed in require at ./openca_start line 52. -bash-2.05b# ./openca_start So question is, what does Foo mean. ( I used OpenCA instead of Foo whith the same result ) :-)) If I comment out "use strict qw(@ISA);;" both in original initServer and openca_start, it seems to change behaviour and is much better. (See trace) -bash-2.05b# ./openca_start Process Backgrounded 2003/11/26-19:28:08 OpenCA::Server (type Net::Server::Fork) starting! pid(9991) -bash-2.05b# Binding to UNIX socket file /opt/openca/openca/var/tmp/openca_socket using SOCK_STREAM Setting gid to "48 48" Setting uid to "48" Couldn't POSIX::setuid to "48" [] It seems, problem has changed. We can trace, why script can't do setuid now. I'm sorry, I can't do more debugging, but my perl knowledge is so poor to fix that troubles. Zdenek > -----Original Message----- > From: Tiller, Robert > [mailto:[EMAIL PROTECTED] On Behalf > Of Tiller, Robert > Sent: Wednesday, November 26, 2003 7:19 PM > To: [EMAIL PROTECTED] > Subject: openca start problem > > > > The perl code has changed according to this msg: > > - use strict qw(@ISA); > - > -will now fail with the error: > - > - Unknown 'strict' tag(s) '@ISA' > - > -The remedy to this problem is to replace this code with the > correct idiom: > - > - use strict; > - use vars qw(@ISA); > - @ISA = qw(Foo); > - > > I don't know what foo should be set to... Any ideas? Maybe OpenCA? > It also seems to fail in the scep code with the same error > that maybe related to the openca start error; even if scep > is disabled in the configure file. > > thanks! > Robert > > Message: 8 > Date: Wed, 26 Nov 2003 16:41:47 +0100 > From: "Hatas, Zdenek" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: [Openca-Users] openca_start problem > Reply-To: [EMAIL PROTECTED] > > Hi, > > I just compiled and installed openca 0.9.2 .=20 > If I install ca (with make install-ca)configure_etc.sh works > fine, all config files are created. When I fire up > openca_start, it stops with a following error: > > -bash-2.05b# ./openca_start > > Unknown 'strict' tag(s) '@ISA' at ./openca_start line 12 > BEGIN failed--compilation aborted at ./openca_start line 12. > -bash-2.05b# -bash-2.05b# pwd /opt/openca/openca/etc -bash-2.05b#=20 > > My server runs on Redhat Linux 9 with perl version 5.8.0 > (package perl-5.8.0-88.3.i386.rpm). > > I installed it as described in Openca Guide. > configure settings follows: > ./configure \ > --with-engine=3Dno \ > --with-httpd-user=3Dapache \ > --with-httpd-group=3Dapache \ > --with-openca-user=3Dmatlas \ > --with-openca-group=3Dmatlas \ > --with-openca-prefix=3D/opt/openca/openca \ > --with-htdocs-fs-prefix=3D/var/www/html \ > --with-cgi-fs-prefix=3D/var/www/cgi-bin \ > --with-web-host=3Dserverca.xxxxx.com \ > --with-ca-organization=3D"HPS" \ > --with-ca-country=3DCZ \ > --with-ldap-port=3D389 \ > --with-ldap-root=3D"cn=3DManager,o=3DHPS,c=3DCZ" \ > --with-ldap-root-pwd=3D"anypw" \ > --with-module-prefix=3D/opt/openca/modules \ > --with-openssl-prefix=3D/opt/openssl \ > --enable-db \ > --disable-dbi \ > --enable-rbac \ > --disable-ocspd \ > --disable-openscep \ > --prefix=3D/opt/openca \ > --with-service-mail-account=3D"[EMAIL PROTECTED]" \ > --with-hierarchy-level=3Dca > > openca is a snapshot of CVS tree openca-0.9 (20031125) > > Is there any problem with my perl or something could be > changed (and I forgot to do it)? > > Zdenek > > > --__--__-- > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users
