You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Nelson <Da...@motion-ind.com> on 2003/06/13 17:03:39 UTC
Pushing Apache/Tomcat to prod env
This may be slightly off topic but I'm sure others on the list can relate.
I'm working on getting a prod system up as a co-location at an ISP. They've assigned an IP address but the IP is not working (i.e. ping ipaddress returns timeout).
Now they are saying that the network card is misconfigured on the server but I'm fairly certain that RedHat reads from the /etc/hosts file to determine IP to respond to.
Am I correct or missing some significant step in configuring the server?
Thanks
-Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
Posted by John Turner <to...@johnturner.com>.
No, not really. I learned by getting burned. I'm sure some sort of "Red
Hat Unleashed" book or similar would have this information, as well as the
Linux HOWTO.
If the box is in a remote location, and the NIC config is screwed up, there
are only three options: 1) a remote tech fixes it, 2) they ship it back to
you, you fix it and ship it back, and 3) you go to the box and fix it.
There is online help for ifconfig: man ifconfig (obviously)
Or, as already suggested, you can put the config information into
/etc/sysconfig/network/scripts/ifcfg-INTERFACE_NAME. So, for example, on a
Compaq Proliant, /etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=static
BROADCAST=XXX.XXX.XXX.255
IPADDR=XXX.XXX.XXX.24
NETMASK=255.255.255.0
NETWORK=XXX.XXX.XXX.0
ONBOOT=yes
HTH
John
On Fri, 13 Jun 2003 14:43:58 -0500, David Nelson
<da...@talkingstone.com> wrote:
> Thanks John. Unbelievable how poor my collected documentation is. Any
> chance you could point me to a reference redhat admin manual?
>
>
> ----- Original Message -----
> From: "John Turner" <to...@johnturner.com>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Friday, June 13, 2003 1:28 PM
> Subject: Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
>
>
>>
>> Actually, it would be ifcfg-devicename.
>>
>> John
>>
>>
>> On Fri, 13 Jun 2003 13:26:25 -0400, Ronnie Tartar
> <rt...@symbiostech.com>
>> wrote:
>>
>> > /etc/sysconfig/network-scripts/devicename
>> > ----- Original Message ----- From: "John Turner" <tomcat-
>> > user@johnturner.com>
>> > To: "Tomcat Users List" <to...@jakarta.apache.org>
>> > Sent: Friday, June 13, 2003 1:00 PM
>> > Subject: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
>> >
>> >
>> >>
>> >> AFAIK, RH doesn't use the hosts file at all to set IP address.
>> >>
>> >> The address "setters" are in etc/init.d/network. You can configure
> your
>> > IP
>> >> address from the command line using ifconfig. This might require 15
>> >> minutes (actually 1 or 2 but most ISPs don't charge by the minute) of
>> >> tech
>> >> time on your ISP side, because without net access to the box you
>> won't
>> >> be
>> >> able to SSH.
>> >>
>> >> John
>> >>
>> >> On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson
>> <David.Nelson@motion-
>> >> ind.com> wrote:
>> >>
>> >> > This may be slightly off topic but I'm sure others on the list can
>> >> > relate.
>> >> >
>> >> > I'm working on getting a prod system up as a co-location at an ISP.
>> >> > They've assigned an IP address but the IP is not working (i.e. ping
>> >> > ipaddress returns timeout).
>> >> >
>> >> > Now they are saying that the network card is misconfigured on the
>> >> server
>> >> > but I'm fairly certain that RedHat reads from the /etc/hosts file
>> to
>> >> > determine IP to respond to.
>> >> >
>> >> > Am I correct or missing some significant step in configuring the
>> >> server?
>> >> >
>> >> > Thanks
>> >> > -Dave
>> >> >
>> >> > --------------------------------------------------------------------
>>
>>
>> -
>> >> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> >> > For additional commands, e-mail: tomcat-user-
>> help@jakarta.apache.org
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> -- Using M2, Opera's revolutionary e-mail client:
>> >> http://www.opera.com/m2/
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>> >>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>> >
>> >
>>
>>
>>
>> --
>> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
Posted by David Nelson <da...@talkingstone.com>.
Thanks John. Unbelievable how poor my collected documentation is. Any
chance you could point me to a reference redhat admin manual?
----- Original Message -----
From: "John Turner" <to...@johnturner.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, June 13, 2003 1:28 PM
Subject: Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
>
> Actually, it would be ifcfg-devicename.
>
> John
>
>
> On Fri, 13 Jun 2003 13:26:25 -0400, Ronnie Tartar
<rt...@symbiostech.com>
> wrote:
>
> > /etc/sysconfig/network-scripts/devicename
> > ----- Original Message ----- From: "John Turner" <tomcat-
> > user@johnturner.com>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > Sent: Friday, June 13, 2003 1:00 PM
> > Subject: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
> >
> >
> >>
> >> AFAIK, RH doesn't use the hosts file at all to set IP address.
> >>
> >> The address "setters" are in etc/init.d/network. You can configure
your
> > IP
> >> address from the command line using ifconfig. This might require 15
> >> minutes (actually 1 or 2 but most ISPs don't charge by the minute) of
> >> tech
> >> time on your ISP side, because without net access to the box you won't
> >> be
> >> able to SSH.
> >>
> >> John
> >>
> >> On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson <David.Nelson@motion-
> >> ind.com> wrote:
> >>
> >> > This may be slightly off topic but I'm sure others on the list can
> >> > relate.
> >> >
> >> > I'm working on getting a prod system up as a co-location at an ISP.
> >> > They've assigned an IP address but the IP is not working (i.e. ping
> >> > ipaddress returns timeout).
> >> >
> >> > Now they are saying that the network card is misconfigured on the
> >> server
> >> > but I'm fairly certain that RedHat reads from the /etc/hosts file to
> >> > determine IP to respond to.
> >> >
> >> > Am I correct or missing some significant step in configuring the
> >> server?
> >> >
> >> > Thanks
> >> > -Dave
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >> >
> >> >
> >>
> >>
> >>
> >> -- Using M2, Opera's revolutionary e-mail client:
> >> http://www.opera.com/m2/
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
>
> --
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
Posted by John Turner <to...@johnturner.com>.
Actually, it would be ifcfg-devicename.
John
On Fri, 13 Jun 2003 13:26:25 -0400, Ronnie Tartar <rt...@symbiostech.com>
wrote:
> /etc/sysconfig/network-scripts/devicename
> ----- Original Message ----- From: "John Turner" <tomcat-
> user@johnturner.com>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Friday, June 13, 2003 1:00 PM
> Subject: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
>
>
>>
>> AFAIK, RH doesn't use the hosts file at all to set IP address.
>>
>> The address "setters" are in etc/init.d/network. You can configure your
> IP
>> address from the command line using ifconfig. This might require 15
>> minutes (actually 1 or 2 but most ISPs don't charge by the minute) of
>> tech
>> time on your ISP side, because without net access to the box you won't
>> be
>> able to SSH.
>>
>> John
>>
>> On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson <David.Nelson@motion-
>> ind.com> wrote:
>>
>> > This may be slightly off topic but I'm sure others on the list can
>> > relate.
>> >
>> > I'm working on getting a prod system up as a co-location at an ISP.
>> > They've assigned an IP address but the IP is not working (i.e. ping
>> > ipaddress returns timeout).
>> >
>> > Now they are saying that the network card is misconfigured on the
>> server
>> > but I'm fairly certain that RedHat reads from the /etc/hosts file to
>> > determine IP to respond to.
>> >
>> > Am I correct or missing some significant step in configuring the
>> server?
>> >
>> > Thanks
>> > -Dave
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>> >
>> >
>>
>>
>>
>> -- Using M2, Opera's revolutionary e-mail client:
>> http://www.opera.com/m2/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
Posted by Ronnie Tartar <rt...@symbiostech.com>.
/etc/sysconfig/network-scripts/devicename
----- Original Message -----
From: "John Turner" <to...@johnturner.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, June 13, 2003 1:00 PM
Subject: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
>
> AFAIK, RH doesn't use the hosts file at all to set IP address.
>
> The address "setters" are in etc/init.d/network. You can configure your
IP
> address from the command line using ifconfig. This might require 15
> minutes (actually 1 or 2 but most ISPs don't charge by the minute) of tech
> time on your ISP side, because without net access to the box you won't be
> able to SSH.
>
> John
>
> On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson <David.Nelson@motion-
> ind.com> wrote:
>
> > This may be slightly off topic but I'm sure others on the list can
> > relate.
> >
> > I'm working on getting a prod system up as a co-location at an ISP.
> > They've assigned an IP address but the IP is not working (i.e. ping
> > ipaddress returns timeout).
> >
> > Now they are saying that the network card is misconfigured on the server
> > but I'm fairly certain that RedHat reads from the /etc/hosts file to
> > determine IP to respond to.
> >
> > Am I correct or missing some significant step in configuring the server?
> >
> > Thanks
> > -Dave
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
>
> --
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
[OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
Posted by John Turner <to...@johnturner.com>.
AFAIK, RH doesn't use the hosts file at all to set IP address.
The address "setters" are in etc/init.d/network. You can configure your IP
address from the command line using ifconfig. This might require 15
minutes (actually 1 or 2 but most ISPs don't charge by the minute) of tech
time on your ISP side, because without net access to the box you won't be
able to SSH.
John
On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson <David.Nelson@motion-
ind.com> wrote:
> This may be slightly off topic but I'm sure others on the list can
> relate.
>
> I'm working on getting a prod system up as a co-location at an ISP.
> They've assigned an IP address but the IP is not working (i.e. ping
> ipaddress returns timeout).
>
> Now they are saying that the network card is misconfigured on the server
> but I'm fairly certain that RedHat reads from the /etc/hosts file to
> determine IP to respond to.
>
> Am I correct or missing some significant step in configuring the server?
>
> Thanks
> -Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org