BTW, refer to Doc to see whether some steps are missed
https://xcat-docs.readthedocs.io/en/latest/advanced/hierarchy/databases/mysql_configure.html?highlight=mysqlsetup
------------------------------------------------------------------------------
YANG Song (杨嵩)
IBM China System Technology Laboratory
Tel: 86-10-82452903
Email: yang...@cn.ibm.com
Address: Building 28, ZhongGuanCun Software Park,
No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193
 
 
----- Original message -----
From: "Bin XA Xu" <bx...@cn.ibm.com>
To: xcat-user@lists.sourceforge.net
Cc: xcat-user@lists.sourceforge.net
Subject: Re: [xcat-user] New Service node cannot connect to Mariadb when starting xcatd
Date: Fri, Oct 19, 2018 10:33 AM
 
could you run `XCATBYPASS=1 lsxcatd -a` on your service node and paste the output here?
 
Bin Xu
HPC Software Development
Software Defined Infrastructure, IBM Systems
Phone: 86-010-82454067
 
 
----- Original message -----
From: Brian Joiner <martinitime1...@gmail.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc:
Subject: [xcat-user] New Service node cannot connect to Mariadb when starting xcatd
Date: Fri, Oct 19, 2018 5:45 AM
 
Hello,
 
I have deployed a service node, to the best of my knowledge, using the online documentation.  I've decided to rsync the install and tftpboot folders to deploy nodes directly from it.  rpm -qa shows the service node rpm was applied
 
Attempting to start the xcatd daemon on the service node hangs, the errors being 
 
"Oct 18 16:22:18 service01 xcat[7109]:  Could not connect to the database. Database handle not defined."
 
headnode hostname: xcat (I know, super original)  10.4.0.1/24
service node hostname:  service01   10.4.0.2/24
 
I have verified:
Mariadb table setup is correct
I can connect manually to the database from the service node and update tables (using xcatadmin account)
DNS works
/etc/xcat/cfgloc file exactly the same as head node
tcpdump on port 3006 (on head node) shows no activity when starting xcatd on service node, but does show activity on above mentioned manual test 
/etc/xCATSN exists
 
[root@xcat ~]# lsxcatd -d
cfgloc=mysql:dbname=xcatdb;host=10.4.0.1|xcatadmin
dbengine=mysql
dbname=xcatdb
dbhost=10.4.0.1
dbadmin=xcatadmin
 
 
What am I missing?  Let me know if you need to see my tables.
--
Brian Joiner
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
 
 
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
 

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to