Menu

3.0.10 not showing filesystems

Help
Anonymous
2011-02-21
2012-12-12
  • Anonymous

    Anonymous - 2011-02-21

    Hi,

    phpsysinfo 3.0.10 not showing mounted filesystems on Linux 2.6.37.1.

    Mounted Filesystems
    Mountpoint Type Partition Usage Free Used Size
        Totals

    0% 0.00 KiB 0.00 KiB 0.00 KiB

    $ df -k
    Filesystem           1K-blocks      Used Available Use% Mounted on
    udev                     10240       216     10024   3% /dev
    /dev/dm-0             13417584  10093976   3310184  76% /
    shm                    1734176         0   1734176   0% /dev/shm
    /dev/sda1                99150     11747     87301  12% /boot
    /dev/mapper/lvstorage-storage
                         9598735740 6331580920 3266179648  66% /raid5volume
    tmpfs                  1734176      1224   1732952   1% /tmp
    tmpfs                    10240         0     10240   0% /var/lock
    tmpfs                    10240       116     10124   2% /var/run

    $ mount
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=433105,mode=755)
    /dev/dm-0 on / type ext4 (rw,noatime,barrier=1,data=ordered)
    devpts on /dev/pts type devpts (rw)
    shm on /dev/shm type tmpfs (rw,nosuid,nodev)
    /dev/sda1 on /boot type ext4 (rw,noatime,nouser_xattr)
    /dev/mapper/lvstorage-storage on /raid5volume type ext4 (rw,noatime,nouser_xattr,data=writeback,stripe=80,barrier=1)
    tmpfs on /tmp type tmpfs (rw,mode=1777)
    tmpfs on /var/lock type tmpfs (rw,size=10m,mode=1777)
    tmpfs on /var/run type tmpfs (rw,size=10m,mode=0755)
    rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    nfsd on /proc/fs/nfsd type nfsd (rw,noexec,nosuid,nodev)

    $ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    udev                   10M  216K  9.8M   3% /dev
    /dev/dm-0              13G  9.7G  3.2G  76% /
    shm                   1.7G     0  1.7G   0% /dev/shm
    /dev/sda1              97M   12M   86M  12% /boot
    /dev/mapper/lvstorage-storage
                          9.0T  5.9T  3.1T  66% /raid5volume
    tmpfs                 1.7G  1.2M  1.7G   1% /tmp
    tmpfs                  10M     0   10M   0% /var/lock
    tmpfs                  10M  116K  9.9M   2% /var/run

    Apache 2.2.17, PHP 5.3.5.

     
  • Erkan

    Erkan - 2011-02-21

    Hi, thanks for the report.

    Did it work with older version of phpSysInfo?

     
  • Mieczysław Nalewaj

    Paste output of command:
    which df

     
  • Anonymous

    Anonymous - 2011-03-01

    @jacky672

    No it didn't, went back as far as 3.0.7 I think.

    @namiltd: /bin/df

     
  • Anonymous

    Anonymous - 2011-03-01

    Eh, turns out I have 2 accounts, this one and my mail one (MB).

     
  • Fabio Leitão

    Fabio Leitão - 2011-05-03

    Indeed, I have 3.0.7 with kernel 2.6.38 and it does not provide any filesystem information as well. Only a "No data available in table"message where the mount and disk spaces were supposed to be.

     
  • Fabio Leitão

    Fabio Leitão - 2011-05-03

    I have also tryed to decompress the tar of the newer version available now (3.0.11) on another folder of the same machine. Still, no filesystem information.

     
  • Anonymous

    Anonymous - 2011-05-23

    Still not working with 2.6.39, I suppose it's a phpsysinfo problem of parsing the df output. Sample:

    $ df -k
    Filesystem                     1K-blocks       Used  Available Use% Mounted on
    udev                               10240          4      10236   1% /dev
    run                                10240        216      10024   3% /run
    /dev/sda3                       55528728    5765884   46942584  11% /
    shm                              1740632          0    1740632   0% /dev/shm
    /dev/sda1                          99150      21234      77814  22% /boot
    /dev/mapper/lvstorage-storage 9598735740 7611892784 1985867784  80% /raid6volume
    tmpfs                            1740632         24    1740608   1% /tmp
    tmpfs                              10240          0      10240   0% /var/lock
    tmpfs                              10240        136      10104   2% /var/run

    $ df -m
    Filesystem                    1M-blocks    Used Available Use% Mounted on
    udev                                 10       1        10   1% /dev
    run                                  10       1        10   3% /run
    /dev/sda3                         54228    5631     45843  11% /
    shm                                1700       0      1700   0% /dev/shm
    /dev/sda1                            97      21        76  22% /boot
    /dev/mapper/lvstorage-storage   9373766 7433502   1939312  80% /raid6volume
    tmpfs                              1700       1      1700   1% /tmp
    tmpfs                                10       0        10   0% /var/lock
    tmpfs                                10       1        10   2% /var/run

    $ df -h
    Filesystem                     Size  Used Avail Use% Mounted on
    udev                            10M  4.0K   10M   1% /dev
    run                             10M  216K  9.8M   3% /run
    /dev/sda3                       53G  5.5G   45G  11% /
    shm                            1.7G     0  1.7G   0% /dev/shm
    /dev/sda1                       97M   21M   76M  22% /boot
    /dev/mapper/lvstorage-storage  9.0T  7.1T  1.9T  80% /raid6volume
    tmpfs                          1.7G   24K  1.7G   1% /tmp
    tmpfs                           10M     0   10M   0% /var/lock
    tmpfs                           10M  136K  9.9M   2% /var/run

    $ whereis mount
    mount: /bin/mount

    $ ls -la /bin/mount
    -rwsr-xr-x 1 root root 74664 May 14 10:11 /bin/mount

    $ pacman -Qs util-linux
    local/util-linux 2.19.1-2 (base)
        Miscellaneous system utilities for Linux

     
  • Anonymous

    Anonymous - 2011-05-23

    Here is the debug output:

    <tns:phpsysinfo xsi:schemaLocation="http://phpsysinfo.sourceforge.net/phpsysinfo3.xsd"><Generation version="3.0.11" timestamp="1306118294"/><Options tempFormat="c" byteFormat="auto_binary" refresh="60000" showPickListTemplate="false" showPickListLang="false"/><UsedPlugins/><Vitals Hostname="ion.localdomain" IPAddr="192.168.1.198" Kernel="2.6.39-ck (SMP)" Distro="" Distroicon="Arch.png" Uptime="219554.71" Users="0" LoadAvg="0.62 0.59 0.54"/><Network><NetDevice Name="eth0" RxBytes="83786781009" TxBytes="3453024200" Err="1" Drops="0"/><NetDevice Name="tap0" RxBytes="0" TxBytes="31996888" Err="0" Drops="0"/><NetDevice Name="br0" RxBytes="82762424509" TxBytes="3289779828" Err="0" Drops="140045"/><NetDevice Name="tun0" RxBytes="0" TxBytes="2005896" Err="0" Drops="0"/></Network><Hardware><PCI><Device Name="Host bridge: nVidia Corporation MCP79 Host Bridge" Count="1"/><Device Name="RAM memory: nVidia Corporation MCP79 Memory Controller" Count="3"/><Device Name="ISA bridge: nVidia Corporation MCP79 LPC Bridge" Count="1"/><Device Name="SMBus: nVidia Corporation MCP79 SMBus" Count="1"/><Device Name="Co-processor: nVidia Corporation MCP79 Co-processor" Count="1"/><Device Name="USB Controller: nVidia Corporation MCP79 OHCI USB 1.1 Controller" Count="2"/><Device Name="USB Controller: nVidia Corporation MCP79 EHCI USB 2.0 Controller" Count="2"/><Device Name="Audio device: nVidia Corporation MCP79 High Definition Audio" Count="1"/><Device Name="PCI bridge: nVidia Corporation MCP79 PCI Bridge" Count="1"/><Device Name="Ethernet controller: nVidia Corporation MCP79 Ethernet" Count="1"/><Device Name="SATA controller: nVidia Corporation MCP79 AHCI Controller" Count="1"/><Device Name="PCI bridge: nVidia Corporation MCP79 PCI Express Bridge" Count="6"/><Device Name="VGA compatible controller: nVidia Corporation ION VGA" Count="1"/><Device Name="SCSI storage controller: HighPoint Technologies, Inc. RocketRAID 230x 4 Port SATA-II Controller" Count="1"/></PCI><USB/><IDE/><SCSI><Device Name="ATA      Corsair CSSD-F60 (Direct-Access)" Count="1"/><Device Name="ATA      WDC WD20EARS-00M (Direct-Access)" Count="5"/><Device Name="ATA      SAMSUNG HD204UI  (Direct-Access)" Count="2"/></SCSI><CPU><CpuCore Model="Intel(R) Atom(TM) CPU  330   @ 1.60GHz" CpuSpeed="1999.914" Cache="524288" Bogomips="4001.89"/><CpuCore Model="Intel(R) Atom(TM) CPU  330   @ 1.60GHz" CpuSpeed="1999.914" Cache="524288" Bogomips="4001.03"/><CpuCore Model="Intel(R) Atom(TM) CPU  330   @ 1.60GHz" CpuSpeed="1999.914" Cache="524288" Bogomips="4001.96"/><CpuCore Model="Intel(R) Atom(TM) CPU  330   @ 1.60GHz" CpuSpeed="1999.914" Cache="524288" Bogomips="4001.99"/></CPU></Hardware><Memory Free="72048640" Used="3492765696" Total="3564814336" Percent="98"><Details App="893513728" AppPercent="26" Buffers="445898752" BuffersPercent="13" Cached="2153353216" CachedPercent="61"/><Swap Free="2147479552" Used="0" Total="2147479552" Percent="0"><Mount MountPointID="1" FSType="" Name="SWAP" Free="2147479552" Used="0" Total="2147479552" Percent="0"/></Swap></Memory><FileSystem/><MBInfo><Temperature><Item Label="/dev/sda (Corsair CSSD-F60GB2)" Value="35" Max="60"/><Item Label="/dev/sdb (WDC WD20EARS-00MVWB0)" Value="43" Max="60"/><Item Label="/dev/sdc (WDC WD20EARS-00MVWB0)" Value="43" Max="60"/><Item Label="/dev/sdd (WDC WD20EARS-00MVWB0)" Value="42" Max="60"/><Item Label="/dev/sde (WDC WD20EARS-00MVWB0)" Value="40" Max="60"/><Item Label="/dev/sdf (SAMSUNG HD204UI)" Value="41" Max="60"/><Item Label="/dev/sdg (WDC WD20EARS-00MVWB0)" Value="42" Max="60"/><Item Label="/dev/sdh (SAMSUNG HD204UI)" Value="36" Max="60"/></Temperature><Fans/><Voltage/></MBInfo><UPSInfo/><Plugins/><Errors><Error Function="find_program(lsb_release)">program not found on the machine

    ./xml.php on line 45
    ./includes/output/class.WebpageXML.inc.php on line 138 in function run()
    ./includes/xml/class.XML.inc.php on line 454 in function getXml()
    ./includes/xml/class.XML.inc.php on line 433 in function _buildXml()
    ./includes/os/class.OS.inc.php on line 70 in function getSys()
    ./includes/os/class.Linux.inc.php on line 565 in function build()
    ./includes/os/class.Linux.inc.php on line 516 in function _distro()
    ./includes/class.CommonFunctions.inc.php on line 98 in function executeProgram( "lsb_release", "-a 2> /dev/null", "", true )
    </Error><Error Function="find_program(uname)">program not found on the machine

    ./xml.php on line 45
    ./includes/output/class.WebpageXML.inc.php on line 138 in function run()
    ./includes/xml/class.XML.inc.php on line 454 in function getXml()
    ./includes/xml/class.XML.inc.php on line 433 in function _buildXml()
    ./includes/os/class.OS.inc.php on line 70 in function getSys()
    ./includes/os/class.Linux.inc.php on line 568 in function build()
    ./includes/os/class.Linux.inc.php on line 79 in function _kernel()
    ./includes/class.CommonFunctions.inc.php on line 98 in function executeProgram( "uname", "-r", "", true )
    </Error><Error Function="find_program(who)">program not found on the machine

    ./xml.php on line 45
    ./includes/output/class.WebpageXML.inc.php on line 138 in function run()
    ./includes/xml/class.XML.inc.php on line 454 in function getXml()
    ./includes/xml/class.XML.inc.php on line 433 in function _buildXml()
    ./includes/os/class.OS.inc.php on line 70 in function getSys()
    ./includes/os/class.Linux.inc.php on line 570 in function build()
    ./includes/os/class.Linux.inc.php on line 121 in function _users()
    ./includes/class.CommonFunctions.inc.php on line 98 in function executeProgram( "who", "-q", "", true )
    </Error><Error Function="find_program(lsscsi)">program not found on the machine

    ./xml.php on line 45
    ./includes/output/class.WebpageXML.inc.php on line 138 in function run()
    ./includes/xml/class.XML.inc.php on line 454 in function getXml()
    ./includes/xml/class.XML.inc.php on line 433 in function _buildXml()
    ./includes/os/class.OS.inc.php on line 70 in function getSys()
    ./includes/os/class.Linux.inc.php on line 574 in function build()
    ./includes/os/class.Linux.inc.php on line 367 in function _scsi()
    ./includes/class.CommonFunctions.inc.php on line 98 in function executeProgram( "lsscsi", "-c", "", true )
    </Error><Error Function="find_program(lsusb)">program not found on the machine

    ./xml.php on line 45
    ./includes/output/class.WebpageXML.inc.php on line 138 in function run()
    ./includes/xml/class.XML.inc.php on line 454 in function getXml()
    ./includes/xml/class.XML.inc.php on line 433 in function _buildXml()
    ./includes/os/class.OS.inc.php on line 70 in function getSys()
    ./includes/os/class.Linux.inc.php on line 575 in function build()
    ./includes/os/class.Linux.inc.php on line 393 in function _usb()
    ./includes/class.CommonFunctions.inc.php on line 98 in function executeProgram( "lsusb", "", "", true )
    </Error><Error Function="find_program(df)">program not found on the machine

    ./xml.php on line 45
    ./includes/output/class.WebpageXML.inc.php on line 138 in function run()
    ./includes/xml/class.XML.inc.php on line 454 in function getXml()
    ./includes/xml/class.XML.inc.php on line 433 in function _buildXml()
    ./includes/os/class.OS.inc.php on line 70 in function getSys()
    ./includes/os/class.Linux.inc.php on line 578 in function build()
    ./includes/os/class.Linux.inc.php on line 499 in function _filesystems()
    ./includes/class.Parser.inc.php on line 90 in function df( "-P" )
    ./includes/class.CommonFunctions.inc.php on line 98 in function executeProgram( "df", "-k -P", "", true )
    </Error><Error Function="find_program(sensors)">program not found on the machine

    ./xml.php on line 45
    ./includes/output/class.WebpageXML.inc.php on line 138 in function run()
    ./includes/xml/class.XML.inc.php on line 454 in function getXml()
    ./includes/xml/class.XML.inc.php on line 440 in function _buildXml()
    ./includes/xml/class.XML.inc.php on line 333 in function _buildMbinfo()
    ./includes/mb/class.LMSensors.inc.php on line 43 in function __construct()
    ./includes/class.CommonFunctions.inc.php on line 98 in function executeProgram( "sensors", "", "" )
    </Error></Errors></tns:phpsysinfo>

     
  • Erkan

    Erkan - 2011-05-23

    Hi,

    Can you check in your php.ini if there are some restrictions (for example open_basedir or disable_functions)

    <Error Function="find_program(df)">program not found on the machine
    
     
  • Anonymous

    Anonymous - 2011-05-23

    Indeed, I had openbasedir set. Commenting that out in php.ini fixes it. Shame on me for not checking it earlier :/

     
  • Reynaldo Cruz

    Reynaldo Cruz - 2011-06-10

    I was running 3.0.10 and having the same problem. I have commented out open_basedir and disable_functions. I updated to 3.0.11 and the problem came back. Do you have any other info that may fix this?

     
  • Erkan

    Erkan - 2011-06-10

    Hi,

    Can we have more details to fix this please? Your Operating system version and the error message.

    Regards,

     
  • Reynaldo Cruz

    Reynaldo Cruz - 2011-06-11

    File system mounted not showing up. The error is: No data available in table. Everything else works fine. I am running Fedora 14 and amahi. System: 2.6.35.13-91.fc14.i686 , i386. Platform: 6.1.0-1. Core: 4.1.1-1. Original bug @ http://bugs.amahi.org/issues/show/842

     
  • Erkan

    Erkan - 2011-06-12

    Ok, please can we have the output of the following command as normal user (not root)

    $> df -P
    $> df -k -P
    $> mount

    Thanks,

     
  • Reynaldo Cruz

    Reynaldo Cruz - 2011-06-14

    $ df -P
    Filesystem         1024-blocks      Used Available Capacity Mounted on
    /dev/mapper/vg_crxsir-lv_root  51606140  25818824  23165876      53% /
    tmpfs                  1418812       284   1418528       1% /dev/shm
    /dev/sdb1               495844     66464    403780      15% /boot
    /dev/mapper/vg_crxsir-lv_home  96792292    431492  91443964       1% /home
    /dev/mapper/vg_crxsir_raid_array-lv_files 1922454352 459188060 1365611304      26% /var/hda/files

    $ df -k -P
    Filesystem         1024-blocks      Used Available Capacity Mounted on
    /dev/mapper/vg_crxsir-lv_root  51606140  25818824  23165876      53% /
    tmpfs                  1418812       284   1418528       1% /dev/shm
    /dev/sdb1               495844     66464    403780      15% /boot
    /dev/mapper/vg_crxsir-lv_home  96792292    431492  91443964       1% /home
    /dev/mapper/vg_crxsir_raid_array-lv_files 1922454352 459188060 1365611304      26% /var/hda/files

    $ mount
    /dev/mapper/vg_crxsir-lv_root on / type ext4 (rw)
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    tmpfs on /dev/shm type tmpfs (rw)
    /dev/sdb1 on /boot type ext4 (rw)
    /dev/mapper/vg_crxsir-lv_home on /home type ext4 (rw)
    /dev/mapper/vg_crxsir_raid_array-lv_files on /var/hda/files type ext4 (rw)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    fusectl on /sys/fs/fuse/connections type fusectl (rw)
    gvfs-fuse-daemon on /home/crex/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=crex)

    Hope this helps! Thanks in advance.

     
  • klonos

    klonos - 2011-08-02

    Using latest 3.0.12 I too see this issue of "No data available in table" in the mount points section. Reverting back to 3.0.7 same thing. It only occurs in an Ubuntu 11.04 x64 desktop and not in an 11.04 x64 server box I have.

    In the server box the mount point table is populated with entries with both 3.0.7 (that comes from official Ubuntu repositories through apt-get install) and the 3.0.12 I manually upgraded it to.

    Here's the respective info as requested in post #16:

    normal_non-root_user@ubuntu1104:~$ df -P
    Filesystem         1024-blocks      Used Available Capacity Mounted on
    /dev/mapper/isw_ecgbdhjbfc_RecoveryRAID1 461226016 111872672 325924432      26% /
    none                   4023340       700   4022640       1% /dev
    none                   4031168        12   4031156       1% /dev/shm
    none                   4031168       388   4030780       1% /var/run
    none                   4031168         0   4031168       0% /var/lock
    df: `/root/.gvfs': Permission denied
    normal_non-root_user@ubuntu1104:~$ df -k -P
    Filesystem         1024-blocks      Used Available Capacity Mounted on
    /dev/mapper/isw_ecgbdhjbfc_RecoveryRAID1 461226016 111872668 325924436      26% /
    none                   4023340       700   4022640       1% /dev
    none                   4031168        12   4031156       1% /dev/shm
    none                   4031168       388   4030780       1% /var/run
    none                   4031168         0   4031168       0% /var/lock
    df: `/root/.gvfs': Permission denied
    normal_non-root_user@ubuntu1104:~$ mount
    /dev/mapper/isw_ecgbdhjbfc_RecoveryRAID1 on / type ext4 (rw,errors=remount-ro,commit=0)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    none on /sys type sysfs (rw,noexec,nosuid,nodev)
    fusectl on /sys/fs/fuse/connections type fusectl (rw)
    none on /sys/kernel/debug type debugfs (rw)
    none on /sys/kernel/security type securityfs (rw)
    none on /dev type devtmpfs (rw,mode=0755)
    none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
    none on /dev/shm type tmpfs (rw,nosuid,nodev)
    none on /var/run type tmpfs (rw,nosuid,mode=0755)
    none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)

    Hope this helps.

     
  • Mieczysław Nalewaj

    Can You disable gvfs (gvfs-fuse-daemon) and test again?