[rt-users] permission problems

2008-04-18 Thread LDB
This is quite frustrating .. I have a permissions problem which most  
likely cacades into sending mail problems ..

Any ideas?


== /opt/rt3/var/log/rt.log ==
[Fri Apr 18 19:47:13 2008] [crit]: No permission to create tickets in  
the queue 'NVDB' (/opt/rt3/lib/RT/Interface/Email.pm:243)
[Fri Apr 18 19:47:13 2008] [warning]: Warning: Use of require  
without parentheses is ambiguous at (eval 801) line 1. ((eval 801):1)
[Fri Apr 18 19:47:13 2008] [warning]: Bareword found where operator  
expected at (eval 801) line 1, near /usr/bin ((eval 801):1)
[Fri Apr 18 19:47:13 2008] [warning]:   (Missing operator before bin?)  
((eval 801):1)
[Fri Apr 18 20:03:54 2008] [debug]: Converting 'us-ascii' to 'utf-8'  
for text/plain - RE: TN 0801 Full Update (/opt/rt3/lib/RT/I18N.pm:240)
[Fri Apr 18 20:03:54 2008] [error]: Disabled User #14964 failed access  
check for CreateTicket (/opt/rt3/lib/RT/Principal_Overlay.pm:310)
[Fri Apr 18 20:03:54 2008] [crit]: No permission to create tickets in  
the queue 'NVDB' (/opt/rt3/lib/RT/Interface/Email.pm:243)
[Fri Apr 18 20:03:54 2008] [warning]: Warning: Use of require  
without parentheses is ambiguous at (eval 474) line 1. ((eval 474):1)
[Fri Apr 18 20:03:54 2008] [warning]: Bareword found where operator  
expected at (eval 474) line 1, near /usr/bin ((eval 474):1)
[Fri Apr 18 20:03:54 2008] [warning]:   (Missing operator before bin?)  
((eval 474):1)
[Fri Apr 18 20:12:03 2008] [warning]: Encode::Guess failed: decoder is  
undefined; fallback to iso-8859-1 (/opt/rt3/lib/RT/I18N.pm:436)
[Fri Apr 18 20:12:03 2008] [debug]: Guessed encoding: ascii (/opt/rt3/ 
lib/RT/I18N.pm:417)
[Fri Apr 18 20:12:03 2008] [warning]: Encode::Guess failed: decoder is  
undefined; fallback to iso-8859-1 (/opt/rt3/lib/RT/I18N.pm:436)
[Fri Apr 18 20:12:03 2008] [debug]: Guessed encoding: ascii (/opt/rt3/ 
lib/RT/I18N.pm:417)
[Fri Apr 18 20:12:03 2008] [debug]: About to think about scrips for  
transaction #52505 (/opt/rt3/lib/RT/Transaction_Overlay.pm:167)
[Fri Apr 18 20:12:03 2008] [debug]: About to prepare scrips for  
transaction #52505 (/opt/rt3/lib/RT/Transaction_Overlay.pm:171)
[Fri Apr 18 20:12:03 2008] [debug]: Found 7 scrips (/opt/rt3/lib/RT/ 
Scrips_Overlay.pm:365)

___
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


Re: [rt-users] permission problems

2008-04-18 Thread roger
On Fri, 2008-04-18 at 16:38 -0400, LDB wrote:
 This is quite frustrating .. I have a permissions problem which most  
 likely cacades into sending mail problems ..
 
 Any ideas?
 
 
 == /opt/rt3/var/log/rt.log ==
 [Fri Apr 18 19:47:13 2008] [crit]: No permission to create tickets in  
 the queue 'NVDB' (/opt/rt3/lib/RT/Interface/Email.pm:243)
 [Fri Apr 18 19:47:13 2008] [warning]: Warning: Use of require  
 without parentheses is ambiguous at (eval 801) line 1. ((eval 801):1)
 [Fri Apr 18 19:47:13 2008] [warning]: Bareword found where operator  
 expected at (eval 801) line 1, near /usr/bin ((eval 801):1)
 [Fri Apr 18 19:47:13 2008] [warning]: (Missing operator )

I wouldn't want to swear to it, but I suspect these last two errors
point to a problem in your scrips.

