|
Are you sure that the LU6.2 server is dying. If so please
find the core dump in /core and do a:
dbx /usr/sbin/lu62_server /core
on it.
If the server is crashing then this isn't the problem reported below.
But if it is not crashing check to see if the problem you are having is
the one below.
Dave
<<< SMAUG::EDS1$:[NOTES$LIBRARY]IBM_IC_SUPPORT.NOTE;1 >>>
-< IBM Interconnect Support >-
================================================================================
Note 408.0 lu6.2 V3.1 configuration failure 9 replies
TAV02::SHEFTEL 26 lines 2-JUN-1997 09:37
--------------------------------------------------------------------------------
Hi,
I'm trying to configure SNA/APPC LU6.2 V3.1 over SNA/Peer Server
1.3. The connection to the server is fine but when I try to define
14:24:33.73 snalu62_define_local_lu exiting with status
%SNALU62-E-UNSUC, LU6.2 verb did not execute successfully
Client logmask shows no additional info. Also server logmask doesn't
seem to have anything to add.
14:24:33.73 snalu62_define_local_lu exiting with status
%SNALU62-E-UNSUC, LU6.2 verb did not execute successfully
I'll put server logmask, cloent logmask and ncl in the
deposit area by the name NATA_LU62V31.bck
I've done it in 2 sites . One was Unix 4.0 and Peer 1.4 .
Second one was 3.2G and Peer server 1.3. Both experienced the same problem.
Appreciate your help
Thanks
Anat
================================================================================
Note 408.1 lu6.2 V3.1 configuration failure 1 of 9
TAV02::SHEFTEL 0 lines 2-JUN-1997 09:40
-< Escalated to EDS >-
--------------------------------------------------------------------------------
================================================================================
Note 408.2 lu6.2 V3.1 configuration failure 2 of 9
TAV02::SHEFTEL 1 line 2-JUN-1997 09:42
-< misspelling, saveset name ANAT_LU62V31.BCK >-
--------------------------------------------------------------------------------
================================================================================
Note 408.3 lu6.2 V3.1 configuration failure 3 of 9
EDSCLU::GARROD "IBM Interconnect Engineering" 10 lines 2-JUN-1997 10:06
-< Set up the server security >-
--------------------------------------------------------------------------------
I took a quick look at the logs. I think the reason for the failure
is that you have not set up the security properly to allow you to
manage the server.
Refer to the documentation on how to properly set up the security.
I don't know why there isn't a secondary error message saying
"authentication failure" or something.
Dave
================================================================================
Note 408.4 lu6.2 V3.1 configuration failure 4 of 9
EDSCLU::GARROD "IBM Interconnect Engineering" 13 lines 2-JUN-1997 12:15
-< Does your host have a name? >-
--------------------------------------------------------------------------------
I just had a further look at the code. Security violations should have
suberrors so I now doubt that is the reason.
The only straight UNSUC (with no suberror) I could find in this area of
the code is if the system doesn't have a hostname defined. Enter
the command:
hostname
on the LU6.2 server system. What does it say? If it doesn't say
anything then here is your problem.
Dave
================================================================================
Note 408.5 lu6.2 V3.1 configuration failure 5 of 9
TAV02::SHEFTEL 20 lines 2-JUN-1997 12:18
-< I've created and edited the lu62_amd.access >-
--------------------------------------------------------------------------------
Hi Dave,
Thanks for the quick answer.
I did what is mentioned in the docs.
I've set up a file named /usr/lib/sna/lu62_amd.access(I hope I remeber
the name correctly) and set it to be nodename::TCPIP::LU62_SRV::root
(Just followed the example).
There is nothing more about the security. I'be tried to rename the file
to another name to see if there is any other code but it was the same.
I did'nt find anything regarding security exept this file.
If I missed anything, I'll be more then happy to know what.
Thanks
Anat
================================================================================
Note 408.6 lu6.2 V3.1 configuration failure 6 of 9
TAV02::SHEFTEL 9 lines 2-JUN-1997 12:20
-< hostname exists >-
--------------------------------------------------------------------------------
Dave,
You were quicker then me.
I've checked that too. hostname gives the correct name which is dodo in
this case. dodo aslo appears in the /etc/hosts. I have no domain name
so just used simple name.
Anat
================================================================================
Note 408.7 lu6.2 V3.1 configuration failure 7 of 9
EDSCLU::GARROD "IBM Interconnect Engineering" 17 lines 2-JUN-1997 13:18
-< I've found it >-
--------------------------------------------------------------------------------
Re .-1
Well I thought about this over lunch and came back with a theory. Since
proved correct. And your latest reply confirms it.
You'll get the exact error you are seeing if your TCP hostname doesn't
ave a "." in it ie it has no domain or sub-domain. It looks like
oversite in the code.
I'm going to log this preoblem in our bugs file as bug #266 for
addressing in a future ECO and/or release.
The only workaround id for you to give your host a name with a . in it
for the moment. I don't think we'll be issing an ECO just for this
problem.
Dave
================================================================================
Note 408.8 lu6.2 V3.1 configuration failure 8 of 9
TAV02::SHEFTEL 14 lines 4-JUN-1997 09:14
--------------------------------------------------------------------------------
Hi Dave,
This was it. Thanks
Small question. In /usr/lib there is snatprm.a file that has entries of
all the snalu62_routinexxx routine names but without the snalu62_
prefix.
How is the connection done between the call in the program and this
lib.
Thanks
Anat
================================================================================
Note 408.9 lu6.2 V3.1 configuration failure 9 of 9
EDSCLU::GARROD "IBM Interconnect Engineering" 29 lines 4-JUN-1997 09:30
-< You shouldn't be using that file >-
--------------------------------------------------------------------------------
You really shouldn't be referencing this library. Your programs should
be compiled:
cc ... -lsnatprm
which will case /usr/shlib/libsnatprm.so
to be used. The reason you shouldn't be using the static library
(libsnatprm.a) is because if newer versions of the APPC product are
installed you won't automatically pick up the fixes without a relink.
By default libsnatprm.so will be used unless you explicitly do
cc -non_shared
which will use libsnatprm.a (which I highly advise against).
Unfortunately if you are forced to use the ld command the default there
is to unfortunately to produce a static image so if you use ld you
should use the command:
ld -call_shared
In regard to your question I can't see the symnols you are referring
to. I can see all the symbols with the right names ie:
snalu62_routinexxx
Dave
|
| Hi,
server is crashing and generates a core. We did:
# dbx /usr/sbin/lu62_server /core
dbx version 3.11.10
Type 'help for help.
Core file created by program "lu62_server"
thread 0xd signal Segmentation fault at <*[strncpy, 0x3ff800d2610]
ldq_u8, 0(r16)
Any more testing? Regards,
Herminia
|
| (dbx) tstack
Thread 0xd:
> 0 strncpy(0x0, 0x0, 0x0, 0x0, 0x0) [0x3ff800d2610]
1 srv_validate_host_node_access(llcb = (nil), status_vec = (nil))
["/usr/use]
2 srv_process_message(llcb = (nil), ccb = (nil))
["/usr/users/snagwy/sna2/sn]
Thread 0x6:
> 0 msg_receive_trap(0x0, 0x0, 0x0, 0x0, 0x0) [0x3ff8053ea40]
1 msg_receive(0x3ffc01877e0, 0x3ffc0188c30, 0x7, 0x400,
0x3ffc018a100) [0x3f]
2 (unknown)() [0x3ff8056c80c]
3 thdBase(0x0, 0x0, 0x0, 0x1, 0x45586732) [0x3ff80574274]
Thread 0x10:
0 (noname)() [0x120000000]
Thread 0x9:
> 0 __select(0x1400b9a00, 0x1400b9a10, 0x140034b60, 0x3, 0x140034b60)
[0x3ff80]
1 rcv_gap_thread(dcb = 0x140041000)
["/usr/users/snagwy/sna2/snalu62v3_bl05/]
More (n if no)?y
2 srv_outbound_thread(cp_parm = 0x14001c0d0)
["/usr/users/snagwy/sna2/snalu6]
3 thdBase(0x0, 0x0, 0x0, 0x1, 0x45586732) [0x3ff80574274]
Thread 0xb:
> 0 __select(0x140027bc0, 0x11ffff698, 0x140041440, 0x3ff805afd30,
0x12007ee3c]
1 srv_receive_connect(ecb = (nil), llcb = 0x11ffffab8)
["/usr/users/snagwy/s]
2 srv_rcv_conn_thread(ecb = 0x140041300)
["/usr/users/snagwy/sna2/snalu62v3_]
3 main(argc = 2, argv = 0x11ffffe28)
["/usr/users/snagwy/sna2/snalu62v3_bl05]
Thread 0xf:
> 0 nxm_idle(0x0, 0x0, 0x0, 0x0, 0x0) [0x3ff8053ea88]
1 (unknown)() [0x3ff8057bcf0]
(dbx)
|