cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I did it my self and thanks to help.sap.com

0 Kudos

Hi,

Could you please share your solution here?

.: HP

0 Kudos

Hi Hans,

Have a look at the following link

Starting and Stopping the Web Server

[http://help.sap.com/saphelp_nw70/helpdata/en/46/ceaab9eb7e2708e10000000a11466f/content.htm]

You can start and stop the Apache Web server manually if necessary.

Starting the Web Server

...

1. Log on with <SAPSID>adm.

2. Execute the following commands:

cd <TREX_DIR>/Apache

apachectl start

Stopping the Web Server

...

1. Log on with <SAPSID>adm.

2. Execute the following commands:

cd <TREX_DIR>/Apache

apachectl stop

Kind Regards

Barry Cunningham

Former Member
0 Kudos

Hi Barry,

While starting it is showing below error.

apachectl start

/usr/sap/TRD/TRX18/exe/Apache/bin/apachectl: line 105: unexpected EOF while looking for matching `"'

/usr/sap/TRD/TRX18/exe/Apache/bin/apachectl: line 111: syntax error: unexpected end of file

Please suggest the solution.

Thanks,

Gopal Tamrkar

+91-8884580778

0 Kudos

Hi Gopal,

What version of TREX are you using?

How are you starting the apache server?

Please review the following link and follow the outlined instructions

TREX Apache Server is not starting up - Technology Troubleshooting Guide - SCN Wiki

It maybe the case of symlinks out of date or not pointing to the correct location.

If this doesn't help please open an incident with Product Support

Kind regards

Barry


Former Member
0 Kudos

Hi Barry,

Thanks for your help.

I am using TREX 7.1 Revision 58.

when i am trying to configure http link it is showing below error

and in order to start Apache i am going to the below path :

/usr/sap/SID/exe/nuc/linuxx86_64/TREX_7.10.58.388331/Apache/bin

under bin directory i am using below command to run Apache:

apachectl start

but it is showing below error :

/usr/sap/TRD/TRX18/exe/Apache/bin/apachectl: line 105: unexpected EOF while looking for matching `"'

/usr/sap/TRD/TRX18/exe/Apache/bin/apachectl: line 111: syntax error: unexpected end of file

Regards,

Gopal Tamrkar

0 Kudos

Hi Gopal

Take a look at the following note

2032219 - TREX 710: Apache TREXWebServer can not be started after
new installation REV 58 or REV 59

I recon this is the problem that you are having. Try the workaround in the note or move to the latest version of TREX

Kind regards

Barry

Former Member
0 Kudos

Hi Barry,

Thanks Brother its work.

Note is very much helpful.

There is a bug issue in Revision 58 and 59.

With the help of bug resolution as per note we can resolve the issue or the best option is to install the new version Revision 60.

Regards,

Gopal Tamrkar

Answers (0)