Hi Ahmed,

I cannot reproduce the makehosts error, could provide more information
about makehosts ?
1) Could you check if /tmp/xcat is rw? could you use non-root user?
2) when executing makehosts, is there a file "/tmp/xcat/hostsfile.lock" ?
3) Could you provide output of "lsxcatd -v", "XCATBYPASS=1 makehosts", "rpm
-qa|grep -i xcat" ?


Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
         ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian
District,
         Beijing P.R.China 100193

IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193



From:   Ahmed Essam <aelmaz...@hotmail.com>
To:     "xCAT-user@lists.sourceforge.net"
            <xCAT-user@lists.sourceforge.net>
Date:   07/09/2017 06:31 PM
Subject:        [xcat-user] Error while executing makehosts command



Hi all,
I am using xCAT 2.13.4 version and the OS on my management node is Centos 6

When I try to execute "makehosts" command the foolowing error appears:


flock() on closed filehandle $lockh
at /opt/xcat/lib/perl/xCAT_plugin/hosts.pm line 451.
flock() on closed filehandle $lockh
at /opt/xcat/lib/perl/xCAT_plugin/hosts.pm line 565.

Other error appears when I try to use "switchdiscover"

switchdiscover --range 192.168.1.0/24 -w
Command failed: lsdef. Error message: Could not find an object named
'switch-192-168-1-50' of type 'node'..

Given that there isn't a problem in our switch configuration since we've
implemented an xCAT cluster before using the same switch with Centos7
management node.

Hope you can help.

Sincerely,
Ahmed Essam



------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to