Re: [Openca-Users] RedHat Installation Issue

2003-10-13 Thread Michael Bell
Christopher Harrington wrote:
Hi all,

I was able to figure out the correct Apache settings after another cup
of Coffee :) 

So now when I click on Initialize Database I get a blank page. I checked
and the target points to ca in the cgi-bin. A quick look at the Apache
erro log revealed this:
[Thu Oct 09 14:50:52 2003] [error] [client 127.0.0.1] Undefined
subroutine main::configError called at /var/www/cgi-bin/ca/ca line 86.,
referer: http://localhost/htdocs/ca/
Any thoughts on why that error?
I removed the other mail to fast so perhaps it is the same answer to the 
same question of the same user - please verify that you don't use 
--enable-apckage-build.

configError is part of misc-utils.lib. Simply does a find / -name 
misc-utils.lib -print to check your system for a correct installation 
(if you like fast searchs then specify a better path than root).

Michael
--
---
Michael Bell   Email: [EMAIL PROTECTED]
ZE Computer- und MedienserviceTel.: +49 (0)30-2093 2482
(Computing Centre)Fax:  +49 (0)30-2093 2704
Humboldt-University of Berlin
Unter den Linden 6
10099 Berlin   Email (private): [EMAIL PROTECTED]
Germany   http://www.openca.org


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


Re: [Openca-Users] RedHat Installation Issue

2003-10-13 Thread Christopher Harrington
 Any thoughts on why that error?
 
 I removed the other mail to fast so perhaps it is the same answer to the 
 same question of the same user - please verify that you don't use 
 --enable-apckage-build.
 
 configError is part of misc-utils.lib. Simply does a find / -name 
 misc-utils.lib -print to check your system for a correct installation 
 (if you like fast searchs then specify a better path than root).
 
 Michael

Micheal,

Thanks for the reply. I do not have --enable-package-build.  Here is my
./configure 


./configure --enable-ocspd --enable-scep --with-hierarchy-level=ca
--with-hsm-utility= --with-web-host=localhost --with-ca-organization=NMI
--with-ca-country=US --with-openca-user=chris --with-httpd-user=chris
--with-httpd-group=chris --with-httpd-fs-prefix=/var/www/html
--with-cgi-fs-prefix=/var/www/html/cgi-bin


The misc-utils.lib file is in
/usr/local/openca-0.9.1.3/src/common/lib/functions/misc-utils.lib

Also wort noting is that I have to manually go into the /src/scep
directory and run ./configure to create a make target. If not, when I
run Make globally it fails because of no target in that directory.

Thanks,

--Chris





---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


Re: [Openca-Users] RedHat Installation Issue

2003-10-10 Thread Christopher Harrington

n Fri, 2003-10-10 at 04:05, Lorenzo Cipparrone wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thursday 09 October 2003 21:36, Christopher Harrington wrote:
  [Thu Oct 09 14:50:52 2003] [error] [client 127.0.0.1] Undefined
  subroutine main::configError called at /var/www/cgi-bin/ca/ca line 86.,
  referer: http://localhost/htdocs/ca/
 
 dunno what's the problem... I only know that in the last few days a lot of 
 ppl are reporting this same problem... and no answer... :(
 

Does anyone know where configError is defined?  Is it part of a Perl
module?



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


Re: [Openca-Users] RedHat Installation Issue

2003-10-10 Thread Kevin Blanchard

I having been doing some work with openca on RH9, my first recommendation is to download a version of apache from their site and recompile it before going any further. My exp. with RH is that many of the compiled binaries are incomplete. Try downloading it, recompile and then try it again, and let me know if you still get the same error, and make sure you install apache in a NEW directory, now the same :)Kevin BlanchardPresident / CEONykon Systemshttp://www.nykon-systems.net"Making Linux a little less scary since 2001"

Re: [Openca-Users] RedHat Installation Issue

2003-10-10 Thread Christopher Harrington
On Fri, 2003-10-10 at 10:43, Kevin Blanchard wrote:
 I having been doing some work with openca on RH9, my first
 recommendation is to download a version of apache from their site and
 recompile it before going any further. My exp. with RH is that many of
 the compiled binaries are incomplete. Try downloading it, recompile
 and then try it again, and let me know if you still get the same
 error, and make sure you install apache in a NEW directory, now the
 same :)


I removed the RH9 Apache install and compiled from source. I get the
same error in the logs:

[Fri Oct 10 15:55:08 2003] [error] [client 127.0.0.1] Undefined
subroutine main::configError called at /usr/local/apache2/cgi-bin/ca/ca
line 86., referer: http://localhost/ca/index.html

configError is not defined somewhere. My guess is it is defined in a
package or module that I dont have or have the wrong version of.

Is there a way to find out where this file is defined?

--Chris



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


Re: [Openca-Users] RedHat Installation Issue

