Hi,

> Can't create PID PostMasterMailbox, because it's already running

Although it does not seem so, it IS a right-Problem and not a running PostMasterMailbox.

After the new Installation OTRS is creating several Directories with the Apache-Server under:

  /opt/otrs/var/tmp

Usually User and Group is "www-data" which differs from system to system. (wwwrun, www, nogroup, apache, ...) Since "otrs.PostMasterMailbox.pl" is running as a cron-job as User "otrs" it is possible that it have no rights at the new Subdirs.

In my case it is always the easiest solution to change the owner for several times: (on each problem)

  chown -R otrs:www-data /opt/otrs/var/tmp

Usually "/opt/otrs/bin/otrs.SetPermissions.pl" should also do the trick, but in some cases, it does not.

After you changed the Permissions/Owner you can fix the problem with the PostMasterMailbox by typing:

 /opt/otrs/bin/otrs.UnlockTickets.pl --timeout >> /dev/null

(If you don´t do this, it would be done by cron every hour...)

I am not sure how Apache should "reset" the subdirs to "www-data:www-data" - I think it is more what I wrote above - you might have this problems at the beginning with every NEW subdir and the solution is the same (chown) each time.

Once the full Structure under /opt/otrs/var/tmp is built you won´t have that problem anymore.

Using "otrs.DeleteCache.pl" at any time will not be a problem, since it does not change the Structure.

Regard, Fritz

--
-------------------------------------
Friedrich Koelbel
http://www.graz4u.at
-------------------------------------



Am 25.02.2014 14:15, schrieb sameer khan:

Thanks Fabian. I am have successfully upgraded to 3.3.4 but i am having problem with receiving emails and getting the following error:


OTRS-otrs.PostMasterMailbox.pl-10[10365]: [Notice][Kernel::System::PID::PIDCreate] Can't create PID PostMasterMailbox, because it's already running

i have check the PostMasterMailbox.pl is not running but what i found out that After i create a new Phone ticket the /opt/otrs/var/tmp/CacheFileStorable/DynamicField is getting permission and owner resetted to www-data:www-data.

I have tried fixing the permission or the owner but it is getting resetted back to www-data:www-data

any one know how to fix this.


Thanks
------------------------------------------------------------------------
From: fabian.reicha...@cbs-consulting.de
To: otrs@otrs.org
Date: Thu, 20 Feb 2014 16:29:34 +0000
Subject: Re: [otrs] How to migrate from 3.1.10 to 3.3.4

As my original message is still sitting in the approval queue, here without attachments.

Regards,

Fabian

*Von:*Fabian Reichardt
*Gesendet:* Donnerstag, 20. Februar 2014 13:26
*An:* User questions and discussions about OTRS.
*Betreff:* AW: [otrs] How to migrate from 3.1.10 to 3.3.4

Hello All,

as promised, please find attached the documentation I created for our OTRS upgrade 2.4.5 -> 3.3.3. As this was a German documentation, please bare with me if there are any German screenshots or words in it.

It should be now issue to replace the 3.3.3 files with the 3.3.4 files and then follow the steps shown in the documentation. Unfortunately I do not use KIX4OTRS, as there was now version available for 3.3.3 at that time.

If you have any questions about it, please feel free to ask ;)

If there is an issue with the attachments, I've uploaded them as a zip file here:https://app.box.com/s/c3xbr03tgfrmg6t2jcp1

Regards,

Fabian

Fabian**Reichardt
Consultant

*cbs Corporate Business Solutions Unternehmensberatung GmbH*
Im Breitspiel 19 | 69126 Heidelberg
T +49 6221 3304-0 | F +49 6221 3304-200
fabian.reicha...@cbs-consulting.de <mailto:fabian.reicha...@cbs-consulting.de> | www.cbs-consulting.com <http://www.cbs-consulting.com>

*Von:*otrs-boun...@otrs.org <mailto:otrs-boun...@otrs.org> [mailto:otrs-boun...@otrs.org] *Im Auftrag von *Fabian Reichardt
*Gesendet:* Mittwoch, 19. Februar 2014 17:37
*An:* User questions and discussions about OTRS.
*Betreff:* Re: [otrs] How to migrate from 3.1.10 to 3.3.4

Hello All,

sure thing, will do! Just have to cleanup the documentation a little bit. Will provide it by the end of tomorrow :)

Cheers,

Fabian

*Von:*otrs-boun...@otrs.org <mailto:otrs-boun...@otrs.org> [mailto:otrs-boun...@otrs.org] *Im Auftrag von *David Boyes
*Gesendet:* Mittwoch, 19. Februar 2014 15:58
*An:* User questions and discussions about OTRS.
*Betreff:* Re: [otrs] How to migrate from 3.1.10 to 3.3.4

I practically did the same thing as you did. Moved to a new server and update to the latest OTRS version, at that time 3.3.3. Worst part was, moving from a Windows server to a CentOS server (the bad part was getting rid of all Windows specific stuff in the config files).

If you move to a CentOS (6.5) server, I can give you a small part of my own upgrade documentation, with which you can easily install/update the AddOns on the server directly using the "otrs.PackageManager.pl", kind of a checklist thing. (would also work with RHEL 6.5)

Consider donating the whole document to the project. Enough people do this that it'd be a valuable addition to the project documentation


--------------------------------------------------------------------- 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


---------------------------------------------------------------------
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
---------------------------------------------------------------------
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

Reply via email to