Topic:
Could not initialize the server. Is another server already running?
Description:
IESX hangs trying to open the Session Manager and eventually errors out with the following message: Server using TCP/IP Socket Port Number: 1035 Could not initialize the server. Is another server already running? Check the contents of CTSTATUS.FCS. Server cannot continue. Save the contents of 'CTSTATUS.FCS' and record the following codes: O6 M1 L42 F0 P1fdx (recur #1) (uerr_cod=509)
Solution:
The project's CTREE server is trying to connect to a port that is already in use by another process on the machine. The port number that the CTREE server connects to is determined by the following calculations: 1.) Each letter in the project's name is converted to it's ASCII value. 2.) The resulting values are summed together and added to 5001. 3.) If the resultant port number is greater than 6024, the number wraps back to 1. For example, a resultant port number of 7000 would have the CTREE trying to connect to port number 976 (7000-6024). The port numbers in use by the machine can be identified by looking in the /etc/services file. You can also determine if it is a port conflict by attempting to open the project on another operating system version, i.e., Solaris 2.5.1 instead of Solaris 2.6. If the project opens on one OS version and not the other, it is most likely a port conflict. To fix the port conflict we must change the project name, thereby causing CTREE to calculate a different port number to attach to. We can do this one of two ways: 1.) Recreate the project with a different name, OR, 2.) In a GeoFrame 3.6 xterm, a.) UNIX> sqlplus projectname/projectpassword SQL> update project set BULK_SERVER_ADDRESS='PROJECT:projectnameA@machine.domain'; SQL> commit; SQL> quit b.) cd ...../PROJECTNAME/Default/CTREE_local_projectname c.) vi ctsrvr.cfg d.) Edit the server name to reflect the change to the project name made in the sqlplus update statement above. In our case we would change the server name to projectnameA. e.) Restart IESX.
Last Modified on: 13-OCT-99