[rt-users] Ubuntu 16.04.1 LTS
Hello everyone, Just want to ask if anyone have upgraded from Ubuntu server 14.04 LTS to 16.04.1 LTS, and if RT broke because of it? Done this on a different server and got plenty of issues with other services (Mostly because php7). Regards, Joel - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
Re: [rt-users] Ubuntu 16.04.1 LTS
Exactly my problem as well. Still haven’t found a resolution to recovering a working Rt on 16.04.1. Did a fresh install of Perl using Perlbrew, and even did a fresh install of Rt 4.2.10 as well as 4.4.1 in test environment. Still the same issues with the fastcgi server not staying up. I am thinking that it is something in the apache2(.4) set up? I was able to solve the PHP issues with a side by side installation of php5.6 and php7.0. All of our other applications seem stable. Sent from Mail for Windows 10 From: Joel Bergmark- RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
Re: [rt-users] Ubuntu 16.04.1 LTS
Maybe something with the FastCGI configuration? If you're using mod_fastcgi, you might consider converting to mod_fcgid since that appears to be supported by Apache now. If you switch, note that they did update the names of all of the directives, so use the names for the version of Apache you're running: https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html On 9/9/16 7:14 AM, Pavneet Arora wrote: Exactly my problem as well. Still haven’t found a resolution to recovering a working Rt on 16.04.1. Did a fresh install of Perl using Perlbrew, and even did a fresh install of Rt 4.2.10 as well as 4.4.1 in test environment. Still the same issues with the fastcgi server not staying up. I am thinking that it is something in the apache2(.4) set up? I was able to solve the PHP issues with a side by side installation of php5.6 and php7.0. All of our other applications seem stable. Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 *From: *Joel Bergmark <mailto:joel.bergm...@t3.se> *Sent: *Friday, September 9, 2016 04:34 *To: *rt-users@lists.bestpractical.com <mailto:rt-users@lists.bestpractical.com> *Subject: *[rt-users] Ubuntu 16.04.1 LTS Hello everyone, Just want to ask if anyone have upgraded from Ubuntu server 14.04 LTS to 16.04.1 LTS, and if RT broke because of it? Done this on a different server and got plenty of issues with other services (Mostly because php7). Regards, Joel - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017 - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
Re: [rt-users] Ubuntu 16.04.1 LTS
We went from a server running 14.04 to 16.04.1. It took some work but it is running. The final solution was: 1. Dump of the database 2. Completely clean install and set up of RT on the new server (from RT directly, not from a repository). I tested this and saw it worked. The old server had RT set up to use mod_perl2. We now use mod_cfgid which seemed to be the default. 3. Restored the database. In our case we went from RT 4.0.x to RT 4.4.1 so at this point I used the steps to upgrade the DB. Things are working well so far. I hope this helps - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
Re: [rt-users] Ubuntu 16.04.1 LTS
I had to install a bunch of perl modules after the upgrade. (Probably "make fixdeps" or reinstalling RT would have done the same, more quickly, but I'm kind of stubborn sometimes. Also this wasn't our production server so I had some freedom to just poke at it and figure out what it needed.) The ones I installed via apt-get (some installed other dependencies of their own, that I didn't bother to record): • libdatetime-perl • libexception-class-perl • libdbix-searchbuilder-perl • libregexp-common-perl • libregexp-common-net-cidr-perl • librole-basic-perl • libemail-address-perl • libemail-address-list-perl • libscope-upper-perl • libdata-guid-perl • libtext-template-perl • libhtml-formattext-withlinks-perl • lIbhtml-formattext-withlinks-andtables-perl • libhtml-scrubber-perl • libjson-perl • libcrypt-eksblowfish-perl • libtext-password-pronounceable-perl • libregexp-ipv6-perl • libnet-cidr-perl • libtext-wrapper-perl • libhtml-mason-psgihandler-perl • starlet • libapache-session-perl • libnet-ip-perl Most of which I found by trying to run the rt-server script from a command line and translating the missing perl module to the ubuntu package name. Hope this helps... Cheers, Kyle On 09/09/2016 07:14 AM, Pavneet Arora wrote: Exactly my problem as well. Still haven’t found a resolution to recovering a working Rt on 16.04.1. Did a fresh install of Perl using Perlbrew, and even did a fresh install of Rt 4.2.10 as well as 4.4.1 in test environment. Still the same issues with the fastcgi server not staying up. I am thinking that it is something in the apache2(.4) set up? I was able to solve the PHP issues with a side by side installation of php5.6 and php7.0. All of our other applications seem stable. Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 *From: *Joel Bergmark <mailto:joel.bergm...@t3.se> *Sent: *Friday, September 9, 2016 04:34 *To: *rt-users@lists.bestpractical.com <mailto:rt-users@lists.bestpractical.com> *Subject: *[rt-users] Ubuntu 16.04.1 LTS Hello everyone, Just want to ask if anyone have upgraded from Ubuntu server 14.04 LTS to 16.04.1 LTS, and if RT broke because of it? Done this on a different server and got plenty of issues with other services (Mostly because php7). Regards, Joel - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017 -- Kyle Dippery Engineering Computing Services 219 RMB 859-257-1346 - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
Re: [rt-users] Ubuntu 16.04.1 LTS
Thanks, I'll give that a try although the shell command on my server is giving a different error. Will post output once I have ssh access. I have tried reinstalling 4.2.10 and fresh installing 4.4.1 with no change in behaviour. Fixdeps run in both cases. Also, debug log (rt.log) works for installation, but not for browser requests pointing, I think, to an issue with the upgraded Apache config. At this point, I think that it is a cgi issue but haven't yet had a chance to swap out for mod_fcgid. Regards. Pavneet Arora m: +1 (647) 406-6843 Sent from Windows 10 Mobile. Please excuse my brevity. From: Kyle Dippery- RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
Re: [rt-users] Ubuntu 16.04.1 LTS
This is the error that I am getting on the command line. If anyone has any insights, I would be most grateful before I dive into the switch to mod_fcgid with apache2 tonight: # /opt/rt4/sbin/rt-server.fcgi -processes 5 -idle-timeout 300 STDIN is not a socket, and no --listen, --socket, or --port provided Thanks. Pavneet Arora m: +1 (647) 406-6843 e: pavneet_ar...@waroc.com - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
Re: [rt-users] Ubuntu 16.04.1 LTS
On Sep 12, 2016, at 2:51 PM, Pavneet Arora mailto:pavneet_ar...@waroc.com>> wrote: This is the error that I am getting on the command line. If anyone has any insights, I would be most grateful before I dive into the switch to mod_fcgid with apache2 tonight: # /opt/rt4/sbin/rt-server.fcgi -processes 5 -idle-timeout 300 STDIN is not a socket, and no --listen, --socket, or --port provided Can you paste the full apache config for this site? What does the apache error log say for this site? - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017
Re: [rt-users] Ubuntu 16.04.1 LTS
Apache2 config unchanged from before the upgrade to 16.04.1 (host name and alias obscured): # Tell FastCGI to put its temporary files somewhere sane; this may # be necessary if your distribution doesn't already set it #FastCgiIpcDir /tmp FastCgiServer /opt/rt4/sbin/rt-server.fcgi -processes 5 -idle-timeout 300 ### Optional apache logs for RT # Ensure that your log rotation scripts know about these files ErrorLog /opt/rt4/var/log/apache2.error TransferLog /opt/rt4/var/log/apache2.access LogLevel debug AddDefaultCharset UTF-8 ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/ ServerAdmin webmaster@localhost ServerName ServerAlias DocumentRoot /opt/rt4/share/html = 2.4> # Require all granted Order allow,deny Allow from all Options +ExecCGI AddHandler fcgid-script fcgi ## ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. ## LogLevel warn ## CustomLog ${APACHE_LOG_DIR}/access.log combined And the output of /opt/rt4/var/log/apache2.errors: [Mon Sep 12 17:44:47.246047 2016] [authz_core:debug] [pid 6242] mod_authz_core.c(809): [client 99.230.197.137:53085] AH01626: authorization result of Require all granted: granted [Mon Sep 12 17:44:47.246137 2016] [authz_core:debug] [pid 6242] mod_authz_core.c(809): [client 99.230.197.137:53085] AH01626: authorization result of : granted [Mon Sep 12 17:44:47.246472 2016] [authz_core:debug] [pid 6242] mod_authz_core.c(809): [client 99.230.197.137:53085] AH01626: authorization result of Require all granted: granted [Mon Sep 12 17:44:47.246509 2016] [authz_core:debug] [pid 6242] mod_authz_core.c(809): [client 99.230.197.137:53085] AH01626: authorization result of : granted [Mon Sep 12 17:49:47.323439 2016] [fastcgi:error] [pid 6242] [client 99.230.197.137:53085] FastCGI: comm with server "/opt/rt4/sbin/rt-server.fcgi" aborted: idle timeout (300 sec) [Mon Sep 12 17:49:47.323532 2016] [fastcgi:error] [pid 6242] [client 99.230.197.137:53085] FastCGI: incomplete headers (0 bytes) received from server "/opt/rt4/sbin/rt-server.fcgi" Pavneet Arora m: +1 (647) 406-6843 e: pavneet_ar...@waroc.com From: Landon Stewart- RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017