Re: [rt-users] RT4 Install on Centos7+Internal Server Error

2016-05-09 Thread Duncan Morgan
Do you have mod_fcgid installed and is the module loading?

 

For the database issue you can drop the database from MySQL and start again.

 

I found this guide quite good

 

http://binarynature.blogspot.ca/2013/05/install-request-tracker-4.html

 
 

Sent: Monday, May 09, 2016 at 8:36 AM
From: Yanni 
To: "rt-users@lists.bestpractical.com" 
Subject: [rt-users] RT4 Install on Centos7+Internal Server Error

Hello again

Still fighting with setting up RT4. I have now deleted the previous RT
installation and started again.
I have put all command outputs in pastebin.com so that my email is small
as much as possible and hopefully easy to read. When you can please see
below the steps I have taken.

1. Run ./configure with no parameters, so all defaults are set.
Output: http://pastebin.com/enH70WCS

2. 'make testdeps' outputs: All dependencies have been found

3. 'make install' outputs: Congratulations. RT is now installed.

4. RT_SiteConfig.pm here: http://pastebin.com/NseuCusS

5. Run 'make initialize-database' with error: ERROR: Can't create
database 'rt4db'; database exists

6. I went with mod_fcgid and added 'FcgidMaxRequestLen 1073741824' to:
/usr/lib/tmpfiles.d/mod_fcgid.conf

7. Added these lines in my httpd.conf. (Apache version: 2.4.6)

Listen 8000


### 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/

DocumentRoot "/opt/rt4/share/html"


Require all granted

Options +ExecCGI
AddHandler fcgid-script fcgi



8. Visited http://jimmy.ad.biosci.ac.uk:8000 but I get: 500 Internal
Server Error

9. Apache Error_log file says:

RT couldn't load RT config file /opt/rt4/etc/RT_Config.pm as:
user: apache
group: apache
The file is owned by user root and group rt.

10. chown apache:apache RT_Config.pm
chown apache:apache RT_SiteConfig.pm

11. Visited http://jimmy.ad.biosci.ac.uk:8000 but I get: 500 Internal
Server Error

12. Apache Error_log file says: http://pastebin.com/9xUwHNDZ

13. SELINUX and firewall are disabled


Any help/suggestions please let me know.
Many thanks



-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016



-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


Re: [rt-users] Best file layout for Centos7 + apache

2016-05-07 Thread Duncan Morgan
Thank you.

 
 

Sent: Saturday, May 07, 2016 at 12:07 PM
From: "Bill Cole" 
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Best file layout for Centos7 + apache

On 7 May 2016, at 12:47, Duncan Morgan wrote:

> Thanks Bill.
>  
> So what you are saying is don't make any configuration changes as far
> as file locations and put everything in the doc root?


No, I'm saying that I do exactly as Thomas Bätzler described: install
to /opt/rt4/ and configure an Apache VirtualHost with 'DocumentRoot
"/opt/rt4/share/html"'

One advantage to this is that if you keep SELinux enabled, you don't
need to worry about any policy changes (which you do need for RT to
work) being entangled with the default system policy.
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016



-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


Re: [rt-users] Best file layout for Centos7 + apache

2016-05-07 Thread Duncan Morgan
Thanks Bill.

 

So what you are saying is don't make any configuration changes as far as file locations and put everything in the doc root?
 

Thanks
Duncan

 
 

Sent: Saturday, May 07, 2016 at 8:58 AM
From: "Bill Cole" 
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Best file layout for Centos7 + apache

On 7 May 2016, at 10:46, Duncan Morgan wrote:

> Hello All
>  
> I have previously installed rt4 files in /var/www/rt4 (by setting the
> $PREFIX) but my concern is that this creates a security risk.

Can you detail that concern? Not saying it's wrong, I just don't see
anything particularly risky. It's not the way I deploy RT, but I don't
see a clear risk in it...
 
> The gist of my questions are what is the minimum set of files required
> in the web server document root?

Zero.

I've been running RT versions since v2 from subdirectories of /opt/
(i.e. the default layout) on various versions of FreeBSD and Linux and
never had a need to point a server-wide document root there. I've not
put a 4.x on CentOS7 instance into production yet, but I have an
extended demo instance of RT4.4rc1 on CentOS7 system running, being
lightly exercised and tweaked for a prospective customer for months now
with no problems related to filesystem location, entirely in /opt/rt4/.

-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016



-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


[rt-users] Best file layout for Centos7 + apache

2016-05-07 Thread Duncan Morgan
Hello All

 

I have previously installed rt4 files in /var/www/rt4 (by setting the $PREFIX) but my concern is that this creates a security risk.

 

The gist of my questions are what is the minimum set of files required in the web server document root? And what is the best way of installing only those files there? I have tried setting the $htmldir configuration direction but not sure exactly which files it puts there.

 

What are other peoples opinions and configurations for rt4 with respect to this>

 

Thanks in advance.
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


[rt-users] Looping for auto-response

2007-07-04 Thread Duncan Morgan
We have a situation where an RT autoresponder is causing a loop within
queues. I'm wondering if there is a way to disable or limit looping
within RT?

Thanks in advance,
--Duncan
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] best way to give a user the right to modify requestors

2006-07-24 Thread Duncan Morgan
Hello,

I've read the docs but I'm still confused as to the best way to allow a user
to modify the requestors for a ticket on a per queue basis? Is this even
possible or is it a global right?

Thanks,
Duncan


smime.p7s
Description: S/MIME cryptographic signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html

RE: [rt-users] Spell Check for RT 3.0.10

2006-07-19 Thread Duncan Morgan
Title: RE: [rt-users] Spell Check for RT 3.0.10






Thanks Joop.


-Original Message-
From: [EMAIL PROTECTED] on behalf of Joop van de Wege
Sent: Wed 7/19/2006 4:00 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Spell Check for RT 3.0.10

Hello Duncan

>
> Is there a spell check plug-in for RT version 3.0.10 ?
No, but  you can use WBOSS for example. All you need todo is install
aspell-0.6x + a language and modify atleast Update.html but I saw that I
have forgotten Jumbo.html and it might also be useful to edit
Create.html.

I thought that I had put a patch on this list, try to search for WBOSS
and see if it comes up or else I'll try to make a patch against 3.6 and
I have a patch lying around for 3.4.3

Joop

--
Joop van de Wege <[EMAIL PROTECTED]>

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html





___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html

[rt-users] Spell Check for RT 3.0.10

2006-07-19 Thread Duncan Morgan
Hello,

Is there a spell check plug-in for RT version 3.0.10 ?

Thanks,
Duncan


smime.p7s
Description: S/MIME cryptographic signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html

[rt-users] Encoding problem on incoming email

2006-07-12 Thread Duncan Morgan
Hello,

I have a problem with encoding on incoming emails. I've read about some
problems in earlier version of RT with "8-bit" versus "8bit" but that
shouldn't affect me as RT version I use is 3.4.4 and I've checked
SendEmail.pm (this also seems to be only for outgoing email).

I can find no pattern after looking at the full headers other than I see
that the X-RT-Original-Encoding is GB2312.

Has anyone seen this before?

Thanks,
Duncan


smime.p7s
Description: S/MIME cryptographic signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html