Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 28389 invoked from network); 14 Dec 2006 19:23:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2006 19:23:06 -0000 Received: (qmail 92402 invoked by uid 500); 14 Dec 2006 19:23:12 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 92374 invoked by uid 500); 14 Dec 2006 19:23:12 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 92363 invoked by uid 99); 14 Dec 2006 19:23:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 11:23:12 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of problems.mail@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 11:23:02 -0800 Received: by nf-out-0910.google.com with SMTP id x37so881308nfc for ; Thu, 14 Dec 2006 11:22:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=QalL5oTI49NuQzUjKBwH5y6HP4ajyJSuvZbxBUk88547LvrIH0E3GnABmch24z4tDp2ov4ooCmZf6B9Szg7g1yG1frIUe7hVK0n2huKW0HbABzuLExET75eCGtFh9TSd1snrlEE0eDlmhF9gVkEzqTd9EqAUzARMn8EOaLFNn1U= Received: by 10.48.48.13 with SMTP id v13mr1262951nfv.1166124161450; Thu, 14 Dec 2006 11:22:41 -0800 (PST) Received: by 10.48.238.3 with HTTP; Thu, 14 Dec 2006 11:22:41 -0800 (PST) Message-ID: Date: Thu, 14 Dec 2006 14:22:41 -0500 From: "problems mail" To: user@geronimo.apache.org Subject: Re: Issues Starting Geronimo In-Reply-To: <74e15baa0612141020n19458ba7vbcb0f0d8e804de4c@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5970_22286810.1166124161360" References: <74e15baa0612140604n6528f743s5dbdc7a906e6b4fb@mail.gmail.com> <74e15baa0612141020n19458ba7vbcb0f0d8e804de4c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5970_22286810.1166124161360 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Aaron, Sorry it was 192.168 not 192.128, I typed it in. Here is my firewall policy: # Generated by iptables-save v1.2.11 on Wed Dec 13 23:03:50 2006 *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT DROP [3:228] :icmp_packets - [0:0] -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT -A INPUT -p tcp -m tcp --dport 25 -j ACCEPT -A INPUT -p tcp -m tcp --dport 110 -j ACCEPT -A INPUT -p tcp -m tcp --dport 143 -j ACCEPT -A INPUT -p tcp -m tcp --dport 20 -j ACCEPT -A INPUT -p tcp -m tcp --dport 21 -j ACCEPT -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -s 127.0.0.1 -d 127.0.0.1 -i lo -j ACCEPT -A INPUT -p icmp -j icmp_packets -A INPUT -p tcp -m tcp --dport 993 -j ACCEPT -A INPUT -p udp -m udp --dport 53 -j ACCEPT -A OUTPUT -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 25 -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 22 -j ACCEPT -A OUTPUT -p icmp -j icmp_packets -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A OUTPUT -p udp -m udp --dport 53 -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 80 -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 443 -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 20 -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 21 -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 3306 -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 8080 -j ACCEPT -A icmp_packets -p icmp -m icmp --icmp-type 0 -j ACCEPT -A icmp_packets -p icmp -m icmp --icmp-type 8 -j ACCEPT -A icmp_packets -p icmp -m icmp --icmp-type 3 -j ACCEPT -A icmp_packets -p icmp -m icmp --icmp-type 11 -j ACCEPT COMMIT # Completed on Wed Dec 13 23:03:50 2006 => Here is the reply for nslookup: [root@rly ]# nslookup rly.rmp.com Server: 127.0.0.1 Address: 127.0.0.1#53 Non-authoritative answer: Name: rly.rmp.com Address: 192.168.1.110 => Here is the reply for ping: [root@rly ]# ping rly.rmp.com PING rly.rmp.com (192.168.1.110) 56(84) bytes of data. 64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=0 ttl=64 time=0.053 ms 64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=1 ttl=64 time=0.037 ms 64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=2 ttl=64 time=0.026 ms 64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=3 ttl=64 time=0.021 ms 64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=4 ttl=64 time=0.024 ms 64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=5 ttl=64 time=0.025 ms 64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=6 ttl=64 time=0.030 ms --- rly.rmp.com ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 5999ms rtt min/avg/max/mdev = 0.021/0.030/0.053/0.012 ms, pipe 2 Regards, Simon On 12/14/06, Aaron Mulder wrote: > > So I didn't see a direct problem, but you reported that the startup > was extra-long and the shutdown tool didn't work, so I'm guessing that > there might still be a network configuration problem. It's possible > that you just have a particularly slow machine and very restrictive > firewall, but let's work through this just to make sure. > > So... If you run "ifconfig" what do you get? Does it exactly match > what's in your hosts file? And if you run "nslookup rly.rmp.com" and > "ping rly.rmp.com" do they return promptly and give you what you would > expect? > > In particular, it would be more common for the IP address in > /etc/hosts start with "192.168" instead of "192.128", but it just has > to match what ifconfig reports. > > Thanks, > Aaron > > On 12/14/06, problems mail wrote: > > Aaron, > > > > Here is the reply for hostname > > > > [root@rly apacheserver]# hostname > > rly.rmp.com > > > > > > [root@rly apacheserver]# more /etc/hosts > > 127.0.0.1 localhost.localdomain localhost > > 192.128.1.110 rly.rmp.com rly > > > > Regards, > > Simon > > > > > > > > On 12/14/06, Aaron Mulder wrote: > > > Most likely, there's still a problem with your /etc/hosts -- as in, > > > the machine's host name does not resolve to one of its actual IP > > > addresses. Can you provide the output of "hostname" and the contents > > > of your /etc/hosts file? > > > > > > Thanks, > > > Aaron > > > > > > On 12/14/06, problems mail wrote: > > > > Hello, > > > > > > > > I have been able to successfully start Geronimo after having issues > with > > the > > > > /etc/hosts file. > > > > > > > > There are couple of issues or concerns wanted to verify, (is 1.1.1the > > right > > > > version to download ??) > > > > > > > > => I still receive errors in the log file, are these ok ? (attaching > the > > log > > > > file) > > > > => It takes over 213s (or approx. 4 minutes to start up), and > majority > > of > > > > the time it is waiting at this "Starting > geronimo/j2ee-security/1..." => > > I > > > > cannot even shutdown the server it displays an error or stack dump > when > > I do > > > > a "Ctrl + C" on the shell window running the apache geronimo > process. > > > > => I tried to call the shutdown.jar, it is not able to connect and > > shutdown > > > > the Geronimo server > > > > > > > > Is there any setting that we need to do in the IPTables ? > > > > > > > > Are most of the users running Geronimo on Windows ? (looks like they > > dont > > > > seem to have any issues ??) > > > > > > > > Any help greatly appreciated. > > > > > > > > -- > > > > Regards, > > > > Simon > > > > > > > > > > > > > > > -- > > Regards, > > Simon > -- Regards, Simon ------=_Part_5970_22286810.1166124161360 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
 
