Oracle Apps DBA

My photo
More than 5+ Years of IT Experience in administering Enterprise wide Multi Vendor UNIX Servers, Oracle Databases (8i to 11gR2), Middle-tiers, Applications and Clusters. I am a Sun Certified System Administrator (SCSA) for Solaris 10, oracle 10g database certified associate(OCA), Oracle 10g Database certified professional (OCP) and Oracle E-Business suite R12 certified professionl(OCP)

Oracle Database and Applications

Wednesday, 20 October 2010

Could not establish connection to on port 512 on solaris 10 Xmanager

Hi,

When we install fresh installation of Solaris 10, then by default the service for rexec will be diabled and you couldn't login to sever with Xmanager software from client computer.

The port 512 will not be able to listen any incoming request if rexec service is disabled.

To check status of port:

bash-3.00# netstat -an | grep '512'
bash-3.00#

If its not listening then it will not return any output.

To check status of rexec service:

bash-3.00# svcs rexec
STATE STIME FMRI
disabled 9:49:41 svc:/network/rexec:default
bash-3.00#

Enable rexec service:

bash-3.00# svcadm enable rexec

bash-3.00# svcs rexec
STATE STIME FMRI
online 10:20:26 svc:/network/rexec:default
bash-3.00#

Now check the status of port:

bash-3.00# netstat -an | grep '512'
*.512 *.* 0 0 49152 0 LISTEN
192.168.1.21.512 192.168.1.11.1833 64511 0 49680 0 ESTABLISHED
*.512 *.* 0 0 49152 0 LISTEN

After enabling service rexec you can connect to server from client with Xmanager software without any issues.

No comments: