Running Apache 1.3.19 on a HP-UX11.11
I am running Apache 1.3.19 on a HP-UX11.11 with Weblogic 6.1.
I got this warning when starting apache:
[Fri Jan 25 12:52:10 2002] [warn] Loaded DSO libexec/mod_wl.so uses
plain Apache 1.3 API, this module might crash under EAPI! (please recompile
it with -DEAPI)
I got this error whenever I try and access any *.jsp files:
[Fri Apr 19 16:14:19 2002] [notice] child pid 1866 exit signal Segmentation faul
t (11)
[Fri Apr 19 16:14:19 2002] [notice] child pid 1862 exit signal Segmentation faul
t (11)
Does anyone have any suggestions?
Thanks,
sayeeram
Hi.
Have you tried using mod_wl_ssl.so instead? That is an EAPI module.
Regards,
Michael
sayeeram wrote:
I am running Apache 1.3.19 on a HP-UX11.11 with Weblogic 6.1.
I got this warning when starting apache:
[Fri Jan 25 12:52:10 2002] [warn] Loaded DSO libexec/mod_wl.so uses
plain Apache 1.3 API, this module might crash under EAPI! (please recompile
it with -DEAPI)
I got this error whenever I try and access any *.jsp files:
[Fri Apr 19 16:14:19 2002] [notice] child pid 1866 exit signal Segmentation faul
t (11)
[Fri Apr 19 16:14:19 2002] [notice] child pid 1862 exit signal Segmentation faul
t (11)
Does anyone have any suggestions?
Thanks,
sayeeram--
Michael Young
Developer Relations Engineer
BEA Support
Similar Messages
-
Running Apache, question about spiders and bots
I'm running Apache and set up a php traffic analzyer. I see that bots and spiders are able to track pages and directories which are not at all linked on any page. How on earth do they figure out my directory structure? And how do I stop it, it makes me uneasy (tried metatags, this only stops them from posting the content). Any help would be appreciated, thanks ahead,
jskierSome robots (or spiders) simply guess typical names. But I think all adhere to
http://www.robotstxt.org/wc/robots.html (or simply plug robots.txt into google - you'll find a lot)
or was that what you meant with meta-tags ?
The next thing you can do is look into possibilities listed on :
http://httpd.apache.org/docs/howto/auth.html
especially "access control". If you only skim over this page ;-), here is an important snippet :
These directives may be placed in a .htaccess file in the particular directory being protected, or may go in the main server configuration file, in a <Directory> section, or other scope container.
But other than that : not linking pages or not showing info does not protect you in any way, and the web is not designed to be that way. -
Optimization for 256 MB of ram server running apache/postgresql
Hi,
I'm on a VPS for 256 MB of ram planning to run Apache and PostgreSQL.
Does anyone have recommendations on some settings to use so I can avoid blowing up the server with memory problems due to unnecessary spawning of workers or something like that?
Thanks.general principles always apply: use the absolute minimum number of modules. it's great for security, performance, and simplicity of configuration/maintenance. Apache comes with a boatload of modules these days, and you really usually need only a few. The default config should be OK performance wise unless you're really planning on some heavy traffic.
Postgres is another story tho. There are no modules, but the default config is absolutely minimalistic, it's intended for one local developer and that's it--even the network connectivity is disabled by default! Postgresql LOVES memory. the more you give it, the better it's gonna run. of course if your db is 10mb and you give it 100mb then you wont benefit much from the extra memory, but if it's 10mb and you give it 1mb then you're gonna be running very slowly. try to fit the whole db in memory if possible. postgres' memory allocation parameters are _extensive_. if you like to tweak for performance, you'll go gaga over them.
Generally tho, you won't know what settings you need until you load your data, your site, and you let it run under a normal load for a while. watch your logs like a hawk and 'learn' your site, how it runs, what gets accessed when, how the db is being used, is the system cpu or io bound, etc... THEN you can start really adjusting stuff. Donald Knuth said once that "premature optimization is the root of all evil" and running your own site will definitely demonstrate that. Log everything, otherwise you'll have nothing to learn from. -
Can not run Apache (sudo apachectl start) on OS X 10.8
I want to start Apache on OS X Mountain Lion 10.8. I type this on the terminal:
sudo apachectl start
and press enter. It asked me to enter password. I don't have set any password for my system. So I press enter again. But it does not accept my blank password. After 3 times, it quits the execution of the sudo command.
I type: "httpd -v" at the terminal and get the following output:
Server version: Apache/2.2.22 (Unix)
Server built: Jun 20 2012 13:57:09
Can you please tell me, what should I do to run Apache, using sudo command? I also set a password for the system in the Preferences > Users and Groups, and I am sure that I have administrator privilages (the "Allow user to administer this computer" is checked).I clicked on "This solved my question" by mistake; I know that I have to enter the system password. In fact it's obvious. But I told that I have not set any password on my system. So I just press enter for a blank password. And it asks again for the password. After 3 times, it ends.
I also set a password and try again, but it didn't work. -
Am encountering the following JVM problem on Solaris running Apache Tomcat with Atlassian Confluence. This problem DOES NOT occur on Windows XP or Windows Vista platforms running the same version of the JDK and same version of Apache Tomcat & Atlassian Confluence.
Any thoughts on what is causing this?
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0xff391040, pid=16575, tid=7
# JRE version: 6.0_22-b04
# Java VM: Java HotSpot(TM) Server VM (17.1-b03 mixed mode solaris-sparc )
# Problematic frame:
# C [libc_psr.so.1+0x1040] memset+0x140
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
--------------- T H R E A D ---------------
Current thread (0x000c6800): JavaThread "CompilerThread0" daemon [_thread_in_native, id=7, stack(0]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x83000000
Registers:
O0=0x82c72170 O1=0x00000000 O2=0x7ffffff0 O3=0x00000030
O4=0x7fc72140 O5=0x83000000 O6=0xab4fdb28 O7=0xfe602bec
G1=0x00000004 G2=0x000000a0 G3=0x000000a0 G4=0x00e76a68
G5=0x82c72170 G6=0x00000000 G7=0xfeeb2a00 Y=0x00000000
PC=0xff391040 nPC=0xff391044
Top of Stack: (sp=0xab4fdb28)
0xab4fdb28: 82c72170 00000000 10000000 17fff400
0xab4fdb38: 00000011 00000000 00000000 80000007
0xab4fdb48: ab4fef50 00000010 80000000 0c000000
0xab4fdb58: 0bfff400 42c72170 ab4fdb88 fe4f8128
0xab4fdb68: 00000002 00000000 00007fff 00000000
0xab4fdb78: 01cef6a0 0000000c 00915ee8 00000001
0xab4fdb88: 0000007d 03626a11 fee554b8 00000003
0xab4fdb98: 42c72170 06c4d421 0c000000 0c000000
Instructions: (pc=0xff391040)
0xff391030: 91 a0 00 40 95 a0 00 40 99 a0 00 40 9d a0 00 40
0xff391040: c1 bb 5e 00 98 a3 20 40 18 4f ff fd 9a 03 60 40
Stack: [0xab480000,0xab500000], sp=0xab4fdb28, free space=1f6ff391040k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc_psr.so.1+0x1040] memset+0x140
V [libjvm.so+0xf8130]
V [libjvm.so+0xfb60c]
V [libjvm.so+0x183a44]
V [libjvm.so+0x1cb89c]
V [libjvm.so+0x41ba80]
V [libjvm.so+0x1c5e80]
V [libjvm.so+0x1c6d0c]
V [libjvm.so+0x23c5b0]
V [libjvm.so+0x825c28]
V [libjvm.so+0x753a08]
Current CompileTask:
C2:5692 ! org.apache.velocity.runtime.directive.Foreach.render(Lorg/apache/velocity/context/Inte)
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x01875400 JavaThread "http-8080-32" daemon [_thread_blocked, id=80, stack(0xa7380000,0xa7400000)]
0x0061f400 JavaThread "http-8080-31" daemon [_thread_blocked, id=79, stack(0xa7480000,0xa7500000)]
0x0061c400 JavaThread "http-8080-30" daemon [_thread_blocked, id=78, stack(0xa7580000,0xa7600000)]
0x019cf000 JavaThread "http-8080-29" daemon [_thread_blocked, id=77, stack(0xa7680000,0xa7700000)]
0x0061c000 JavaThread "http-8080-28" daemon [_thread_blocked, id=76, stack(0xa7780000,0xa7800000)]
0x00683000 JavaThread "http-8080-27" daemon [_thread_blocked, id=75, stack(0xa7880000,0xa7900000)]
0x01e41000 JavaThread "http-8080-26" daemon [_thread_blocked, id=74, stack(0xa7980000,0xa7a00000)]
0x019d0400 JavaThread "http-8080-25" daemon [_thread_blocked, id=73, stack(0xa7a80000,0xa7b00000)]
0x00aec000 JavaThread "http-8080-24" daemon [_thread_blocked, id=72, stack(0xa7b80000,0xa7c00000)]
0x00727000 JavaThread "http-8080-23" daemon [_thread_blocked, id=71, stack(0xa7c80000,0xa7d00000)]
0x00756400 JavaThread "http-8080-22" daemon [_thread_blocked, id=70, stack(0xa7d80000,0xa7e00000)]
0x0129e400 JavaThread "MultiThreadedHttpConnectionManager cleanup" daemon [_thread_blocked, id=69]
0x002aec00 JavaThread "http-8080-21" daemon [_thread_blocked, id=68, stack(0xa7f80000,0xa8000000)]
0x017abc00 JavaThread "http-8080-20" daemon [_thread_blocked, id=67, stack(0xa8080000,0xa8100000)]
0x0146e000 JavaThread "http-8080-19" daemon [_thread_blocked, id=66, stack(0xa8180000,0xa8200000)]
0x006f1400 JavaThread "http-8080-18" daemon [_thread_blocked, id=65, stack(0xa8280000,0xa8300000)]
0x006ef400 JavaThread "http-8080-17" daemon [_thread_blocked, id=64, stack(0xa8380000,0xa8400000)]
0x00a86000 JavaThread "http-8080-16" daemon [_thread_blocked, id=63, stack(0xa8480000,0xa8500000)]
0x01aaac00 JavaThread "http-8080-15" daemon [_thread_blocked, id=62, stack(0xa8580000,0xa8600000)]
0x0054b800 JavaThread "DefaultSlideCacheManager:thread-1" [_thread_blocked, id=61, stack(0xa86800]
0x0009d800 JavaThread "http-8080-14" daemon [_thread_blocked, id=60, stack(0xa8780000,0xa8800000)]
0x01bc4800 JavaThread "http-8080-13" daemon [_thread_blocked, id=59, stack(0xa8880000,0xa8900000)]
0x0264f000 JavaThread "http-8080-12" daemon [_thread_blocked, id=58, stack(0xa8980000,0xa8a00000)]
0x0032b400 JavaThread "http-8080-11" daemon [_thread_blocked, id=57, stack(0xa8a80000,0xa8b00000)]
0x01aa9400 JavaThread "http-8080-10" daemon [_thread_blocked, id=56, stack(0xa8b80000,0xa8c00000)]
0x0167b000 JavaThread "http-8080-9" daemon [_thread_blocked, id=55, stack(0xa8c80000,0xa8d00000)]
0x007aec00 JavaThread "http-8080-8" daemon [_thread_blocked, id=54, stack(0xa8e80000,0xa8f00000)]
0x01d63400 JavaThread "http-8080-7" daemon [_thread_blocked, id=53, stack(0xa8f80000,0xa9000000)]
0x007dd400 JavaThread "http-8080-6" daemon [_thread_blocked, id=52, stack(0xa9280000,0xa9300000)]
0x023b2800 JavaThread "http-8080-5" daemon [_thread_blocked, id=51, stack(0xa9e80000,0xa9f00000)]
0x0028e800 JavaThread "http-8080-4" daemon [_thread_blocked, id=50, stack(0xa9180000,0xa9200000)]
0x00e32800 JavaThread "http-8080-3" daemon [_thread_blocked, id=49, stack(0xa9780000,0xa9800000)]
0x029c0000 JavaThread "http-8080-2" daemon [_thread_blocked, id=48, stack(0xa9080000,0xa9100000)]
0x0083f800 JavaThread "http-8080-1" daemon [_thread_blocked, id=47, stack(0xa9680000,0xa9700000)]
0x0143c800 JavaThread "http-8080-Acceptor-0" daemon [_thread_in_native, id=46, stack(0xa9380000,0]
0x01d86c00 JavaThread "ContainerBackgroundProcessor[StandardEngine[Standalone]]" daemon [_thread_]
0x01244400 JavaThread "com.google.common.base.internal.Finalizer" daemon [_thread_blocked, id=40,]
0x01d98400 JavaThread "Timer-2" daemon [_thread_blocked, id=29, stack(0xa9980000,0xa9a00000)]
0x0019f000 JavaThread "Timer-1" daemon [_thread_blocked, id=28, stack(0xa9a80000,0xa9b00000)]
0x01762800 JavaThread "FelixPackageAdmin" daemon [_thread_blocked, id=27, stack(0xa9b80000,0xa9c0]
0x01f2d000 JavaThread "FelixStartLevel" daemon [_thread_blocked, id=26, stack(0xa9c80000,0xa9d000]
0x01f2d800 JavaThread "FelixDispatchQueue" daemon [_thread_blocked, id=25, stack(0xa9d80000,0xa9e]
0x01da5800 JavaThread "Timer-0" daemon [_thread_blocked, id=23, stack(0xa9f80000,0xaa000000)]
0x00ab6c00 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=22, sta]
0x01576c00 JavaThread "DefaultQuartzScheduler_Worker-10" [_thread_blocked, id=21, stack(0xaa18000]
0x01575800 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=20, stack(0xaa280000]
0x01a26800 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=19, stack(0xaa380000]
0x0042ac00 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=18, stack(0xaa480000]
0x00cd3c00 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=17, stack(0xaa580000]
0x0030e400 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=16, stack(0xaa680000]
0x0096c800 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=15, stack(0xaa780000]
0x01d41800 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=14, stack(0xaa880000]
0x017e2400 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=13, stack(0xaa980000]
0x0139ac00 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=12, stack(0xaaa80000]
0x01719400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=11, stack(0xaab80000,0xaac000]
0x000d3c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=9, stack(0xab280000,0xab3]
0x000d1800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=8, stack(0xab380000,0xab40000]
=>0x000c6800 JavaThread "CompilerThread0" daemon [_thread_in_native, id=7, stack(0xab480000,0xab500]
0x000c5000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6, stack(0xab580000,0xab600]
0x000afc00 JavaThread "Finalizer" daemon [_thread_blocked, id=5, stack(0xab680000,0xab700000)]
0x000ae400 JavaThread "Reference Handler" daemon [_thread_blocked, id=4, stack(0xab780000,0xab800]
0x00030800 JavaThread "main" [_thread_in_native, id=2, stack(0xfe300000,0xfe380000)]
Other Threads:
0x000ab800 VMThread [stack: 0xab880000,0xab900000] [id=3]
0x000d5c00 WatcherThread [stack: 0xab180000,0xab200000] [id=10]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 314560K, used 250160K [0xabc00000, 0xc1150000, 0xc1150000)
eden space 279616K, 83% used [0xabc00000, 0xba030b60, 0xbcd10000)
from space 34944K, 47% used [0xbcd10000, 0xbdd2b760, 0xbef30000)
to space 34944K, 0% used [0xbef30000, 0xbef30000, 0xc1150000)
tenured generation total 699072K, used 326662K [0xc1150000, 0xebc00000, 0xebc00000)
the space 699072K, 46% used [0xc1150000, 0xd5051b68, 0xd5051c00, 0xebc00000)
compacting perm gen total 95744K, used 95657K [0xebc00000, 0xf1980000, 0xfbc00000)
the space 95744K, 99% used [0xebc00000, 0xf196a7a8, 0xf196a800, 0xf1980000)
No shared spaces configured.
Dynamic libraries:
0x00010000 /usr/jdk/instances/jdk1.6.0/bin/java
0xff3a0000 /lib/libthread.so.1
0xff370000 /usr/jdk/instances/jdk1.6.0/bin/../jre/lib/sparc/jli/libjli.so
0xff350000 /lib/libdl.so.1
0xff200000 /lib/libc.so.1
0xff390000 /platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
0xfe400000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/server/libjvm.so
0xff1d0000 /lib/libsocket.so.1
0xff1f0000 /usr/lib/libsched.so.1
0xff1b0000 /lib/libm.so.1
0xff180000 /usr/lib/libCrun.so.1
0xff160000 /lib/libdoor.so.1
0xff080000 /lib/libnsl.so.1
0xfef80000 /lib/libm.so.2
0xff050000 /lib/libscf.so.1
0xff140000 /lib/libuutil.so.1
0xff030000 /lib/libgen.so.1
0xfef50000 /lib/libmd.so.1
0xfef30000 /platform/SUNW,Sun-Fire-V210/lib/libmd_psr.so.1
0xfef10000 /lib/libmp.so.2
0xfe3d0000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libverify.so
0xfe390000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libjava.so
0xfe2e0000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/native_threads/libhpi.so
0xfe290000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libzip.so
0xfe1e0000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.3
0xfe040000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libmanagement.so
0xfbfa0000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libnet.so
0xaaff0000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libj2pkcs11.so
0xaafb0000 /usr/lib/libpkcs11.so
0xaaf90000 /usr/lib/libcryptoutil.so.1
0xaaf30000 /usr/lib/security/pkcs11_softtoken_extra.so
0xaad80000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libawt.so
0xaad60000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/headless/libmawt.so
0xaac80000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libfontmanager.so
0xaad40000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libnio.so
0xaad20000 /lib/librt.so.1
0xaac60000 /lib/libaio.so.1
0xaac40000 /usr/lib/libsendfile.so.1
0xa9830000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libjpeg.so
0xa9740000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libdcpr.so
0xa9310000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libcmm.so
VM Arguments:
jvm_args: -Djava.util.logging.config.file=/apps/atlassian/confluence-3.4-std/conf/logging.propertie
java_command: org.apache.catalina.startup.Bootstrap start
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/usr/java
PATH=/apps/oracle/product/11.2.0/bin:/usr/java/bin:/usr/sbin:/usr/local/bin:/usr/bin
LD_LIBRARY_PATH=/usr/jdk/instances/jdk1.6.0/jre/lib/sparc/server:/usr/jdk/instances/jdk1.6.0/jre/lic
SHELL=/bin/bash
Signal Handlers:
SIGSEGV: [libjvm.so+0x87b414], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGBUS: [libjvm.so+0x87b414], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGFPE: [libjvm.so+0x1c4234], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGPIPE: [libjvm.so+0x1c4234], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGXFSZ: [libjvm.so+0x1c4234], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGILL: [libjvm.so+0x1c4234], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: [libjvm.so+0x75619c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
SIGHUP: [libjvm.so+0x75619c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGTERM: [libjvm.so+0x75619c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
SIG39: [libjvm.so+0x759bc8], sa_mask[0]=0x00000000, sa_flags=0x00000008
SIG40: [libjvm.so+0x1c4234], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
--------------- S Y S T E M ---------------
OS: Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
Assembled 11 August 2010
uname:SunOS 5.10 Generic_142909-17 sun4u (T2 libthread)
rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
load average:1.82 1.81 1.30
CPU:total 1 has_v8, has_v9, has_vis1, has_vis2, is_ultra3
Memory: 8k page, physical 8388608k(1512208k free)
vm_info: Java HotSpot(TM) Server VM (17.1-b03) for solaris-sparc JRE (1.6.0_22-b04), built on Sep 18
time: Mon Nov 15 10:40:11 2010
elapsed time: 310607 secondsIf you are using JNI or using a third party library that uses JNi then that would likely be the problem.
If not then it is a VM bug. -
Enabling https on already running apache server
How to enable https already running apache server.
RegardsSaurabh,
> How to enable https already running apache server.
>
It should be on by default. It is controlled by the secure listen
directive in httpd.conf
- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)
Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement
Using VA 5.51 build 315 on Windows 2000 build 2600 -
Running apache and IIS on SBS: 403 permissions issue
I'm trying to run Apache and IIS at the same time on the
Windows SBS. I can bring up the Apache screen from a terminal, but
I get the dreaded: 403 access denied. I've hunted around for a
solution, but without much luck. Thanks in advance for any
suggestions.
Mikeupdate: last night i was up so late trying to tweak the
config file that i probably messed something up. i uninstalled the
apache and re-installed and set the port to listen on 8080. seems
to be working now!
one thing i found strange: on the server i typed in the ip
address of the server:8080 and it woudn't access the apache . . .
but, it would as a localhost.
anyway its working now . . . proof that just posting
something on this board gets results ;) -
Can't run apache after setting mod_jk.conf-auto
Can anybody help me?
In the beginning when jdk1.3.1 & tomcat3.2.2 are just set, they both can work porperly, but after setting mod_jk.conf-auto (for running jsp), Apache can't start and give out the following error msg:
Starting httpd: Syntax error on line 60 of /usr/local/jakarta-tomcat-3.2.2/conf/mod_jk.conf-auto:
Invalid command 'Alias', perhaps mis-spelled or defined by a module not included in the server configuration
[60G[[1;31mFAILED[0;39m]
Thank you for your attention!
RoRoalways start Tomcat first
then Apache -
Running Apache with html files on a mounted NAS device
Hi. I am hoping someone could help me out. I have been pulling my hair out for the past 2 days.
I am running Arch v0.8. I have very few packages installed -- I started with base install and added Apache, MySql, PHP, Samba and a few others.
Configuration:
- I have apache running as user=apache, group=apache. I changed this from nobody:nobody in httpd.conf.
- I have a Buffalo TerraStation on my lan. It is called edge_nas. It has a share called "linux".
- I successfully mounted the Buffalo share using the following entry in fstab:
//edge_nas/linux /mnt/edge_nas smbfs username=apache,password=theapachepassword,gid=apache 0 0
- I created a soft link in /home which points /home/httpd to /mnt/edge_nas/home/httpd.
- I want my web files on the Buffalo NAS device because it is raid 5.
Problem:
- Root is able to read and write anywhere on /mnt/edge_nas.
- Apache can read /mnt/edge_nas.
- Apache can write in its home directory on /mnt/edge_nas/home/apache.
- Apache cannot write in any other directory (especially /mnt/edge_nas/home/httpd/html).
Question:
- How do I grant apache read/write access to the html root?
Any ideas? Please be gentle.
Thank you for your help.
Edgecactus wrote:umm. still not clear on what you did...
Please layout a clear step by step of what you did. That might make it easier to help you.
Ok. From the top...
On the Buffalo NAS (edge_nas):
- I logged into the Buffalo web-based admin screen.
- I created a new share called linux.
- I created a new user called apache.
- I granted read/write access to apache on the linux share.
On Arch Linux:
- I logged in locally as root.
- I created a new user apache, in group apache.
- I created a new directory called /mnt/edge_nas.
- I mounted the Buffalo share using the following entry in fstab:
//edge_nas/linux /mnt/edge_nas smbfs username=apache,password=theapachepassword,gid=apache 0 0
- I changed apache to run as apache:apache. I changed this from nobody:nobody in httpd.conf.
- In /home/httpd, I created a softlink for /home/httpd/html, pointing it to /mnt/edge_nas/home/httpd/html.
- I chmod 777 /mnt/edge_nas/home/httpd/html.
- I restarted apache.
- I created a summy index.html in that directory to ensure apache can see the mount.
To test it out:
- I logged into arch locally as my apache user.
- I cd'ed to /home/httpd/html.
- I tried to create a new text file with vi.
- I cannot open the text file for write.
I hope that helps. Please excuse any misuse of terminology.
Thanks.
Edge -
Hi,
I configured Apache on 10gAS to run as a non-oracle user.
I have hit this road block.
# tail -f HTTP_Server~1
07/10/06 14:41:36 Start process
apachectl is not owned by this userAfter much investigation. The following hidden file is causing the problem.
$ORACLE_HOME/Apache/Apache/bin/.apachectlThis is the file permission
# ls -ltr .apachectl
-rwsr-s-wx 1 oracle dba 32768 Aug 3 2005 .apachectlLooks like file ".apachectl" is not allowing Apache to run as non- oracle user.
I changed the onwership of ".apachectl" to the user I wish to execute Apache server as. Then I got this error:
07/10/06 15:35:06 Start process
/opt/oracle/app/oracle/product/10gAS/Apache/Apache/bin/.apachectl: Permission deniedAny help here?
ThanksYou could also make the user that starts the Apache a member of the current group. You will be capable of starting the apchaectl. Furthermore you should indeed not use apchectl or .apachectl directly.
You could better use the standalone Apache by Oracle or install in a different ORACLE_HOME the OHS with its own opmn - owner by this specific user.
cu
Andreas -
Hello. I am using Apache 1.3.37 to host a wiki and a bug tracking system. Our services basically came to a halt one day. After a little investigation, I found this (See below) in my access_log. This is the tail end of the log and covers approximately 2 seconds of it.
Does anyone have any idea what I can do? I googled it and looked around at several forums but couldn't find this exact problem. It seems that our server is being used to pass along these requests too. I have since shut off our server. Any advice would be appreciated.
211.103.128.192 - - [05/Jan/2007:17:22:34 -0500] "GET http://ad.yieldmanager.com/imp?z=6&Z=728x90&s=41706&x=http://adserver.easyad.in fo/adlink|525|1145943|0|225|AdId=1264655;BnId=3;itime=35715300;nodecode=yes;link =%24&B=1 HTTP/1.0" 200 654
218.247.3.42 - - [05/Jan/2007:17:22:34 -0500] "GET http://a248.e.akamai.net/7/800/1128/1116354393/network.realmedia.com/RealMedia/a ds/Creatives/OasDefault/DEF200202000106_HOUSE_CITYKIDS/citykids_300x250sm.gif HTTP/1.0" 200 19261
211.103.128.203 - - [05/Jan/2007:17:22:34 -0500] "GET http://adserver.easyad.info/addyn|3.0|525|1125369|0|1|ADTECH;loc=100;target=_bl ank;grp=[group];misc=1168122812812 HTTP/1.0" 302 0
211.103.128.148 - - [05/Jan/2007:17:22:34 -0500] "GET http://adopt.euroclick.com/adopt.eu?l=1729262234&sz=468x60&r=j&rnd=[cachebuster] HTTP/1.0" 200 917
218.247.3.41 - - [05/Jan/2007:17:22:34 -0500] "GET http://view.atdmt.com/IWC/iview/247malgt0040000016iwc/direct/01&1600240599?click =http://network.realmedia.com/RealMedia/ads/clicklx.ads/focusgolfer/120x600/ron/autmen/ss/a/1600240599/x08/OasDefault/BCN20061200 41_02_LionsGate/Crank120.html/34363562646233393435396563663830? HTTP/1.0" 200 6312
218.247.3.30 - - [05/Jan/2007:17:22:34 -0500] "GET http://view.atdmt.com/iview/247mamon0770000011mon/direct;at.monmon00259113/01&34 3181588?click=http://network.realmedia.com/RealMedia/ads/clicklx.ads/zonsoft/160x600/ron/tchentgms/ss/a/343181588/x10/OasDefault/BCN2006120155 _01_monster/CPC160x600Jasper_WorldOf6_160x600_11K3L.html/34363562646233393435396563663830? HTTP/1.0" 200 6443
216.91.59.236 - - [05/Jan/2007:17:22:34 -0500] "POST http://purchase.tickets.com/buy/MLBEventInfo HTTP/1.1" 200 6321
84.19.188.45 - - [05/Jan/2007:17:22:34 -0500] "GET http://masterovoy-spb.ru:8080/forum1/f.php?id=0dd6c315d9c9e85994b0787cbc9e7b49&k ey=chstream&num=1 HTTP/1.0" 200 4044
218.247.3.30 - - [05/Jan/2007:17:22:34 -0500] "GET http://network.realmedia.com/RealMedia/ads/adstream_sx.ads/zonsoft/160x600/ron/t chentgms/ss/a@x10 HTTP/1.0" 200 1260
203.118.35.43 - - [05/Jan/2007:17:22:34 -0500] "GET http://ad.marketingsector.com/imp?z=0&s=116592&u=http%3A%2F%2Fwww.2pol.com%2Find ex.html&r=1&y=30 HTTP/1.1" 302 0
218.247.3.34 - - [05/Jan/2007:17:22:34 -0500] "GET http://network.realmedia.com/RealMedia/ads/adstream_jx.ads/value2mobile/1x1pop/r on/tch/ss/a@Position3 HTTP/1.0" 200 368
218.247.3.42 - - [05/Jan/2007:17:22:35 -0500] "GET http://network.realmedia.com/RealMedia/ads/adstream_jx.ads/nbamaster/728x90/ron/ autmen/ss/a/1981523893@Top1 HTTP/1.0" 200 477
218.247.3.8 - - [05/Jan/2007:17:22:35 -0500] "GET http://network.realmedia.com/RealMedia/ads/adstream_jx.ads/focusgolfer/120x600/r on/autmen/ss/a/1686846242@x08 HTTP/1.0" 200 1361
222.93.132.74 - - [05/Jan/2007:17:22:35 -0500] "GET http://content.media-servers.net/rmtag3.js HTTP/1.0" 200 11842
218.247.3.30 - - [05/Jan/2007:17:22:35 -0500] "GET http://network.realmedia.com/RealMedia/ads/adstream_sx.ads/pcaidance/468x60/ron/ tch/ss/a@Position1 HTTP/1.0" 200 439
220.191.231.206 - - [05/Jan/2007:17:22:35 -0500] "GET http://search.pointcom.com/xml.php?Terms=hairy+stud&strict=1&affiliate=sharesmil e&IP=70.91.219.57 HTTP/1.0" 200 3689
Mac Mini Intel Core Duo 1.66 Mac OS X (10.4.8)I have not changed anything in the httpd.conf that Apple put there. I'm running OS X Server 10.4.8
Here is my virtual host file
<VirtualHost 72.236.182.161:80>
ServerName bluesky.ihmc.us
ServerAdmin [email protected]
DocumentRoot "/Library/WebServer/Documents/mediaWiki"
DirectoryIndex "index.html" "index.php"
CustomLog "/var/log/httpd/blueskyaccesslog" "%h %l %u %t \"%r\" %>s %b"
ErrorLog "/var/log/httpd/blueskyerrorlog"
ErrorDocument 404 /error.html
<IfModule mod_ssl.c>
SSLEngine Off
SSLLog "/var/log/httpd/sslenginelog"
SSLCertificateFile "/etc/certificates/Default.crt"
SSLCertificateKeyFile "/etc/certificates/Default.key"
SSLCipherSuite "ALL:!ADH:RC4RSA:+HIGH:+MEDIUM:+LOW:!SSLv2:+EXP:eNULL"
</IfModule>
<IfModule mod_dav.c>
DAVLockDB "/var/run/davlocks/.davlock100"
DAVMinTimeout 600
</IfModule>
<Directory "/Library/WebServer/Documents/mediaWiki">
Options All -Indexes ExecCGI -Includes MultiViews
<IfModule mod_dav.c>
DAV Off
</IfModule>
AllowOverride None
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
</IfModule>
<IfModule mod_alias.c>
</IfModule>
LogLevel warn
</VirtualHost>
Here is a sample of what I am seeing in my log file. Some "proxy" requests are getting a 404, but others are getting a 200 and data sent back.
219.132.138.241 - - [09/Jan/2007:15:44:48 -0600] "GET http://park.parkingdots.com/skins/common/IEFixes.js HTTP/1.0" 200 4018
219.132.138.241 - - [09/Jan/2007:15:44:52 -0600] "GET http://park.parkingdots.com/skins/common/wikibits.js HTTP/1.0" 200 21397
222.184.76.105 - - [09/Jan/2007:15:44:56 -0600] "GET http://ypn-js.overture.com/partner/js/ypn.js HTTP/1.0" 404 -
219.132.138.241 - - [09/Jan/2007:15:44:56 -0600] "GET http://park.parkingdots.com/index.php?title=-&action=raw&gen=js HTTP/1.0" 200 7862
219.132.138.241 - - [09/Jan/2007:15:45:01 -0600] "GET http://park.parkingdots.com/images/3/39/Apollo17-panoramic.jpg HTTP/1.0" 200 18662
211.103.128.213 - - [09/Jan/2007:15:45:03 -0600] "GET http://ypn-js.overture.com/partner/js/ypn.js HTTP/1.0" 404 -
2
PowerMac G5 Mac OS X (10.4.1)
PowerMac G5 Mac OS X (10.4.1)
PowerMac G5 Mac OS X (10.4.1)
PowerMac G5 Mac OS X (10.4.1) -
Hardware req. running Apache with mod_plsql
I'm trying to find out hardware requirements for running an Apache server with mod_plsql on Windows NT/Windows2000 serving about 100 concurrent users. I've been redirected to "Oracle HTTP Server powered by Apache Performance Guide", but this document does not cover mod_plsql.
Any help out there?Do you have installed the database in a separate machine?
If yes, Apache/mod_plsql running in standalone mode do not require a lot of memory.
Apache on windows NT platform uses only 2mb of ram, I don4t know how many memory uses mod_plsql, but IMO it uses the same memory like other mods of Apache.
Best regards, Marcelo.
PD: Look at the parameter of mod_plsql about the concurrent sessions accepted which by default is 10, you has to increase this value to 100. In the other hand, this parameter gets a database connection which you has to increase to 100 too. -
Problem running apache dual stack IPv4 and IPv6
Hello!
I am running a single Lion-Server with one public IPv4 address. Because my Provider is able to support IPv6 now, I ordered a public IPv6 address for my server. (To learn IPv6)
I setup IPv6 address and setup the firewall with ip6fw - everything works fine, I can connect to ssh and afp via IPv4 or IPv6 but when I try to connect to my wiki over IPv6 I get the certificate question (unknown certificate ... blah) click continue and the certificate is loeded againe - I end up in an infinte loop of certificate questions.
The part of the firewall config looks like this:
20515 allow tcp from any to any 443
20516 allow tcp from any to any 8443
20517 allow tcp from any to any 1640
I looked into apache config:
/etc/apache2/sites/virtual_host_global.conf has this entries:
Listen *:443
NameVirtualHost *:443
Listen *:80
NameVirtualHost *:80
I have only one domain and only one single virtual host as defined in /etc/apache2/sites/0000_any_443_.conf:
## Default Virtual Host Configuration
<VirtualHost *:443>
ServerAdmin [email protected]
DocumentRoot "/Library/Server/Web/Data/Sites/Default"
DirectoryIndex index.html index.php /wiki/ default.html
CustomLog "/var/log/apache2/access_log" combinedvhost
ErrorLog "/var/log/apache2/error_log"
<IfModule mod_ssl.c>
SSLEngine On
SSLCipherSuite "ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM"
SSLProxyEngine On
SSLProtocol -ALL +SSLv3 +TLSv1
SSLCertificateFile "/etc/certificates/www.ABCDE.de.1A00F8DFC2738F25D26E3248A4C8F687D7EA7F32.cert.p em"
SSLCertificateKeyFile "/etc/certificates/www.ABCDE.de.1A00F8DFC2738F25D26E3248A4C8F687D7EA7F32.key.pe m"
SSLCertificateChainFile "/etc/certificates/www.ABCDE.de.1A00F8DFC2738F25D26E3248A4C8F687D7EA7F32.chain. pem"
SSLProxyProtocol -ALL +SSLv3 +TLSv1
</IfModule>
<Directory "/Library/Server/Web/Data/Sites/Default">
Options All +MultiViews -ExecCGI -Indexes
AllowOverride None
<IfModule mod_dav.c>
DAV Off
</IfModule>
</Directory>
</VirtualHost>
I have not modified the apache config by hand until now - but this was an upgrade from Snow Leopard Server. At the moment I am a littel scared to upgrade to Mountain Lion server because this server runs mail and calender services for my company.
I tried to setup "Listen" entry with dedicated IP-addresses, one for IPv4 and one for IPv6 but this only leads to the same problem - IPv4 works, IPv6 ends in an infinte loop.
I found somewhere that I had to duplicate virtual hosts setup for IPv4 and IPv6 but afaik "Server.app" will overwrite it, right?
Every hint is welcome, bye
Christoph
P.S. Sorry just saw that I posted to ML-Server discussions not Lion-Server, but maybe someone can tell me that I can upgrade without scare.
Message was edited by: Christoph Ewering1Hello!
Did some more testing and found that FireFox works with the loopback-address.
https://[::1]/
So, the address above works with FireFox after accepting the certificate - Safari loops in the dialog accepting the certificate.
Then I tried the link-local-address but it looks like apache does not listen to that address at all
Then I tried the global-address and got to:
Safari looping in the certificate dialog
FireFox brings an alert „sec_err_bad_database"
BTW this tests were made on the server that runs the apache. So no firewall between the browser and the server.
No one using Mac OS X server in a dual stack enviroment?
Bye,
eweri -
11i : Can we run Apache and Forms on cluster for failover?
Hi... We are currently running 11.5.5 successfully on 4 servers:
URANUS (cluster made up of HADES and ATHENA) : database and reports
ARTEMIS : forms server
PEGASUS : http server
We are now attempting to reconfigure the application architecture to increase
failover because if ARTEMIS or PEGASUS fails, our system is unusable. At the
back end we are ok because we can bring up the database and reports server on
the secondary node in the URANUS cluster.
One of the options we are considering is to cluster the 2 machines ARTEMIS and
PEGASUS together, and run forms and http on the one primary node. If the
primary node in the cluster failed, then we would bring up the forms and http
server on the secondary node automatically when failover happens.
Has anyone done this?
Does Oracle support the clustering of these application tier services (http and
forms) on Compaq TRU 64 clusters?hmm.. that's a very interesting question... if you find out please let me know too.
-
Error message when trying to run Apache Web Server from OSX 10.3.9
Hi there
I accidently deleted the index.html file, and upon replacing it, I get the message "Forbidden
You don't have permission to access /~fourdcmac/ on this server.
Apache/1.3.33 Server at 4.local Port 80"
I have tried repairing permissions using Disk Utility, and manuall checking the permissions on the file against the same file on other machines.
Any ideas anyone??
Thanks
MacfoolI think the problem is that typically in Apache if you don't have an index.html file then the server will display a listing of files in its directory. This is controlled by having an "Options Indexes" directive in the configuration file httpd.conf.
If your permissions on the folder in question don't allow you to read the folder contents, then if your index.html is missing this error may come up.
Also, if you don't have an index.html file, and you have "Options -Indexes" then you will not be allowed to browse the folder.
Your best bet is to create a new index file.
Maybe you are looking for
-
Hi The Reference Key 1,2 and 3 is missing in fb03. The document i posted is a downpayment request to a vendor, The document posted while viewing in FB03, the additional data tab is not showing the Reference Key filelds1, 2 and 3. Do somebody knows h
-
Authentication Window pops up and goes away immediately. How do I fix this?
Same issue as this unsolved but archived thread: http://discussions.apple.com/message.jspa?messageID=10929196 When trying to connect (observe/control) to some machines for the first time using ARD I get a popup asking for username/password verificati
-
Dynamic URL for Exploration View
Hi Experts, We know that we could create Dynamic URL for InfoSpace to get its facet value and chart type Would you kindly let me know whether it is possible to get dyanmic URL for Exploration View I know it's hard to set chart type but we just want t
-
I have Adobe Premiere Elements 11, haven't used it in awhile, but it crashes every time on startup.
-
Problems downloading 1 file from 11.5.10+ virtual Documentation Library
I am unable to download the following document from the 11.5.10+ virtual Documentation Library: Title: Using Oracle Workflow in Oracle Order Management Part Number: A96689-02 URL: http://download-uk.oracle.com/docs/cd/B16981_03/current/acrobat/115omw