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
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
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] FastCGI: comm with server "/opt/rt4/sbin/rt-server.fcgi" aborted: idle timeout (300 sec)
Sorry, I misunderstood. Here is the output from the shell command. I am just reconfiguring RT_SiteConfig and will get that to you shortly. # /opt/rt4/sbin/rt-server.fcgi -processes 5 -idle-timeout 300 Possible attempt to separate words with commas at /opt/rt4/etc/RT_SiteConfig.pm line 24. [3658] [Thu Sep 8 18:10:42 2016] [info]: Using internal Perl HTML -> text conversion (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1818) STDIN is not a socket, and no --listen, --socket, or --port provided On 08Sep16, Nilesh wrote: > I was asking about the Perl errors. What do you see on the console or in RT's > logs (enable debug logging in RT_SiteConfig) when you run rt-server.fcgi > directly? -- Pavneet Arora m: +1 (647) 406-6843 Waroc Informatikt: +1 (416) 937-9276 - 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] FastCGI: comm with server "/opt/rt4/sbin/rt-server.fcgi" aborted: idle timeout (300 sec)
Observed behaviour is that the browser request times out. /var/log/apache2/error.log shows as quoted originally (same error as immediately after upgrade to 16.04.1): 'FastCGI: server "/opt/rt4/sbin/rt-server.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds' /opt/rt4/var/log/apache2.error has the matching error: ] FastCGI: comm with server "/opt/rt4/sbin/rt-server.fcgi" aborted: idle timeout (300 sec) ] FastCGI: incomplete headers (0 bytes) received from server "/opt/rt4/sbin/rt-server.fcgi" Just for completeness here is the apache2 config file from sites-available (with host 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 .com DocumentRoot /var/www/.com = 2.4> # Require all granted Order allow,deny Allow from all Options +ExecCGI AddHandler fcgid-script fcgi On 08Sep16, Nilesh wrote: > What are the errors? > > -- > Nilesh -- Pavneet Arora m: +1 (647) 406-6843 Waroc Informatikt: +1 (416) 937-9276 - 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-users] FastCGI: comm with server "/opt/rt4/sbin/rt-server.fcgi" aborted: idle timeout (300 sec)
Okay, I have tried scouring the archives, but haven't found a solution to my problem, although rt-server.fcgi errors is mentioned with other issues. Here is a summary of the configuration: 1. Originally, a working rt-4.2.10 installation under Ubuntu 14.04. Perl was installed locally and the following put in .bashrc to point to the correct version: PERL_MB_OPT="--install_base \"/home//perl5\""; export PERL_MB_OPT; PERL_MM_OPT="INSTALL_BASE=/home//perl5"; export PERL_MM_OPT; 2. Recently upgraded to Ubuntu 16.04.1, and rt stopped working. 3. Was getting the following error in /var/log/apache2/error.log: 'FastCGI: server "/opt/rt4/sbin/rt-server.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds' The command for FastCGIServer in the site config also failed on the command line: /opt/rt4/sbin/rt-server.fcgi -processes 5 -idle-timeout 300 with an error about Perl module dependency. 4. So, after much effort in trying to upgrade the old (local) Perl installation and figuring that it was a Perl issue, I completely disabled/removed the original Perl installation. 5. Installed Perl 5.24.0 via perlbrew and then installed cpanm 6. Set "export RT_FIX_DEPS_CMD=/opt/perl/bin/cpanm" 7. Ran fixdeps. Had to use --force to install Date::Manip, but other than that have a fresh cpan. 8. So clean Perl, and clean cpan. 9. Did a reconfigure of rt-4.2.10 using the revised perlbrew directory, and a 'make install' (Backed up the original directory. Copied over the old RT_SiteConfig.pm over to the new install directory. Checked permissions: root:www-data. 9. Problem is that I am still get the same errors related to rt-server.fcgi. Any guidance as to what might be the issue? advTHANKSance. -- Pavneet Arora m: +1 (647) 406-6843 Waroc Informatikt: +1 (416) 937-9276 - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Boston - October 24-26 * Los Angeles - Q1 2017