RE: [otrs] Log problem: "No space left on device" in System::Log

-----Original Message----- From: Kurt Jaeger [mailto:pi@opsec.eu] Sent: Monday, January 21, 2008 9:33 AM To: Mark Nernberg Subject: Re: [otrs] Log problem: "No space left on device" in System::Log Hi!
/dev/da0s4d 4058062 3790674 -57256 102% /files
This partition (/files) is full. Please check.
----------------------------------------------------------------------------
[mjn] The OTRS install has nothing on /files.
/files holds an iSCSI disk image.
OTRS is in "/usr/local/www/secure/otrs" Logging is in /var temporary storage is in /tmp
Maybe /usr/local/www/secure/otrs is symlinked onto /files ? If you cd /usr/local/www/secure/otrs and type df . what is displayed ? ---------------------------------------------------------------------------- --- [mjn] bravo# cd /usr/local/www/secure/otrs bravo# df . Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s4e 16147168 5255214 9600182 35% /usr bravo# The /files mount is its own thing -- it is completely independent from everything else on the system. In short, it's a red-herring. The problem is somewhere in System::Log.pm -- although line 93 triggers the error, I'm sure its somewhere before that. Running perl from the command line on PostMasterPOP3.pl (with debugger): bravo# perl -d PostMasterPOP3.pl Loading DB routines from perl5db.pl version 1.28 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(PostMasterPOP3.pl:33): $VERSION = qw($Revision: 1.28 $) [1]; DB<1> n main::(PostMasterPOP3.pl:47): my %Opts = (); DB<1> n main::(PostMasterPOP3.pl:48): getopt( 'upshdf', \%Opts ); DB<1> n main::(PostMasterPOP3.pl:49): if ( $Opts{'h'} ) { DB<1> n main::(PostMasterPOP3.pl:55): if ( !$Opts{'t'} ) { DB<1> n main::(PostMasterPOP3.pl:56): $Opts{'t'} = 60; DB<1> n main::(PostMasterPOP3.pl:58): if ( !$Opts{'d'} ) { DB<1> n main::(PostMasterPOP3.pl:59): $Opts{'d'} = 0; DB<1> n main::(PostMasterPOP3.pl:61): if ( !$Opts{'popd'} ) { DB<1> n main::(PostMasterPOP3.pl:62): $Opts{'popd'} = 0; DB<1> n main::(PostMasterPOP3.pl:66): my %CommonObject = (); DB<1> n main::(PostMasterPOP3.pl:67): $CommonObject{ConfigObject} = Kernel::Config->new(); DB<1> n main::(PostMasterPOP3.pl:68): $CommonObject{LogObject} = Kernel::System::Log->new( main::(PostMasterPOP3.pl:69): LogPrefix => 'OTRS-PM3', main::(PostMasterPOP3.pl:70): %CommonObject, main::(PostMasterPOP3.pl:71): ); DB<1> n No space left on device at /usr/local/www/secure/otrs/Kernel/System/Log.pm line 93. at /usr/local/www/secure/otrs/Kernel/System/Log.pm line 93 Kernel::System::Log::new('Kernel::System::Log', 'LogPrefix', 'OTRS-PM3', 'ConfigObject', 'Kernel::Config=HASH(0x9153484)') called at PostMasterPOP3.pl line 68 Debugged program terminated. Use q to quit or R to restart, use o inhibit_exit to avoid stopping after program termination, h q, h R or h o to get additional info.
participants (1)
-
Mark Nernberg