Unix: How do I start weblogic as root, yet have owned by non-root uid

I have a weblogic domain that used to be started by a non-root unix user, we
now wish to have this domain
started by the user "root" as we are using ports < 1024.
[Q] What do I have to do to achieve this ?
[Q] Which files will need to be owned by root ?
Weblogic documentation isn't clear on this.

http://e-docs.bea.com/wls/docs81/ConsoleHelp/machines.html
Does that answer it?
mbg
"Tarang" <[email protected]> wrote in message
news:3e7fc4cc$[email protected]..
>
>
I have a weblogic domain that used to be started by a non-root unixuser, we
now wish to have this domain
started by the user "root" as we are using ports < 1024.
[Q] What do I have to do to achieve this ?
[Q] Which files will need to be owned by root ?
Weblogic documentation isn't clear on this.

Similar Messages

  • How to start Weblogic 10.3.5 managed server on port 80

    Hello,
    We're trying to understand how to start Weblogic as root so we can start on port 80 on Linux. We understand that we'll use the post bind UID to run as a non-priv user. Right now in the Admin console under the managed server, Server Start properties (node manager) we have the weblogic user as the user to start the server, which works. Is this where we'd put the root user? We tried that but it fails complaining about root user didn't have permission to start the server. Can someone shed some light?
    Thanks

    Hi
    1. You are asking for 2 things here:
    a) Start Weblogic as root user ?
    Before I answer this question, who (Which User) installed Weblogic Software and who created Domain. I hope its NOT root user. Usually its not preferable to use root account for this. Instead create a new user account like for example oracle or some xyz. Then login with that account. Install Weblogic and create any Domain. I would NOT prefer/recommend using root account to install weblogic. This means, I would not recommend/support to start weblogic as root user. The thing is when you install weblogic, it stores/creates lots of files/scripts. Now when you start, it has to be same user. Because at the startup, we need to read files and also CREATE lots of temp files under domain root folder. So on unix, this becomes very complex. Simple answer is if you install weblogic and domain with user say "xyz" and try to start domain with "root", you corrupted your entire domain. Some files gets changed to root user and some files just FAIL saying you do not have permissions. So its just gone. If you are a Unix Geek, do some magic and restore all permissions back.
    b) Start Weblogic at Port 80
    Very Simple. Forget about above thing. Install Weblogic and create domain say with user "xyz". Just go to domain root folder, open config/config.xml file and edit the localport to 80. By default at time of domain creation if you used all the defaults like port 7001, then you will NOT see this entry in config.xml file. But still you can edit config.xml file manually. Stop the servers. Add a section with listen-port as 80. Just refer docs for the steps. After this change, your weblogic server is now running at port 80. NOW, the main precautions is make sure that you do NOT have any other stuff running at the same port 80. Otherwise, Weblogic server startup will fail saying port 80 is already is in use.
    Now if you want both a) and b), still it is possible. But I would NOT want/recommend a), which is use "root" account to install weblogic server and create and start the Domain. Nope, totally not recommending and supporting this. Yes, port 80 can be used, but not the "root" account.
    Thanks
    Ravi Jegga

  • How I can start my career in BI

    Hi frnds,
    Currently I am working as a PL SQL developer.It is a kind of IFS ERP related support.Already we are doing Quick report all those things..How I can start learning this OBIEE I have more interest on that....any specific website is there for learning OBIEE......

    Hi,
    Refer below link
    http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/tutorials/index.html
    http://obiee101.blogspot.com/2009/07/obiee-how-to-get-started.html
    http://www.rittmanmead.com/blog/
    http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/tutorials/index.html
    http://docs.oracle.com/cd/E23943_01/bi.htm
    Thanks
    Deva

  • HT5248 How do you start the dictate feature?

    After the update iWork still looks the same and search Help did not bring anything up. So how to you start the dictate feature to have your speech to text?

    Once you upgrade to ML, you go to System Preferences and enable it. Then you select your shortcut for turning it on and off. The default is a double-tap on the fn key.
    Jerry

  • How do I start using photoshop?

    I have just downloaded adobe which took 4 hours how do I start using it? i have the icon and ive signed in and I have the file what do I do now? please help im an idiot!!!

    You mentioned you have downloaded the software. So you need to click on one of the files that is a .exe file.
    Alternatively you can try re-downloading it from the direct download links available at : http://prodesigntools.com/adobe-cs6-direct-download-links.html
    But make sure you follow the important steps mentioned on the page before initiating the download.

  • Starting weblogic in unix using "root"

    We used to have an instance of weblogic user domain which the user used to start,
    as we'd like to run this domain under ports < 1024, we now need user "root" to
    start it.
    [Q] Which files will need to be owned by root in order to do this ?
    [Q] How can user "root" start the domain, yet the process remain owned by the
    user ?
    Given that in unix one doesn't want root owning the process, with all the
    usual implication
    it entails.
    I'd appreciate if you can email me any tips you may have on the subject as
    I don't get time to read this news group.
    Thanks,
    Tarang

    Tarang wrote:
    We used to have an instance of weblogic user domain which the user used to start,
    as we'd like to run this domain under ports < 1024, we now need user "root" to
    start it.
    [Q] Which files will need to be owned by root in order to do this ?
    [Q] How can user "root" start the domain, yet the process remain owned by the
    user ?
    Given that in unix one doesn't want root owning the process, with all the
    usual implication
    it entails.
    I'd appreciate if you can email me any tips you may have on the subject as
    I don't get time to read this news group.
    HEllo,
    You can use the 'post-bind' option to start WLS as root, and switch to
    an user when WLS is started. This is the safest way.
    rgrds,
              Bart

  • How to start weblogic as backend?

    Hi,
    I can telnet Unix server and start weblogic server. The problem is when
    i logout. The weblogic is logout too. How to run weblogic as backend?
    and won't logout even user logout. Any tips?
    Thanks
    Harden

    [REPLY TO NEWSGROUP ------- This followup was posted to
    weblogic.support.install and a copy was sent to the cited author.]
    Actually you dont want to use nohup because it makes the process immune
    to signals, like SIGQUIT which you want to be there for getting thread
    dumps.
    Cheers
    Mbg
    In article <[email protected]>, [email protected] says...
    A good command to use in these situations is nohup.
    You will also likely want to add start Weblogic.sh into your
    //etc/rc.local
    Thanks,
    Michael
    Mauricio Del Moral wrote:
    Hi Harden!
    I start up WLS in HPUX like any process in background of course with root
    user and then switching WLS to diferent user to protect it, just put nohup
    in the begining and the symbol & at the end of the comand to start WLS...and
    thats all.
    Please check the information about start WLS in port 80 for unix
    machines........
    Another way doing this I guess is start WLS and then start the
    console....and then close the WLS telnet....and console remains WLS up.
    Hope this helps!
    Mauricio
    ==================================================
    NewsGroup Rant
    ==================================================
    Rant 1.
    The less info you provide about your problem means
    the less we can help you. Try to look at the
    problem from an external perspective and provide
    all the data necessary to put your problem in
    perspective.

  • How to start WebLogic in Linux?

    Could you tell me how to start WebLogic 5.1 in KDE?
    Best Regards,

    You need to open up a terminal session (Try xterm).
    Change the directory to wherever you installed Weblogic (/home/Weblogic/) or
    something along those lines. (cd is the command that you want)
    Run the scripts located in that directory as specified in the Unix
    documentation.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    "Rex Law" <[email protected]> wrote in message
    news:3971bdb1$[email protected]..
    Could you tell me how to start WebLogic 5.1 in KDE?
    Best Regards,

  • Solaris Weblogic 8.1 Server - starting Weblogic as non-root user

    Hello,
    Currently we are starting weblogic 8.1 server as the root user, but would like to start as a non-root user.
    (our unix team isn't too happy giving us, the dev team the root password!).
    Is it possible to start Weblogic 8.1 on Solaris 8 without the root password?...If so, can you point me, where I can find more information in the documentation, please.
    thanx,
    Vishwa

    If you have managed to boot the server before in the past you should have a config.xml.booted file in your domain. Try using this to boot, if it works you can diff it with your possibly mashed config.xml to see what went wrong.

  • How to start weblogic instance using wlserv ant task

    Hi,
    Iam using weblogic 8.1
    Iam trying to write build script which starts remote weblogic instance and does deploy using wldeploy and restarts the instance.
    First iam trying with starting weblogic.
    ==============================
    <wlserver
                   dir="${server.project.root.dir}"
                   domainName="${weblogic.domain.name}"
                   serverName="${weblogic.server.name}"
                   host="10.106.90.50"
                   port="8001"
                   generateConfig="true"
                   productionModeEnabled="false"
                   weblogicHome="${weblogic.home}/weblogic81"
              username="weblogic"
                   password="password"
                   args = "-XX:MaxPermSize=512M -Xms256m -Xmx512m"
                   action="start">
                   <classpath refid="weblogic.classpath"/>
              </wlserver>
    ==============================
    Iam getting an issue here , it starts the weblogic but automatically it stops the weblogic , without any exception.
    as per their documentation
    "When you use the wlserver task in an Ant script, the task does not return control until the specified server is available and listening for connections. If you start up a server instance using wlserver, the server process automatically terminates after the Ant VM terminates. If you only connect to a currently-running server using the wlserver task, the server process keeps running after Ant completes."
    I understand what they are saying , but what is the remedy to it , how to rectify it. I tried starting default server it gives NPE.
    ITs kinda very urgent for me any help , or available scripts will be very use ful.
    Thanks in advance.

    meghab,
    Thanks for the reply.
    I tried using java task , now the server is starting sucessfully but iam getting exception while starting the Queue.
    Here is my ant task.
    ===================================
    <target name="weblogicrun">
              <java fork="yes" dir="${weblogic.domain.dir}" classpathref="weblogic-classpath" classname="weblogic.Server">
                   <jvmarg value="-server"/>
                   <jvmarg value="-Dweblogic.Name=MyAppServer"/>
                   <jvmarg value="-Dweblogic.RootDirectory=${weblogic.config.dir}"/>
                   <jvmarg value="-Xms256m"/>
                   <jvmarg value="-Xmx512m"/>
                   <jvmarg value="-XX:MaxPermSize=128m"/>
                   <jvmarg value="-da"/>
                   <jvmarg value="-Dplatform.home=D:/bea"/>
                   <jvmarg value="-Dwls.home=D:/bea/weblogic81/server"/>
                   <jvmarg value="-Dweblogic.ProductionModeEnabled=false"/>
                   <jvmarg value="-Djava.security.policy=D:/bea/weblogic81/server/lib/weblogic.policy"/>
              </java>
         </target>
    ===================================
    In my project i have default queue , it gives INSTANTIATION EXCEPTION while trying to invoke weblogic.jms.common.DestinationImpl
    ==================================
    java.lang.InstantiationError: weblogic.jms.common.DestinationImpl
    =====================================
    Iam providing the config information from config.xml
    <JMSServer Name="WSStoreForwardInternalJMSServerMyServer"
    Store="FileStore" Targets="MyAppServer">
    <JMSQueue CreationTime="1179819623120"
    JNDIName="jms.internal.queue.WSStoreForwardQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueueCCAppServer"/>
    <JMSQueue CreationTime="1179819623511"
    JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueueMyAppServer"/>
    </JMSServer>
    =========================================
    The full exception stack is below...
    [java] <Oct 11, 2007 1:54:28 PM IST> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "MyAppServer" for domain "MyAppDomain">
    [java] <Oct 11, 2007 1:54:41 PM IST> <Error> <JMS> <BEA-040368> <The following exception has occurred:
    [java] java.lang.InstantiationError: weblogic.jms.common.DestinationImpl
    [java] at weblogic.jms.backend.BEDestination.initialize(BEDestination.java:801)
    [java] at weblogic.jms.backend.BEDestination.initialize(BEDestination.java:341)
    [java] at weblogic.jms.backend.BackEnd.createDestination(BackEnd.java:1952)
    [java] at weblogic.jms.backend.BackEnd.initialize(BackEnd.java:667)
    [java] at weblogic.jms.JMSService.addJMSServer(JMSService.java:2247)
    [java] at weblogic.jms.JMSService.addDeployment(JMSService.java:2031)
    [java] at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:337)
    [java] at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:597)
    [java] at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:575)
    [java] at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:324)
    [java] at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:755)
    [java] at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:734)
    [java] at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:516)
    [java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    [java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    [java] at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
    [java] at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
    [java] at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:948)
    [java] at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:475)
    [java] at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7731)
    [java] at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1321)
    [java] at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:339)
    [java] at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
    [java] at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
    [java] at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
    [java] at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
    [java] at weblogic.Server.main(Server.java:32)
    Am i missing something.
    Thanks in advance.
    Edited by rdayalan at 10/11/2007 1:45 AM

  • Starting weblogic as other than root

              Hi,
              Is there a way to start weblogic with other than "root"?
              thanks!
              chuck
              

    If you want to bind it to the port < 1000, then no, but it
              is possible to start it as root and change uid/guid to a non-
              privilledged user after it successfully binds to the port - see
              unix machine config in the console.
              chuck <[email protected]> wrote:
              > Hi,
              > Is there a way to start weblogic with other than "root"?
              > thanks!
              > chuck
              Dimitri
              

  • How can I avoid re starting weblogic when servlets change

    Hello all,
    I always re start weblogic server 6.1 upon any changes to class files or servlets. does any one know of any configuration settings to avoid a re start when ever my servlets or class files change ? I deployed the application in exploded format and not in .war file format.
    thanks much
    Srik.

    Hi,
    if your question is: how can I update changes in my WebApp without having to restart my Weblogic server, then I have a hint:
    Maybe your server is running in productive mode. Try setting it to developement mode (edit the 'startWeblogic.cmd', find the line 'set STARTMODE=true' and change it to 'set STARTMODE=false').
    After this change the server needn't be restarted to make changes take effect.
    Hope this helps.
    Thomas.

  • How to avoid JMS validation when starting weblogic server

    Hi All,
    When starting up WebLogic server, it will validate JMS destinations one by one for deployed applications.
    If I don't connect the VPN, then these JMS destinations are not reachable, and WebLogic Server will spend a lot of time to try connecting to these JMS destinations.
    Thus it will take a lot of time to startup the WebLogic Server.
    How can I disable JMS validation when starting weblogic server?
    Thanks and Regards!

    Hi Daniel,
    By blank do you mean that the screen is black? Is it gray? Is it blue? The word "blank" is vague when trying to determine and isolate startup issues.

  • How to start weblogic in debug mode ? and how to set the eclipse in the deb

    how to start weblogic in debug mode ? and how to set the eclipse in the debug

    Put this in JAVA_OPTIONS :
    Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=3999,suspend=y,server=y
    After restarted weblogic, in eclipse set your breakpoint , open debug perspective then choose Remote Java Appliction and configure Connection Properties (host=localhost and port=3999)

  • How to start weblogic with jdk1.4.0

    anybody can tell how to start weblogic with jdk1.4.0 correctly?

    "jacky" <[email protected]> wrote in message news:<[email protected]>...
    anybody can tell how to start weblogic with jdk1.4.0 correctly?Take a look at:
    http://www.genuitec.com/products/JDK14_WLS61.pdf

