How to start httpd: as deamon or by inetd (what with mysql)?

What is better ? I mean start the httpd as a deamon using xinetd or in init script? By my current knowledge :oops:  first option will be less memmory consumption.
And the second question: <b>If I configure xinetd to start httpd is possible to start mySql  in the same way ?</b>
I mean:
1. somebody asking httpd for data
2. httpd starting (by xinetd)
3. php asking for mysql data
4. mysql starting (by xinetd)
5. mysql giving data
6. mysql stopping
7. php "creating" page
8. httpd giving data
9. httpd stops
10. inetd waiting for connection.
I'm not sure about that: Will this by slower then got httpd and mysql (starting and stoping deamons) ?[/b]

Thanks for reply
I'm slowly moving from W2K (with apache, php, mysql) to AL :shock: my current system is starting so slow (ca. 5 mins to be able to work), deamons starting as services with system.  I'm impressed by the AL it is ready for work in ca 2 mins with simillar configuration (apache, mysql, gnome). I need to test configuration with xinetd and 'as deamon' (see memmory occupation and speed). httpd and mysql is used for 'local test and work' and by my current knowledge :?  better should be set all as deamons.
I'm not sure about xinetd (need to browse manual): Is possible to left httpd running for example 20 mins after serving data ? (I mean: I wrote couple php lines, then testing,  correcting but httpd still in memmory for next 20 mins to speed up next testing. It will close when no activity for 20 mins)
If is possible to set xinetd to left running application for certain time it will be the best, I will set all deamon aplication (I want to have apache, mysql, ftp, ssh maybe vnc) to be started by xinetd.
I want to left security 'abroad', later I want to configure ipchains  - my machine is running most W2K (untill I set my LinuxBox as I want).
And the last main question: <b>Is sense to play with inetd ? </b>
My machine is 1GHz with 256 MB RAM (512 MB in the future). I using it to watch DivX, play MP3, internet browsing, WWW design (GIMP will be in use),  office work, and Wolfenstein - Enemy Teritory (there is no port for Battlefield 1942 client)

