cancel
Showing results for 
Search instead for 
Did you mean: 

Relay server installation issue

Former Member
0 Kudos
3,020

Hi

I am trying to configure relay server my QA server. I've followed the config guide and updated the Apache configuration correctly. I am able to start Apache and relay server without any issue however when I trying to access the relay server it giving http 500 errors.

[03/Dec/2012:19:22:01 -0800] "GET /srv/iarelayserver/mod_rs_ap_server.so HTTP/1.1" 500 515
10.31.17.145 - - [03/Dec/2012:19:31:25 -0800] "GET /srv/iarelayserver/mod_rs_ap_server.so HTTP/1.1" 500 515
10.31.17.145 - - [03/Dec/2012:19:31:26 -0800] "GET /srv/iarelayserver/mod_rs_ap_server.so HTTP/1.1" 500 515
10.31.17.145 - - [03/Dec/2012:19:31:27 -0800] "GET /srv/iarelayserver/mod_rs_ap_server.so HTTP/1.1" 500 515
10.31.17.145 - - [03/Dec/2012:19:31:27 -0800] "GET /srv/iarelayserver/mod_rs_ap_server.so HTTP/1.1" 500 515
10.31.17.145 - - [03/Dec/2012:19:31:27 -0800] "GET /srv/iarelayserver/mod_rs_ap_server.so HTTP/1.1" 500 515
10.31.17.145 - - [03/Dec/2012:19:31:27 -0800] "GET /srv/iarelayserver/mod_rs_ap_server.so HTTP/1.1" 500 515

Did anyone faced similar issue. my relay server config is Redhat linux and Apache 2.2.23

Thanks in advance for your inputs

Thanks Naga

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

There doesn’t seem to anything wrong with the rs.config file, and I still haven’t seen a lot of the information that I asked for. The logs appear to have different timestamps on them, so it’s not clear to me whether errors I see in the logs are still valid, or whether they are issues you’ve now moved past. I'm going to ask for all the information we need at once, so we can a nice clean snapshot of the environment as it is today. To begin, we’d like higher verbosity on the log files for the relay server and rsoe. Please edit the rs.config file to increase the verbosity to 5 in the “[options]” section, and change the start line for the outbound enable to include “-v 5”. On the machine where Apache is running, please gather the following information: 1. How is Apache started? Do you start the process manually, or is it started as a service? I am starting apache manually 2. Please provide the httpd.conf file for the Apache server. Attached the config file 3. How is the rshost process started? I can see that the rs.config file contains “start=no”. Do you start rshost as a service on the machine? If so, please provide information on the service, particularly the user that the service runs as. Do you start rshost manually? If so, what command line do you use and what user are you logged in as when you start the process? I am starting manually, I am still configuring the relay server. after successful configuration I will add it as a linux demon 4. Please provide the rs.config file used by the rshost process. Attached

On the machine where the Outbound Enabler (rsoe) is running, please gather the following information: 1. How is the Outbound Enabler started? Is it started manually, or as a service? Startup process configured as services 2. Please provide the start line for the Outbound Enabler. If the start line includes “@filename”, please provide the contents of “filename” as well. Once the information above has been gathered, please perform a quick test. 1. Shut down the outbound enabler. 2. Re-start the rshost process to ensure that the changes to the rs.config file to increase the verbosity are active 3. Re-start the outbound enabler, ensuring that you have added “-v 5” to the start line. At this point, gather the verbose logs from the Relay Server (rshost) and Outbound Enabler (rsoe), and the access_log and error_log from the Apache Server. Tar these files (as well as the httpd.conf and rs.config file we’d asked for earlier) and post the file to the forum (or e-mail them to me). Please also include the information about the Apache Server, rshost and rsoe are started when you send the files. Attached.

Please download log files using links below as site allowing me to upload files. ftp://ftp.varian.com/outgoing/Sybase.zip

Thanks in advance for your time and help Reg Domaratzki. link text Thanks Naga

regdomaratzki
Product and Topic Expert
Product and Topic Expert
0 Kudos

Sorry for the delay, I was home sick on Monday and Tuesday.

It looks like you have attached the rshost executable, and not the rshost log file. Also, you have attached the httpd.pid file, and not the Apache configuration file (/etc/httpd/conf/httpd.conf).

Since both processes (Apache and rshost) are being started manually, can you please confirm that you are logged in as the same user when you start both processes?

You did not provide the start line for the rshost process either. Please provide the start line.

One idea, given the information that was provided :

Your Apache error log continues to say there are errors in your rs.config file, but your config file is fine (I can start an rshost and parse your config file). Does the rshost process have permission to read the rs.config file?

Reg

regdomaratzki
Product and Topic Expert
Product and Topic Expert
0 Kudos

There doesn’t seem to anything wrong with the rs.config file, and I still haven’t seen a lot of the information that I asked for. The logs appear to have different timestamps on them, so it’s not clear to me whether errors I see in the logs are still valid, or whether they are issues you’ve now moved past. I'm going to ask for all the information we need at once, so we can a nice clean snapshot of the environment as it is today.

To begin, we’d like higher verbosity on the log files for the relay server and rsoe. Please edit the rs.config file to increase the verbosity to 5 in the “[options]” section, and change the start line for the outbound enable to include “-v 5”.

On the machine where Apache is running, please gather the following information:

  1. How is Apache started? Do you start the process manually, or is it started as a service?
  2. Please provide the httpd.conf file for the Apache server.
  3. How is the rshost process started? I can see that the rs.config file contains “start=no”. Do you start rshost as a service on the machine? If so, please provide information on the service, particularly the user that the service runs as. Do you start rshost manually? If so, what command line do you use and what user are you logged in as when you start the process?
  4. Please provide the rs.config file used by the rshost process.

On the machine where the Outbound Enabler (rsoe) is running, please gather the following information:

  1. How is the Outbound Enabler started? Is it started manually, or as a service?
  2. Please provide the start line for the Outbound Enabler. If the start line includes “@filename”, please provide the contents of “filename” as well.

Once the information above has been gathered, please perform a quick test.

  1. Shut down the outbound enabler.
  2. Re-start the rshost process to ensure that the changes to the rs.config file to increase the verbosity are active
  3. Re-start the outbound enabler, ensuring that you have added “-v 5” to the start line.

At this point, gather the verbose logs from the Relay Server (rshost) and Outbound Enabler (rsoe), and the access_log and error_log from the Apache Server. Tar these files (as well as the httpd.conf and rs.config file we’d asked for earlier) and post the file to the forum (or e-mail them to me). Please also include the information about the Apache Server, rshost and rsoe are started when you send the files.

Thanks, Reg