ERROR: Unable to log into the network because the login credentials or the server certificate is incorrect.

  • 7002202
  • 16-Dec-2008
  • 08-Nov-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 1 - 10.1
Novell SUSE Linux Enterprise Server 10

Situation

Authentication Error: Unable to log into the network because the login credentials or the server certificate is incorrect.

This message is seen in the log file loader-messages.log

Novell.Zenworks.PolicyHandlers.InvalidPersistedDataException: Exception occured while deserializing persisted data. ---> System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.

Also, running zac reg command returns a java stack trace.

Resolution

Set ownership to user and group of zenworks so Tomcat can extract the war files successfully.

chown zenworks.zenworks -R /opt/novell/zenworks

Additional Information

Several of the directories under /opt/novell/zenworks were owned by the user root, rather than the user zenworks.  Because of this Tomcat was unable to expand the zenworks-registration.war file in /opt/novell/zenworks/share/tomcat/webapps.

For other TIDs relating to login issues, see TID 3273870 - Troubleshooting ZCM login problems