An Error Occurred . Status Failed. Did You Run H2ph
to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter. Re: [EP-tech] An error occured. statfs failedFrom: ePrints Support Date: Wed, 26 Sep 2001 10:49:51 +0100 Threading:↑[EP-tech] Problem with upgrade to 1.1.2 - method "new" from ryan AT riacs.edu •This Message→Re: [EP-tech] An error occured. statfs failed from fred AT metalab.unc.edu Did you run the h2ph command as specified in the docs? Did you stop and restart the webserver to reload the perl modules? On Tue, Sep 25, 2001 at 05:37:02PM -0400, Fred Stutzman wrote: > Hello: > > I am completing an installation of Eprints 1.1.2, on Redhat 7.1. I > believe that the software is installed properly. I have one enduring > problem that I hope someone else knows how to fix. When attempting > to Deposit Items, I experience a server configuration error. After > checking httpd's error_logs, the following entry persists: > > An error occured. statfs failed. Did you run h2ph? > [Tue Sep 25 16:41:30 2001] [error] Cannot use df on this machine (untested > or unsupported). at /usr/eprints/perl_lib/EPrints/EPrint.pm line 290 > > After searching this particular error on the web, I was able to locate > someone who experienced such errors. The reccomended solution was to run > h2ph on the /usr/include directory. I successfully ran h2ph on sys and > asm directories, and df works without difficulty. However, the 500 error > persists. I was wondering if anyone else has encountered this issue. My > installation of eprints is nearly complete, but this vital issue stands in > the way. > > Thank you for your help. > > Fred > > -- > Fred Stutzman > Desk: 962-5646 > Cell: 260-8508 > www.ibiblio.org > > -- Christopher Gutteridge support AT eprints.org ePrints Technical Support +44 23 8059 4833 [index] [prev] [next] [options] [help] Copyright © 2011-2012 University of Southampton, UK
Support Search GitHub This repository Watch 3 Star 0 Fork 0 gitpan/Df Code Pull requests 0 Projects 0 Pulse Graphs Permalink Branch: master Switch branches/tags Branches Tags master Nothing to show stable gitpan_version/0.0.1 cpan_version/0.0.1 cpan_path/FTASSIN/Df-0.0.1.tar.gz FTASSIN Nothing to show Find file Copy path Df/Df.pm Fetching contributors… Cannot retrieve contributors at this time Raw Blame History executable file 255 lines (200 sloc) 6.17 KB package File::Df; use Carp; require 5.003; require Exporter; =head1 NAME File::Df - Perl df =head1 SYNOPSYS use File::Df; ($fs_type, $fs_desc, $used, $avail, $fused, $favail) = df ($dir); =head1 DESCRIPTION This routine displays information on a file system such as http://www.eprints.org/tech.php/90.html its type, the amount of disk space occupied, the total disk space and the number of inodes. It Tries C and C in several way. If all fails, it Cs. =head1 OPTIONS =over 4 =item $fs_type [number] type of the filesystem. =item $fs_desc [string] description of this fs. =item $used [number] size used (in Kb). =item $avail [number] size available (in Kb). =item $ffree [number] free inodes. =item $fused [number] https://github.com/gitpan/Df/blob/master/Df.pm inodes used. =back =head1 Installation See the INSTALL file. =head1 COPYRIGHT This module is copyright 1996, 1997 by Fabien TASSIN. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =head1 AUTHOR Fabien TASSIN Etassin@eerie.frE =head1 NOTES Tested with Perl 5.003 under these systems : - Solaris 2.[4/5] - SunOS 4.1.[2/3/4] - HP-UX 9.05, 10.[1/20] (see below) - OSF1 3.2, 4.0 - Linux 2.0.* Note for HP-UX users : if you got this message : "Undefined subroutine &main::SYS_statfs called at File/Df.pm line XXX" and if you are using a hp9000s700, then edit the syscall.ph file (in the Perl lib tree) and copy the line containing "SYS_statfs {196;}" outside the "if (defined &__hp9000s800)" block (around line 356). =cut @ISA = qw(Exporter); @EXPORT = qw(&df); $VERSION = "0.0.1"; use vars qw($DEBUG, $VERSION); sub df { my ($dir) = $_[0]; my ($fmt, $res, $type, $flags, $osvers, $w); # struct fields for statfs or statvfs.... my ($bsize, $frsize, $blocks, $bfree, $bavail, $files, $ffree, $favail); Carp::croak "Usage: df '\$dir'" unless ($dir); Carp::croak "Error: $dir is not a directory" unless (-d $dir); # try with statvfs.. eval { # will works for Solaris 2.*, OSF1
src:libfilesys-diskspace-perl. Reported by: Anders Henke Date: Wed, 14 Apr 2004 09:48:05 UTC Severity: normal Found in version 0.05-6 Fixed in version libfilesys-diskspace-perl/0.05-7 Done: Roderick Schertler Bug is archived. No further changes https://bugs.debian.org/243678 may be made. Toggle useless messagesView this report as an mbox folder, status mbox, maintainer mbox Report forwarded to debian-bugs-dist@lists.debian.org, Roderick Schertler : Bug#243678; Package libfilesys-diskspace-perl. Full text and rfc822 format available. Acknowledgement sent to Anders Henke : New Bug report received and forwarded. Copy sent to Roderick Schertler . Full text and rfc822 format available. an error Message #5 received at submit@bugs.debian.org (full text, mbox, reply): From: Anders Henke To: submit@bugs.debian.org Subject: Handling of unknown filesystems/support tmpfs Date: Wed, 14 Apr 2004 11:44:40 +0200 Package: libfilesys-diskspace-perl Version: 0.05-6 When using libfilesys-diskspace-perl on an "unknown" filesystem, it croaks: ---cut An error occured. statfs failed. Did you run h2ph? Cannot use df on this an error occurred machine (untested or unsupported). at test.pl line 6 ---cut If upstream still maintains the module, it might be a good idea to improve the information why exactly the module breaks. However, otherwise it might be a good idea to add support in the debian package for tmpfs (CONFIG_TMPFS in kernel) by adding the following line to %fs_type at the beginning of /usr/share/perl5/Filesys/DiskSpace.pm: 37913 => "TMPFS_SUPER_MAGIC", # 0x00009419 Regards, Anders -- Schlund + Partner AG Bugchasing Brauerstrasse 48 v://49.721.91374.50 D-76135 Karlsruhe f://49.721.91374.225 Information forwarded to debian-bugs-dist@lists.debian.org: Bug#243678; Package libfilesys-diskspace-perl. Full text and rfc822 format available. Acknowledgement sent to Roderick Schertler : Extra info received and forwarded to list. Full text and rfc822 format available. Message #10 received at 243678@bugs.debian.org (full text, mbox, reply): From: Roderick Schertler To: Anders Henke , 243678@bugs.debian.org Subject: Re: Bug#243678: Handling of unknown filesystems/support tmpfs Date: Wed, 14 Apr 2004 10:04:59 -0400 On Wed, 14 Apr 2004 11:44:40 +0200, Anders Henke said: > > If upstream still maintains the module,