Environment
ZENworks Configuration Management (ZCM)
Situation
ZCC Login
Browser indicates javascript error, indicating that there is an error in the code for that URL. And, drilling into this error, a similar message to the following appears:
Line: 184
Char: 1
Error: Object doesn't support this property or method
Code: 0
URL: https://10.74.5.81/zenworks/jsp/fw/internal/Login.jsp
- login screen - nothing happens when credentials entered and login button clicked
- troubleshooting step - novell-zenworks-configure -c SystemStatus shows normal.
Browser indicates javascript error, indicating that there is an error in the code for that URL. And, drilling into this error, a similar message to the following appears:
Line: 184
Char: 1
Error: Object doesn't support this property or method
Code: 0
URL: https://10.74.5.81/zenworks/jsp/fw/internal/Login.jsp
Resolution
Determine if the file is inconsistent (incorrect checksum, or improper file ownership/rights) by executing a ZENworks Diagnostic Center (ZDC), and reviewing its report. It will list the expected file checksum (and file ownership on a Linux server).
If the njwc.js shows an incorrect checksum:
Windows: %ZENWORKS_HOME%\share\tomcat\webapps\zenworks\js\njwc\njwc.js
Linux: /opt/novell/zenworks/share/tomcat/webapps/zenworks/js/njwc/njwc.js
If the njwc.js shows an incorrect checksum:
Windows: %ZENWORKS_HOME%\share\tomcat\webapps\zenworks\js\njwc\njwc.js
Linux: /opt/novell/zenworks/share/tomcat/webapps/zenworks/js/njwc/njwc.js
- Back up the original inconsistent njwc.js file to a directory outside of the ZCM file structure for safe keeping.
- Replace the inconsistent njwc.js file with a known good file from a known good server running the same ZCM version and patch level.
- If on a Linux primary, change the file permissions as the replaced file will be owned by the user used during file copy.
chown zenworks:zenworks /opt/novell/zenworks/share/tomcat/webapps/zenworks/js/njwc/njwc.js
chmod 755 /opt/novell/zenworks/share/tomcat/webapps/zenworks/js/njwc/njwc.js
*** Note - all files in this directory should have the above ownership and rights. ***