TTFN
-- 
roger [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


Re: [rt-users] permission problems

2008-04-18 Thread LDB

On Apr 18, 2008, at 5:38 PM, roger wrote:
 On Fri, 2008-04-18 at 16:38 -0400, LDB wrote:
 This is quite frustrating .. I have a permissions problem which most
 likely cacades into sending mail problems ..

 Any ideas?


 == /opt/rt3/var/log/rt.log ==
 [Fri Apr 18 19:47:13 2008] [crit]: No permission to create tickets in
 the queue 'NVDB' (/opt/rt3/lib/RT/Interface/Email.pm:243)
 [Fri Apr 18 19:47:13 2008] [warning]: Warning: Use of require
 without parentheses is ambiguous at (eval 801) line 1. ((eval 801):1)
 [Fri Apr 18 19:47:13 2008] [warning]: Bareword found where operator
 expected at (eval 801) line 1, near /usr/bin ((eval 801):1)
 [Fri Apr 18 19:47:13 2008] [warning]:(Missing operator )

 I wouldn't want to swear to it, but I suspect these last two errors
 point to a problem in your scrips.

 TTFN
 -- 
 roger [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



I am willing to take criticism ... :)



Set($rtname , rt.dc.org);
Set($Organization , dc.org);

Set($Timezone , 'US/Eastern');

Set($DatabaseType , 'mysql');
Set($DatabaseUser , 'user');
Set($DatabasePassword , 'pass');
Set($DatabaseName , 'rt3');
Set($DatabaseHost , 'localhost');

Set($OwnerEmail , '[EMAIL PROTECTED]');
Set($LoopsToRTOwner , 1);
Set($StoreLoops , undef);
Set($MaxAttachmentSize , 1000);
Set($TruncateLongAttachments , undef);
Set($DropLongAttachments , undef);
Set($ParseNewMessageForTicketCcs , 1);
Set($RTAddressRegexp , '[EMAIL PROTECTED]');
Set($SenderMustExistInExternalDatabase , 1);

Set($CorrespondAddress , '[EMAIL PROTECTED]');
Set($CommentAddress , '[EMAIL PROTECTED]');

#Sendmail Configuration

Set($MailCommand , 'sendmailpipe');
Set($SendmailArguments , );
#Set($SendmailArguments , -oi -t);
#Set($SendmailArguments,-oi -t -ODeliveryMode=b -OErrorMode=m);
#Set($SendmailPath , /usr/sbin/sendmail);
Set($SendmailPath , /opt/rt3/bin/mailx-wrapper);
Set($UseFriendlyFromLine , 1);
Set($FriendlyFromLineFormat , \%s via RT\ %s);
Set($UseFriendlyToLine , 1);
Set($FriendlyToLineFormat, \%s of $RT::rtname Ticket #%s\:;);
Set($NotifyActor, 0);

# Logging
Set($LogToSyslog, 'debug');
Set($LogToScreen, 'error');
Set($LogToFile  , 'debug');
Set($LogDir, '/opt/rt3/var/log');
Set($LogToFileNamed , rt.log);#log to rt.log

# Web interface configuration
Set($WebPath , );
Set($WebPath , );
Set($WebBaseURL , https://rt.dnc.org;);

Set($WebURL , $WebBaseURL . $WebPath . /);
Set($WebImagesURL , $WebURL . NoAuth/images/);
Set($LogoURL , $WebImagesURL . rt.jpg);
Set($MessageBoxWidth , 72);
Set($MessageBoxWrap, HARD);
Set($TrustHTMLAttachments , undef);
Set($MaxInlineBody, 13456);
Set($MyTicketsLength, 10);
1;

___
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


Re: [rt-users] permission problems

2008-04-18 Thread LDB

On Apr 18, 2008, at 5:38 PM, roger wrote:
 On Fri, 2008-04-18 at 16:38 -0400, LDB wrote:
 This is quite frustrating .. I have a permissions problem which most
 likely cacades into sending mail problems ..

 Any ideas?


 == /opt/rt3/var/log/rt.log ==
 [Fri Apr 18 19:47:13 2008] [crit]: No permission to create tickets in
 the queue 'NVDB' (/opt/rt3/lib/RT/Interface/Email.pm:243)
 [Fri Apr 18 19:47:13 2008] [warning]: Warning: Use of require
 without parentheses is ambiguous at (eval 801) line 1. ((eval 801):1)
 [Fri Apr 18 19:47:13 2008] [warning]: Bareword found where operator
 expected at (eval 801) line 1, near /usr/bin ((eval 801):1)
 [Fri Apr 18 19:47:13 2008] [warning]:(Missing operator )

 I wouldn't want to swear to it, but I suspect these last two errors
 point to a problem in your scrips.

 TTFN
 --  
 roger [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


Also, my rt.conf file is not sitting with me well either 

Notice Apache2 module I CANNOT get to load properly ... :(





VirtualHost *:443
ServerName rt.dc.org
DocumentRoot /opt/rt3/share/html
ServerAdmin [EMAIL PROTECTED]
LogLevel warn
ErrorLog /var/log/apache2/rt_error_log
TransferLog /var/log/apache2/rt_access_log
PerlSetVar MasonArgsMethod CGI
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:- 
EXP:-eNULL
SSLCertificateFile /etc/apache2/ssl.crt/rt.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/rt.key

# this line applies to Apache2+mod_perl2 only
# Below line might be incorrect, I had to use:
# PerlModule Apache2::compat
# mod_perl 2.0.1 from FC4 Linux
#   PerlModule Apache2 Apache::compat


Alias /rt /opt/rt3/share/html
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

Directory /opt/rt3/share/html
  AllowOverride All
  Options ExecCGI FollowSymLinks
  IfModule mod_access.c
 Order allow,deny
  Allow from all
  /IfModule
/Directory

Location /rt
  RewriteEngine On
  RedirectMatch permanent (.*)/$ $1/index.html
  AddDefaultCharset UTF-8
  SetHandler perl-script
  PerlHandler RT::Mason
/Location
/VirtualHost



___
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