LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2005, 09:02 AM   #1
dwdrumrboy
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Rep: Reputation: 0
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
 
Old 10-15-2005, 09:12 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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
 
Old 10-15-2005, 10:26 AM   #3
dwdrumrboy
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 10-15-2005, 02:11 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
a service?? how on earth would a service make a binary execuatble appear??

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.
 
Old 10-15-2005, 10:02 PM   #5
dwdrumrboy
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: <command name> command not found smash Programming 5 03-13-2006 09:48 AM
command not found ginda Linux - General 3 07-16-2005 05:15 PM
command not found matthewa Linux From Scratch 2 04-05-2005 08:12 PM
Command not Found zchoyt Linux - Newbie 10 09-01-2004 10:25 AM
sysreport output viewer sixxshot Linux - General 0 08-14-2003 05:28 AM


All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration