LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-11-2010, 08:14 AM   #1
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
Question Programs can't run 'df' on drive, but I can?


I'm trying to monitor one of my servers via grkellm which is working fine except for the fact I can't monitor one of the mount points.

I've also noticed after installing phpsysinfo that this also can't get the infomation from this mount point.

I dont see an error in gkrellm, it just shows the space as 0.00M of 0.00M, in phpsysadmin I get

[code]
common_functions.php 213 /bin/df /bin/df: `/home/tim/shared': Permission denied
Return value: 1
[code]

I can run df quite normally on the drive:

Code:
tim@Musha ~ $ df -h ./shared/
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1              74G   51G   20G  72% /home/tim/shared
and the mounting code is nothing special:

Code:
/dev/sdb1               /home/tim/shared ext3           noatime         0 0

Forgot the permissions:

Code:
drwxr-xr-x  6 tim  tim     4096 2010-08-30 14:11 shared
So I can't understand why they are failing to read it

Help?!
 
Old 09-11-2010, 10:04 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Unmount /home/tim/shared . What then are the permissions on /home/tim/shared ?
 
Old 09-12-2010, 08:34 AM   #3
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343

Original Poster
Blog Entries: 1

Rep: Reputation: 72
Code:
drwxrwxrwx  2 tim  users   4096 2006-11-27 16:16 shared
:|

Its also shared by NFS at the same time, could this cause issues? In the above I have stopped NFS (as it otherwise reports its constantly "in use".

I started up nfs again...

Same perms:

Code:
drwxrwxrwx  2 tim  users   4096 2006-11-27 16:16 shared
Weird?
 
  


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
'df' command shows disk full .... very weird! sharathg786 Slackware 7 03-02-2007 04:48 PM
Result from 'df' does not add up matsamuel Linux - General 1 12-10-2006 08:25 PM
disk not showing up in 'df' command jjordan Mandriva 8 09-25-2004 09:29 PM
What programming call is like 'df' ? netstv Programming 3 08-23-2004 06:05 PM
Multiple /dev/hda1 's listed after a 'df' command (up to 50-60) hmschouten Linux - General 4 04-02-2004 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:37 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
Open Source Consulting | Domain Registration