Re: [us...@httpd] Unable to load perl file
Hello Doug, Thanks for your reply, Here is the output from the old and new server : *old server : * bash# perl -e 'foreach $f (@INC){print $f\n;}' /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl *New server : * bash-3.00# perl -e 'foreach $f (@INC){print $f\n;}' /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl Paths are same. *Old Server : * perl -e 'foreach $k (keys %ENV){print $k = $ENV{$k}\n;}' HOME = /opt/app/home/id SSH_CLIENT = ipadress SSH_CONNECTION = ipaddress MANPATH = /usr/man:/opt/os/man:/opt/os/adm/man:/opt/VRTS/man:/usr/os/openssh/man PS1 = i...@hostname LC_COLLATE = en_US.ISO8859-15 LC_NUMERIC = en_US.ISO8859-15 EDITOR = /bin/vi MAIL = /var/mail//id TZ = Europe/Stockholm PWD = USER = id LC_MESSAGES = C LC_CTYPE = en_US.ISO8859-15 LOGNAME = id SHLVL = 1 LC_MONETARY = en_US.ISO8859-15 _ = /usr/bin/perl PATH = /usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/platform/sun4u/sbin:/opt/VRTSvmsa/bin:/opt/os/adm/bin:/usr/os/openssh/bin:/opt/os/bin:/opt/pgm/util/1.0/bin:/opt/pgm/util/1.0/sbin SHELL = /bin/sh TERM = xterm SSH_TTY = /dev/pts/3 PAGER = /usr/bin/less *New server : * perl -e 'foreach $k (keys %ENV){print $k = $ENV{$k}\n;}' LC_CTYPE = en_US.ISO8859-1 HOME = /root/home/root LOGNAME = root SHLVL = 1 LC_MONETARY = en_US.ISO8859-1 _ = /usr/bin/perl LC_COLLATE = en_US.ISO8859-1 PATH = /usr/sbin:/usr/bin SHELL = /sbin/sh LC_NUMERIC = en_US.ISO8859-1 HZ = MAIL = /var/mail/root TZ = MET PWD = /root/home/root TERM = xterm LC_TIME = en_US.ISO8859-1 LC_MESSAGES = C Here there are some variable missing. Please let us know if there is some issue in defining any variable. Thanks in advance. On Tue, Sep 7, 2010 at 11:33 PM, Doug McNutt dougl...@macnauchtan.comwrote: At 09:51 -0600 9/7/10, Doug McNutt wrote: At 12:20 +0530 9/7/10, aparna aryan wrote: Hi Doug, We don't see PERL5LIB set in old installation. Is there any other way to check what paths are included in @INC in old server? Rule one. Don't type stuff you haven't tested. Try these to find contents of @INC and the actual environment passed to perl. Don't lose the single quotes to keep the shell behaving. perl -e 'foreach $f (@INC){print $f\n;}' perl -e 'foreach $k (keys %ENV){print $k = $ENV{$k}\n;}' -- -- From the U S of A, the only socialist country that refuses to admit it. -- - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Ssl front end proxy and Segmentation fault (11)
On Tue, Sep 7, 2010 at 10:03 PM, Jason Pyeron jpye...@pdinc.us wrote: I am trying to reverse proxy client certs, here is the config snipit: RequestHeader set Front-End-Https On CacheDisable * SSLProxyEngine On ProxyPass /test https://192.168.10.193/test ProxyPassReverse /test https://192.168.10.193/test SSLProxyMachineCertificatePath /var/www./certs SSLProxyVerify off Every call to the server for /test results in: [Tue Sep 07 21:59:19 2010] [notice] child pid 24344 exit signal Segmentation fault (11) SERVER_SIGNATURE = 'addressApache/2.0.52 (CentOS) Server at Port 443/address My 2 cents: Open a bug and provide a backtrace for the crash if you can reproduce with 2.2.latest. If it isn't reproducible there, switch.
Re: [us...@httpd] Unable to load perl file
At 12:05 +0530 9/8/10, aparna aryan wrote: Here there are some variable missing. Please let us know if there is some issue in defining any variable. The differences in environment variables are not your problem. It does look as though you are the root user on the new system. If you were root on the old I would think about access permissions. The environment variables will be quite different after apache makes its changes and then gets to your code. In your original posting there are these lines. PerlRequire /opt/app/ars/ovsc/perl/http://startup.plstartup.pl BEGIN failed--compilation aborted at /opt/app/ars/ovsc/perl/http://startup.plstartup.pl line 4.\ That Require points to a module that is not expected to be in @INC. It's a full path. The error software may be talking about @INC just because it always does and not because @INC is involved in the failure. Does /opt/app/ars/ovsc/perl/http://startup.plstartup.pl exist on the new system? That line 4 seems to imply that startup.pl is being compiled and the failure is there. You might try perl -w /opt/app/ars/ovsc/perl/http://startup.plstartup.pl # and see what it says. I'm feeling less than knowledgeable about apache mods. PerlRequire as opposed to a simple Require does not match my usage in Linux and Mac OSX. vendor_perl is also new to me. I think I would examine startup.pl, with a text editor, on each system and look for differences. $ENV{ARCONFIGDIR}=/opt/ars/arserv/0/conf; is there a missing apt here? $MAIN::OVSC_PATH='/opt/app/ars/ovsc'; $MAIN::UPLOAD_PATH='/opt/app/ars/ovsc/ToWIH'; $MAIN::MBOX=; -- -- A fair tax is one that you pay but I don't -- - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] High load apache
Hi, Looking for recommendations. I need to serve 100-200+ concurrent users to provide php based webmail client (horde). I have setup memcached and php-fastcgid for this purpose. The server has four 2.2G AMD optereon cores with 8GB of memory. I am doing stress test using ab as: ab -t 36000 -c 100 https://url/h/imp/login.php. What I have noticed if the number of concurrent users are more than around 25, I get the sluggish performance and I can see linux load rising high to 25 to 30 and all the cpu cores are approximately 75% used. This is what I have in config files: mpm worker: -- IfModule worker.c StartServers 15 MaxClients 960 MinSpareThreads 75 MaxSpareThreads 150 ThreadsPerChild 64 MaxRequestsPerChild 5000 -- memcached: 4GB --- fcgid: IfModule !mod_fastcgi.c AddHandler fcgid-script .fcgi MaxRequestsPerProcess 1 MaxProcessCount 100 IPCCommTimeout240 IdleTimeout 240 ProcessLifeTime 300 BusyTimeout 300 DefaultMaxClassProcessCount 100 DefaultMinClassProcessCount 50 /IfModule --- php-fcgid: # Number of PHP childs that will be launched. Leave undefined to let PHP decide. #DefaultInitEnv PHP_FCGI_CHILDREN 4 # Maximum requests before a process is stopped and a new one is launched DefaultInitEnv PHP_FCGI_MAX_REQUESTS 1 OS: RHEL 5.5 Apache: 2.2.3 PHP: 5.1 Mysql: 5.0 Will appreciate for any inputs. Thanks! Paras.
[us...@httpd] SSL errors
I'm running a (self-signed) SSL cert site on Apache/2.2.14 on Ubuntu 10.04, but various browsers are giving errors on half the connection attempts, and wget too: $ wget --no-check-certificate https://dev.partyondata.com/deps/ --2010-09-08 19:30:26-- https://dev.partyondata.com/deps/ Resolving dev.partyondata.com... 184.72.53.220 Connecting to dev.partyondata.com|184.72.53.220|:443... connected. OpenSSL: error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01 OpenSSL: error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check failed OpenSSL: error:1408D07B:SSL routines:SSL3_GET_KEY_EXCHANGE:bad signature Unable to establish SSL connection. Run it right away again and it works: $ wget --no-check-certificate https://dev.partyondata.com/deps/ --2010-09-08 19:30:29-- https://dev.partyondata.com/deps/ Resolving dev.partyondata.com... 184.72.53.220 Connecting to dev.partyondata.com|184.72.53.220|:443... connected. WARNING: cannot verify dev.partyondata.com's certificate, issued by `/CN=dev.partyondata.com': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 3157 (3.1K) [text/html] Saving to: `index.html' 100%[==] 3,157 --.-K/s in 0s 2010-09-08 19:30:29 (48.6 MB/s) - `index.html' saved [3157/3157] In my sites-enabled/default-ssl: SSLCertificateFile/etc/ssl/certs/ssl-cert-snakeoil.pem SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key The cert: -BEGIN CERTIFICATE- MIIBszCCARwCCQCa0TzNwqLgsTANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNk ZXYucGFydHlvbmRhdGEuY29tMB4XDTEwMDgyNzA2MzA1N1oXDTIwMDgyNDA2MzA1 N1owHjEcMBoGA1UEAxMTZGV2LnBhcnR5b25kYXRhLmNvbTCBnzANBgkqhkiG9w0B AQEFAAOBjQAwgYkCgYEAzXDEULpCUqIc9hV/ESFapkckR2uoYINA81DvG2aQZ9Ot Q30OwX2ae2CC4bSzJEIVlahU8vjVrWpmpa28NEhQbqh4ywwbl1XDrEVYI6Gkfimf snJhOKyaVrEhlwutYtBjmsz3ZIqwymMPm/6smVcSS5dJIynlSmtltxX6ivPcO8UC AwEAATANBgkqhkiG9w0BAQUFAAOBgQBGxHVkpSSOnZjzuySRepjhAlV/yhe9Fx23 fh12WrjQMEi98B7JEuNSLXDWckUN7O6XRc3RzKmazcGHJqzhn0Ov6gAmAE2XjZ/x VW21xmaLwk+KgYKFJbJJaP3jMSpU7I3aa11wqAkR2Zd4Nkm9N0YXYIzcBdfztTVI Et8mEHBFdg== -END CERTIFICATE- The cert is in turn generated via: $ make-ssl-cert generate-default-snakeoil --force-overwrite Apache version. $ apache2 -V Server version: Apache/2.2.14 (Ubuntu) Server built: Apr 13 2010 20:22:19 Server's Module Magic Number: 20051115:23 Server loaded: APR 1.3.8, APR-Util 1.3.9 Compiled using: APR 1.3.8, APR-Util 1.3.9 Architecture: 64-bit Server MPM: Worker threaded: yes (fixed thread count) forked: yes (variable process count) Server compiled with -D APACHE_MPM_DIR=server/mpm/worker -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT= -D SUEXEC_BIN=/usr/lib/apache2/suexec -D DEFAULT_PIDLOG=/var/run/apache2.pid -D DEFAULT_SCOREBOARD=logs/apache_runtime_status -D DEFAULT_ERRORLOG=logs/error_log -D AP_TYPES_CONFIG_FILE=/etc/apache2/mime.types -D SERVER_CONFIG_FILE=/etc/apache2/apache2.conf Any ideas? Thanks in advance for any help. -- Yang Zhang http://yz.mit.edu/ - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] High load apache
Hi, Try to enable mod_expires and mod_deflate to see if there is some significant boost in the performance. []s. Fábio jr. Em 08-09-2010 16:42, Paras pradhan escreveu: Hi, Looking for recommendations. I need to serve 100-200+ concurrent users to provide php based webmail client (horde). I have setup memcached and php-fastcgid for this purpose. The server has four 2.2G AMD optereon cores with 8GB of memory. I am doing stress test using ab as: ab -t 36000 -c 100 https://url/h/imp/login.php. What I have noticed if the number of concurrent users are more than around 25, I get the sluggish performance and I can see linux load rising high to 25 to 30 and all the cpu cores are approximately 75% used. This is what I have in config files: mpm worker: -- IfModule worker.c StartServers 15 MaxClients 960 MinSpareThreads 75 MaxSpareThreads 150 ThreadsPerChild 64 MaxRequestsPerChild 5000 -- memcached: 4GB --- fcgid: IfModule !mod_fastcgi.c AddHandler fcgid-script .fcgi MaxRequestsPerProcess 1 MaxProcessCount 100 IPCCommTimeout240 IdleTimeout 240 ProcessLifeTime 300 BusyTimeout 300 DefaultMaxClassProcessCount 100 DefaultMinClassProcessCount 50 /IfModule --- php-fcgid: # Number of PHP childs that will be launched. Leave undefined to let PHP decide. #DefaultInitEnv PHP_FCGI_CHILDREN 4 # Maximum requests before a process is stopped and a new one is launched DefaultInitEnv PHP_FCGI_MAX_REQUESTS 1 OS: RHEL 5.5 Apache: 2.2.3 PHP: 5.1 Mysql: 5.0 Will appreciate for any inputs. Thanks! Paras. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] High load apache
They are loaded: LoadModule expires_module modules/mod_expires.so LoadModule deflate_module modules/mod_deflate.so Thanks Paras. On Wed, Sep 8, 2010 at 3:05 PM, Fábio Jr. fjuniorli...@gmail.com wrote: Hi, Try to enable mod_expires and mod_deflate to see if there is some significant boost in the performance. []s. Fábio jr. Em 08-09-2010 16:42, Paras pradhan escreveu: Hi, Looking for recommendations. I need to serve 100-200+ concurrent users to provide php based webmail client (horde). I have setup memcached and php-fastcgid for this purpose. The server has four 2.2G AMD optereon cores with 8GB of memory. I am doing stress test using ab as: ab -t 36000 -c 100 https://url/h/imp/login.php. What I have noticed if the number of concurrent users are more than around 25, I get the sluggish performance and I can see linux load rising high to 25 to 30 and all the cpu cores are approximately 75% used. This is what I have in config files: mpm worker: -- IfModule worker.c StartServers 15 MaxClients 960 MinSpareThreads 75 MaxSpareThreads 150 ThreadsPerChild 64 MaxRequestsPerChild 5000 -- memcached: 4GB --- fcgid: IfModule !mod_fastcgi.c AddHandler fcgid-script .fcgi MaxRequestsPerProcess 1 MaxProcessCount 100 IPCCommTimeout240 IdleTimeout 240 ProcessLifeTime 300 BusyTimeout 300 DefaultMaxClassProcessCount 100 DefaultMinClassProcessCount 50 /IfModule --- php-fcgid: # Number of PHP childs that will be launched. Leave undefined to let PHP decide. #DefaultInitEnv PHP_FCGI_CHILDREN 4 # Maximum requests before a process is stopped and a new one is launched DefaultInitEnv PHP_FCGI_MAX_REQUESTS 1 OS: RHEL 5.5 Apache: 2.2.3 PHP: 5.1 Mysql: 5.0 Will appreciate for any inputs. Thanks! Paras. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] Re: Custom message instead of HTTP error on LimitRequestBody
Apache 2: Is there a way to send custom message instead of just the Error Code when there is an upload limit set using LimitRequestBody? Something like You have exceeded the size - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] High load apache
what this modules do? On Wed, Sep 8, 2010 at 1:30 PM, Paras pradhan pradhanpa...@gmail.com wrote: They are loaded: LoadModule expires_module modules/mod_expires.so LoadModule deflate_module modules/mod_deflate.so Thanks Paras. On Wed, Sep 8, 2010 at 3:05 PM, Fábio Jr. fjuniorli...@gmail.com wrote: Hi, Try to enable mod_expires and mod_deflate to see if there is some significant boost in the performance. []s. Fábio jr. Em 08-09-2010 16:42, Paras pradhan escreveu: Hi, Looking for recommendations. I need to serve 100-200+ concurrent users to provide php based webmail client (horde). I have setup memcached and php-fastcgid for this purpose. The server has four 2.2G AMD optereon cores with 8GB of memory. I am doing stress test using ab as: ab -t 36000 -c 100 https://url/h/imp/login.php. What I have noticed if the number of concurrent users are more than around 25, I get the sluggish performance and I can see linux load rising high to 25 to 30 and all the cpu cores are approximately 75% used. This is what I have in config files: mpm worker: -- IfModule worker.c StartServers 15 MaxClients 960 MinSpareThreads 75 MaxSpareThreads 150 ThreadsPerChild 64 MaxRequestsPerChild 5000 -- memcached: 4GB --- fcgid: IfModule !mod_fastcgi.c AddHandler fcgid-script .fcgi MaxRequestsPerProcess 1 MaxProcessCount 100 IPCCommTimeout 240 IdleTimeout 240 ProcessLifeTime 300 BusyTimeout 300 DefaultMaxClassProcessCount 100 DefaultMinClassProcessCount 50 /IfModule --- php-fcgid: # Number of PHP childs that will be launched. Leave undefined to let PHP decide. # DefaultInitEnv PHP_FCGI_CHILDREN 4 # Maximum requests before a process is stopped and a new one is launched DefaultInitEnv PHP_FCGI_MAX_REQUESTS 1 OS: RHEL 5.5 Apache: 2.2.3 PHP: 5.1 Mysql: 5.0 Will appreciate for any inputs. Thanks! Paras. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] High load apache
I guess you can, beside from all the apache tuning, speed up your setup with two components. 1. Use a php accelerators 2. Run a http accelerator like varnish in front of the apache for all the static files 2010/9/8 luis medrano lmzaldi...@gmail.com: what this modules do? On Wed, Sep 8, 2010 at 1:30 PM, Paras pradhan pradhanpa...@gmail.com wrote: They are loaded: LoadModule expires_module modules/mod_expires.so LoadModule deflate_module modules/mod_deflate.so Thanks Paras. On Wed, Sep 8, 2010 at 3:05 PM, Fábio Jr. fjuniorli...@gmail.com wrote: Hi, Try to enable mod_expires and mod_deflate to see if there is some significant boost in the performance. []s. Fábio jr. Em 08-09-2010 16:42, Paras pradhan escreveu: Hi, Looking for recommendations. I need to serve 100-200+ concurrent users to provide php based webmail client (horde). I have setup memcached and php-fastcgid for this purpose. The server has four 2.2G AMD optereon cores with 8GB of memory. I am doing stress test using ab as: ab -t 36000 -c 100 https://url/h/imp/login.php. What I have noticed if the number of concurrent users are more than around 25, I get the sluggish performance and I can see linux load rising high to 25 to 30 and all the cpu cores are approximately 75% used. This is what I have in config files: mpm worker: -- IfModule worker.c StartServers 15 MaxClients 960 MinSpareThreads 75 MaxSpareThreads 150 ThreadsPerChild 64 MaxRequestsPerChild 5000 -- memcached: 4GB --- fcgid: IfModule !mod_fastcgi.c AddHandler fcgid-script .fcgi MaxRequestsPerProcess 1 MaxProcessCount 100 IPCCommTimeout 240 IdleTimeout 240 ProcessLifeTime 300 BusyTimeout 300 DefaultMaxClassProcessCount 100 DefaultMinClassProcessCount 50 /IfModule --- php-fcgid: # Number of PHP childs that will be launched. Leave undefined to let PHP decide. # DefaultInitEnv PHP_FCGI_CHILDREN 4 # Maximum requests before a process is stopped and a new one is launched DefaultInitEnv PHP_FCGI_MAX_REQUESTS 1 OS: RHEL 5.5 Apache: 2.2.3 PHP: 5.1 Mysql: 5.0 Will appreciate for any inputs. Thanks! Paras. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] LimitRequestBody http return code
I am trying to test LimitRequestBody. It looks like it always returns Http code 500. Is this as expected? I thought it's supposed to return Http 413. Is there a way to change the return code of LimitRequestBody? - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] Upgrade 1.3.12 - 2.2.16: Jserv issue ???
Hi, All! You may have seen my posts last week about a legacy Oracle App (8.1) running on Apache (1.3.12) under Windows. Trying to upgrade Apache, and we've run into a Jserv issue: Legacy lines from httpd.conf: # Include the configuration for Apache JServ 1.1 include C:\oracle\ora81\Apache\Jserv\conf\jserv.conf This prevents Apache 2.2 from startup: Cannot load C:/oracle/ora81/Apache/Jserv/ApacheModuleJServ.dll into server: The specified module could not be found. See JPG of error here: http://helices.org/tmP/Apache_2.2_error_2.jpg How can we correct this? If ever I can be of service to you; contact me at once. I wish for you a truly extraordinary day ... -- Best Regards, Mike Schleif 612-235-6060 http://mdsresource.net http://www.linkedin.com/in/schleif http://facebook.com/MDSResource http://twitter.com/mikeschleif
[us...@httpd] How deploy gzip to htdocs
Hi,I have installed apache webserver in windows. I am new to Apache webserver. I gzipped ( .gz) all my static contents( js,html,css) and copied to htdocs folder and restarted the apache server. static contents are not getting displayed. But when i directly copy all the static content (i.e withou gzipping) to htdocs , static contents are getting displayed. Is that anything i am missing in configuration?.Please let me know how to deploy .gz to htdocs Thanks kumaran
[us...@httpd] Re: SSL errors
Adding some more info - just now saw this transient error from Chrome: Error 126 (net::ERR_SSL_BAD_RECORD_MAC_ALERT): Unknown error. On Wed, Sep 8, 2010 at 1:03 PM, Yang Zhang yanghates...@gmail.com wrote: I'm running a (self-signed) SSL cert site on Apache/2.2.14 on Ubuntu 10.04, but various browsers are giving errors on half the connection attempts, and wget too: $ wget --no-check-certificate https://dev.partyondata.com/deps/ --2010-09-08 19:30:26-- https://dev.partyondata.com/deps/ Resolving dev.partyondata.com... 184.72.53.220 Connecting to dev.partyondata.com|184.72.53.220|:443... connected. OpenSSL: error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01 OpenSSL: error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check failed OpenSSL: error:1408D07B:SSL routines:SSL3_GET_KEY_EXCHANGE:bad signature Unable to establish SSL connection. Run it right away again and it works: $ wget --no-check-certificate https://dev.partyondata.com/deps/ --2010-09-08 19:30:29-- https://dev.partyondata.com/deps/ Resolving dev.partyondata.com... 184.72.53.220 Connecting to dev.partyondata.com|184.72.53.220|:443... connected. WARNING: cannot verify dev.partyondata.com's certificate, issued by `/CN=dev.partyondata.com': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 3157 (3.1K) [text/html] Saving to: `index.html' 100%[==] 3,157 --.-K/s in 0s 2010-09-08 19:30:29 (48.6 MB/s) - `index.html' saved [3157/3157] In my sites-enabled/default-ssl: SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key The cert: -BEGIN CERTIFICATE- MIIBszCCARwCCQCa0TzNwqLgsTANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNk ZXYucGFydHlvbmRhdGEuY29tMB4XDTEwMDgyNzA2MzA1N1oXDTIwMDgyNDA2MzA1 N1owHjEcMBoGA1UEAxMTZGV2LnBhcnR5b25kYXRhLmNvbTCBnzANBgkqhkiG9w0B AQEFAAOBjQAwgYkCgYEAzXDEULpCUqIc9hV/ESFapkckR2uoYINA81DvG2aQZ9Ot Q30OwX2ae2CC4bSzJEIVlahU8vjVrWpmpa28NEhQbqh4ywwbl1XDrEVYI6Gkfimf snJhOKyaVrEhlwutYtBjmsz3ZIqwymMPm/6smVcSS5dJIynlSmtltxX6ivPcO8UC AwEAATANBgkqhkiG9w0BAQUFAAOBgQBGxHVkpSSOnZjzuySRepjhAlV/yhe9Fx23 fh12WrjQMEi98B7JEuNSLXDWckUN7O6XRc3RzKmazcGHJqzhn0Ov6gAmAE2XjZ/x VW21xmaLwk+KgYKFJbJJaP3jMSpU7I3aa11wqAkR2Zd4Nkm9N0YXYIzcBdfztTVI Et8mEHBFdg== -END CERTIFICATE- The cert is in turn generated via: $ make-ssl-cert generate-default-snakeoil --force-overwrite Apache version. $ apache2 -V Server version: Apache/2.2.14 (Ubuntu) Server built: Apr 13 2010 20:22:19 Server's Module Magic Number: 20051115:23 Server loaded: APR 1.3.8, APR-Util 1.3.9 Compiled using: APR 1.3.8, APR-Util 1.3.9 Architecture: 64-bit Server MPM: Worker threaded: yes (fixed thread count) forked: yes (variable process count) Server compiled with -D APACHE_MPM_DIR=server/mpm/worker -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT= -D SUEXEC_BIN=/usr/lib/apache2/suexec -D DEFAULT_PIDLOG=/var/run/apache2.pid -D DEFAULT_SCOREBOARD=logs/apache_runtime_status -D DEFAULT_ERRORLOG=logs/error_log -D AP_TYPES_CONFIG_FILE=/etc/apache2/mime.types -D SERVER_CONFIG_FILE=/etc/apache2/apache2.conf Any ideas? Thanks in advance for any help. -- Yang Zhang http://yz.mit.edu/ -- Yang Zhang http://yz.mit.edu/ - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] FW: Request to a specific URL Link on one of the web applications is returning Bad Gateway
Hi Any body have any thoughts on this .. With regards Karthik From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] Sent: Tuesday, September 07, 2010 4:27 PM To: users@httpd.apache.org Subject: [us...@httpd] Request to a specific URL Link on one of the web applications is returning Bad Gateway Hi Config Spec Apache 2.2.1.6 Jboss 4.2.1 mod_jk-1.2.28-httpd-2.2.3.so Linux Red Hat DB Oracle Hosted Application : 4 apps [ Independent Containers of JBOSS Server mapped to Apache ] Logs Configured : JkLogFile /apps/logs JkLogLevel debug Problem : Request to a specific URL Link on one of the web applications is returning Bad Gateway Since JBOSS is consuming some time ( 15 sec minimum ) to fetch this report fro Db How can this problem be fixed. All other links are displayable correctly Worker .properties is as follows worker.list = aloadbalancer, status, sloadbalancer, dloadbalancer, cloadbalancer, mloadbalancer # Define Node1 # modify the host as your host IP or DNS name. worker.node1.port=8080 worker.node1.host=10.10.21.170 worker.node1.type=ajp13 worker.node1.lbfactor=1 worker.node1.socket_timeout=10 worker.node1.prepost_timeout=1 worker.node1.connect_timeout=1 worker.node1.ping_mode=A # Load-balancing behaviour worker.aloadbalancer.type=lb worker.aloadbalancer.balanced_workers=node1 # Status worker for managing load balancer worker.status.type=status worker.list=aloadbalancer,status with regards N.S.Karthik