ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Problem Starting ICS on AIX [SOLVED]

Post new topic  Reply to topic
 Problem Starting ICS on AIX [SOLVED] « View previous topic :: View next topic » 
Author Message
djeripo
PostPosted: Tue May 17, 2005 7:26 pm    Post subject: Problem Starting ICS on AIX [SOLVED] Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

I have installed ICS 4.3 on AIX 5.2.3.

1.)I started PersistentNameServer.sh by issuing command
nohup PersistentnameServe.sh

---On the command window it gave message TransientServer Ready

2.)While Starting ICS, By issuing following command,
ics_manager -start,Its giving the following error,in InterChangeSystem.log

[Version:4.3.0.0][TZ:America/New_York]
[Time: 2005/05/17 16:47:54.222] [System: Server] [Thread: main (#1141240540)] [Type: Info] [MsgID: 123] [Mesg: The stack tracing-related variable STACK_TRACE_ENABLED was not found in the configuration file;the default value of false will be used for this configuration parameter.]
[Time: 2005/05/17 16:47:54.244] [System: Server] [Thread: main (#1141240540)] [Type: Info] [MsgID: 159] [Mesg: The default value 0 for configuration parameter MQSERIES_TRACE_LEVEL in subsystem TRACING will be used.]
[Time: 2005/05/17 16:47:54.245] [System: Server] [Thread: main (#1141240540)] [Type: Info] [MsgID: 159] [Mesg: The default value /wbi/sftw/iwbi/IBM/WebSphereICS/mqseries/CwMQ.trc for configuration parameter MQSERIES_TRACE_FILE in subsystem TRACING will be used.]
[Time: 2005/05/17 16:47:54.277] [System: Server] [Thread: main (#1141240540)] [Type: Info] [MsgID: 22] [Mesg: WebSphere InterChange Server. Initializing server "COMMHUBI1_MNA", Version = 4.3.0.0.]
[Time: 2005/05/17 16:47:54.291] [System: Server] [Thread: main (#1141240540)] [Type: Warning] [MsgID: 84008] [Mesg: The Interchange Server is unable to initialize the Privacy Service. Reason: CxCommon.Exceptions.WBISecurityException: The keystore file was not specified in the config file.]
[Time: 2005/05/17 16:47:54.291] [System: Server] [Thread: main (#1141240540)] [Mesg: Privacy is NOT initialized. Reason: The Interchange Server is unable to initialize the Privacy Service. Reason: CxCommon.Exceptions.WBISecurityException: The keystore file was not specified in the config file.]
[Time: 2005/05/17 16:47:55.088] [System: Server] [Thread: P=874310:O=0:CT (#1141240540)] [Type: Fatal Error] [MsgID: 24006] [Mesg: Error: Cannot connect to the CORBA name server; it might not be running or is running at a different port. org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.TRANSIENT: java.net.BindException: The socket name is not available on this system.:host=localhost,port=14500 vmcid: IBM minor code: E02 completed: No]
[Version:4.3.0.0][TZ:America/New_York]
[Time: 2005/05/17 16:50:14.183] [System: Server] [Thread: main (#1141240358)] [Type: Info] [MsgID: 123] [Mesg: The stack tracing-related variable STACK_TRACE_ENABLED was not found in the configuration file;the default value of false will be used for this configuration parameter.]
[Time: 2005/05/17 16:50:14.205] [System: Server] [Thread: main (#1141240358)] [Type: Info] [MsgID: 159] [Mesg: The default value 0 for configuration parameter MQSERIES_TRACE_LEVEL in subsystem TRACING will be used.]
[Time: 2005/05/17 16:50:14.206] [System: Server] [Thread: main (#1141240358)] [Type: Info] [MsgID: 159] [Mesg: The default value /wbi/sftw/iwbi/IBM/WebSphereICS/mqseries/CwMQ.trc for configuration parameter MQSERIES_TRACE_FILE in subsystem TRACING will be used.]
[Time: 2005/05/17 16:50:14.238] [System: Server] [Thread: main (#1141240358)] [Type: Info] [MsgID: 22] [Mesg: WebSphere InterChange Server. Initializing server "COMMHUBI1_MNA", Version = 4.3.0.0.]
[Time: 2005/05/17 16:50:14.252] [System: Server] [Thread: main (#1141240358)] [Type: Warning] [MsgID: 84008] [Mesg: The Interchange Server is unable to initialize the Privacy Service. Reason: CxCommon.Exceptions.WBISecurityException: The keystore file was not specified in the config file.]
[Time: 2005/05/17 16:50:14.252] [System: Server] [Thread: main (#1141240358)] [Mesg: Privacy is NOT initialized. Reason: The Interchange Server is unable to initialize the Privacy Service. Reason: CxCommon.Exceptions.WBISecurityException: The keystore file was not specified in the config file.]
[Time: 2005/05/17 16:50:15.053] [System: Server] [Thread: P=14271:O=0:CT (#1141240358)] [Type: Fatal Error] [MsgID: 24006] [Mesg: Error: Cannot connect to the CORBA name server; it might not be running or is running at a different port. org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.TRANSIENT: java.net.BindException: The socket name is not available on this system.:host=localhost,port=14500 vmcid: IBM minor code: E02 completed: No]


I checked whether Persistent Name Server is running or not by issuing the following command,
ps -ef | grep 14500.It seems to be Listening fine.

I dont understand why it says java.net.BindException.

I made it sure in the CWSHARED.sh file, that

ORB_HOST=localhost
ORB_PORT=14500.


Last edited by djeripo on Sun May 22, 2005 9:44 am; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website
vennela
PostPosted: Wed May 18, 2005 9:20 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Can you telnet to that port
telnet localhost 14500 ?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
djeripo
PostPosted: Wed May 18, 2005 10:45 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Yeah I can telnet the port.Opened a PMR.They asked me to re-install ICS.Still no luck.
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Wed May 18, 2005 10:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

Sure but is the port used by a different app ?

With ICS shutdown try:
netstat -an | grep 14500

If this returns something it means that somebody else is using 14500 as a server and you cannot connect at this port.

Have you tryed to run:
cat /etc/services | grep 14500

What did it say ?

Enjoy
Back to top
View user's profile Send private message Send e-mail
djeripo
PostPosted: Wed May 18, 2005 11:00 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

I made it sure,No application is using this port.

Quote:
With ICS shutdown try:
netstat -an | grep 14500


netstat -an | grep 14500
tcp 0 0 *.14500 *.* LISTEN


Quote:
Have you tryed to run:
cat /etc/services | grep 14500

Its returning nothing
Back to top
View user's profile Send private message Visit poster's website
djeripo
PostPosted: Wed May 18, 2005 2:09 pm    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

This seems to be a Corba Problem.We are running PNS on 14500 port,But still its not recognising.

nohup PersistentNameServer.sh &
[1] 25422
iwbi@oncwbiq2 bin> Sending nohup output to nohup.out.

iwbi@oncwbiq2 bin>
iwbi@oncwbiq2 bin> tail nohup.out
TransientNameServer: setting port for initial object references to: 14500
Ready.
Initial Naming Context:
IOR:000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000000000010000000000000072000102000000000e3135362e36352e3132352e33320038a4000000164c4d424900000015786b2d2b00100000000400000000000000000003000000010000001800000000000100010000000100010020000101000000000049424d0a00000008000000011420000100000026000000020002
TransientNameServer: setting port for initial object references to: 14500
Ready.
Initial Naming Context:
IOR:000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000000000010000000000000072000102000000000e3135362e36352e3132352e33320038a4000000164c4d424900000015783c1a9d00100000000400000000000000000003000000010000001800000000000100010000000100010020000101000000000049424d0a00000008000000011420000100000026000000020002
TransientNameServer: setting port for initial object references to: 14500
Ready.
iwbi@oncwbiq2 bin> CosNameServer_Dump.sh
Error: Cannot connect to the CORBA name server; It may not be running or is running at a different port.

------------------------------------------------------------
Dump the content of WICS ORB objects in the Naming Server:
host=localhost port=14500
------------------------------------------------------------

Error: Cannot connect to the CORBA name server; It may not be running or is running at a different port.
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Wed May 18, 2005 6:45 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

djeripo wrote:
I made it sure,No application is using this port.

Quote:
With ICS shutdown try:
netstat -an | grep 14500


netstat -an | grep 14500
tcp 0 0 *.14500 *.* LISTEN


This means there is some other program using port 14500.
When no other application is using port 14500 the line with LISTEN should not be present.

Enjoy
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Wed May 18, 2005 7:03 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

It's not ICS that keeps the port open. There is something else called PersistentNameServer that opens the port. ICS then connects to that nameserver.

Even if the ICS is down and persistentnameserver is up, netstat should show something listening on that port.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
djeripo
PostPosted: Sun May 22, 2005 9:48 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Finally,This issue has been resolved.The problem is the box on which we installed is a multi-home machine.It has two NIC cards(Adapters).When we took out one of the card physically and rebooted box,ICS started.For a multi-home box,We need to set a variable called ORB_OAHOST with the VirtualIP.Virtual IP is the combination of 2 IP Addresses and SubNet Mask.
The Syntax is something like this, IP1SubNetMaskIP2.
Back to top
View user's profile Send private message Visit poster's website
djeripo
PostPosted: Tue Jun 14, 2005 7:28 pm    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Interestingly,This problem got fixed automatically after upgrading OS.Before we were at 5.2ML3 .Now we are at 5.2ML4.So no more overheads like configuring Virtual IP.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Problem Starting ICS on AIX [SOLVED]
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.