[n00b installation] Internal Server Error - v3.1.3 and RHEL6

Moderator: crythias

Locked
keni
Znuny newbie
Posts: 3
Joined: 10 Apr 2012, 11:29
Znuny Version: 3.1.3
Real Name: Keni

[n00b installation] Internal Server Error - v3.1.3 and RHEL6

Post by keni »

Hi all,

I'm a new to OTRS as well as to Linux/UNIX systems and got my first job out of college as a junior system administrator so bear with me if I sound like an idiot.

Alright I've done the installation for OTRSv3.1.3

Code: Select all

[root@webserver bin]# ./otrs.CheckModules.pl 
   o CGI..............................ok (v3.59)
   o Crypt::PasswdMD5.................ok (v1.3)
   o CSS::Minifier....................ok (v0.01)
   o Date::Format.....................ok (v2.22)
   o Date::Pcalc......................ok (v1.2)
   o DBI..............................ok (v1.618)
   o DBD::mysql.......................ok (v4.020)
   o DBD::ODBC........................Not installed! (Optional - Required to connect to a MS-SQL database.)
   o DBD::Oracle......................Not installed! (Optional - Required to connect to a Oracle database.)
   o DBD::Pg..........................ok (v2.19.2)
   o Digest::MD5......................ok (v2.51)
   o Digest::SHA::PurePerl............ok (v5.70)
   o Digest::SHA......................ok (v5.47)
   o Encode::HanExtra.................ok (v0.23)
   o Encode::Locale...................ok (v1.02)
   o GD...............................Not installed! (Optional - Required for stats)
      o GD::Text......................Not installed! (Optional - Required for stats.)
      o GD::Graph.....................Not installed! (Optional - Required for stats.)
      o GD::Graph::lines..............Not installed! (Optional - Required for stats.)
      o GD::Text::Align...............Not installed! (Optional - Required for stats.)
   o IO::Scalar.......................ok (v2.110)
   o IO::Wrap.........................ok (v2.110)
   o JavaScript::Minifier.............ok (v1.05)
   o JSON.............................ok (v2.53)
      o JSON::PP......................ok (v2.27200)
      o JSON::XS......................Not installed! (Optional - Recommended for faster AJAX/JavaScript handling.)
   o Locale::Codes....................ok (v3.18)
   o LWP::UserAgent...................ok (v6.03)
   o Mail::Internet...................ok (v2.08)
   o Mail::POP3Client.................ok (v2.18 )
      o IO::Socket::SSL...............ok (v1.31)
   o Mail::IMAPClient.................Not installed! (Optional - Required for IMAP TLS connections.)
      o IO::Socket::SSL...............ok (v1.31)
   o MIME::Base64.....................ok (v3.13)
   o MIME::Tools......................ok (v5.428)
   o ModPerl::Util....................ok (v2.000004)
      o Apache::DBI...................ok (v1.11)
      o Apache2::Reload...............ok (v0.11)
   o Net::DNS.........................ok (v0.68)
   o Net::POP3........................ok (v2.29)
   o Net::IMAP::Simple................ok (v1.2030)
      o Net::IMAP::Simple::SSL........ok (v1.3)
   o Net::SMTP........................ok (v2.31)
      o Authen::SASL..................ok (v2.15)
      o Net::SMTP::SSL................ok (v1.01)
      o Net::SMTP::TLS::ButMaintained.ok (v0.18)
   o Net::LDAP........................ok (v0.44)
   o PDF::API2........................ok (v2.019)
      o Compress::Zlib................ok (v2.049)
   o SOAP::Lite.......................ok (v0.714)
      o version.......................ok (v0.77)
      o Class::Inspector..............ok (v1.25)
   o Text::CSV........................ok (v1.21)
      o Text::CSV_PP..................ok (v1.29)
      o Text::CSV_XS..................Not installed! (Optional - Recommended for faster CSV handling.)
   o XML::Parser......................ok (v2.36)
   o HTTP::Message....................ok (v6.02)
      o HTTP::Headers.................ok (v6.00)
   o URI..............................ok (v1.59)
      o URI::Escape...................ok (v3.31)
   o Scalar::Util.....................ok (v1.21)
And I can start all my services fine:

Code: Select all

[root@webserver conf.d]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: [Tue Apr 10 17:25:40 2012] [warn] The ScriptAlias directive in /etc/httpd/conf.d/zzz_otrs.conf at line 7 will probably never match because it overlaps an earlier ScriptAlias.
[Tue Apr 10 17:25:40 2012] [warn] The Alias directive in /etc/httpd/conf.d/zzz_otrs.conf at line 8 will probably never match because it overlaps an earlier Alias.
httpd: apr_sockaddr_info_get() failed for N1SCRSVR01
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
                                                           [  OK  ]
[root@webserver conf.d]# service mysqld restart
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
And here's the service otrs start:

Code: Select all

[root@webserver conf.d]# service otrs start
hostname: Unknown host
Starting OTRS..
 Checking httpd ... done.
 Checking database connection... Trying to connect to database
DSN: DBI:mysql:database=otrs;host=localhost;
DatabaseUser: otrs

It looks Ok! done.
 Checking OTRS Scheduler Service... 0
 done.
 Enable /opt/otrs/bin/otrs.PostMaster.pl ... done.
 Checking otrs spool dir...  done.
 Creating cronjobs (source /opt/otrs/var/cron/*) ...
 done.

  -->> http:///otrs/index.pl <<-- 
Final start of OTRS.. done
So everything looks good as I've already got otrs hooked up to the database in mysql.

I still get an Internal Server Error 500 at http://localhost/otrs/install.pl

Any kind soul to help please? :)
OTRS: v3.1.3
OS: RHEL v6.2
Running it on Citrix XenServer 6 on Sun Blade server
keni
Znuny newbie
Posts: 3
Joined: 10 Apr 2012, 11:29
Znuny Version: 3.1.3
Real Name: Keni

Re: [n00b installation] Internal Server Error - v3.1.3 and R

Post by keni »

LOL dafuq I shutdown my VM last night and this morning when i'm back to work and on the VM, installer.pl suddenly works. I didn't even do anything I just start service httpd, mysqld and otrs and it suddenly worked.

Ah wells.
OTRS: v3.1.3
OS: RHEL v6.2
Running it on Citrix XenServer 6 on Sun Blade server
keni
Znuny newbie
Posts: 3
Joined: 10 Apr 2012, 11:29
Znuny Version: 3.1.3
Real Name: Keni

Re: [n00b installation] Internal Server Error - v3.1.3 and R

Post by keni »

Hi all,

How do I resolve this error:

Code: Select all

Starting httpd: [Tue Apr 10 17:25:40 2012] [warn] The ScriptAlias directive in /etc/httpd/conf.d/zzz_otrs.conf at line 7 will probably never match because it overlaps an earlier ScriptAlias.
[Tue Apr 10 17:25:40 2012] [warn] The Alias directive in /etc/httpd/conf.d/zzz_otrs.conf at line 8 will probably never match because it overlaps an earlier Alias.
OTRS: v3.1.3
OS: RHEL v6.2
Running it on Citrix XenServer 6 on Sun Blade server
Locked