OTRS 6 ON CentOS 7 issues.
Moderator: crythias
-
- Znuny newbie
- Posts: 8
- Joined: 04 Jan 2018, 01:04
- Znuny Version: otrs free
- Real Name: Kristopher N Hefner
- Company: Kris Hefner
OTRS 6 ON CentOS 7 issues.
Getting the error in the image below when browsing to OTRS. I got OTRS 6 Free edition installed on Centos 7 running Apache 2.4. Everything went fine and the Daemon.pl is running, but I keep getting a browser is too old message. I've tried on multiple browsers and it seems the CSS, Javascript is not running. Your assistance is greatly appreciated.
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 3931
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS 6 ON CentOS 7 issues.
Hi Kristopher,
Looks like the Apache config does not work. Did you installed the RPM or do you changed the Apache config?
Can you retrieve the file FQDN/otrs-web/js/Core.App.js
- Roy
Looks like the Apache config does not work. Did you installed the RPM or do you changed the Apache config?
Can you retrieve the file FQDN/otrs-web/js/Core.App.js
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 8
- Joined: 04 Jan 2018, 01:04
- Znuny Version: otrs free
- Real Name: Kristopher N Hefner
- Company: Kris Hefner
Re: OTRS 6 ON CentOS 7 issues.
that does not resolve. It's also like none of the Java and CSS is loading.
Re: OTRS 6 ON CentOS 7 issues.
Hi
check the logs
SELINUX active?
Flo
check the logs
SELINUX active?
Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
-
- Znuny newbie
- Posts: 8
- Joined: 04 Jan 2018, 01:04
- Znuny Version: otrs free
- Real Name: Kristopher N Hefner
- Company: Kris Hefner
Re: OTRS 6 ON CentOS 7 issues.
[Sun Jan 07 16:41:32.093106 2018] [:error] [pid 11383] [client 177.80.252.196:35966] script '/opt/otrs/bin/cgi-bin/command.php' not found or unable to stat
SELinux is turned off. MySQL is installed and Apache 2.4.
SELinux is turned off. MySQL is installed and Apache 2.4.
Re: OTRS 6 ON CentOS 7 issues.
otrs does not have any php scrips. Did you use the official rpm for installation?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 8
- Joined: 04 Jan 2018, 01:04
- Znuny Version: otrs free
- Real Name: Kristopher N Hefner
- Company: Kris Hefner
Re: OTRS 6 ON CentOS 7 issues.
yes I used the official OTRS download from here.
Followed these instructions:
http://doc.otrs.com/doc/manual/admin/6. ... -on-centos
Followed these instructions:
http://doc.otrs.com/doc/manual/admin/6. ... -on-centos
-
- Administrator
- Posts: 3931
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS 6 ON CentOS 7 issues.
Hi,
Did you change anything on the Apache configuration? What's the log files content if you stop httpd, clean /var/log/httpd/ and start the webserver again?
- Roy
Did you change anything on the Apache configuration? What's the log files content if you stop httpd, clean /var/log/httpd/ and start the webserver again?
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 8
- Joined: 04 Jan 2018, 01:04
- Znuny Version: otrs free
- Real Name: Kristopher N Hefner
- Company: Kris Hefner
Re: OTRS 6 ON CentOS 7 issues.
These are the relevant parts from my httpd.conf file. I commented out my mod rewrite stuff until I get the site working.
Code: Select all
<VirtualHost *:80>
ServerAdmin webmaster@appvision.net
ServerName support.appvision.net
DocumentRoot "/opt/otrs/bin/cgi-bin"
Options FollowSymLinks
#Redirect permanent / https://support.appvision.net
<Directory /opt/otrs/bin/cgi-bin/>
Options FollowSymLinks
AllowOverride None
DirectoryIndex index.pl
</Directory>
# directory settings
<Directory "/opt/otrs/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Require all granted
</Directory>
<Directory "/opt/otrs/var/httpd/htdocs/">
AllowOverride None
Require all granted
</Directory>
RewriteEngine Off
# RewriteCond %{HTTP_HOST} ^support.appvision\.net [NC]
# RewriteCond %{SERVER_PORT} 80
# RewriteRule ^(.*)$ https://support.appvision.net/$1 [R,L]
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
#irectoryIndex deleteme.html
Alias /otrs-web/ "opt/otrs/var/httpd/htdocs/"
<Location "/otrs-web/">
SetHandler default-handler
</Location>
# RewriteCond %{SERVER_NAME} =support.appvision.net
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
<IfModule mod_headers.c>
<Directory "/opt/otrs/var/httpd/htdocs/skins/*/*/css-cache">
<FilesMatch "\.(css|CSS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>
<Directory "/opt/otrs/var/httpd/htdocs/js/js-cache">
<FilesMatch "\.(js|JS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>
</IfModule>
Last edited by crythias on 22 Jan 2018, 17:06, edited 1 time in total.
Reason: added [code] markup
Reason: added [code] markup
Re: OTRS 6 ON CentOS 7 issues.
please use the supplied Apache config...
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 8
- Joined: 04 Jan 2018, 01:04
- Znuny Version: otrs free
- Real Name: Kristopher N Hefner
- Company: Kris Hefner
Re: OTRS 6 ON CentOS 7 issues.
I have other things running on that WEB server. Where is the supplied Apache config? The config steps make no mention of a supplied config.jojo wrote:please use the supplied Apache config...
Re: OTRS 6 ON CentOS 7 issues.
the rpm takes care of it normally. It is stored in scripts/apache2-httpd.include.conf
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Administrator
- Posts: 3931
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS 6 ON CentOS 7 issues.
The RPM installs the configuration in /etc/httpd/conf.d/otrs.conf and this is the file what jojo mention. I'd never had the need to change anything on this behavior and it works fine with other apps on he same server.ragediver24 wrote:I have other things running on that WEB server. Where is the supplied Apache config? The config steps make no mention of a supplied config.jojo wrote:please use the supplied Apache config...
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 8
- Joined: 04 Jan 2018, 01:04
- Znuny Version: otrs free
- Real Name: Kristopher N Hefner
- Company: Kris Hefner
Re: OTRS 6 ON CentOS 7 issues.
so i uninstalled otrs and reinstalled otrs from rpm and removed apache and reinstalled it. Now I'm getting a 500 server error when I try and browse to my site.
-
- Administrator
- Posts: 3931
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS 6 ON CentOS 7 issues.
Hi Kris,
What does the log error_log contain?
- Roy
What does the log error_log contain?
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 8
- Joined: 04 Jan 2018, 01:04
- Znuny Version: otrs free
- Real Name: Kristopher N Hefner
- Company: Kris Hefner
Re: OTRS 6 ON CentOS 7 issues.
No errors in the httpd error log. Access log is showing HTTP get requests.
69.73.44.219 - - [17/Jan/2018:22:12:15 +0000] "GET / HTTP/1.1" 200 1285 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
69.73.44.219 - - [17/Jan/2018:22:12:28 +0000] "GET /otrs/installer.pl HTTP/1.1" 404 215 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
69.73.44.219 - - [17/Jan/2018:22:12:31 +0000] "GET /favicon.ico HTTP/1.1" 404 209 "http://support.appvision.net/otrs/installer.pl" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
Checked otrs log and nothing there except Daemon log.
69.73.44.219 - - [17/Jan/2018:22:12:15 +0000] "GET / HTTP/1.1" 200 1285 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
69.73.44.219 - - [17/Jan/2018:22:12:28 +0000] "GET /otrs/installer.pl HTTP/1.1" 404 215 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
69.73.44.219 - - [17/Jan/2018:22:12:31 +0000] "GET /favicon.ico HTTP/1.1" 404 209 "http://support.appvision.net/otrs/installer.pl" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
Checked otrs log and nothing there except Daemon log.
-
- Administrator
- Posts: 3931
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS 6 ON CentOS 7 issues.
Must be logged somewhere.ragediver24 wrote:so i uninstalled otrs and reinstalled otrs from rpm and removed apache and reinstalled it. Now I'm getting a 500 server error when I try and browse to my site.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?