RE: Help with Apache::Status
It seems I forgot to pre-load the Apache::Status module, it works now once I add the following line in configuration file: PerlModule Apache::Status; I also pre-loaded B::Terse in the startup.pl. Thanks James -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 04, 2000 5:36 AM To: James Xie Cc: [EMAIL PROTECTED] Subject: Re: Help with Apache::Status On Tue, 3 Oct 2000, James Xie wrote: I try to use Apache::Status to find out memory usage of my perl scripts, I configured the system according to the mod_perl guide: Add the following lines to httpd.conf Location /perl-status SetHandler perl-script PerlHandler Apache::Status order deny,allow /Location PerlSetVar StatusOptionsAll On PerlSetVar StatusTerse On PerlSetVar StatusTerseSize On PerlSetVar StatusTerseSizeMainSummary On PerlModule B::TerseSize I also installed B-Size-0.04 and Devel-Symdump on the system. I got internal server log every time I try to access /perl-status. This is what in the log file: [Tue Oct 3 15:49:15 2000] [error] [Tue Oct 3 15:49:15 2000] null: Undefined su broutine Apache::Status::handler called. If I remove PerlModule B::TerseSize from httpd.conf, I can get to the /perl-status page but I got error again when I click on the memory usage button. What did I miss? I think I've seen it before, but probably forgot to document it. If I remember correctly you have to preload one of the modules it uses. May be B::Terse? As for PerlSetVar StatusOptionsAll On turns all the options On, my bad, should fix that. You shouldn't set it unless you want all the options to be On. Tell me whether it worked for you and I'll fix the guide accordingly. Thanks. Thanks James _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://jazzvalley.com http://singlesheaven.com http://perlmonth.com perl.org apache.org
Help with Apache::Status
I try to use Apache::Status to find out memory usage of my perl scripts, I configured the system according to the mod_perl guide: Add the following lines to httpd.conf Location /perl-status SetHandler perl-script PerlHandler Apache::Status order deny,allow /Location PerlSetVar StatusOptionsAll On PerlSetVar StatusTerse On PerlSetVar StatusTerseSize On PerlSetVar StatusTerseSizeMainSummary On PerlModule B::TerseSize I also installed B-Size-0.04 and Devel-Symdump on the system. I got internal server log every time I try to access /perl-status. This is what in the log file: [Tue Oct 3 15:49:15 2000] [error] [Tue Oct 3 15:49:15 2000] null: Undefined su broutine Apache::Status::handler called. If I remove PerlModule B::TerseSize from httpd.conf, I can get to the /perl-status page but I got error again when I click on the memory usage button. What did I miss? Thanks James
RE: Accessing images from a different server
I have similar configurations, this is what I did: Mount image directory on machine_b to /usr/local/apache/htdocs/images on machine_a, link image files as /image/.tif. -Original Message- From: Kairam, Raj [mailto:[EMAIL PROTECTED]] Sent: Monday, September 25, 2000 8:19 AM To: '[EMAIL PROTECTED]' Cc: Kairam, Raj Subject: Accessing images from a different server I have Apache 1.3.12 running on a HP-UX 11 (Machine_A). The document root is /usr/local/apache/htdocs. I need the ability to make images on a different HP-UX 10.20 (Machine_B) available for users from a web browser. The images are in a directory /vault30 which is exported on Machine_B and is nfs mounted on Machine_A. In other words from Machine_A I can cd to /vault30 and see the images ( 217359-0-2.tif) as if it is a local file. I have the file /usr/local/apache/htdocs/index.html which has the following line PIMG SRC="/vault30/217359-0-2.tif"BR From a browser, if the user gives the URL as http://Machine_A/index.html the browser should let him access the file 217359-0-2.tif. The browser has a plugin and that can view this file if it is actually there in /usr/local/apache/htdocs directory. Since the file is physically located on a different machine, despite the directory being nfs mounted, the browser fails to access that file. How do I make the Apache Server on Machine_A get to the file on Machine_B and make it available from the browser ?. Any advise on how to configure this in httpd.conf will be greatly appreciated. Thanks Raj Kairam
Help, using Apache::StatINC
I try to use the Apache::StatINC according to the instruction. Add the following line in startup.pl: use Apache::StatINC Add the following line in perl.conf: PerlInitHandler Apache::StatINC I put a test library module test.pm in /usr/local/esorn/perl/Apache directory, the library path is pushed into @INC in the startup.pl I wrote a simple registry script to test the library #!/usr/bin/perl -w use CGI qw(:standard); use Apache::test ('test'); print header, start_html; test(); Here is problem I have: 1. The module works ok but when I modify the library module, it didn't get reloaded. 2. I got the following error entry in error_log every time I reload the test script null: Apache::StatINC: Can't locate /usr/local/apache/conf/startup.pl Not quite sure what the error means, did I miss something in the setup process? I'm running Apache 1.3.12 with mod_perl 1.23. Thank you in advance! James
Connect to Informix remote DB
I have two Linux (Redhat 6.0) boxes both have Apache 1.3.12 and mod_perl 1.23 installed, one of them (let's call it A box) also has Informix 7.3 installed. I installed DBI module and Informix DBD (1.0) on both machines, On B box, "make test" for informix DBD went through ok against the database on A box. The following DBI script went through ok on A Box, but it failed on B box. my $host = $r-get_remote_host; my $dbh = DBI-connect("DBI:Informix:esorn"); my $sth = $dbh-prepare("SELECT * FROM user" ); . Here is what I got from the error_log on B box: DBI-connect failed: SQL: -951: Incorrect password or user webuser is not known on the database server. at /usr/local/esorn/lib /perl/Apache/TestDBI.pm line 12 webuser is the account I run Apache process. When I change the script as following: my $host = $r-get_remote_host; my $dbh = DBI-connect("DBI:Informix:esorn","informix","informix"); my $sth = $dbh-prepare("SELECT * FROM user" ); . Here is what I got from the error_log on B box: DBI-connect failed: SQL: -952: User's password is not correct for the database server. The user "informix" with password "informix" do exist on A box. How do I fix this problem ? Thanks James
RE: Connect to Informix remote DB
I don't have .rhosts on A Box but I do have hosts.equiv on A Box c420rux1 (B Box) B Box also has the entry in sqlhosts pointed to A box (c407rux3): esorn onsoctcpc407rux3ifm I don't think I can pass Informix DBD's make test if I don't have these things set correctly. Thanks -Original Message- From: Honza Pazdziora [mailto:[EMAIL PROTECTED]] Sent: Monday, June 12, 2000 9:52 AM To: James Xie Cc: [EMAIL PROTECTED] Subject: Re: Connect to Informix remote DB On Mon, Jun 12, 2000 at 09:32:11AM -0700, James Xie wrote: I have two Linux (Redhat 6.0) boxes both have Apache 1.3.12 and mod_perl 1.23 installed, one of them (let's call it A box) also has Informix 7.3 installed. I installed DBI module and Informix DBD (1.0) on both machines, On B box, "make test" for informix DBD went through ok against the database on A box. ... Do you have correct .rhosts set on the A box? Does the B box have sqlhosts that would point esorn to box A? -- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, DBI, Oracle, MySQL, auth. WWW servers, MTB, Spain.
RE: [ANNOUNCE] Apache::Session 1.51
Which version of Storable module do I need for Session 1.51? Storable-0.6.11 ? it's still under beta testing. Thanks James
Upload file without file-selection field
Is there a way I can upload files from client machines to server without using the browse button (file-selection field) ? Basically what I need is to set file names in the script somewhere(?) before users click on submit button. Sorry I'm new to both mod_perl and Apache, I don't know what I want is possible or not with Apache:Request. I did install the Apache::Request module (libapreq) and run through the perl sample ok but it needs user to select file before upload. Thanks James
RE: perl.conf file
Thanks! Problem solved! IfModule mod_perl.c conf/Include perl.conf /IfModule -Original Message- From: Jeff Beard [mailto:[EMAIL PROTECTED]] Sent: Friday, May 05, 2000 8:33 PM To: James Xie; [EMAIL PROTECTED] Subject: Re: perl.conf file If you'll forgive a stupid question, did you include the perl.conf in the httpd.conf: Include perl.conf I've also done this: IfModule mod_perl.c Include perl.conf /IfModule --Jeff
RE: Help - Install mod_perl-1.23
Thanks, I finally got the problem resolved. It's the permission problem, I used Linuxconf to create my account, for some reason it didn't put my account into users group. I changed my group from passwd file directly, login as myself, re-install mod_perl. Everything was working fine now. James
perl.conf file
I was trying the "Hello World" sample provided by Lincoln Doug's book. It says I can put location directive in the "perl.conf" file but I don't have this file on my system. I created one according to the book but it didn't work, the server cannot find the hello world program when I try to access it through browser. If I put everything in the httpd.conf then the program works fine. Is perl.conf part of Apache? James [EMAIL PROTECTED]
RE: Help - Install mod_perl-1.23
It seems I have some kind of permission problem but I don't know how to resolve it. Please take a look at the outputs from the commands I run. Really appreciate your help! James Helllo, I recently downloaded Apache_1.3.12 and installed it on Redhat 6.1, everything was working fine. I run into problems when I tried to install mod_perl-1.23. Everything was compiled ok, but I got error messages (see below) when I try to run the make test. I'm new to both Apache and mod_perl, thank you for your help in advance. still waiting for server to warm up...not ok hmm, what happens if you run: % make start_httpd % GET http://localhost:8529/perl/perl-status % make kill_httpd Here is what I get: HTML HEADTITLEAn Error Occurred/TITLE/HEAD BODY H1An Error Occurred/h1 403 Forbidden /BODY /HTML ? you can also get more details on why apache isn't reponding like so: % make start_httpd % strace -f -s1024 -o strace.out -p `cat t/logs/httpd.pid` % make run_tests % make kill_httpd have a look at strace.out Here is the strace.out 4145 accept(16, {sin_family=AF_INET, sin_port=htons(1113), sin_addr=inet_addr("127.0.0.1")}, [16]) = 4 4145 fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 4145 rt_sigaction(SIGUSR1, {SIG_IGN}, {0x809cdd4, [], SA_INTERRUPT|0x400}, 8) = 0 4145 getsockname(4, {sin_family=AF_INET, sin_port=htons(8529), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 4145 setsockopt(4, IPPROTO_TCP1, [1], 4) = 0 4145 brk(0x85ce000)= 0x85ce000 4145 brk(0x85d1000)= 0x85d1000 4145 alarm(300)= 0 4145 read(4, "GET /test.html HTTP/1.0\r\nHost: localhost:8529\r\nUser-Agent: libwww-perl/5.48\r\n\r\n", 4096) = 79 4145 rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0 4145 time(NULL)= 957457364 4145 alarm(300)= 300 4145 alarm(0) = 300 4145 rt_sigaction(SIGALRM, NULL, {0x809b7c0, [], SA_INTERRUPT|0x400}, 8) = 0 4145 dup2(15, 2) = 2 4145 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 4145 stat("/home/jxie/mod_perl-1.23/t/docs/test.html", 0xbabc) = -1 EACCES (Permission denied) 4145 alarm(300)= 0 4145 alarm(0) = 300 4145 alarm(300)= 0 4145 alarm(0) = 300 4145 write(4, "HTTP/1.1 403 Forbidden\r\nDate: Thu, 04 May 2000 16:22:44 GMT\r\nServer: Apache/1.3.12 (Unix) mod_perl/1.23 Perl/5.00503\r\nConnection: close\r\nContent-Type: text/html; charset=iso-8859-1\r\n\r\n!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\"\nHTMLHEAD\nTITLE403 Forbidden/TITLE\n/HEADBODY\nH1Forbidden/H1\nYou don\'t have permission to access /test.html\non this server.P\n/BODY/HTML\n", 391) = 391 4145 time(NULL)= 957457364 4145 write(17, "127.0.0.1 - - [04/May/2000:09:22:44 -0700] \"GET /test.html HTTP/1.0\" 403 207\n", 77) = 77 4145 alarm(30) = 0 4145 shutdown(4, 1 /* send */) = 0 4145 select(5, [4], NULL, NULL, {2, 0}) = 1 (in [4], left {2, 0}) 4145 read(4, "", 512) = 0 4145 close(4) = 0 4145 alarm(0) = 30 4145 rt_sigaction(SIGUSR1, {0x809cdd4, [], SA_INTERRUPT|0x400}, {SIG_IGN}, 8) = 0 4145 alarm(0) = 0 4145 rt_sigaction(SIGALRM, {0x809b7c0, [], SA_RESTART|0x400}, {0x809b7c0, [], SA_INTERRUPT|0x400}, 8) = 0 4145 fcntl(18, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0 4145 accept(16, {sin_family=AF_INET, sin_port=htons(1114), sin_addr=inet_addr("127.0.0.1")}, [16]) = 4 4145 fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 4145 rt_sigaction(SIGUSR1, {SIG_IGN}, {0x809cdd4, [], SA_INTERRUPT|0x400}, 8) = 0 4145 getsockname(4, {sin_family=AF_INET, sin_port=htons(8529), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 4145 setsockopt(4, IPPROTO_TCP1, [1], 4) = 0 4145 alarm(300)= 0 4145 read(4, "GET /test.html HTTP/1.0\r\nHost: localhost:8529\r\nUser-Agent: libwww-perl/5.48\r\n\r\n", 4096) = 79 4145 rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0 4145 time(NULL)= 957457365 4145 alarm(300)= 300 4145 alarm(0) = 300 4145 rt_sigaction(SIGALRM, NULL, {0x809b7c0, [], SA_RESTART|0x400}, 8) = 0 4145 dup2(15, 2) = 2 4145 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 4145 stat("/home/jxie/mod_perl-1.23/t/docs/test.html", 0xbabc) = -1 EACCES (Permission denied) 4145 alarm(300)= 0 4145 alarm(0) = 300 4145 alarm(300)= 0 4145 alarm(0) = 300 4145 write(4, "HTTP/1.1 403 Forbidden\r\nDate: Thu, 04 May 2000 16:22:45 GMT\r\nServer: Apache/1.3.12 (Unix) mod_perl/1.23 Perl/5.00503\r\nConnection:
RE: Help - Install mod_perl-1.23
I used root to do everything, I even changed the httpd.conf file (t/conf/httpd.conf) to use root user and users group. User root Group users But I still have the same problem when I do make test, the following is the directory dump, please let me know what permission should I change to. -rw-r--r-- 1 root users 300 May 18 1998 LoadClass.pm drwxr-xr-x 3 root users4096 Apr 20 23:43 STAGE drwxr-xr-x 2 root users4096 Apr 20 23:43 auth -rw-r--r-- 1 root users 64 Sep 30 1998 badsyntax.pl -rw-rw-r-- 1 root users 87 Apr 29 15:27 blib.pl -rw-r--r-- 1 root users 21825 Dec 29 1998 book.gif -rw-r--r-- 1 root users 2 Dec 6 1997 content.html -rw-r--r-- 1 root users 40 Dec 6 1997 content.shtml drwxr-xr-x 2 root users4096 Apr 20 23:43 dirmagic -rw-r--r-- 1 root users 551 Dec 6 1997 env.iphtml -rw-r--r-- 1 root users 12 Dec 6 1997 error.txt -rw-rw-rw- 1 root users 1 Apr 29 15:27 hooks.txt -rw-r--r-- 1 root users1003 Dec 6 1997 lists.ehtml -rw-r--r-- 1 root users 30 Mar 19 1998 null.txt -rw-r--r-- 1 root users 90 Dec 6 1997 rgy-include.shtml -rw-r--r-- 1 root users 619 Sep 21 1998 rl.pl drwxr-xr-x 2 root users4096 Apr 29 15:27 stacked -rw-r--r-- 1 root users 511 Dec 6 1997 stacked.pl -rw-r--r-- 1 root users6149 Apr 6 1999 startup.pl drwxr-xr-x 2 root users4096 Apr 27 17:02 subr -rw-r--r-- 1 root users3045 Jan 25 1999 test.ep -rw-r--r-- 1 root users 566 Dec 6 1997 test.html -rw-rw-r-- 1 root users 566 Apr 27 17:00 test.shtml -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 04, 2000 2:58 PM To: James Xie Cc: Doug MacEachern; [EMAIL PROTECTED] Subject: RE: Help - Install mod_perl-1.23 On Thu, 4 May 2000, James Xie wrote: It seems I have some kind of permission problem but I don't know how to resolve it. Please take a look at the outputs from the commands I run. Really appreciate your help! 4145 dup2(15, 2) = 2 4145 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 4145 stat("/home/jxie/mod_perl-1.23/t/docs/test.html", 0xbabc) = -1 EACCES (Permission denied) File permission problem. Try to run the make test as the same user you have created the files with. Your server is running under some user/group -- the file /home/jxie/mod_perl-1.23/t/docs/test.html should be readble by user or/and group. James Helllo, I recently downloaded Apache_1.3.12 and installed it on Redhat 6.1, everything was working fine. I run into problems when I tried to install mod_perl-1.23. Everything was compiled ok, but I got error messages (see below) when I try to run the make test. I'm new to both Apache and mod_perl, thank you for your help in advance. still waiting for server to warm up...not ok hmm, what happens if you run: % make start_httpd % GET http://localhost:8529/perl/perl-status % make kill_httpd Here is what I get: HTML HEADTITLEAn Error Occurred/TITLE/HEAD BODY H1An Error Occurred/h1 403 Forbidden /BODY /HTML ? you can also get more details on why apache isn't reponding like so: % make start_httpd % strace -f -s1024 -o strace.out -p `cat t/logs/httpd.pid` % make run_tests % make kill_httpd have a look at strace.out Here is the strace.out 4145 accept(16, {sin_family=AF_INET, sin_port=htons(1113), sin_addr=inet_addr("127.0.0.1")}, [16]) = 4 4145 fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 4145 rt_sigaction(SIGUSR1, {SIG_IGN}, {0x809cdd4, [], SA_INTERRUPT|0x400}, 8) = 0 4145 getsockname(4, {sin_family=AF_INET, sin_port=htons(8529), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 4145 setsockopt(4, IPPROTO_TCP1, [1], 4) = 0 4145 brk(0x85ce000)= 0x85ce000 4145 brk(0x85d1000)= 0x85d1000 4145 alarm(300)= 0 4145 read(4, "GET /test.html HTTP/1.0\r\nHost: localhost:8529\r\nUser-Agent: libwww-perl/5.48\r\n\r\n", 4096) = 79 4145 rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0 4145 time(NULL)= 957457364 4145 alarm(300)= 300 4145 alarm(0) = 300 4145 rt_sigaction(SIGALRM, NULL, {0x809b7c0, [], SA_INTERRUPT|0x400}, 8) = 0 4145 dup2(15, 2) = 2 4145 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 4145 stat("/home/jxie/mod_perl-1.23/t/docs/test.html", 0xbabc) = -1 EACCES (Permission denied) 4145 alarm(300)= 0 4145 alarm(0) = 300 4145 alarm(300)= 0 4145 alarm(0) = 3
am I the only one having this problem!
I recently posted a question regarding installing mod_perl-1.23 on Apache_1.3.12, I have not received any answer yet. I'm wondering if I'm the only one who had this problem. I searched through the web but cannot find any answers. I thought the test was failed because the system was not connected directly to the Internet so I added a second NIC which connected the machine to the Internet directly. But I still cannot run the make test successfully. I don't think I have anything unusual installed. Your help will be really appreciated. James --- Helllo, I recently downloaded Apache_1.3.12 and installed it on Redhat 6.1, everything was working fine. I run into problems when I tried to install mod_perl-1.23. Everything was compiled ok, but I got error messages (see below) when I try to run the make test. I'm new to both Apache and mod_perl, thank you for your help in advance. Thanks: how I make it: perl Makefile.PL EVERYTHING=1 APACHE_PREFIX=/usr/local/apache (I aslo tried perl Makefile.PL APACHE_SRC=../apache_1.3.12/src DO_HTTPD=1 USE_APACHE=1 EVERYTHING =1) make make test * My Environment: RedHat 6.1 apache_1.3.12 Perl5.004 (comes with Redhat) mod_perl-1.23 CGI-modules-2.76 Bundle-libnet-1.00 Digest-MD5-2.09 HTML-Parser-3.07 MIME-Base64-2.11 URI-1.06 lcwa-1.0.0 libwww-perl-5.48 Output from make test cd ../apache_1.3.12 make) make[1]: Entering directory `/home/jxie/apache_1.3.12' === src make[2]: Entering directory `/home/jxie/apache_1.3.12' make[3]: Entering directory `/home/jxie/apache_1.3.12/src' === src/regex make[4]: Nothing to be done for `all'. === src/regex === src/os/unix make[4]: Nothing to be done for `all'. === src/os/unix === src/ap make[4]: Nothing to be done for `all'. === src/ap === src/main make[4]: Nothing to be done for `all'. === src/main === src/lib === src/lib === src/modules === src/modules/standard make[5]: Nothing to be done for `all'. === src/modules/standard === src/modules/perl make[5]: Nothing to be done for `all'. === src/modules/perl === src/modules cc -c -I. -I/usr/lib/perl5/5.00503/i386-linux/CORE -I./os/unix -I./include -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` modules.c cc -c -I. -I/usr/lib/perl5/5.00503/i386-linux/CORE -I./os/unix -I./include -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` buildmark.c cc -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci`\ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/perl/libperl.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -lm -lcrypt -rdynamic -L/usr/local/lib /usr/lib/perl5/5.00503/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.00503/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lposix -lcrypt make[3]: Leaving directory `/home/jxie/apache_1.3.12/src' make[2]: Leaving directory `/home/jxie/apache_1.3.12' make[2]: Entering directory `/home/jxie/apache_1.3.12' === src/support make[3]: Entering directory `/home/jxie/apache_1.3.12/src/support' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/jxie/apache_1.3.12/src/support' === src/support make[2]: Leaving directory `/home/jxie/apache_1.3.12' === src make[1]: Leaving directory `/home/jxie/apache_1.3.12' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Apache' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Apache' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Connection' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Connection' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Constants' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Constants' make[1]: Entering directory `/home/jxie/mod_perl-1.23/File' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/File' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Leak' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Leak' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Log' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Log' make[1]: Entering directory `/home/jxie/mod_perl-1.23/ModuleConfig' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/ModuleConfig' make[1]: Entering directory `/home/jxie/mod_perl-1.23/PerlRunXS' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/PerlRunXS' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Server' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Server' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Symbol' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Symbol' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Table' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Table' make[1]: Entering directory `/home/jxie/mod_perl-1.23/URI' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/URI'
RE: am I the only one having this problem!
Don't I have to run the make test first? Here is the procedure I used to build the stuff: 1. perl Makefile.PL APACHE_SRC=../apache_1.3.12/src DO_HTTPD=1 USE_APACHE=1 EVERYTHING=1 2. make 3. make test (failed here) I didn't try to start it manually. I will give it a try!. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 03, 2000 11:11 AM To: [EMAIL PROTECTED] Subject: Re: am I the only one having this problem! You wouldn't need a second NIC for connecting to the net to start your httpd. Sorry about that. I think you need to look into your install procedure. Did you 'make install' in the Apache directory or the modperl directory? Can you start httpd all by itself?
RE: I did have the same trouble...
Just tried, didn't work. James -Original Message- From: FEITO Nazareno [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 03, 2000 11:10 AM To: 'James Xie' Cc: '[EMAIL PROTECTED]' Subject: I did have the same trouble... first... before run make test you have to be sure that httpd isnĀ“t running... write this at console: killall httpd make test and make test have to result succesfully, try it... i think that is the solution... Nazarenowww.obsequie.com Perl Programmer. [EMAIL PROTECTED]
Help - Install mod_perl-1.23
Helllo, I recently downloaded Apache_1.3.12 and installed it on Redhat 6.1, everything was working fine. I run into problems when I tried to install mod_perl-1.23. Everything was compiled ok, but I got error messages (see below) when I try to run the make test. I'm new to both Apache and mod_perl, thank you for your help in advance. Thanks: how I make it: perl Makefile EVERYTHING=1 APACHE_PREFIX=/usr/local/apache make make test * My Environment: RedHat 6.1 apache_1.3.12 Perl5.004 (comes with Redhat) mod_perl-1.23 CGI-modules-2.76 Bundle-libnet-1.00 Digest-MD5-2.09 HTML-Parser-3.07 MIME-Base64-2.11 URI-1.06 lcwa-1.0.0 libwww-perl-5.48 Output from make test cd ../apache_1.3.12 make) make[1]: Entering directory `/home/jxie/apache_1.3.12' === src make[2]: Entering directory `/home/jxie/apache_1.3.12' make[3]: Entering directory `/home/jxie/apache_1.3.12/src' === src/regex make[4]: Nothing to be done for `all'. === src/regex === src/os/unix make[4]: Nothing to be done for `all'. === src/os/unix === src/ap make[4]: Nothing to be done for `all'. === src/ap === src/main make[4]: Nothing to be done for `all'. === src/main === src/lib === src/lib === src/modules === src/modules/standard make[5]: Nothing to be done for `all'. === src/modules/standard === src/modules/perl make[5]: Nothing to be done for `all'. === src/modules/perl === src/modules cc -c -I. -I/usr/lib/perl5/5.00503/i386-linux/CORE -I./os/unix -I./include -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` modules.c cc -c -I. -I/usr/lib/perl5/5.00503/i386-linux/CORE -I./os/unix -I./include -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` buildmark.c cc -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci`\ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/perl/libperl.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -lm -lcrypt -rdynamic -L/usr/local/lib /usr/lib/perl5/5.00503/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.00503/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lposix -lcrypt make[3]: Leaving directory `/home/jxie/apache_1.3.12/src' make[2]: Leaving directory `/home/jxie/apache_1.3.12' make[2]: Entering directory `/home/jxie/apache_1.3.12' === src/support make[3]: Entering directory `/home/jxie/apache_1.3.12/src/support' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/jxie/apache_1.3.12/src/support' === src/support make[2]: Leaving directory `/home/jxie/apache_1.3.12' === src make[1]: Leaving directory `/home/jxie/apache_1.3.12' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Apache' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Apache' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Connection' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Connection' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Constants' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Constants' make[1]: Entering directory `/home/jxie/mod_perl-1.23/File' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/File' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Leak' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Leak' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Log' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Log' make[1]: Entering directory `/home/jxie/mod_perl-1.23/ModuleConfig' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/ModuleConfig' make[1]: Entering directory `/home/jxie/mod_perl-1.23/PerlRunXS' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/PerlRunXS' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Server' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Server' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Symbol' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Symbol' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Table' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Table' make[1]: Entering directory `/home/jxie/mod_perl-1.23/URI' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/URI' make[1]: Entering directory `/home/jxie/mod_perl-1.23/Util' make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Util' cp t/conf/mod_perl_srm.conf t/conf/srm.conf ../apache_1.3.12/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t httpd listening on port 8529 will write error_log to: t/logs/error_log letting apache warm up...\c done /usr/bin/perl t/TEST 0 still waiting for server to warm up...not ok Error log [Fri Apr 28 09:52:07 2000] [warn] pid file /home/jxie/mod_perl-1.23/t/logs/httpd .pid overwritten -- Unclean shutdown of previous Apache run? [notice] Destruction-DESTROY called for $global_object [Fri Apr 28 09:52:08 2000] [warn] [notice] child_init for process 5843,