Similar Messages

  • HOW-TO CLUSTER BOBJ XI 3.1 on HP-UX with MySQL

    Hello,
    I need to understand how to perform an installation of BOBJ XI 3.1 on HP-UX in a cluster.
    The official documentation it's a bit weird.
    Someone  can give more hints on the steps to follow? what should be installed on the first node , what in the second and what is clustered?
    I think MySQL should be clustered before that.
    any suggestion?

    So, you have 2 HP-UX boxes and you want to install BOE on both using default mysql DB and cluster those nodes together - correct ?
    1. you don't need to cluster mysql, you should probably not even use mysql and use another DB located on a separate box.
    2. You install BOE on server 1, make sure all is working.
    3. You install BOE on server 2 and select expanded install scenario in the wizard, when asked for CMS server - give name of the server 1 install. follow the prompts.
    #2 and 3 assume you have setup a DB to host CMS DB for BOE on a third server.
    If you want to use mysql on server 1 as the CMS DB for the cluster (which is a bad idea) , then you have to connect to mysql DB and enable remote access to it.
    you can google the steps fro that.

  • How to start my Apache httpd server on TREX, post installation

    Dear Gurus,
    I have successfully installed TREX 7.0 SR3 on my Suse Linux 10 SP2 system and i have choosen it for ABAP and HTTP services, i have done all the post-install activities according to the standard document from SAP.
    All seems to be fine so far, and below are the services that are running on my TREX server..
    ======================================================================================================
    trexdev:/usr/sap/TRX/TRX00/trexdev/Apache # ps -fu trxadm
    UID        PID  PPID  C STIME TTY          TIME CMD
    trxadm    6039     1  0 Oct30 ?        00:01:21 /usr/sap/TRX/SYS/exe/run/saposcol
    trxadm    6055     1  0 Oct30 ?        00:00:00 /usr/sap/TRX/TRX00/exe/sapstartsrv pf=/usr/sap/TRX/SYS/profile/START_TRX00_trexdev -D
    trxadm   21304     1  0 Oct31 ?        00:00:00 sapstart pf=/usr/sap/TRX/SYS/profile/START_TRX00_trexdev
    trxadm   21316 21304  0 Oct31 ?        00:00:00 trx.sapTRX_TRX00 -d -f /usr/sap/TRX/TRX00/trexdev/TREXDaemon.ini pf=/usr/sap/TRX/SYS/profile/TRX_TRX00_trexde
    trxadm   21319 21304  0 Oct31 ?        00:00:06 /usr/sap/TRX/TRX00/exe/sapccmsr pf=/usr/sap/TRX/SYS/profile/TRX_TRX00_trexdev -j2ee -standalone -nodaemon -DC
    trxadm   21321 21316  0 Oct31 ?        00:00:22 TREXNameServer.x
    trxadm   21341 21316  0 Oct31 ?        00:00:01 TREXPreprocessor.x -port 30002
    trxadm   21345 21316  0 Oct31 ?        00:00:07 TREXIndexServer.x -port 30003
    trxadm   21352 21316  0 Oct31 ?        00:00:03 TREXQueueServer.x -port 30004
    trxadm   21367 21316  0 Oct31 ?        00:01:58 python alertserver.py
    trxadm   24710 21316  0 Oct31 ?        00:00:26 TREXRfcServer2.x
    ======================================================================================================
    I have no problems on my server as to what so ever, but the only thing is that I want to know how to start my apache httpd server so that i can starting using my Web services from Portal.
    According to SAP standard document it clearly says that Apache is installed by SAPinst tool, but i also verified that the http://localhost does not give any web page opened, probably no http service is running on my machine.
    I request all gurus to help me on this and start my httpd service.
    Thanks in advance
    Regards
    BasoKing

    Did you ever get a solution for this?? If so, can you please post it here?
    Thanks in advance

  • How to start/ restart the service in visual admin of SAP WAS 6.4?

    I have installed the sneak preview version of SAP NetWeaver WAS 6.4 for default Database MaxDB. While developing a simple application to manage simple database table citymaster with 2 columns in jsp I am getting error as
    Exception e com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at : java.comp.
    Looking at visual admin tool for WAS 6.4 all the entries are in color blue but the last entry for 'DATASOURCE' is in RED color where 'java.comp/env/JDBC/DATASOURCE' is the jndi reference created for default DataSource.
    Can any one help me that why the last entry is in RED and it that say that some error has occured or that entry is not started then how to start that?
    Please help....

    Dear Daniel,
    I have checked the Visual Administrator's  JNDI Registry service entry in the ejbContexts node but there is no entry for the project which I have created.
    It get deployed while I right click on the project's ear file and click on "Deploy on J2EE Engine". But same as before while checking in Browserthe site gives the same error...
    503   Service Unavailable
    Application cannot be started!
    Details: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application bcone.com/EntityCMPAppln cannot be started, because it has hard reference to resource CONFIG_DB with type javax.sql.DataSource, but it is not active on the server.
         at com.sap.engine.services.deploy.server.ReferenceResolver.processUsageOfComponent(ReferenceResolver.java:508)
         at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStartingApplication(ReferenceResolver.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.begin(StartTransaction.java:149)
         at com.sap.engine.services.deploy.server.application.StartTransaction.beginLocal(StartTransaction.java:285)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:355)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:120)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:224)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:4170)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationsInitially(DeployServiceImpl.java:2390)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.clusterElementReady(DeployServiceImpl.java:2267)
         at com.sap.engine.services.deploy.server.ClusterServicesAdapter.containerStarted(ClusterServicesAdapter.java:41)
         at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.processEvent(ContainerEventListenerWrapper.java:101)
         at com.sap.engine.core.service630.container.AdminContainerEventListenerWrapper.processEvent(AdminContainerEventListenerWrapper.java:19)
         at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.run(ContainerEventListenerWrapper.java:80)
         at com.sap.engine.core.thread.impl4.SingleThread.execute(SingleThread.java:70)
         at com.sap.engine.core.thread.impl4.SingleThread.run(SingleThread.java:111)
    Please help me, how to recover this error.
    Rgds,
    Vivek

  • How to start a application with a login window?

    hi there
    does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.

    You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
    <code>
    // set up thread for login window
    new Thread(new Runnable() {
    public void run() {
    // construct your login window here
    // when you are done processing the
    // password....
    if(goodPassword) {
    authorized = true; // a global variable
    notifyAll(); // don't forget this
    else {
    System.exit(42);
    }).start();
    // control does not stop this code gets executed while
    // the above thread is running.
    // Set up main program here. This is done in the
    // backround.
    while(!authorized) {
    synchronized(this)
    { wait(50); }
    // now when the user logs in this frame pops
    // up real quick.
    myFrame.setVisible(true);
    </code>
    Hope you can figure it out.. good luck :)

  • How to Start Oracle Report in Unix?

    hi
    Does anyone know how to start oracle report in unix? I was
    told to try this (r60desm) but that did not work. We are on 11i
    and 6i. Please help
    alpha

    I don't have Forms/Reports 6i for UNIX. Have you tried typing "r60" and typing tab twice?

  • How to start Oracle Application Server 10g on Linux

    Hi,
    I have installed the Oracle Appliacion server and Infrastructure server on Linux. Both I have installed under with Diff. folder
    Can some one please tell me how to start / stop Appliacion server and Infrastructure server on Linux
    We are going to use the these with Oracle EBS 11.5.10.2 .
    Oracle EBS 11.5.10.2 installed in the same Linux server under diff. folder
    Can some one please guide me.
    Thanks,

    You can do as rizla said or go another route.
    We setup profiles to use for all of the oracle homes. Then in the scripts we call the profiles. Easier to migrate and manage in my opinion if you have multiple oracle homes. You can then use profiles when ssh'd into the boxes, too. Both ways will work.
    Example:
    Script which you can chkconfig.
    #!/bin/sh
    # oracle_collabInfra
    # This shell script takes care of starting and stopping Oracle Collab Infra instance.
    #chkconfig: 345 96 14
    # Source function library.
    . /etc/rc.d/init.d/functions
    RETVAL=0
    start () {
    echo $"Starting Collab Suite on the Infra instance..."
    echo $"Starting Listener..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl start"
    sleep 10
    echo $"Starting Metadata Repository..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
    startup;
    exit;
    sleep 10
    echo $"Starting Enterprise Manager Application Server Control..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl start iasconsole"
    sleep 5
    echo $"Starting Infra OID and OC4J_Security processes..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OID"
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OC4J_Security"
    echo $"Starting Infra HTTP_Server processes..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=HTTP_Server"
    return $RETVAL
    stop () {
    echo $"Stopping Collab Suite on the Infra instance..."
    echo $"Stopping all Infra OPMN managed processes..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl stopall"
    sleep 5
    echo $"Stopping Enterprise Manager Application Server Control..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl stop iasconsole"
    sleep 10
    echo $"Stopping Metadata Repository..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
    shutdown immediate;
    exit;
    sleep 10
    echo $"Stopping Listener..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl stop"
    return $RETVAL
    restart () {
    stop
    start
    RETVAL=$?
    return $RETVAL
    # See how we were called.
    case "$1" in
    start)
    start
    stop)
    stop
    restart)
    restart
    echo $"Usage: $0 {start|stop|restart}"
    RETVAL=1
    esac
    exit $RETVAL
    profile:
    export ORACLE_BASE=/opt/oracle
    export ORACLE_HOME=$ORACLE_BASE/collabInfra
    export ORACLE_SID=orcl
    export TMP=/tmp
    export TMPDIR=/tmp
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export PATH=/bin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/kerberos/bin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/backup_restore
    unset USERNAME

  • I have a long-existing iPhone 4s with one apple id and started a job where I received a macbook with another apple id. how do i get my phone to sync with the Mac Pro and secondly how do i get my music on there?

    i have a long-existing iPhone 4s with one apple id and started a job where I received a macbook with another apple id. how do i get my phone to sync with the Mac Pro and secondly how do i get my music on there?

    No not bothered about sycing apps etc it is all about calendars and maybe notes. IN terms of how its done I just want it the easiest way and preferably so that if an entry is made on one calendar then it populates the other.
    Thgius is beacuse I have my work diary on outlok, which I then link with my ical. I want to make sure that information is then shared with her.
    Chris

  • How to start virtual OVM Manager and restore server pool which hosts it?

    It had to happen... the day I migrate our OVM Manager from an ESX host into an Oracle VM, we have a massive NetApp outage, and everything fails to come back. As a result of having lock errors when trying to start any VMs I noted on the forum various solutions and ended up following the steps concerning stopping ovs-agent and removal of /etc/ovs-agent/db/* on all the servers. Next I re-added the repo to all the servers using repos.py, but of course now none of the servers are in a pool so the --list command shows them as [R] rather than [*], and the /OVS directory is not yet mapped. So the next stage, according to the instructions which I am following, describes using the 'Restore' option in the OVM Manager GUI. Given that /OVS is not mounted and all of the servers are now config-less, I can't see how I can start the OVM Manager VM to get to the aforementioned "restore" option...
    Thank Jeebus I kept the ESX copy of OVM manager on (but powered down), as I was able to fire it up and do the restore, and now everything is hunky dory. However, this is our Dev platform and I was going to build the Prod platform and deploy OVM Manager straight into the OVM architecture via the template, rather than having it on ESX, but this issue on the Dev install has made me think twice about the mobius nature of managing the VM architecture from within the VM architecture...
    I am assuming I am missing some sort of commandline knowledge, so... given:
    - empty db directory
    - root repos [R] on all servers
    - as yet unmapped /OVS
    ...how to get the server pool up and get something back into /OVS, and then start my OVM Manager VM so I can 'restore'? Is it even possible? because if it isn't, I'll be blowed if the Prod OVM manager is going to get deployed like this...
    And no, there's no money in the budget for extra tin just to sit there running the OVM Manager and nothing else.
    TIA
    Kev

    user12474530 wrote:
    Still nobody seems to know of how to create a server pool on the CLI (outside of OVM Manager) though...There is no way to create a server pool on the CLI without Oracle VM Manager. You either need to use the Web UI of the Manager, or use the ovmcli command-line tool. Both of those require Oracle VM Manager to be running.
    However, once the Pool is created, you do not need the Manager to be running to perform simple tasks like starting/stopping guests. That can be done with the xm command-line tool.
    I agree with you about running VM Manager as a guest of the Oracle VM Server: I actually don't recommend this in production, unless you have at least two Server Pools. Then you can have the Manager of Pool A hosted by Pool B and vice-versa. Most often however, I recommend a completely independent Manager machine, either physical or hosted on a separate virtualization stack.

  • The calendar week view on my iphone 4s starts on a Sunday.  I am synching with outlook on my computer which starts the week view on a Monday which I prefer.  How do I change my iphone calendar view to start the week on a Monday?

    The calendar week view on my iphone 4s starts on a Sunday.  I am synching with outlook on my computer (pc)  which starts the week view on a Monday which I prefer.  How do I change my iphone calendar view to start the week on a Monday?  I am in Australia.
    I have just noticed the other discussion points - mine is set to Australia. 
    Dear Apple - as the day that the week starts on can depend on country and religion - how about making it an option that the user can change????

    I believe the week view on the iPhone is handled by the Region settings in the phone. I am not aware of any other manner to change it, as you can with Outlook.

  • I entered a new calendar event at I cloud on my laptop.  The enent showed up on my I Phone  4S but, the start and finish times on the entry in I cloud was different than the times shown on the I phone calendar.  How do I sync the time in my I Phone with

    I entered a new calender event using I cloud on my laptop. The enent transfered to my i Phone 5 S but, the start and finish times shown st i cloud on the laptop are different than the times shown on the i phone.  How do I sync the times on the i Phone with the times shown on the laptop i cloud calender?

    Turn off time zone support on the phone.

  • How to start and finish a transaction using EJB 3.0 in JDeveloper

    Hello everybody!
    Does anybody can explain how to start and finish a transaction using EJB 3.0. I need to start a transaction insert some information in some tables and if everything was fine commit the information.
    I put the annotation @TransactionManagement(TransactionManagementType.BEAN) in my session bean and @Resource SessionContext ejbContext; but I don't what anything else I have to do.
    Any help will be appreciate.

    I tryied to use in the client the statement EntityTransaction transaction = myBean.getTransact(); but I receive the EJBException: Cannot use resource level transactions with a container managed EntityManager
    I just need to start a transaction something like this: transaction.begin(); and finish the transaction, something like this: transaction.commit();
    Does anybody can help?

  • My 6th generation nano isn't recognized by my computer. When I plug it in an error message pops up, which says "USB Device Not Recognized". Does anyone know how to start trouble shooting this. I updated both windows and iTunes.

    My 6th generation nano isn't recognized by my computer. When I plug it in an error message pops up, which says "USB Device Not Recognized". Does anyone know how to start trouble shooting this? I updated both windows and iTunes.

    Work through all the suggestions in this Apple support document first.
    iPod: Does not appear in Windows or iTunes and Device Manager is empty
    B-rock

  • How to start BPM Process in Netweaver CE 7.1 from backend

    Hi,
    since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
    In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
    The following systems are available in my Landascape:
    - PI 7.1
    - ERP 2005
    - CE 7.1 EHP1 with ESR
    Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
    Greetings,
    Manuel

    Hi,
    Netweaver BPM process can be started in two ways:
    1. Using NWA by instantiating a process
    2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    Hope this helps!!
    Regards,
    Arafat

  • Sender File Adapter Conversion problem - how to start new recordset?

    Hi guys!
    I have a source file like following:
    aaaakkkkkk
    uuuupppppp
    &&hhhhffffff
    6666uuuuuu
    3333rrrrrrrr
    &&kkkkoooooo
    which means - fixed length 4,6 and && starts new recordset.
    I need to get structure like:
    <recordset>
      <item>
        <a>aaaa</a>
        <b>kkkkkk</b>
      </item>
      <item>
        <a>uuuu</a>
        <b>pppppp</b>
      </item>
    </recordset>
    <recordset> ... with h,f and 6,u </recordset>
    <recordset>
      <item>
        <a>kkkk</a>
        <b>oooooo</b>
      </item>
    </recordset>
    Any ideas?
    Let's say, I can add && on the beginning of the file and other "lite" changes... but structure stays the same...
    so, how to start new recordset? with which conversion parameter? for items it is clear...
    Thanx a lot!
    Olian
    Message was edited by:
            Olian Saludew

    aaaakkkkkk<end_of_line>&&uuuuwwwwww<end_of_line>...
    then normal parameters should work fine,
    item.fieldFixedLengths==4,6
    Item.fieldNames=field1,field2
    item.endSeparator=<end_of_line>

Maybe you are looking for