sysreport - command not found
If someone could please point a new user in the correct direction, any assistance would be greatly appreciated.
I attempted to run sysreport from a terminal window but received the message: bash: sysreport: command not found. sysreport is installed at: [user@localhost sbin]$ whereis sysreport sysreport: /usr/sbin/sysreport /usr/share/sysreport [user@localhost sbin]$ rpm -qa | grep sysreport sysreport-1.3.15-5 I tried changing directory locations, but received the same message command not found. I also attempted to run the command from a terminal window as root, but encounter the same error message. How do I run the sysreport? Running RHEL WS 4 - Update 2. [user@localhost ~]$ uname -r 2.6.9-22.ELsmp Any help would be appreciated. TIA - dwdrumrboy |
being in sbin it means it's an app that is only generally run by a root like user. not necessarily permissions, just convention. as such the /usr/sbin directory would only be on root's path, and if you're not su-ing correctly or such like then the path won't be updated for root. so you can either use /usr/sbin/sysreport directly or use a root login to access it
|
sysreport - command not found
Thanks for the feedback, much appreciated.
I su as root, cd to sbin, ls -la, but I do not see an executibable or script named sysreport? [root@localhost sbin]# ls -la sys* -r-xr-xr-x 1 root root 11028 Jul 19 07:26 sysctl -rwxr-xr-x 1 root root 32188 Jan 4 2005 syslogd But when I rpm grep or up2date sysreport, the system tells me it is installed. Is there a service that needs to be started? Thanks |
a service?? how on earth would a service make a binary execuatble appear?? :confused:
the rpm command states it's in /usr/sbin/ so just run /usr/sbin/sysreport then. if that doesn'ty work, then the rpm isn't installed right, and somethign went wrong. |
sysreport - command not found
Thanks - got sysreport to run successfully. I had to log in as root and run the command, su'ing as root didn't work.
Thanks. |
All times are GMT -5. The time now is 12:37 AM. |