Aaron,
 
Sorry it was 192.168 not 192.128, I typed it in. 
 
Here is my firewall policy:
 
# Generated by iptables-save v1.2.11 on Wed Dec 13 23:03:50 2006
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [3:228]
:icmp_packets - [0:0]
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 25 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 110 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 143 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 20 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 21 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -s 127.0.0.1 -d 127.0.0.1 -i lo -j ACCEPT
-A INPUT -p icmp -j icmp_packets
-A INPUT -p tcp -m tcp --dport 993 -j ACCEPT
-A INPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 25 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A OUTPUT -p icmp -j icmp_packets
-A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 20 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 21 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 3306 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 8080 -j ACCEPT
-A icmp_packets -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A icmp_packets -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A icmp_packets -p icmp -m icmp --icmp-type 3 -j ACCEPT
-A icmp_packets -p icmp -m icmp --icmp-type 11 -j ACCEPT
COMMIT
# Completed on Wed Dec 13 23:03:50 2006
 
 
=> Here is the reply for nslookup:

[root@rly ]# nslookup rly.rmp.com
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   rly.rmp.com
Address: 192.168.1.110

=> Here is the reply for ping:

[root@rly ]# ping rly.rmp.com
PING rly.rmp.com (192.168.1.110) 56(84) bytes of data.
64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=0 ttl=64 time=0.053 ms
64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=1 ttl=64 time= 0.037 ms
64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=2 ttl=64 time=0.026 ms
64 bytes from rly.rmp.com ( 192.168.1.110): icmp_seq=3 ttl=64 time=0.021 ms
64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=4 ttl=64 time=0.024 ms
64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=5 ttl=64 time=0.025 ms
64 bytes from rly.rmp.com (192.168.1.110): icmp_seq=6 ttl=64 time= 0.030 ms

