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 11-06-2006, 11:26 AM   #1
meniscus
Member
 
Registered: May 2006
Posts: 70

Rep: Reputation: 15
Graphing with rrdtrool example


Im at this page

http://www.lm-sensors.org/wiki/man/sensord

and im at the section where its giving

Quote:
An example of how to set up Web-accessible graphs of recent sensor readings follows:

Im getting no errors upto when i type

Code:
sensord --load-average \
  --rrd-file /var/log/sensord.rrd \
  --rrd-cgi /var/www/sensord \
  > /usr/lib/cgi-bin/sensord.cgi
When i press return i get

Code:
bash: /usr/lib/cgi-bin/sensord.cgi: Permission denied
Im logged in as root. Can anyone tell me whats wrong?
 
Old 11-06-2006, 11:51 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
What distribution are you using (update your profile). If your distribution uses SELinux, check your /var/log/messages or /var/log/audit/audit.log for AVC messages.
 
Old 11-06-2006, 11:58 AM   #3
meniscus
Member
 
Registered: May 2006
Posts: 70

Original Poster
Rep: Reputation: 15
Im using ubuntu.

The file sensord.rrd file is being created (as in var/log/sensord.rrd)


Is it something to do with the code

Quote:
chown www-data:staff /var/www/sensord
Does
Quote:
www-data:staff
apply to me?
 
Old 11-06-2006, 12:06 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
The terms www-data:staff mean userid=www-data and group=staff. If you don't have that userid and group, then it does not apply to you.
 
Old 11-06-2006, 12:08 PM   #5
meniscus
Member
 
Registered: May 2006
Posts: 70

Original Poster
Rep: Reputation: 15
Sorry, im receiving
Code:
sensord failed
in /var/log/messages


But before that in /var/log/messages it says
Code:
sensord starting
and i am getting a file sensord.rrd in /var/log (which i cant open)so it seems to be half working.
 
Old 11-06-2006, 12:10 PM   #6
meniscus
Member
 
Registered: May 2006
Posts: 70

Original Poster
Rep: Reputation: 15
how do i find out these ids?
 
Old 11-06-2006, 12:25 PM   #7
meniscus
Member
 
Registered: May 2006
Posts: 70

Original Poster
Rep: Reputation: 15
I typed id to get the user and group id. My userid and group id are the same(myname)

So i typed this

Code:
chown www-meniscus:meniscus /var/www/sensord
and received

Code:
chown 'www-meniscus:meniscus' : invalid user
Is it something stupid im doing wrong?
 
  


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
Graphing Calculator Recommendations theeil Linux - Hardware 3 10-14-2006 07:53 PM
matlab graphing mshinska Programming 4 12-07-2005 09:22 AM
graphing calculator Four Programming 3 11-28-2005 06:28 PM
Graphing TuxFreak Linux - Software 1 02-27-2005 05:29 PM
Graphing AMMullan Linux - Software 1 11-16-2003 02:11 AM


All times are GMT -5. The time now is 01:34 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