Re: [dev] [otrs] Error in otrs 2.4

Lucido, Probably there should be added a cleaning up of shared memory in code. I experienced the exact same thing in my test VM instance running Fedora release 7 (Moonshine). You can fix this either by a reboot, or by removing still allocated shared memory. If you log in to your server (assuming linux), as root, run 'ipcs' and you will see still sh mem of otrs: # ipcs ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x02a62383 0 otrs 777 1 0 0x02a6231f 32769 otrs 777 4096 0 ------ Semaphore Arrays -------- key semid owner perms nsems 0x00000000 163840 apache 600 1 0x00000000 196609 apache 600 1 0x00000000 229378 apache 600 1 ------ Message Queues -------- key msqid owner perms used-bytes messages The ones of owner 'otrs' can be removed when you are sure apache and otrs is not running. # ipcrm -m 0 # ipcrm -m 32769 I started mysqld, httpd, and otrs services after this and got the good ol' login screen. gr, Frans From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Lucio de Aquino Marinho Sent: zaterdag 25 april 2009 01:37 To: User questions and discussions about OTRS. Subject: [otrs] Error in otrs 2.4 Hello for all I got some errors when i tryed to install the 2.4 otrs version --> in the browser Software error: Bad address at /opt/otrs-2.4/bin/cgi-bin/../../Kernel/System/Log.pm line 229. --> in the log tail -f servicedeskhml-error.log [Fri Apr 24 20:03:10 2009] [error] [client xxxx] ERROR: OTRS-Installer-10 Perl: 5.8.8 OS: linux Time: Fri Apr 24 20:03:10 2009 [Fri Apr 24 20:03:10 2009] [error] [client xxx] [Fri Apr 24 20:03:10 2009] [error] [client 1xxx] Message: Can't remove shm for log: Operation not permitted [Fri Apr 24 20:03:10 2009] [error] [client xxx] [Fri Apr 24 20:03:10 2009] [error] [client xxx] Traceback (2641): [Fri Apr 24 20:03:10 2009] [error] [client xxx] Module: Kernel::System::Log::CleanUp (v1.59) Line: 253 [Fri Apr 24 20:03:10 2009] [error] [client xxxx] Module: Kernel::System::Log::new (v1.59) Line: 104 [Fri Apr 24 20:03:10 2009] [error] [client 1xxx] Module: /opt/otrs-2.4/bin/cgi-bin/installer.pl (v1.29) Line: 52 [Fri Apr 24 20:03:10 2009] [error] [client xx] [Fri Apr 24 20:03:10 2009] [error] [client xxxx] [Fri Apr 24 20:03:10 2009] installer.pl: Bad address at /opt/otrs-2.4/bin/cgi-bin/../../Kernel/System/Log.pm line 229. [Fri Apr 24 20:06:50 2009] [error] [client xxx] ERROR: OTRS-Installer-10 Perl: 5.8.8 OS: linux Time: Fri Apr 24 20:06:50 2009 Anybody see some messages like this Thanks for all

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Lucido, hi Frans, @Frans: At first, thanks for your command line workaround. I tried to reproduce the problem, but I can't. Can someone describe, how I can reproduce this behavior? If it is a bug it will be a good idea to add a bug report at bugs.otrs.org. Thanks a lot. ((enjoy)) PS: I'm interested on every information I can get for this topic. For example: - is it a upgrade or a fresh installation - have you used one of the command line scripts before running the installer.pl (especially with root permissions)? Frans Stekelenburg schrieb:
Lucido,
Probably there should be added a cleaning up of shared memory in code.
I experienced the exact same thing in my test VM instance running Fedora release 7 (Moonshine).
You can fix this either by a reboot, or by removing still allocated shared memory.
If you log in to your server (assuming linux), as root, run ?ipcs? and you will see still sh mem of otrs:
# ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x02a62383 0 otrs 777 1 0
0x02a6231f 32769 otrs 777 4096 0
------ Semaphore Arrays --------
key semid owner perms nsems
0x00000000 163840 apache 600 1
0x00000000 196609 apache 600 1
0x00000000 229378 apache 600 1
------ Message Queues --------
key msqid owner perms used-bytes messages
The ones of owner ?otrs? can be removed when you are sure apache and otrs is not running.
# ipcrm -m 0
# ipcrm -m 32769
I started mysqld, httpd, and otrs services after this and got the good ol? login screen.
gr,
Frans
*From:* otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] *On Behalf Of *Lucio de Aquino Marinho *Sent:* zaterdag 25 april 2009 01:37 *To:* User questions and discussions about OTRS. *Subject:* [otrs] Error in otrs 2.4
Hello for all
I got some errors when i tryed to install the 2.4 otrs version
--> in the browser
Software error:
Bad address at /opt/otrs-2.4/bin/cgi-bin/../../Kernel/System/Log.pm line 229.
--> in the log
tail -f servicedeskhml-error.log
[Fri Apr 24 20:03:10 2009] [error] [client xxxx] ERROR: OTRS-Installer-10 Perl: 5.8.8 OS: linux Time: Fri Apr 24 20:03:10 2009
[Fri Apr 24 20:03:10 2009] [error] [client xxx]
[Fri Apr 24 20:03:10 2009] [error] [client 1xxx] Message: Can't remove shm for log: Operation not permitted
[Fri Apr 24 20:03:10 2009] [error] [client xxx]
[Fri Apr 24 20:03:10 2009] [error] [client xxx] Traceback (2641):
[Fri Apr 24 20:03:10 2009] [error] [client xxx] Module: Kernel::System::Log::CleanUp (v1.59) Line: 253
[Fri Apr 24 20:03:10 2009] [error] [client xxxx] Module: Kernel::System::Log::new (v1.59) Line: 104
[Fri Apr 24 20:03:10 2009] [error] [client 1xxx] Module: /opt/otrs-2.4/bin/cgi-bin/installer.pl (v1.29) Line: 52
[Fri Apr 24 20:03:10 2009] [error] [client xx]
[Fri Apr 24 20:03:10 2009] [error] [client xxxx] [Fri Apr 24 20:03:10 2009] installer.pl: Bad address at /opt/otrs-2.4/bin/cgi-bin/../../Kernel/System/Log.pm line 229.
[Fri Apr 24 20:06:50 2009] [error] [client xxx] ERROR: OTRS-Installer-10 Perl: 5.8.8 OS: linux Time: Fri Apr 24 20:06:50 2009
Anybody see some messages like this
Thanks for all
------------------------------------------------------------------------
--------------------------------------------------------------------- OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ9wfv5VEHpl41kC8RAgrLAKDEvtbJ6ZYg/dwV/2NsWbH3zK2ihgCgmhz8 PGpEvBG9Ob07Fy+2eRd0hUw= =9Hnx -----END PGP SIGNATURE-----
participants (2)
-
Frans Stekelenburg
-
Thomas Raith