I've got this error below when i tried to add new table. I couldn't find anything wrong with my Table-"".nmis file script. I have followed the step by step procedure on how to create table from Opmantek community.
Can anybody help? Thank you.
12-Jun-2015 04:35:36,tables.pl::loadReqTable#124func::loadTable#922<br>ERROR file does not exist or has bad permissions dir=conf name=TroubleTicket, nmis_var=/usr/local/nmis8/var nmis_conf=/usr/local/nmis8/conf
12-Jun-2015 04:35:36,tables.pl::loadCfgTable#141NMIS::loadGenericTable#328NMIS::loadFileOrDBTable#323func::loadTable#913func::readFiletoHash#1104<br>ERROR convert /usr/local/nmis8/conf/Table-TroubleTicket.nmis to hash table, Bad name after Node' at (eval 31) line 12, <$handle> chunk 1.
the problem is that your table file is not valid perl and thus not parsable by NMIS.
the easiest way to check that it's syntactically correct is to cd /usr/local/nmis8; perl -Ilib -c conf/<yourtablefile> which should report something like "<yourtablefile> syntax OK".
cd /usr/local/nmis8; perl -Ilib -c conf/<yourtablefile>
Thank you Alexander, that is very helpful.
Powered by a free Atlassian Confluence Open Source Project License granted to Opmantek. Evaluate Confluence today.