--- rly.rmp.com ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 5999ms
rtt min/avg/max/mdev = 0.021/0.030/0.053/0.012 ms, pipe 2

 
Regards,
Simon


 
On 12/14/06, Aaron Mulder <ammulder@alumni.princeton.edu> wrote:
So I didn't see a direct problem, but you reported that the startup
was extra-long and the shutdown tool didn't work, so I'm guessing that
there might still be a network configuration problem.  It's possible
that you just have a particularly slow machine and very restrictive
firewall, but let's work through this just to make sure.

So...  If you run "ifconfig" what do you get?  Does it exactly match
what's in your hosts file?  And if you run "nslookup rly.rmp.com" and
"ping rly.rmp.com" do they return promptly and give you what you would
expect?

In particular, it would be more common for the IP address in
/etc/hosts start with "192.168" instead of "192.128", but it just has
to match what ifconfig reports.

Thanks,
      Aaron

On 12/14/06, problems mail <problems.mail@gmail.com> wrote:
> Aaron,
>
> Here is the reply for hostname
>
> [root@rly apacheserver]# hostname
> rly.rmp.com
>
>
> [root@rly apacheserver]# more /etc/hosts
> 127.0.0.1       localhost.localdomain localhost
> 192.128.1.110   rly.rmp.com rly
>
> Regards,
> Simon
>
>
>
> On 12/14/06, Aaron Mulder < ammulder@alumni.princeton.edu> wrote:
> > Most likely, there's still a problem with your /etc/hosts -- as in,
> > the machine's host name does not resolve to one of its actual IP
> > addresses.  Can you provide the output of "hostname" and the contents
> > of your /etc/hosts file?
> >
> > Thanks,
> >      Aaron
> >
> > On 12/14/06, problems mail <problems.mail@gmail.com > wrote:
> > > Hello,
> > >
> > > I have been able to successfully start Geronimo after having issues with
> the
> > > /etc/hosts file.
> > >
> > > There are couple of issues or concerns wanted to verify, (is 1.1.1 the
> right
> > > version to download ??)
> > >
> > > => I still receive errors in the log file, are these ok ? (attaching the
> log
> > > file)
> > > => It takes over 213s  (or approx. 4 minutes to start up), and majority
> of
> > > the time it is waiting at this "Starting geronimo/j2ee-security/1..." =>
> I
> > > cannot even shutdown the server it displays an error or stack dump when
> I do
> > > a "Ctrl + C" on the shell window running the apache geronimo process.
> > > => I tried to call the shutdown.jar, it is not able to connect and
> shutdown
> > > the Geronimo server
> > >
> > > Is there any setting that we need to do in the IPTables ?
> > >
> > > Are most of the users running Geronimo on Windows ? (looks like they
> dont
> > > seem to have any issues ??)
> > >
> > > Any help greatly appreciated.
> > >
> > > --
> > > Regards,
> > > Simon
> > >
> >
>
>
>
> --
> Regards,
> Simon



--
Regards,
Simon ------=_Part_5970_22286810.1166124161360--