Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
/etc/sysconfig/network-scripts/devicename - Original Message - From: John Turner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 [EMAIL PROTECTED] wrote: /etc/sysconfig/network-scripts/devicename - Original Message - From: John Turner tomcat- [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
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 [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote: /etc/sysconfig/network-scripts/devicename - Original Message - From: John Turner tomcat- [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote: /etc/sysconfig/network-scripts/devicename - Original Message - From: John Turner tomcat- [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: tomcat-user- [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]