[rt-users] Problem with upgrading and ticket create by email after upgrade to RT 4.2.12/4.4.0...

2016-02-12 Thread Piotr Szymborski
ction', 'upgrade', 
'datafile', ...) called at ./sbin/rt-setup-database line 571
main::action_upgrade('package', 'RT', 'action', 'upgrade') 
called at ./sbin/rt-setup-database line 210 
(/opt/perl5/perls/perl-5.18.1RT/lib/5.18.1/Carp.pm:103)
[30404] [Fri Feb 12 10:37:56 2016] [warning]: Transaction Created 
(/opt/rt4/sbin/../lib/RT/Record.pm:1691)

Processing 4.3.11
Now inserting data.
Processing 4.3.12
Now populating database schema.
Processing 4.3.13
Now populating database schema.
Done.


Dose anyone have any ideas how to solve this?.


Installation info:
New server with: Centos 7.
Perl installed by perlbrew.
make testdeps and make fixdeps by cpanm (RT_FIX_DEPS_CMD) installed 
without any problems.

Using spawn-fcgi, and nginx as a web server.
Selinux disabled.

--
Best regards,
Piotr Szymborski

-
RT 4.4 and RTIR Training Sessions 
(http://bestpractical.com/services/training.html)
* Hamburg Germany - March 14 & 15, 2016
* Washington DC - May 23 & 24, 2016


Re: [rt-users] RT 4.4.0 Apache loads text of rt-server fcgi rather than login

2016-02-19 Thread Piotr Szymborski

Hi Brad,

for starters mod_fastcgi is not the same as mod_fcgid, you need to 
configure it differently.
Look on 
https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fcgid 
vs https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fastcgi
Just ctrl+c,ctrl+v that code to your apache config, modify directory to 
rt if it differs and it should work using mod_fcgid.


Best regards,
Piotr Szymborski

On 2016-02-19 18:49, Brad wrote:

Hi Matt,

yum install mod_fcgid
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
Package mod_fcgid-2.3.9-4.el7.x86_64 already installed and latest version
Nothing to do


added to siteconf:

FastCgiServer /opt/rt4/sbin/rt-server.fcgi -processes 5 -idle-timeout 300


restarted httpd and it errors:


Invalid command 'FastCgiServer', perhaps misspelled or defined by a
module not included in the server configuration



Now I dont see any reference for where yum puts this but a locate pulls:
/usr/lib/tmpfiles.d/mod_fcgid.conf
/usr/lib64/httpd/modules/mod_fcgid.so
/usr/share/doc/mod_fcgid-2.3.9
/usr/share/doc/mod_fcgid-2.3.9/CHANGES-FCGID
/usr/share/doc/mod_fcgid-2.3.9/ChangeLog
/usr/share/doc/mod_fcgid-2.3.9/LICENSE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/NOTICE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/README-FCGID
/usr/share/doc/mod_fcgid-2.3.9/STATUS-FCGID
/usr/share/doc/mod_fcgid-2.3.9/fixconf.sed
/usr/share/doc/mod_fcgid-2.3.9/mod_fcgid.html.en


I do see some directions fromwww.fastcgi.com/mod_fastcgi/INSTALL for a
binary build but nothing in reference to a package install but this does
look correct, doesn't it?

/usr/lib64/httpd/modules/mod_fcgid.so

and the new httpd grabs these on start...?



Thanks,
Brad



On 02/19/2016 12:23 PM, Matt Zagrabelny wrote:

On Fri, Feb 19, 2016 at 11:18 AM, Brad <bradzynd...@comcast.net> wrote:

Hi Matt,

I did follow a guide not sure if it was the most recent or the one 
required

by RT though, used apache.org I think.
https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fastcgi 




Here is the siteconf, the httpd.conf and ssl.conf are base (not edited,
except for servername and cipher suite)

The docs have a line like:

FastCgiServer /opt/rt4/sbin/rt-server.fcgi -processes 5 -idle-timeout 
300




ServerName 

LoadModule fcgid_module modules/mod_fcgid.so

SSLCertificateFile /etc/pki/tls/certs/ca.crt
SSLCertificateKeyFile /etc/pki/tls/private/ca.key

AddDefaultCharset UTF-8

  ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi
The docs have a trailing slash on rt-server.fcgi. Not sure if that 
matters.


-m



-
RT 4.4 and RTIR Training Sessions 
(http://bestpractical.com/services/training.html)

* Hamburg Germany - March 14 & 15, 2016
* Washington DC - May 23 & 24, 2016



-
RT 4.4 and RTIR Training Sessions 
(http://bestpractical.com/services/training.html)
* Hamburg Germany - March 14 & 15, 2016
* Washington DC - May 23 & 24, 2016