Thanks for your reply.
I've checked
/etc/host settings, IP v6 localhost line is turned off with #.
My issue appears during next steps:
- stopping all CA services
- patching RedHat 6 and rebooting
- starting all CA services in reverse order
After this core files appear.
But if I make previous steps again (without reboot):
- stopping all CA services
- starting all CA services in reverse order
Core files will not appear.
This will not be a problem to restart CA services twice, but I have no such possibility on weekends, when automatic patch management performs.
I also have test CA envieronment on the server with RedHat 7 and the problem does not occur on that server.
Original Message:
Sent: 12-01-2019 12:42 AM
From: Yehonatan Amir
Subject: SockAdapter generates many core files
Hey Bohdan,
I think this issue related to IPV6 (cannot create listener on port [7163] for address family IPv6: 97)
Try going to the hosts file (on linux usually under /etc/hosts) // in windows somewhere under windows dir ..
Add "#" before the line having the localhost6 in it like this :
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
after wards leave the session and try restarting the service
Hope it helps ,
Yoni
Original Message:
Sent: 11-30-2019 07:47 AM
From: Bohdan Zaiachkovskyi
Subject: SockAdapter generates many core files
Hi!
I have a problem with csampmux (SockAdapter). After restarting the AutoSys envieronment (CCS, Sheduler, WCC, etc), all components seems to be working in normal mode. But csampmux begins to create core.* files in $AUTOUSER. This core files occupy all free disk space. If I restart AutoSys envieronment again, problem is gone.
I checked core files with gdb utility, but all, that I found:
Core was generated by `/opt/CA/SharedComponents/Csam/SockAdapter/bin/csampmuxf'.
Program terminated with signal 6, Aborted.
The same time, when csampmux generates core file, it writes next lines to CA/SharedComponents/Csam/SockAdapter/log/
Sat Nov 30 10:08:26.791 ERROR CSAM.BROK [4152026832] [63366] [2] startListener: - unable to create listener socket for [::]:7163 - 97
Sat Nov 30 10:08:26.791 WARN CSAM.BROK [4152026832] [63366] [1] createListeners: - cannot create listener on port [7163] for address family IPv6: 97
Sat Nov 30 10:08:26.792 FATAL CSAM.BROK [4152026832] [63366] [0] main: - /opt/CA/SharedComponents/Csam/SockAdapter/bin/csampmuxf: unable to establish any listeners - is another copy running?
Sat Nov 30 10:08:33.273 INFO CSAM.BROK [4151527120] [63472] [2] logNameOfListener: - created listener on [0.0.0.0]:7163
Sat Nov 30 10:08:33.275 WARN CSAM.BROK [4151854800] [63475] [2] startListener: - unable to bind a listening socket to [0.0.0.0]:7163 - 98
Sat Nov 30 10:08:33.275 WARN CSAM.BROK [4151854800] [63475] [1] createListeners: - cannot create listener on port [7163] for address family IPv4: 98
Sat Nov 30 10:08:33.276 ERROR CSAM.BROK [4151854800] [63475] [2] startListener: - unable to create listener socket for [::]:7163 - 97
Sat Nov 30 10:08:33.276 WARN CSAM.BROK [4151854800] [63475] [1] createListeners: - cannot create listener on port [7163] for address family IPv6: 97
Sat Nov 30 10:08:33.276 FATAL CSAM.BROK [4151854800] [63475] [0] main: - /opt/CA/SharedComponents/Csam/SockAdapter/bin/csampmuxf: unable to establish any listeners - is another copy running?
My OS version is Red Hat Enterprise Linux Server release 6.10 (Santiago). AutoSys version is 11.3.6.919.
Thanks for the help.