PSMP - Cannot connect with PSMP with error "CASCU035E Failed to create named pipe"
Symptom
Cannot connect with PSMP. The following error may appear:
PSPSD033E messages are also sometimes thrown.
Environment
10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1 Component: PSMP Functional Area: Networking & Connectivity
Cause
There could be a number of causes for this error, but one of the factors to check is available disk space where PSMP is installed. If the disk is nearly full or out of space, the error message is generated because the logs cannot be written on the PSMP. The df -k command will show all available disk space.
The PSMP will move files that are more than 25 MB to the associated "old" directory. However there is no check done by the PSMP to see if these files can be deleted.
Logs for the PSMP are generally stored in "/var/opt/CARKpsmp/logs", with an additional "components" folder
Resolution
The UNIX find command can be used to delete old logs. Examples:
find /var/opt/CARKpsmp/logs -mtime +7 -print --> This command will list the files in the logs directory that are older than seven (7) days
find /var/opt/CARKpsmp/logs -mtime +7 -exec ls -al {} \; --> This will do a long listing of the files in the logs directory that are older than seven (7) days, to include the file size
find /var/opt/CARKpsmp/logs -mtime +7 -delete --> This will delete files in the logs directory that are older than seven (7) days, to include the file size
The last command, find /var/opt/CARKpsmp/logs -mtime +7 -delete can be put into the root user's crontab to automate this process.
For more information on crontab: https://www.lifewire.com/crontab-linux-command-4095300