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
Similar Messages
-
How do I get Apache web server working ...
How do I get Apache web server working on my MacBook Pro, which is running Leopard 10.5.8?
When I enter 'http://localhost/~username/' (without the quote marks) as a URL in my Firefox browser on the MacBook, I do not see any result at all(!). I do have Web Sharing on in System Preferences on that machine. But the browser does nothing whatever for that URL ...
On my other computer, an iMac running Leopard 10.5.8, when I enter 'http://localhost/~username/' I see the default "Your Website Here" page. That same default page is in fact the index.html file I expect to see on the MacBook Pro. But it isn't getting invoked for some reason. Nothing is happening ...
When on the iMac I try 'http://10.0.1.18/~username/' (10.0.1.18 is the local IP address I see under 'Web Sharing: On' on the MacBook) I get "Unable to connect: Firefox can't establish a connection to the server at 10.0.1.18."
When on the MacBook I try 'http://10.0.1.5/~username/' (10.0.1.5 is the local IP address I see under 'Web Sharing: On' on the MacBook) I see the default "Your Website Here" page.
It is the same on my iPhone: Using the same local IP addresses and usernames, Safari can see the index.html page on my iMac but not on my MacBook.
It looks as if Apache is not working on the MacBook, while on the iMac it works fine.
On the MacBook I can see (after I use 'defaults write com.apple.finder AppleShowAllFiles TRUE' in Terminal) a /private/etc/apache2/ directory with what look to be(?) the usual contents. So it looks like Apache is duly installed, as far as I can tell.
On the MacBook I don't see a file at /private/var/log/apache2/error_log, which is the location for 'ErrorLog' given in the httpd.conf file.
That about exhausts my understanding of how to get a handle on my problem.
Any advice or suggestions from those who have more expertise with Apache will be much appreciated ...Okai, so we are getting somewhere, but not quit there yet :-)
I opened the Kenneth.conf file using the command: vi Kenneth.conf
This is what it said:
<Directory "/Users/Kenneth/Sites/">
Options Indexes Multiviews
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
</Directory>
"Kenneth.conf" [readonly] 6L, 139C
I therefore changed the AllowOverride from AuthConfig Limit to None, which was the only difference from what you posted above. Something did change, when I tried to open XAMPP it prompted me a password, but Apache still wont start :-/ -
How to Starting and Stopping OC4J Server using Ant
How to Starting and Stopping OC4J Server using Ant
In the ant task definitions for ant-oracle-classes.jar (see antlib.xml) there are two tasks called
name="restartServer" classname="oracle.ant.taskdefs.deploy.JSR88StartServer"
name="shutdownServer" classname="oracle.ant.taskdefs.deploy.JSR88ShutdownServer"
I thought that these would shutdown and start the OC4J server. I guessed the parameters as – (Does anyone know where 50 ant targets are documented?)
<oracle:restartServer
userid="${oc4j.admin.user}"
password="${oc4j.admin.password}"
deployeruri="${deployer.uri}"
/>
<oracle:shutdownServer
userid="${oc4j.admin.user}"
password="${oc4j.admin.password}"
deployeruri="${deployer.uri}"
/>
This, however does not start and stop the SOA suite. To do that I've hacked this solution together -
<path id="oc4j.console">
<pathelement location="${oracle.home}/config"/>
<pathelement location="${oracle.home}/jlib/startupconsole.jar"/>
<pathelement location="${oracle.home}/opmn/lib/optic.jar"/>
<pathelement location="${oracle.home}/lib/xmlparserv2.jar"/>
</path>
<target name="stop" description="stop oc4j server" depends="init">
<java classname="oracle.appserver.startupconsole.view.Runner">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="stop"/>
</java>
</target>
<target name="start" description="restart oc4j server" depends="init">
<java classname="oracle.appserver.startupconsole.view.Runner">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="start"/>
</java>
</target>
This sort of works – except when the SOA suite doesn't stop cleanly – and needs user interaction to press a Close button. This isn't very useful when doing a continous integration build and deploy.
So, does anyone have any suggestions or alternative methods to do this?
- frankActually if the server throws exceptions when it stops (which it always has since we applied patch 10.1.3.3) this technique will pause until a user responds to pop-up ... So a better way (I think) is -
<target name="start" description="start oc4j server" depends="init">
<java classname="oracle.appserver.startupconsole.view.Runner">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="start"/>
</java>
</target>
<target name="stop" description="stop oc4j server" depends="init">
<echo message="We expect OC4J *NOT* to stop cleanly, so we will timeout after 3 minutes ..."/>
<java classname="oracle.appserver.startupconsole.view.Runner" fork="true" timeout="180000">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="stop"/>
</java>
</target>
<target name="restart" description="restart oc4j server">
<antcall target="stop"/>
<!-- wait for server to quieten down -->
<waitfor maxwait="2" maxwaitunit="minute">
<not><http url="http://${oc4j.http.hostname}:${oc4j.http.port}"/></not>
</waitfor>
<antcall target="start"/>
</target> -
Viewing XSQL pages from Apache httpd server.
Hi ,
I have a Redhat 9 machine on which have installed the Apache 2.0.5 web server. I also have Oracle 9i installed.
I am trying to write XSQL pages in order to acces the database and to retrieve the data.
When I open my XSQL sheets with my web browser I get code instead of the retrieved, formatted records.
I have set up the XSQLConfig.xml file inside the xdk directory but I have a feeling that the Apache web browser does not really know about it. How do I configure apache in order to get the required results.
Thanks.
-- Maya.in addition to the Apache http server you will need a servlet runner, like Apache Jserv or Tomcat. The Xsql-servlet will run on this servlet runner.
The http server wil redirect a request for a *.xsql document to the servlet and returns the result.
With Jserv you will need to modify jserv.properties and include the jars from the xdk installation to the classpath. Also include the XSQLconfig.xml to the classpath.
I don't know the details for installation on Tomcat, but i think these can be found in the xdk documentation.
succes, Bart -
How to start and stop a server
I am doing some sockets programming.
Now, when I want to get the TomCat 4 server running for instance, I would have to run the startup.bat or startup.sh file. To stop the server I run the shutdown.bat or shutdown.sh file.
Can I do the same thing in Java?
That is, in one window, I run a program: C:\>java myserver start
The server starts running and holds there.
In another window, I run another command: C:\>java myserver stop
and the server in the other window stops.
I am thinking the server would be running in a thread. When I shut it down, I close the thread just like in the Applet Clock example.
I've tried this but it doesn't work.
Can anyone please advise.
Thanks.
Anthony.Not precisely that way, but just off the top of my head, you would have to have a handle to the proccess (server) in the first window, then have a monitor program that allows you take this handle and end it. I would make this monitor program be the gateway to starting and stopping your server. To run a .bat file you can use runtime.exec().
-
How to start the oracle application server 10g
Hi..
I have Installed Oracle application server 10g but I am not able to start and dploy the forms in the server.Please see this link for the proper order to [start and stop application server 10g|http://download.oracle.com/docs/cd/B14099_19/core.1012/b13995/start.htm#i1014590].
If you encounter any errors, do not forget to give exact description of errors, their exact error message and codes, where do you get them and what have you done recently. Please also do not forget to include your complete product version.
thanks,
AMN -
JMX implementation In Apache HTTPD server
I need help in configuring a httpd server for JMX. Specifically, I would like to monitor app and system statics the same way one can use JMX Attributes in Weblogic.
Also, does JMX expose system stats such as CPU, Memory Utilzation?
Thanks.Hi,
JMX itself doesn't expose any stat, but the JVM Monitoring & Management MBeans do.
(Java SE 5.0 and higher)
See:
http://java.sun.com/javase/6/docs/api/java/lang/management/package-summary.html
http://java.sun.com/javase/6/docs/api/java/lang/management/ManagementFactory.html
http://java.sun.com/javase/6/docs/jre/api/management/extension
and
http://blogs.sun.com/jmxetc/entry/a_small_program_that_prints
Hope this helps,
-- daniel
JMX, SNMP, Java, etc...
http://blogs.sun.com/jmxetc -
MS SQL Server 2012 SP2 post-installation error
Hi all,
Windows update gave me an option to install updates for my MS SQL Server 2012. One was the SP1 and the other was the SP2. During that time i selected both but in the end the update for 'Security Update for
SQL Server 2012 Service Pack 1 (KB2977326)' failed and the update for 'Microsoft SQL Server 2012 Service Pack 2 (KB2958429)' succeeded.
What i saw then when I run management studio and did a select top 100 rows command on a table I got the below error:
An error occurred while executing batch. Error message is: Method not found: 'System.String Microsoft.SqlServer.Management.Smo.Util.BytesToHexString(Byte[], Int32)'.
This happens only for select statements. Edit and all other works fine. Does anybody know about this issue?
Thanks for you time. :)Hi DBTheoN,
We check whether a program is an add-in from "Programs and Features" based on experience. I understand it is a little hard.
So, here I have another way to check which assemblies are being loading during the querying. That, we can follow these steps:
Download
Process Monitor
Open Process Monitor and start monitoring
Open SQL Server Management Studio, and then execute the query
Stop the monitoring
From Process Monitor, filter the result by Process name(ssms.exe), Event Class(File IO) and Path(End With .dll)
Save it and share it with us
Once I receive the log, I will help to analyze it.
Thanks,
Jinchun Chen -
How to start and stop sapmmc server when windows is started and shutdown
Hi,
May i know how i can make sure the sapmmc server for ECC 6.0 to start when the windows 2003 server is started. I know i need to add this as a service in the windows service manager but i dont know how to do that.
Please advise me on how to add a service to start the sapmmc server when windows is started and how to stop the sapmmc server automatically when windows is shutdown.Hi Raja
checkout this document m sure it will help you in configuration
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0512c790-0201-0010-72b7-886677ad7955
also check
/message/6511605#6511605 [original link is broken]
All the best ,,
Cheers
dEE -
How to start 1 JCO-unicode-Server and 1 JCO-none-unicode-Server
It is possible to start one JCo-Server that is unicode-able and another one JCo-Server that is not unicode-able in one program?
I want to share one service that my Java-Program is providing for 2 SAP-Systems. But one SAP-System is a Unicode-System and the other a None-unicode-System.
I've implemented the tip of the following site for my Unicode-System, but anyhow it does not function:
http://help.sap.com/saphelp_nw04/helpdata/de/87/b55a4201301453e10000000a155106/content.htm
If I start the JCo-Server for my Unicode-System first, then the communication for this system will work, but for the other, none-unicode system not.
If I start the JCo-Server for my None-unicode-System first, then only the communication for the none-unicode system will work.
Any Ideas??
Or another question: How can I make the Unicode-System communicate-able with a none-unicode JCo-Server?
Thanks for reply.Hi,
i've solved my problem: I changed all my JCo-Objects in my program from from version 2.1.8 to 3.0.2.
After that I don't needed to input information wether it's a unicode-connection or not. -
Configuring OC4j with Apache HTTPD server
I want to use OC4j as servlet container and Apache Server as a
Http server handling all static requests. Now as per the OC4j
documentation I created a OC4j.conf file and included the same
in the main httpd.conf file.
However I could not get my servlets running.I get the page not
found error.Can you suggest a way out.Hi,
Try this step.
Comment the following statements from your Jserv.conf file in
<oracle_home>/Apache/Jserv/conf :-
ApJServMount /servlets /root
ApJServMount /servlet /root
Still not working, reply.
Regards,
Yoga -
How to start admin and manage server
I can able to start admin server but I want to start admin & manage both the server . Please tell me the solution for this problem .
Your managed Server must have a different listen Port than the admin
instance.
"prashant parab" <[email protected]> a écrit dans le message news:
3bca85c2$[email protected]..
> I can able to start admin server but I want to start admin & manage both
the server . Please tell me the solution for this problem .
-
How can I completely remove OSX Server from my Mavericks installation?
I moved OSX Server and the Server file from the system Library but Server still controls my File sharing with my Sonos app. It will not let my Sonos app access my music folder.
Perhaps there is a more correct way to uninstall server but just in case there isn't, if you remove this file and restart that should stop the server.
/Library/LaunchDaemons/com.apple.serverd.plist
James -
Problem i starting Apache web server
# service httpd start
Got message like :--------------------------
Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
on checkig log file :: -----------------------------------------------i found this.
# journalctl -xn
-- Logs begin at Sun 2013-01-27 20:38:14 IST, end at Mon 2013-01-28 13:57:43 IST. --
Jan 28 13:56:50 nitk.admin systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jan 28 13:56:50 nitk.admin httpd[26019]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf.d/aeolus-conductor.con
Jan 28 13:56:50 nitk.admin httpd[26019]: httpd (no pid file) not running
Jan 28 13:56:50 nitk.admin systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
-- Unit httpd.service has failed.
-- The result is failed.
Jan 28 13:56:50 nitk.admin systemd[1]: Unit httpd.service entered failed state
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 3377
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 49
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 8
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 INFO nova.compute.resource_tracker [-] Compute_service record updated for nitk.admin
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 INFO nova.compute.manager [-] Updating host status
(END)
Can anyone help me to decide, where is the problem???????????
content of the file ; /usr/lib/systemd/system/httpd.service
[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=notify
PIDFile=/var/run/httpd/httpd.pid
EnvironmentFile=/etc/sysconfig/httpd
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop
PrivateTmp=true
[Install]
WantedBy=multi-user.target
Last edited by hunter.ashish (2013-01-28 08:32:52)Could you check if you have this directory? (It can be empty):
/var/run/httpd
permissions should be root:root, mod:755 -
How to integrate Apache Web Server and Apache Tomcat 4.0 ?
<pre>
Hi All,
Can anyone give me a detailed description(or url that tells so) of how to install the Apache Web Server, Apache Tomcat Server4.0 and Integrate both of them.
Still now I am using Apache Tomcat 4.0 as a standalone application and now I want to learn how to install,use Apache Web Server and integrate this with Apache Tomcat.
Please point me to exact location,url to download the recent Apache Web Server and,
Can I use my existing Standalone Apache Tomcat 4.0 to integrate this with Apache Web Server that I am going to download.
A detailed explanation of how to integrate both is very helpful.
Thanks in advance.
<pre>The way to integrate Apache Web Server & Apache is very easy. The first step is download the library to connect both servers. This library can be download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/webapp-module-1.0-tc40-windows.zip.
Copy the files to APACHE_HOME\modules and open httpd.conf to change any lines:
You find the section "LoadModule" and you add the next lines:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
And the end of the file you must add these lines:
WebAppConnection conexion warp localhost:8008
WebAppDeploy examples conexion /examples
The first parameter -2nd line- (examples) is the URL name application, the second is the connection's name and the last parameter is the application's name. This name is the same which in servlet.xml.
At last you can add one more lines to check the module's configuration:
WebAppInfo /webapp-info
If you visit http://<yoor_host>/webapp-info you can see the configuration.
Maybe you are looking for
-
I have just upgrade to the 4S and at the same time it has has IOS5.0.1 upgrade before using the phone. I find that teh latest version of blue tooth does not with handsfree/headsets I have. I now have to find out if it will work. Apples view is they h
-
Hi All,i am currently working on a flex application that will allow the user to change the language within the application from english to Japanese and vice versa. And everything works fine. I am using flex 4.5 We allow the user to save records with
-
When I used migration Assistant to transfer stuff from my iMac to my MacBook Pro, both running the latest update of Lion, I ended up with duplicate icons in the Launchpad. How do I correct this situation. Some can be deleted using the iPad method of
-
Help with setting up printer - works fine on windows!
Hi Firstly any help is much appreciated! I have an AirPort Express Station with a HP Deskjet D2360 attached to the USB port. I have 3 Windows XP Printers that all print fine. My PowerBook, with Leopard, can located and install the Bonjour printer (us
-
How to get variants for ALV List or Grid?
Hi, I have one standard program RGJVSO10, for 4.6c, to diplay variants they r using fm GJ_LIST_VARIANT_VALUE_HELP, where they r passing table name and get the variants. But in ECC6.0 for the same program they r using FM REUSE_ALV_VARIANT_F4, but the