Seeing port conflicts after upgrade
Issue
- After an upgrade from Red Hat Enterprise Linux 5, some other process is taking the ownership of port 8889, which is opened by a user application (
example) for communication - This program executes sudo in it. Due to this the tomcat process needing to communicate with
exampleis not starting
# netstat -punta | grep 8889
tcp 0 0 127.0.0.1:8889 0.0.0.0:* LISTEN 13184/sudo
tcp 0 0 127.0.0.1:8889 127.0.0.1:34486 ESTABLISHED 15913/example
tcp 62341 0 127.0.0.1:8889 127.0.0.1:35847 ESTABLISHED 13184/sudo
tcp 0 0 127.0.0.1:8889 127.0.0.1:35733 ESTABLISHED 13184/sudo
tcp 0 0 127.0.0.1:8889 127.0.0.1:35952 ESTABLISHED 15913/example
# ps -eaf | grep 13184
root 13184 15913 0 Oct31 ? 00:00:00 /usr/bin/sudo -u tester yyyyy
tester 13194 13184 0 Oct31 ? 00:04:27 yyyyy
Environment
- Red Hat Enterprise Linux 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
