Subject: Re: packages and basic system service configuration
To: Josh Kuperman <josh@saratoga.lib.ny.us>
From: Tom Tarka <tommy@mp3.com>
List: port-mac68k
Date: 02/12/2001 14:23:45
On Monday, February 12, 2001, at 02:14 PM, Josh Kuperman wrote:
<snip>
> Perl looks like a major headache. In previous environments I installed =
the minimum and=20
> then used CPAN to handle the rest.=20
why wouldn't you continue to do that on NetBSD?
> I tried to install Apache. The installation went alright, except for I=20=
> was missing the shared object library to run the proxy. I commented=20
> out these lines and was able to use the rc script in=20
> /usr/pkg/etc/rc.d/apache to start apache.=20
> =20
> a run of 'ps aux' shows httpd daemon running.=20
> =20
> nobody 918 0.0 1.3 620 864 ?? I 11:28PM 0:00.19 =
/usr/pkg/sbin/httpd =20
> nobody 917 0.0 1.3 620 864 ?? I 11:28PM 0:00.14 =
/usr/pkg/sbin/httpd =20
> nobody 916 0.0 1.3 620 860 ?? I 11:28PM 0:00.13 =
/usr/pkg/sbin/httpd =20
> root 915 0.0 1.5 608 1040 ?? Ss 11:28PM 0:12.14 =
/usr/pkg/sbin/httpd =20
> =20
> But I can't bring up a web page to save my life. I looked through=20
> previous discussions and saw someone had tested with lynx -- I=20
> couldn't find a lynx package. I tried to telnet on port 80 and got a=20=
> connection refused message; still I couldn't find anything in any log=20=
> to show that either the httpd daemon or the system was accessed.=20
last time I checked, apache was no longer set up to run on Port 80 by =
default
(i.e. in the default install) but instead on Port 8080 or some such. =
Maybe that
was just a weird apache dist that I had, but I'd find your apache =
httpd.conf file
and grep for "Port" to find out which Port it's running on. =20
I guess I would expect the conf file to be in /usr/pkg/conf but I'm not =
sure.
When in doubt (and given a couple of minutes) do a: find /usr -name =
"httpd.conf"
or: find /etc -name "httpd.conf"
and then look to see what port apache is running on.
HTH,
-t