Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

idsvers command failing on 4230

Has anyone had this problem? When I issue the command:

"/usr/nr/bin/idsvers" it returns the following:

Application Versions for <sensor name>.<org name>

The Version of the Sensor is: 3.1(2)S23

/usr/nr/bin/idsvers[147]: nrVersion: not found

I have just re-imaged this sensor, but this error has always occurred, regardless of what version the sensor is running.

1 REPLY
Cisco Employee

Re: idsvers command failing on 4230

It sounds like your environment is not setup properly.

You must only run the command user "netrangr" and not as user "root".

To become user "netrangr" either:

1) login on the console directly as netrangr

2) telnet in directly as netrangr

3) ssh in directly as netrangr

4) login as root and the "su - netrangr"

NOTE: If using the su command you MUST use the "-" as part of the command.

Not using the "-" results in netrangr having root's environment and not the proper netrangr environment. This results in failures of any of the ids commands. The "-" tells the system to use netrangr's environment when switching to netrangr (it source's netrangr's .profile).

Another way to tell if the environment is right is to just execute "idsvers" without putting in the full path or changing directories to /usr/nr/bin. The "idsvers" should automatically be in netrangr's path if the environment is correct.

94
Views
0
Helpful
1
Replies