[ale] RedHat 8.0 new install access problems
Robert Heaven
robertheaven at earthlink.net
Mon Dec 23 11:10:12 EST 2002
You may also need to put your host name into the /etc/hosts file. For
some reason, httpd tries to do a reverse DNS lookup of itself on startup
and won't start without it...
On Mon, 2002-12-23 at 10:42, James P. Kinney III wrote:
> Here's the stuff to change in httpd.conf:
>
> # Note: You cannot just invent host names and hope they work. The name
> you
> # define here must be a valid DNS name for your host. If you don't
> understand
> # this, ask your network administrator.
> # If your host doesn't have a registered DNS name, enter its IP address
> here.
> # You will have to access it by its address (e.g., http://123.45.67.89/)
> # anyway, and this will make redirections work in a sensible way.
> #
> #ServerName localhost
>
>
> As you are getting an IP from dhcp, you will need to script the
> <localhost> to get set after the ip gets assigned from dhcp.
>
> run: iptables -L -v -n and post the output.
>
> On Mon, 2002-12-23 at 10:23, Armsby John-G16665 wrote:
> > Ok......
> >
> > Telnet and ftp work..... I had to explicitly bring in the RPMs.....Hooray!
> >
> > apache isccessible only from the box. I can not telnet xxx.xxx.xx.x:80 I get a connection failed.
> > I ran the script to shut down iptables. I manually set up the host name when I configured the box. The host name is in the httpd.conf file. Regardless of host name i can not put in the ip address in a browser on another box and have apache dish out the page. ipaddress, localhost, 127.0.0.1, "xena" all work only on the box.
> >
> > What is the next step?
> >
> >
> > -----Original Message-----
> > From: James P. Kinney III [mailto:jkinney at localnetsolutions.com]
> > Sent: Monday, December 23, 2002 10:17 AM
> > To: Atlanta Linux "User Group (E-mail)
> > Subject: Re: [ale] RedHat 8.0 new install access problems
> >
> >
> > By default, all those service you listed are turned off. They are
> > controlled by xinetd.
> >
> > /etc/xinetd.d/*
> >
> > change the line "disabled = yes" to no for each service you want running
> > from xinetd and restart xinetd :
> > /etc/init.d/xinetd restart
> >
> > The old default days of "run everything after installation" are gone.
> >
> > Apache will not run without a name for the box. As your box is a dhcp
> > client, the name in /etc/httpd/conf/httpd.conf will not match `hostname`
> > so it will only talk to localhost.
> >
> > On Mon, 2002-12-23 at 09:50, Armsby John-G16665 wrote:
> > > This is embarassing....
> > >
> > > New install of RedHat 8.0. I did a desktop with some custom additions. I want apache running. I want to telnet into the box. I want to ftp to the box. I am inside a corporate firewall. I want no firewall running on Linux.
> > >
> > > The box successfully get a DHCP ip address. I can ping it from another box.
> > > Apache works only within the box. Can not be seen outside the box.
> > > FTP refused by the box.
> > > Telnet "connectin failed".
> > >
> > >
> > > During configuration, I said NO FIREWALL. I saw iptables flash during boot. I want to the GUI for security and attempted to select no firewall. No luck. I attempted to select custom and allow everything in. NO luck. I went into the configuration and stopped the IPtables service. No luck. I rebooted. Did not see iptables during startup. Went into services and IP tables remains unchecked.
> > >
> > > What am I missing? This stuff used to just work back in 5.2 and 6.0 days.
> > >
> > > John
> > >
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
> --
> James P. Kinney III \Changing the mobile computing world/
> President and CEO \ one Linux user /
> Local Net Solutions,LLC \ at a time. /
> 770-493-8244 \.___________________________./
>
> GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) <jkinney at localnetsolutions.com>
> Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
>
>
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list