2003-10-10 Thread Kevin Blanchard
out of curiosity... what is the output of your "perl -V" ?
Christopher Harrington [EMAIL PROTECTED] wrote:
On Fri, 2003-10-10 at 10:43, Kevin Blanchard wrote: I having been doing some work with openca on RH9, my first recommendation is to download a version of apache from their site and recompile it before going any further. My exp. with RH is that many of the compiled binaries are incomplete. Try downloading it, recompile and then try it again, and let me know if you still get the same error, and make sure you install apache in a NEW directory, now the same :)I removed the RH9 Apache install and compiled from source. I get thesame error in the logs:[Fri Oct 10 15:55:08 2003] [error] [client 127.0.0.1] Undefinedsubroutine main::configError called at /usr/local/apache2/cgi-bin/ca/caline 86., referer: http://localhost/ca/index.htmlconfigError is not defined somewhere. My guess is it is
 defined in apackage or module that I dont have or have the wrong version of.Is there a way to find out where this file is defined?--Chris---This SF.net email is sponsored by: SF.net Giveback Program.SourceForge.net hosts over 70,000 Open Source Projects.See the people who have HELPED US provide better services:Click here: http://sourceforge.net/supporters.php___Openca-Users mailing list[EMAIL PROTECTED]https://lists.sourceforge.net/lists/listinfo/openca-users

Re: [Openca-Users] RedHat Installation Issue

2003-10-10 Thread Christopher Harrington
On Fri, 2003-10-10 at 16:32, Kevin Blanchard wrote:
 out of curiosity... what is the output of your perl -V ?
 

Here is my Perl -V

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
osname=linux, osvers=2.4.21-1.1931.2.382.entsmp,
archname=i386-linux-thread-multi
uname='linux str'
config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686
-Dmyhostname=localhost [EMAIL PROTECTED] -Dcc=gcc -Dcf_by=Red
Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux
-Dvendorprefix=/usr -Dsiteprefix=/usr
-Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads
-Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db
-Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef'
 useithreads=define usemultiplicity=
useperlio= d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=un uselongdouble=
usemymalloc=, bincompat5005=undef
  Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.2.2 20030222 (Red Hat Linux 3.2.2-5)',
gccosandvers=''
gccversion='3.2.2 200302'
intsize=r, longsize=r, ptrsize=5, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long'
k', ivsize=4'
ivtype='l, nvtype='double'
o_nonbl', nvsize=, Off_t='', lseeksize=8
alignbytes=4, prototype=define
  Linker and Libraries:
ld='gcc'
l', ldflags =' -L/u'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libper
gnulibc_version='2.3.2'
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC'
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s
Unicode/Normalize XS/A'
 
 
Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Locally applied patches:
MAINT18379
  Built under linux
  Compiled at Aug 13 2003 11:47:58
  @INC:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0




---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


[Openca-Users] RedHat Installation Issue

2003-10-09 Thread Christopher Harrington
Hello all,

I am trying to install OpenCA on a RH 9.0 install and I cannot seem to
get the ./configure options correct. Specifically the www / apache
options.

The apache root is /var/www/html and the cgi-bin is
/var/www/html/cgi-bin.

Here is the command I am trying:

./configure --enable-ocspd --enable-scep --with-hierarchy-level=ca
--with-hsm-utility= --with-web-host=localhost --with-ca-organization=NMI
--with-ca-country=US --with-openca-user=chris --with-httpd-user=chris
--with-httpd-group=chris --with-httpd-fs-prefix=/var/www/html
--with-cgi-fs-prefix=/var/www/html/cgi-bin


After I run Make, Make Install-ca I can connect to
http://localhost/htdocs/ca/index.html. When I try to initialize the
database I get a 404 error. The Initialize Database link is pointing
to http://localhost/cgi-bin/ca/ca?cmd=genDB

That cgi-bin directory is empty. Here is the apache error log:


[Wed Oct 08 17:38:44 2003] [notice] Apache/2.0.40 (Red Hat Linux)
configured -- resuming normal operations
[Wed Oct 08 17:48:21 2003] [error] [client 127.0.0.1] File does not
exist: /var/www/html/ca
[Wed Oct 08 17:49:45 2003] [error] [client 127.0.0.1] script not found
or unable to stat: /var/www/cgi-bin/ca, referer:
http://localhost/htdocs/ca/index.html
[Thu Oct 09 09:43:05 2003] [error] [client 127.0.0.1] script not found
or unable to stat: /var/www/cgi-bin/ca, referer:
http://localhost/htdocs/ca/index.html

I know the issue is with my configuration options, I just cant seem to
figure them out.

Thanks for tour help,

--Chris






---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


Re: [Openca-Users] RedHat Installation Issue

2003-10-09 Thread Christopher Harrington
Hi all,

I was able to figure out the correct Apache settings after another cup
of Coffee :) 

So now when I click on Initialize Database I get a blank page. I checked
and the target points to ca in the cgi-bin. A quick look at the Apache
erro log revealed this:

[Thu Oct 09 14:50:52 2003] [error] [client 127.0.0.1] Undefined
subroutine main::configError called at /var/www/cgi-bin/ca/ca line 86.,
referer: http://localhost/htdocs/ca/

Any thoughts on why that error?

I also noticed that I have to manually go into the src/scep/ directory
and run ./configure even though I specify --enable-scep.  If I do not
then Make fails because of no target.

Thanks,

--Chris



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users