Multiple Apache on same machine

I am trying to run two apaches on the same machine. I have installed each in their own home directory. I get the following error when I try to bring up the second listener. it looks like a permission error on a dynamic file in the /tmp directory. the first listener has already created the file, therefore the second listener cannot. how can I have the second listener write to a different file? thanks, Jim
[Mon Jun 24 08:43:21 2002] [error] (2)No such file or directory: FastCGI: access
for server (uid 4005, gid 402) failed: read not allowed by group
[Mon Jun 24 08:43:21 2002] [error] (13)Permission denied: FastCGI: can't create
dynamic directory "/tmp/fcgi/dynamic": doesn't exist and can't be created: Permi
ssion denied
[Mon Jun 24 08:43:22 2002] [warn] pid file /nsys1/oracle/test9iAS/Apache/Apache/
logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 24 08:43:22 2002] [error] OPM:Fail to create shmpool
[Mon Jun 24 08:43:22 2002] [error] OPM:Fail to call opm_sys_init
[Mon Jun 24 08:43:22 2002] [error] OPM: process manager could not create interna
l tables
[Mon Jun 24 08:43:22 2002] [crit] (13)Permission denied: Apache JServ encountere
d a fatal error; check your ApJServLogFile for details if none are present in th
is file. Exiting.

If you want to have only one log file for all the virtual hosts configured in your environment, you can achieve it using global properties. Instead of specifying the same Debug, WLLogFile and WLTempDir properties in each virtual host you can specify them just once in the <IfModule> tag
Sample httpd.conf file:
<IfModule mod_weblogic.c>
WebLogicCluster johndoe02:8005,johndoe:8006
Debug           ON
WLLogFile c:/tmp/global_proxy.log
WLTempDir "c:/myTemp"
DebugConfigInfo On
KeepAliveEnabled ON
KeepAliveSecs 15
</IfModule>
Please refer to the below link for more information:-
http://docs.oracle.com/cd/E15051_01/wls/docs103/plugins/apache.html
-Sandeep

