Trouble in configuring Apache for QNX 6.1

Hello:

I have the compiled version of “httpd” and other executables for QNX.

When I run “apachectl start”, it return immediately,

./apachectl start

/apachectl start: httpd started
But “httpd” also terminates at this point. I even tried running “httpd” explicitly, but the same thing happened.

Can anybody tell how to address this issue.

Thanks,
Vish.

When I run “apachectl start”, it return immediately,

./apachectl start

/apachectl start: httpd started

Is there anything in the log files? These will probably be …/logs relative
to you apachectl binary. If not there, look in the httpd.conf file to see
where they are.

William

Vishwanath Kulkarni <vishwa2000@operamail.com> wrote:

Hello:

I have the compiled version of “httpd” and other executables for QNX.

Where did you get them?

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Two most common problems that people get when they try to run Apache are
‘can’t detect host name’ and ‘group nogroup does not exist’.

Both are fixed by editing httpd.conf accordingly (Add ServerName directive
and change ‘Group nogroup’ to ‘Group nobody’ or whatever you have.

Of course, the third most common problem that people have is that they don’t
read log files.

“Vishwanath Kulkarni” <vishwa2000@operamail.com> wrote in message
news:14672643.1053072676592.JavaMail.fliu@tiger…

Hello:

I have the compiled version of “httpd” and other executables for QNX.

When I run “apachectl start”, it return immediately,

./apachectl start

/apachectl start: httpd started
But “httpd” also terminates at this point. I even tried running “httpd”
explicitly, but the same thing happened.

Can anybody tell how to address this issue.

Thanks,
Vish.

Hello:

Three files - access_log (completely empty), error_log (contained the below message)
[Tue May 6 13:52:38 2003] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten – Unclean shutdown of previous Apache run?
[Fri May 16 13:46:22 2003] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten – Unclean shutdown of previous Apache run?
[Mon May 19 09:05:07 2003] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten – Unclean shutdown of previous Apache run?

and httpd.pid (contained the recent PID of httpd) were present.

I even tried putting ServerName directive and also changed the group to nobody, but still not able to achieve the results.

I got the apache files from the below link,
http://mirrors.theonlinerecordstore.com/apache/httpd/binaries/qnx/

Regards,
Vish.

Vish

Are you trying to run Apache as a normal user with a port number of 80?
In this case, it does indeed appear to run and then fail silently.
Port 80 needs root priviledges to open. Try setting the port to 8080 in
httpd.conf or running it as root.

Regards
William

I am running apachectl as root only with Port 80. I even tried with 8080 port and did not get through.

I have not updated the LoadModule section in httpd.conf.
Do I have to update this section? If so, then where will I get the related .so files.

Regards,
Vish.