cancel
Showing results for 
Search instead for 
Did you mean: 

CLI won't start, with XML Parser errors

SOLVED
Highlighted
Contributor

CLI won't start, with XML Parser errors

(Originally posted October 20, 2009)

1 REPLY
New Contributor

Re: CLI won't start, with XML Parser errors

When you try to start the CLI (ZEUSHOME/zxtm/bin/zcli), you may see the following error message:


ERROR: Failed to start due to SELinux restrictions (unable to load XML parser)



This can occur when using SELinux, for example on Redhat Server 5. There are three possible workarounds:

  • Disable SELinux: edit /etc/sysconfig/selinux and then reboot the system
  • Temporarily turn off SELinux: As the root user, run the command: setenforce 0
  • If SELinux is in 'targetted' mode, then train it to not block this library from loading:

chcon -t texrel_shlib_t $ZEUSHOME/zxtmadmin/lib/perl-soap/auto/XML/Parser/Expat/Expat.so

These will then allow you to run the CLI program.