Thanks for your reply.

I ran CleanUp.pl and the same error, "Log.pm line 80" appeared again. Here is some code around the error message as run through the Perl Debugger:

~~~~~~~~~~~~
DB<1>
DynaLoader::bootstrap(/usr/local/lib/perl5/5.8.6/mach/DynaLoader.pm:251):
251: push(@dl_shared_objects, $file); # record files loaded
DB<1>
DynaLoader::bootstrap(/usr/local/lib/perl5/5.8.6/mach/DynaLoader.pm:253):
253: &$xs(@args);
DB<1>
Kernel::System::Log::new(/usr/local/lib/perl5/5.8.6/mach/IPC/SysV.pm:61):
61: 1;
DB<1>
Kernel::System::Log::new(/usr/home/foo/public_html/otrs/Kernel/System/Log.pm:74):
74: $Self->{IPC} = 1;
DB<1>
Kernel::System::Log::new(/usr/home/foo/public_html/otrs/Kernel/System/Log.pm:75):
75: $Self->{IPCKey} = "444423".$Param{ConfigObject}->Get('SystemID');
DB<1>
Kernel::Config::Defaults::Get(/usr/home/foo/public_html/otrs/Kernel/Config/Defaults.pm:2192):
2192: my $Self = shift;
DB<1>
Kernel::Config::Defaults::Get(/usr/home/foo/public_html/otrs/Kernel/Config/Defaults.pm:2193):
2193: my $What = shift;
DB<1>
Kernel::Config::Defaults::Get(/usr/home/foo/public_html/otrs/Kernel/Config/Defaults.pm:2195):
2195: if ($Self->{Debug} > 1) {
DB<1>
Kernel::Config::Defaults::Get(/usr/home/foo/public_html/otrs/Kernel/Config/Defaults.pm:2199):
2199: if (!$Self->{$What} && $Self->{Debug} > 0) {
DB<1>
Kernel::Config::Defaults::Get(/usr/home/foo/public_html/otrs/Kernel/Config/Defaults.pm:2202):
2202: return $Self->{$What};
DB<1>
Kernel::System::Log::new(/usr/home/foo/public_html/otrs/Kernel/System/Log.pm:76):
76: $Self->{IPCSize} = $Param{ConfigObject}->Get('LogSystemCacheSize') || 4*1024;
DB<1>
Kernel::Config::Defaults::Get(/usr/home/foo/public_html/otrs/Kernel/Config/Defaults.pm:2192):
2192: my $Self = shift;
DB<1>
Kernel::Config::Defaults::Get(/usr/home/foo/public_html/otrs/Kernel/Config/Defaults.pm:2193):
2193: my $What = shift;
DB<1>
Kernel::Config::Defaults::Get(/usr/home/foo/public_html/otrs/Kernel/Config/Defaults.pm:2195):
2195: if ($Self->{Debug} > 1) {
DB<1>
Kernel::Config::Defaults::Get(/usr/home/foo/public_html/otrs/Kernel/Config/Defaults.pm:2199):
2199: if (!$Self->{$What} && $Self->{Debug} > 0) {
DB<1>
Kernel::Config::Defaults::Get(/usr/home/foo/public_html/otrs/Kernel/Config/Defaults.pm:2202):
2202: return $Self->{$What};
DB<1>
Kernel::System::Log::new(/usr/home/foo/public_html/otrs/Kernel/System/Log.pm:78):
78: shmget(($Self->{IPCKey}+1), 1, 0777 | 0001000);
DB<1>
Kernel::System::Log::new(/usr/home/foo/public_html/otrs/Kernel/System/Log.pm:80):
80: $Self->{Key} = shmget($Self->{IPCKey}, $Self->{IPCSize}, 0777 | 0001000) || die $!;
DB<1>
Invalid argument at /usr/home/foo/public_html/otrs/Kernel/System/Log.pm line 80.
at /usr/home/foo/public_html/otrs/Kernel/System/Log.pm line 80
Kernel::System::Log::new('Kernel::System::Log', 'LogPrefix', 'OTRS-CleanUp', 'ConfigObject', 'Kernel::Config=HASH(0x85998b0)') called at CleanUp.pl line 52
DBI::CODE(0x840a4b8)(/usr/local/lib/perl5/site_perl/5.8.6/mach/DBI.pm:466):
466: return unless defined &DBI::trace_msg; # return unless bootstrap'd ok
DB<1>
DBI::CODE(0x840a4b8)(/usr/local/lib/perl5/site_perl/5.8.6/mach/DBI.pm:467):
467: local ($!,$?);
DB<1>
DBI::CODE(0x840a4b8)(/usr/local/lib/perl5/site_perl/5.8.6/mach/DBI.pm:468):
468: DBI->trace_msg(" -- DBI::END\n", 2);
DB<1>
DBI::CODE(0x840a4b8)(/usr/local/lib/perl5/site_perl/5.8.6/mach/DBI.pm:470):
470: $DBI::PERL_ENDING = $DBI::PERL_ENDING = 1; # avoid typo warning
DB<1>
DBI::CODE(0x840a4b8)(/usr/local/lib/perl5/site_perl/5.8.6/mach/DBI.pm:471):
471: DBI->disconnect_all() if %DBI::installed_drh;
DB<1>
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.
DB<1> q
~~~~~~~~~~~~


Can you think of something else I should look at or try?

Again, thank you.


===============================================
From: "Dan Paulin" <[EMAIL PROTECTED]>
Reply-To: "User questions and discussions about OTRS." <otrs@otrs.org>
To: "User questions and discussions about OTRS." <otrs@otrs.org>
Subject: RE: [otrs] Error:  Log.pm line 80
Date: Wed, 23 Mar 2005 14:36:14 -0600

Try running the CleanUp.pl file after starting all services pertaining to OTRS:

Opt/otrs/bin/CleanUp.pl

It's suggested that this file be run prior to changing any log caching size and although you haven't made an adjustment in the Config.pm, I've found its rather helpful in eliminating such an error in past experiences. It's a shot in the dark, but worth a try.

Regards,

Dan P.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of s taylor
Sent: Wednesday, March 23, 2005 3:21 PM
To: otrs@otrs.org
Subject: [otrs] Error: Log.pm line 80


Hello.

I just installed the software on a Unix FreeBSD; Perl 5.8.6; MySQL 4.0.18; Apache 1.3.33 system. I haven't added any other options from Defaults.pm, yet, except as it pertains to the following:

After otrs/bin/cgi-bin/index.pl, I obtained the 'Software Error: Invalid argument at /usr/home/foo/public_html/otrs/bin/cgi-bin/../../Kernel/System/Log.pm line 80.'.

I looked at other mailing list entries but haven't found the cause.

Therefore, I ran the Perl Debug and it shows Line 80 in Log.pm as:

$Self->{Key} = shmget($Self->{IPCKey}, $Self->{IPCSize}, 0777 | 0001000) || die $!;

I also looked at the following lines from that file:

$Self->{IPCKey} = "444423".$Param{ConfigObject}->Get('SystemID');
$Self->{IPCSize} = $Param{ConfigObject}->Get('LogSystemCacheSize') || 4*1024;


and then I looked in Config.pm and saw that there is no reference to 'LogSystemCacheSize'. I did see a reference to it in Defaults.pm. I then added it to the Config.pm file and the error was still there.

I also see that the otrs.log has not been created via the script. I have the relative location as '/var/log/otrs.log'.

Is there something else I need to do e.g. reboot, etc.? Is this 'log.pm line 80', as numbered by the debugger, really the problem?

Thanks in advance.


_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/


_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to