Troubleshooting
Problem
Some or all queries are failing with error message 'No such file or directory'
Symptom
dbos.log
2016-01-08 16:43:11.821454 EST (11972) Debug: tx 0x95b4b6 cli 500 uid 43241 sid 118205 pid [11965] setState from StartPrecommit (0x4) to Committing (0x20)
2016-01-08 16:43:11.822437 EST (11972) Debug: tx 0x95b4b6 cli 500 uid 43241 sid 118205 pid [11965] setState from Committing (0x20) to CommitCleanedup (0xa0)
2016-01-08 16:44:19.450314 EST (30557) Error: _process_event_msg: type=108 dsId=68 interaction=1056363 tx=0x0 recs=889 size=127940 more=1: *** (dbosEventCleanup) : No such file or directory in /production/builds/nps.rel-7.2.0.5-P2/150817-45588nps.rel-7.2.0.5-P2/main/src/nde/sys/linux_memmap.cpp at line 289
2016-01-08 16:44:19.452425 EST (30557) Info: plan abort : planid 94239 tx 0x95b2f6 cli 87 uid 42834 sid 117276 pid [23041] dsId 118 err = No such file or directory
2016-01-08 16:44:19.457706 EST (30557) Debug: NzSendErrorToClient: error code E-2 sent to cli 87 uid 42834 sid 117276 pid [23041]
2016-01-08 16:44:19.457743 EST (30557) Debug: tx 0x95b2f6 cli 87 uid 42834 sid 117276 pid [23041] setState from Active (0x1) to StartAbort (0x8)
2016-01-08 16:44:19.457911 EST (30557) Warning: NzSendErrorToClient: error code E-2 cli 87 uid 42834 sid 117276 pid [23041] not waiting
Cause
User removed folder/files on host from /nzscratch/tmp/. This folder is used during NPS runtime operations and should not be touched.
Environment
IBM PureData System for Analytics
Diagnosing The Problem
1. check history and if /nzscratch/tmp folder exists:
history | grep nzscratch
ls -latr /nzscratch/tmp
2. check if a file exists and if it does, remove it:
[nz@sytem log]$ ll /tmp/elog.wait
ls: /tmp/elog.wait: No such file or directory
[nz@system log]$
Resolving The Problem
Restarting NPS clears the condition as the /nzscratch/tmp/ files are temporary and volatile. After the restart new files will be created when needed.
Product Synonym
pda netezza
Was this topic helpful?
Document Information
Modified date:
17 October 2019
UID
swg21974441