Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
If you don't mind, what's a snapshot of your server.xml file in regards to the server and its ports it is configured to use?
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
Yeah I have checked that before, and got nothing from it. Tomcat is not running, and this is the only instance of Tomcat installed. This is the only web server installed as well.
The server is a...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
Ok, I don't have locate installed right now.. so let me install it and run indexer.. but that may take a while..
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
Scratch that, apparently it was pretty fast..
# updatedb
# locate server.xml
/usr/share/apache-tomcat-7.0.28/conf/server.xml
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
Are you sure 8006 has not been defined in /etc/services? If it is, your netstats won't show the port but the service name (sshd instead of 22 for example)
I've never seen an error like that when...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
permissive should work... I've barely used SELinux but my understanding is that permissive means on, but only log/warn rather than actually block.
At this point, I don't even think it's totally...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
No change.. Used a working fedora and another owrking CentOS server.xml
Still same issue.
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
can you do this:
$ telnet localhost 8006
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
installed telnet and ran that command.
# telnet localhost 8006
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1:...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
I think that Tomcat is not running because you have two instances trying to connect across the same port, failing, the service and all instances are failing to start. That is my feeling anyway.
...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
Yes, the kernel as SELinux on it, but i turned it off.
# getenforce
Permissive
I am still pretty new to linux so if i need to do something else, please let me know.
Cleared the log, and...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
Ok so the server is accepting connections on port 8081 and 8010 (redirecting to port 8443).
So from all I've read, it reads like you have another instance or two of Tomcat running and both are...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
You should have got connection refused if the port was closed... since you got a timeout (on the ipv4 link anyway) I think it means something is blocking it. You running SELinux?
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
I did change it so the MD5SUM did not match. I went ahead and replaced it anyway, though it did come from a windows box. I don't have one from another CentOS box, but I might be able get one from our...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
From the OP:
I did change the ports in server.xml a few times to see if any thing changes.
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
Check /etc/hosts and make sure the server and IP are matching and are what they are supposed to be.
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
Bad install of Tomcat? Uninstall as recommended on the web site (yeah I know that's not difficult) and reinstall and reconfigure? Bout the last option really.
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
Thanks Guys.. This is more of a PITA that I thought it would be. I appreciate all of your help on this.
Though the techie part of me is stubborn and wants to figure it out, I can't devote too...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
I really dont know what to say... really clutching at straws but you could try booting into single-user mode (usually runlevel3) and try starting it up.
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
I guess it goes without saying now.
Change the port to something other than 8006 to see if that removes the conflict with whatever your system is detecting. Port 8005, 8007, just something...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
He did not state which ports though and he did not state what errors he was getting when trying to start Tomcat after changing ports.
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
No problem, it is just the default Tomcat install (just changed the shutdown port a couple of times to see what if that would fix the issue).
XML is not allowed to be uploaded to SD, so I changed...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
ok - so we now know it's a tomcat config issue somewhere since you can use port 8006 elsewhere.
Maybe md5 the server.xml from this box and a known good box?
$ md5sum /path/to/server.xml
If...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
From what I have read, yes Permissive mode is on, but log only. It does not block anything, i check the logs and it was empty after trying to start Tomcat.
I changed the port in...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
While not an expert, I have set up a few Tomcat instances up in the past on both Winodws and Linux systems. This one, however, is not working and I have no clue what is going on. Any...
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
It's trying to bind to localhost though. If there's no definition for localhost there would be a myriad of other issues (which there may well be but we're not privy to them here)
Tomcat Binding Error = CentOS (minimal Install) + Tomcat 7.0.28
Expired
Thread created 06-22-2012 by mestizo122
0 Score
26 Replies
2,845 Views
Hey Guys thanks for the help so far.. There is nothing that I can see that is wrong with the /etc/services or /etc/hosts.
I Googled around but couldn't find anything in regards to dependencies for...