Maybe you are looking for

  • How to remove the extra space in the output pdf file?

    Hi All In our RTF layout template we have both static content and dynamic content. In RTF template we have used many if-else,choose,For each loops. On the account of that,In the output pdf file, we are getting lot of empty space in the place of that

  • Reporting on GL account number to show income and expenditure

    Hello, Can anyone advise on the below "How can we report at a general ledger number (Income & Expenditure GL's only) so that we can see the split of costs associated with project costs & Business As Usual costs (BAU). If you can explain the concept a

  • Widget Browser doesn´t connect

    Hello, I have a problem with Adobe Widget Browser. When I run this program it can´t show me the widgets and say "Failed getting Widget Feed. Reload | Show More Information". I can´t log in neither and says "Unable to load WSDL. If currently online, p

  • Calendar Administration

    Hi, I am trying to evaluate OCS. I have just run through the general installation of the Oracle Collaboration Suite single box. I would like to administer the calendar, so I click on the Oracle Calendar Administrator". It re-directs me to a page aski

  • HT201272 Restoring deleted app. Not working. is it hidden?

    I deleted my Pinterest app but want to restore it. In he App Store list it shows up under "purchased", not "not on this iPad" as I would expect.  The only option it gives is "open", as if it were still on the iPad. When I try to "open" it does nothin