Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

309
Views
httpd.conf and logserver.conf cannot work at the same time - they are using the same PID (Linux)

I am creating a new .conf file (LogServer.conf) so that the app server logs can be accessed via browser. But every time I start httpd.conf, the alias inside the LogServer.conf won't work and vice versa. They are using the same pid. I'm pretty new to this stuff. Will you please help? Thank you.

Here is my LogServer.conf

LoadModule mpm_event_module modules/mod_mpm_event.so

Listen sample.ar.sample.com:7777

LoadModule autoindex_module modules/mod_autoindex.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule alias_module modules/mod_alias.so

ServerName sample.ar.sample.com:7777

DocumentRoot "/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs"

Alias /WASLOGS "/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs"
<Directory "/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs">
AllowOverride None
Options +Indexes
IndexOrderDefault Descending Date
</Directory>
<IfModule mod_autoindex.c>
IndexOptions NameWidth=*
</IfModule>

This is the Listen and ServerName value in my httpd.conf

Listen sample.ar.sample.com:8445
ServerName sample.ar.sample.com:8445

I am starting them using this command:

./apachectl -f /opt/IBM/WebSphere/HTTPServer/conf/httpd.conf -k start
./apachectl -f /opt/IBM/WebSphere/HTTPServer/conf/LogServer.conf -k start

If I stop and then start the LogServer.conf first, and then start httpd.conf, I says that it is already running in a specific PID but it is in stopped status in the websphere console and failed to start from the console.

Please help. Thank you

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

If you run two instances from the same ServerRoot, you have to set PidFile in at least one of the configuration files. e.g. PidFile logs/logserver.pid

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!