Similar Messages

  • Problem with JMX Remote Port - JBoss & Apache on same machine

    Hi,
    I have a server which hosts Apache that uses mod_jk to pass requests to three Tomcat instances. Apache listens to port 80.
    I want to install a different application on the same machine that runs on JBoss. Foreseeing the problem with port numbers, I got a different IP address (Let's say IP2, and original IP for Apache is IP1) on the same machine to run JBoss application. I changed HTTP Connector configuration in server.xml to add "address=IP1:8080" for Tomcat, "address=IP2:8080" for JBoss. I also modified Apache Listen directive in httpd.conf from "Listen 80" to "Listen IP1:80".
    Now when I try to start JBoss server by running run.bat, I get below error.
    Can any one please suggest how can I resolve this port conflict? Is there even a way to resolve it? As JAVA_HOME can point to a single location and both JBoss & Apache use it?
    Thanks.
    ===============================================================================
      JBoss Bootstrap Environment
      JBOSS_HOME: C:\jboss
      JAVA: C:\Java\jdk1.6.0_01\bin\java
      JAVA_OPTS: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=
    9004 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.aut
    henticate=false  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.
    client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
      CLASSPATH: C:\Java\jdk1.6.0_01\lib\tools.jar;E:\jboss\bin\run.jar
    ===============================================================================
    Error: Exception thrown by the agent : java.rmi.server.ExportException: Port alr
    eady in use: 9004; nested exception is:
            java.net.BindException: Address already in use: JVM_Bind
    Press any key to continue . . .

    What's running on JMX port without the Jboss running ?
    Seems that u have something it.
    Btw, try to discover how to bind JMX of portal to IP2, not to IP1 or to global Ip.

  • Running multiple instances on same machine

    I need to run multiple instances of BEA WLS on a unix machine. I need 4 separate instances (dev and test for two different departments) on one machine and two production instances on another machine. What is the best way to go about separating these (ex. an account or directory structure for each)?
    Thanks,
    Roger ---|-

    Dev/Test:
    Give each one its own domain name - i.e. a separate directory under config. This
    works well.
    Production:
    Do the same, but to keep licensing costs down, I'd be inclined to run everything
    on a single instance.
    simon.
    Roger Cornejo wrote:
    I need to run multiple instances of BEA WLS on a unix machine. I need4 separate instances (dev and test for two different departments) on
    one machine and two production instances on another machine. What is
    the best way to go about separating these (ex. an account or directory
    structure for each)?
    Thanks,
    Roger ---|-

  • How to get rid of multiple instance of same machine

    Hi, I have an issue with my MacPro as I have multiple instance of the same computer. Let me explain : My machine appears as MacPro. but sometime it connect as MacPro (2), or MacPro (3) and so on... I now have MacPro (11). This happens when I get problem with my network... it reconnect the machine with a new name... Big deal you'll tell me... let it be that way and carry on... But Here is where I have a problem : Third party application such as SpeedDownload see all those Instance as Multiples machines and now it won't open because it tells me that I only have a licence for one computer and that the software is installed on multiple computers as MacPro, MacPro (2), MacPro (3), ... and MacPro (11).
    Is there a way I could get rid of all the other "Instances" and only keep on machine which would be MacPro?
    Thank You,
    Martin B.

    You said:
    Dear APPLE.
    Please tell us how to correct this?
    Thanks in anticipation
    Bruce
    You are not addressing Apple here We are all just users like yourself.
    You can inform Apple here but you will not get a reply from Apple.
    http://www.apple.com/feedback/macosx.html
    As a test can you try just using Ethernet?

  • Shared Photo & Music Libraries for Multiple Users on Same Machine

    I've setup multiple users on a single machine and I'm trying to have a common shared folder for photos (w/ Adobe PSE) and music (w/ iTunes). First, on photos:
    -Tried setting up a folder on /users/shared/pictures. How can I "share" the main folder and have permissions carry down to all subfolders and files?
    -I've given the other user permission, but when logged on, Finder window only displays icon, not preview of image? In cover flow mode, image shows up, though?
    -Is this the best approach or is /me/public the better way or /me/pictures (shared) a better way?
    And then on music:
    -recommendations on best approach to have a single library with multiple users and multiple iTunes accounts.
    Thanks in advance

    The iTunes sharing is for sharing music between computers on a network.
    To share music on a single PC, read this article
    http://docs.info.apple.com/article.html?artnum=93195

  • How to install and use multiple products on same machine

    Hi,
    I installed BEA portal 9.2 a while back. Now I also installed AquaLogic Service Bus 2.6.
    How can I configure one of them so that workshop refers to one type of domain at a time.
    As of now, first installed version seems to take precedence.
    Appreciate any help in this regards.
    Regards,
    mqassim

    Hi,
    I installed BEA portal 9.2 a while back. Now I also installed AquaLogic Service Bus 2.6.
    How can I configure one of them so that workshop refers to one type of domain at a time.
    As of now, first installed version seems to take precedence.
    Appreciate any help in this regards.
    Regards,
    mqassim

  • Multiple Portal instances on the same machine

    Hi  Forum,
    we have a requirement where in we are asked to implement multiple instances of Portal on the same machine. can you please give me some detials on Feasibility , issues and limitations of having multiple Portal instances on the same machine , different instances pointing to different tiers(Dev, Test, Production) etc
    pointers will be highly appreciated..
    regards,
    uday

    Hi Uday,
       Please look at this.
    Multiple Portal Instances - Virtual Hosting
    Regards,
    Siva
    P.S: Award points if you find this useful.

  • File sharing across multiple user accounts on the same machine

    Hello,
    I try to figure out how multiple users (my wife and I) on the same mac can have equal access to files on the local drive without granting that access to all users on that machine or even the rest of the world.
    My research sofar hasn't come up with a satisfying solution. Here are the solutions that I am looking at:
    1. Enable a permission system that ensures access to both users in all cases (file/directory creation, copy and move).
    I only found a suitable solution for creating and copying files/directories but not for moving them.
    See the following articles for reference:
    https://discussions.apple.com/message/20787617#20787617 Setting up a shared structure that works e.g. for iPhoto Library but not for moving files to and from
    https://discussions.apple.com/message/4005647#4005647 Helpful information on POSIX Permissions, ACL's an Permission inheritance
    This would be my first choice if I can get around the problem of moving files...
    2. Disk Image
    Create a disk image which ignores persmissions and set permissions for the file that contains the image instead.
    Read this article to get further details: http://support.apple.com/kb/HT1198
    This solution will work but has a few disadvatages:
    There's no mutual access from multiple user accounts since an image may only be mounted by one user at a time.
    One has to create a startup script that mounts the image upon login which would create a first come first serve for access to the image content.
    3. Using a file sharing protocol (e.g. afp or smb) locally.
    The idea behind it is to have a server providing the files mutually to multiple users one the same machine. At them moment this seems to be the most promising approach to me.
    Unfortunately I can get acces from another machine but not from the same machine. Has anyone ever tried to access the file sharing (afp or smb) from the same machine on which the server is located?
    Has anyone got some helpful hints for me?
    Thanks in advance.

    Sorry, but you didn't specify details, and it was worth checking whether or not you had overlooked this approach.
    The problem you're having (as I suppose you already know) is that any new disk item inherits the permissions of the folder it is originally created in in.  These permissions (sensibly enough) need owner or administrator permission to change once they've been established; that will happen when you copy a file to a new location (because that's essentially creating a new file) but not when you move it. any of the following would work:
    changing the permissions on newly created files for both users so that they all explicitly give r/w access to a particular group.
    writing a droplet that would change the permissions of files dropped on it and move them programmatically to the shared folder
    set up a folder action or launchd job that would watch the shared folder and automatically convert permissions on files placed in it.
    The last would be the approach I would take, but...  which appeals to you?

  • Multiple Oracle Clients on Same Machine for different apps

    I was not able to find info that answered this so sorry if I missed something that explains this.
    At our site we have many applications some I know lots about some I'm not even aware of because we have mulitple sites. The application I develop uses an Oracle 8.1.7 database. In the next year we are going to be upgrading to a 9i database. The app I program for is written in VB and uses 0040 with the 7.3.4 version. We want to upgrade our client to the latest version to use all the features of the 9i database when that times comes. Can we have our 9i client on the same machine that may have other apps that require the 8i client or even the 7.3.4 client without breaking them? The other apps may or may not use 0040. Some of these apps are Oracle Forms applications and some can be anything under the sun.
    I still need to do testing to see what breaks but thought someone may already have the answers some of my ?'s Any tips or info you can provide would be great.
    Thanks

    Two possible answers
    1) Oracle added multi-home support to the Oracle client in 8i (may have been 8.0, I'm really not sure). This allows you to set up multiple 8i and above clients on a single machine in different Oracle Homes and should solve the majority of your problems. Having a 7.3.4 client installed wouldn't be supported, but 8i clients should have no difficulty connecting to a 7.3.4 database.
    When Oracle added multi-home support, not all the Oracle client products were made multi-home compatible. The ODBC driver, for example, wasn't multi-home compatible until significantly later patchsets. I belive that OO4O has been multi-home compatible since the client has been, though.
    2) From a technical standpoint, you should be able to have a 7.3.4 client alongside 8i and above clients. In my experience, this works, but isn't something that Oracle supports.
    Justin

  • How can I run two instances of apache tomcat in the same machine.

    Hi
    Can I run 2 instances of apache tomcat in the same machine.If yes then how.?

    Yes, you can. Just run 2 instances. Make sure that they run on different ports.

  • Problem in creating multiple instance of Jboss running on same machine  ???

    Hi all
    Please tell me steps to create multiple instance of Jboss with diffrent port number.
    Actually i want multiple instance of Jboss with different port number running on same machine.
    I tried with this steps, but it does not work for me.
    In conf/jboss-service.xml i added
       <mbean code="org.jboss.services.binding.ServiceBindingManager"
         name="jboss.system:service=ServiceBindingManager">
         <attribute name="ServerName">ports-01</attribute>
         <attribute name="StoreURL">D:/dev/jboss-4.0.2/docs/examples/binding-manager/sample-indings.xml</attribute>
         <attribute name="StoreFactoryClassName">
           org.jboss.services.binding.XMLServicesStoreFactory
         </attribute>
       </mbean>
       <mbean code="org.jboss.services.binding.ServiceBindingManager"
         name="jboss.system:service=ServiceBindingManager">
         <attribute name="ServerName">ports-02</attribute>
         <attribute name="StoreURL">D:/dev/jboss-4.0.2/docs/examples/binding-manager/sample-bindings.xml</attribute>
         <attribute name="StoreFactoryClassName">
           org.jboss.services.binding.XMLServicesStoreFactory
         </attribute>
       </mbean>But i am getting an exception when i am trying to run jboss server
    16:49:04,656 INFO  [ServiceBindingManager] Using StoreURL: file:/D:/dev/jboss-4.0.2/docs/examples/binding-manager/sample-binding
    16:49:04,750 ERROR [MainDeployer] could not create deployment: file:/D:/dev/jboss-4.0.2/server/default/conf/jboss-service.xml
    org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.system:service=ServiceBindingMana
            at org.jboss.system.ServiceCreator.install(ServiceCreator.java:70)
            at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:153)
            at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
            at org.jboss.system.ServiceController.install(ServiceController.java:202)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy4.install(Unknown Source)
            at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
            at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
            at org.jboss.Main.boot(Main.java:195)
            at org.jboss.Main$1.run(Main.java:463)
            at java.lang.Thread.run(Thread.java:595)
    Failed to boot JBoss:
    org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.system:service=ServiceBindingMana
            at org.jboss.system.ServiceCreator.install(ServiceCreator.java:70)
            at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:153)
            at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
            at org.jboss.system.ServiceController.install(ServiceController.java:202)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy4.install(Unknown Source)
            at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
            at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
            at org.jboss.Main.boot(Main.java:195)
            at org.jboss.Main$1.run(Main.java:463)
            at java.lang.Thread.run(Thread.java:595)
    16:49:05,125 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
    Shutting down
    16:49:05,156 INFO  [Server] Shutdown complete
    Shutdown complete
    Halting VM
    Press any key to continue . . .Please help me on this.
    Thanks in advance

    Then you haven't followed the method correctly. That error is
    addressed specifcally on that site, as that error is the main
    reason for the site. Did you read the note about the "known
    bug" because of the one port that is not included in the
    sample file?
    If you had tried the first method (set up a second IP and
    started both servers with the command line option providing
    an IP) there is no way this error could happen.
    If you followed the second method, and specified a different
    port for every port listed (including the one that is not in the
    sample file per default) then there is, once again, no way that
    this error could happen.
    The error happens on the second server because it is trying
    to bind the same port, using the same address, as the first
    server, which is impossible if you fully implement one of the
    two methods described there.

  • OAS and Apache Tomcat on same machine

    Hi guys,
    I have a server for "Business objects XI/MS SQL server" which uses Apache TomCat 5.
    I want to install RDBMS 10g and Oracle Application server on this machine. Is there any conflict possible?
    What measures I may take to keep both applications running on same machine.?
    thnks in advance

    Besides the obvious things like memory and CPU (load), just make sure that you don't get any port conflicts and you will be ok. (at least, you will be on unix. I don't know much about Windows, so can't help you with that one).

  • Multiple installs of SAM on the same machine

    I am trying to install SAM for DEV and QA environments on the same server by doing separate installs.
    Has anyone tried to install multiple instances of SAM on the same machine? I've run into errors where the 2nd install will not recognize a new directory server for the policy/configuration settings.
    Any help is greatly appreciated!

    Post Author: sliese
    CA Forum: General
    I run Crystal 2008, 11, and 10 on the same machine.I teach in labs with Crystal 11, 10, 9 and 8.5 on the same machine.I have never run into any problems.

  • Multiple Instances on the same machine: Several IP Addresses

              Hi all, I want to set up several instances of WL on the
              same server. These instances will be clustered. I am
              using Apache for the WebServer. Here the configuration
              I used: I first change the weblogic.conf file in Apache
              to set up the bridge.I restart apache using apachectl.
              Then, on the WebLogic site, I created a new ipadress
              using ifconfig hme0:1 ip adress ... I created a file
              hostname.hme0:1 in /etc I added this Ip address in /etc/hosts.
              I added this Ip address in the mycluster DNS. I wanted
              to start both WL manually using startWebLogic.sh file
              to see the log file. So, I first assign hostname to WL1.
              Then start WL. I opened an other terminal. Assign the
              hostname to WL2. Then start using startWebLogic.sh. The
              first instance started correctly.When the second started,
              there was an error: when listening to the port 7001,
              this port was already used. That was the same with the
              port 7002.
              Then , my question is How is it possible to configure
              several instances on the same machine using several ip
              addresses and one port. Thank you for your help. Erwan
              

              Please try -Dweblogic.system.bindAddr=<a.b.c.d> in your startWebLogic.sh.
              Brian
              "Merg" <[email protected]> wrote:
              >> Then , my question is How is it possible to configure
              >> several instances on the same machine using several
              >ip
              >> addresses and one port. Thank you for your help. Eourwan
              >
              >On Win2K/WinNT you can assign several IP adresses to you
              >NIC. (Advanced
              >TCP/IP options.) Each server instance has to run on it's
              >own port.
              >
              >Regards,
              >Merg
              >
              >
              

  • Limit FPS of multiple instances of vmware on the same machine not over IP

    Issue: How can I limit the fps of multiple vmachines on the same machine? (not over IP)
    I want to run several vmachines on the same physical machine and limit their fps. I'm aware it can be done with PCoIP but this is not over the network.
    This is for non commercial use.
    Thanks.

              Please try -Dweblogic.system.bindAddr=<a.b.c.d> in your startWebLogic.sh.
              Brian
              "Merg" <[email protected]> wrote:
              >> Then , my question is How is it possible to configure
              >> several instances on the same machine using several
              >ip
              >> addresses and one port. Thank you for your help. Eourwan
              >
              >On Win2K/WinNT you can assign several IP adresses to you
              >NIC. (Advanced
              >TCP/IP options.) Each server instance has to run on it's
              >own port.
              >
              >Regards,
              >Merg
              >
              >
              

Maybe you are looking for