Getting error in OTRS while upgrading Ubuntu

Moderator: crythias

Locked
msksharma
Znuny newbie
Posts: 91
Joined: 24 Mar 2014, 13:58
Znuny Version: 6.0.26
Real Name: Krishna M S
Company: Toradex AG

Getting error in OTRS while upgrading Ubuntu

Post by msksharma »

Hi,

I was running OTRS 3.3.2 on Ubuntu 10.0.4. Later i upgraded to Ubuntu 14.0.4 since then, When i try to open OTRS on browser, i am getting this error

You don't have permission to access /otrs/index.pl on this server.

I also see this error in the Apache logs

AH01630: client denied by server configuration: /opt/otrs/var/httpd/htdocs/otrs

I also ran this command
bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs --web-user=www-data --web-group=www-data /opt/otrs

When i went to the folder /opt/otrs/var/httpd/htdocs/ i do not see any file /folder called otrs. Am i missing something?

Please help me out.

Regards,
Krishna M S
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Getting error in OTRS while upgrading Ubuntu

Post by reneeb »

Is that an apache config from pre-3.3.2?

Then you have to change the apache config. In Ubuntu 10.04 apache 2.2 was shipped, in Ubutun 14.04 it is Apache 2.4. There was a slight change in Apache configuration.

All

Code: Select all

 Order allow,deny
Allow from all
have to be replaced with

Code: Select all

Require all granted
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
msksharma
Znuny newbie
Posts: 91
Joined: 24 Mar 2014, 13:58
Znuny Version: 6.0.26
Real Name: Krishna M S
Company: Toradex AG

Re: Getting error in OTRS while upgrading Ubuntu

Post by msksharma »

Hi,

Which file i need to modify? Is this the one /etc/apache2/conf.d/otrs.conf?

Thanks and Regards,
Krishna M S
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Getting error in OTRS while upgrading Ubuntu

Post by reneeb »

Yes
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
msksharma
Znuny newbie
Posts: 91
Joined: 24 Mar 2014, 13:58
Znuny Version: 6.0.26
Real Name: Krishna M S
Company: Toradex AG

Re: Getting error in OTRS while upgrading Ubuntu

Post by msksharma »

Hi,

It worked after i had to create otrs.conf under /etc/apache2/sites-available and /etc/apache2/sites-enabled

Thank you very much.

You can go ahead and archive this.

Regards,
Krishna M S
Locked