No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Login to the Xmanager Fails Because the Default Monitoring Port of the dtlogin Process Is Port 0

Publication Date:  2012-07-25 Views:  8 Downloads:  0
Issue Description
The model of the server is SUN Fire V245. The operating system is Solaris 10 (08/07). The BMS version is N2000 BMS V200R011C015B012.
After Solaris 10 is installed on the SUN Fire V245 (the server has no display adapter and cannot be connected to monitors), the login to the Xmanager fails. The system reports “connect xdmcp failed.” The ping, ftp, and telnet functions are normal. 
 
Alarm Information
The login to the Xmanager fails and the system reports “connect xdmcp failed.” 
Handling Process
Solutions to the problem are as follows:
1. Start the dtlogin process in the daemon mode.
Run the # /etc/init。d/dtlogin stop # to disable the service.
Run the # /usr/dt/bin/dtlogin -daemon & # command to change the daemon mode.
2. The specified dtlogin -udpPort 177 is displayed. Run the service management command svccfg to modify related parameters:
# svccfg
svc:> select application/graphical-login/cde-login
svc:/application/graphical-login/cde-login> listprop dtlogin/args
dtlogin/args astring “ -udpPort 0"
svc:/application/graphical-login/cde-login> setprop dtlogin/args = “\ -udpPort 177"
svc:/application/graphical-login/cde-login> listprop dtlogin/args
dtlogin/args astring “ -udpPort 177"
svc:/application/graphical-login/cde-login> quit
# svcs | grep cde-login
online 15:07:59 svc:/application/graphical-login/cde-login:default
If disable is displayed in the preceding message, run the svcadm enable svc:/application/graphical-login/cde-login:default command to start the service:
# svcadm restart cde-login
Restart the Xmanager. After entering the CDE, run the ps command to query the dtlogin process. The -udpPort is modified to 177 and the problem is solved. 
 
Root Cause
Connect to the server in the Telnet mode. Run the netstat -an|grep 177 command and it is found that port 177 is disabled. Run the ps -ef|grep dtlogin command. The displayed message is /usr/dt/bin/dtlogin -daemon -udpPort 0. In normal conditions, if the dtlogin process is started, the displayed message should be /usr/dt/bin/dtlogin -daemon. Run the svcadm restart svc:/application/graphical-login/cde-login command to restart the dtlogin service. It is found that the display message still contains -udpPort 0. The system listens to the udpport 0 and fails to listen to the XDMCP request reported by port 177. 
Suggestions
In the case of the SUN servers that cannot be connected to monitors, the Xmanager is mandatory for installing the database and the N2000 BMS. When certain Solaris installation disks are used on certain servers, the preceding problem occurs and results in that the Xmanager cannot be used. To locate the problem, refer to this case. 

END