[Solved] OTRS 3.2.1 on FreeBSD (permission and postmaster)

Moderator: crythias

Locked
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

[Solved] OTRS 3.2.1 on FreeBSD (permission and postmaster)

Post by skullz »

Hi all..
when i try to run otrs.PostMasterMailbox.pl as otrs user,
i got permission denied bal bla bla..
please refer screenshot..

Image

Do i need to run otrs.SetPermissions script??

./otrs.SetPermissions.pl /usr/local/otrs --otrs-user=otrs --web-user=otrs --otrs-group=www --web-group=www

Thanks in advance.
Last edited by skullz on 12 Mar 2013, 18:05, edited 2 times in total.
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: [Help] OTRS 3.2.2 on FreeBSD permission

Post by crythias »

This is saying pop3s is not optimally configured. Read the furnished message and use a popular search engine to get more info on what to do.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: [Help] OTRS 3.2.2 on FreeBSD permission

Post by skullz »

based on this viewtopic.php?f=62&t=19231, ARGO said he can fetch email every 10 minutes even with the content "Using the default of SSL_verify_mode of SSL_VERIFY_NONE bla bla bla"..
but on my case, i got
"mkdir /usr/local/otrs/var/tmp/CacheFileStorable/DynamicField/3/0: Permission denied at /usr/local/otrs/Kernel/System/Cache/FileStorable.pm line 79
"

some permission issue i think..
i tried "./otrs.SetPermissions.pl /usr/local/otrs --otrs-user=otrs --web-user=otrs --otrs-group=www --web-group=www"
but got "Group root does not exist"..

any idea??
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: [Help] OTRS 3.2.2 on FreeBSD permission

Post by skullz »

and now i got "Can't create PID PostMasterMailbox, because it's already running" on otrs log
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: [Help] OTRS 3.2.1 on FreeBSD (permission and postmaster)

Post by crythias »

skullz wrote:some permission issue i think..
i tried "./otrs.SetPermissions.pl /usr/local/otrs --otrs-user=otrs --web-user=otrs --otrs-group=www --web-group=www"
but got "Group root does not exist"..
there's an undocumented (?) --admin-group that defaults to the group named "root"
It is generally (?) assumed that most usernames are also members of groups of the same name. If not, you should pass the/a group that holds root on the command line.

try
groups root
to get the answer. It might be sudoers or wheel or sysadmin...?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: [Help] OTRS 3.2.1 on FreeBSD (permission and postmaster)

Post by skullz »

crythias wrote:
skullz wrote:some permission issue i think..
i tried "./otrs.SetPermissions.pl /usr/local/otrs --otrs-user=otrs --web-user=otrs --otrs-group=www --web-group=www"
but got "Group root does not exist"..
there's an undocumented (?) --admin-group that defaults to the group named "root"
It is generally (?) assumed that most usernames are also members of groups of the same name. If not, you should pass the/a group that holds root on the command line.

try
groups root
to get the answer. It might be sudoers or wheel or sysadmin...?
root = wheel..
but how do i set a right group/user/webgroup/otrsgroup on setpermission.pl??like this??

perl /usr/local/otrs/bin/otrs.SetPermissions.pl /usr/local/otrs --otrs-user=otrs --web-user=www --otrs-group=otrs --web-group=www --admin-group=wheel ??
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: [Help] OTRS 3.2.1 on FreeBSD (permission and postmaster)

Post by crythias »

yes.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked