bash-3.2# mysqlsetup -i
Input the alpha-numberic password for xcatadmin in the MySQL database:
Input the password for root in the MySQL database:
Backing up xCAT Database to /xcat-dbback.
This could take several minutes.
Shutting down the xcatd daemon during database migration.
0513-044 The xcatd Subsystem was requested to stop.
Fixing install directory permissions.
This may take a few minutes.
Restoring the xCAT Database with /xcat-dbback to MySQL database.
This could take several minutes.
restartxcatd invoked by root.
0513-006 The Subsystem, xcatd, is currently stopping its execution.
Error: Cannot stop the xcatd subsystem correctly.
xCAT is now running on the MySQL database.
You should log out and back in, so that the new ulimit settings will take affect.
bash-3.2# lsdef
Unable to open socket connection to xcatd daemon on localhost:3001.
Verify that the xcatd daemon is running and that your SSL setup is correct.
Connection failure: IO::Socket::INET: connect: Connection refused at /opt/xcat/lib/perl/xCAT/Client.pm line 236.
After mysqlsetup:
bash-3.2# ps -elf | grep xcatd
240001 A root 12124398 3211308 0 60 20 835bca480 20720 02:25:25 - 0:00 xcatd: SSL listener
40001 A root 15859750 12124398 0 60 20 808ea2480 19944 02:25:27 - 0:00 xcatd: UDP listener
40001 A root 16121864 15859750 0 60 20 81a4e7480 19664 f1000e0001738cc8 02:25:27 - 0:00 xcatd: Discovery worker
Then kill the zombie processes
kill -9 12124398 15859750 16121864
restartxcatd
then xcatd started correctly
I will talk this but I think it is related to https://sourceforge.net/p/xcat/bugs/4336/
The problem is stopsrc -s xcatd is not stopping all the xcatd daemons on AIX Even if nothing else is going on. And as a result the xcatd is not up and running after the script runs.
Talked to Linda this is the problem she is working on in 4336
Here are the daemons after stopsrc
ps -ef | grep xcatd
root 11927726 12779648 0 09:01:10 - 0:00 xcatd: Discovery worker
root 12779648 1 0 09:01:10 - 0:00 xcatd: UDP listener