Read-only TPC log files prevent TPC server from starting/running

Technote (FAQ)


Question

Why does the TPC device server process fail to start, only logging "The IBM WebSphere Application Server V6.1 - DeviceServer service was terminated with service-specific error The handle is invalid..", and not update any application logs with failure indications?

Cause

Log directories set to read-only for the system group

Answer

Situations have been observed where various directories within the TPC installation directory structure have been changed to read only for the system group. This prevents the TPC Device Server process from writing anything to logs, and thus it won't start and won't log any type of meaningful messaging anywhere. Sample screenshots showing the un-informative Windows service control manager messaging:

from services.msc:


Details of that message:


When this is observed, check permissions for the system group on all TPC directories starting with \Program Files\IBM\TPC. The system group should have full administrative read/write/execute permissions on all log directories.

[8/9/13 0:27:42:061 PKT] 00000013 SystemErr R java.io.FileNotFoundException: E:\Program Files\IBM\TPC\device\tmp\runLock (Access is denied.)
[8/9/13 0:27:42:061 PKT] 00000013 SystemErr R at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
[8/9/13 0:27:42:061 PKT] 00000013 SystemErr R at java.io.FileOutputStream.<init>(FileOutputStream.java:96)
[8/9/13 0:27:42:061 PKT] 00000013 SystemErr R at com.tivoli.sanmgmt.middleware.TSNMServiceManager.<clinit>(TSNMServiceManager.java:1680)

and:

8/8/13 6:32:07 PM SRV0400I: ITLM Agent is not installed, running, or communication with ITLM server failed. Server startup will continue.
java.io.FileNotFoundException: E:\Program Files\IBM\TPC\data\log\rm0.log (Access is denied.)


Once permissions are restored, start the TPC Device Server again and log in. If there are still issues with logging in but the device server is up and listening on port 9550, then examine the log files within the Device Server's WAS profile directory (differs by version).

TPC 4.2.2 and prior:
<TPC_install_dir>\device\apps\was\profiles\deviceServer\logs\server1

TPC 5.1 and newer:
<TPC_install_dir>\ewas\profiles\DeviceServerProfile\logs\deviceServer

Cross reference information
Segment Product Component Platform Version Edition
Storage Management Tivoli Storage Productivity Center Standard Edition Windows 4.1, 4.1.1, 4.2, 4.2.1, 4.2.2

Rate this page:

(0 users)Average rating

Document information


More support for:

Tivoli Storage Productivity Center

Software version:

5.1, 5.1.1

Operating system(s):

Windows

Reference #:

1646507

Modified date:

2014-07-17

Translate my page

Machine Translation

Content navigation