Re: [rt-users] Shredder in 3.8.2

2009-03-10 Thread Jim Tambling
Hi Richard,

I applied the permissions recursively and that appears to have fixed it.



Many thanx, Jim

-Original Message-
From: Richard Foley [mailto:richard.fo...@rfi.net] 
Sent: 09 March 2009 07:59
To: rt-users@lists.bestpractical.com
Cc: Jim Tambling; rt-us...@bestpractical.com
Subject: Re: [rt-users] Shredder in 3.8.2


Hi Jim,

"Shredder needs a directory to write dumps to. Please check that
you
have /usr/local/rt/var/data/RT-Shredder
and it is writable by your web server."

Looks to me as though that should work:

# ps -ef | grep apache
...
www-data 22739  3889  0 16:19 ?00:00:03
/usr/sbin/apache2 -k

# ls -lR /usr/local/rt/var/data:
...
drwxrwsrwx 2 www-data staff 4096 2009-02-19 10:52 RT_Shredder 

1. Have you restarted your apache?

2. Have you tried being pedantic and checking each and every directory
above 
there too?

ls -d /usr

ls -d /usr/local

ls -d /usr/local/rt

ls -d /usr/local/rt/var

ls -d /usr/local/rt/var/data

ls -d /usr/local/rt/var/data/RT_Shredder

-- 
Richard Foley
Ciao - shorter than aufwiedersehen

http://www.rfi.net/

On Sunday 08 March 2009 18:54:52 Jim Tambling wrote:
> Hi again,
> 
> 
> greyarea jim # ls -lR /usr/local/rt/var/data
> /usr/local/rt/var/data:
> total 4
> drwxrwsrwx 2 www-data staff 4096 2009-02-19 10:52 RT_Shredder
> 
> /usr/local/rt/var/data/RT_Shredder:
> total 0
> 
> 
> Thanks, Jim
> 
> -Original Message-
> From: Richard Foley [mailto:richard.fo...@rfi.net]
> Sent: 07 March 2009 08:44
> To: rt-us...@bestpractical.com
> Cc: Jim Tambling; rt-users@lists.bestpractical.com
> Subject: Re: [rt-users] Shredder in 3.8.2
> 
> 
> It might help to use a couple of different commands, please try these
> two:
> 
>   groups www-data
> 
>   ls -lR /usr/local/rt/var/data
> 
> --
> Richard Foley
> Ciao - shorter than aufwiedersehen
> 
> http://www.rfi.net/
> 
> On Friday 06 March 2009 17:46:50 Jim Tambling wrote:
> > Hi,
> > 
> > greyarea jim # ls -l /usr/local/rt/var/data/RT_Shredder/
> > total 0
> > greyarea jim # ps -ef | grep apache2
> > root  3889 1  0 13:57 ?00:00:06 /usr/sbin/apache2 -k
> > start
> > root  3898 11198  0 13:57 pts/700:00:00 tail -f
> > /var/log/apache2/error.log
> > root  5862 32163  0 12:36 pts/100:00:00 tail -f
> > /var/log/apache2/error.log
> > root 18192   935  0 14:33 pts/400:00:00 tail -F
> > /var/log/apache2/error.log
> > www-data 22739  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> > start
> > www-data 22740  3889  0 16:19 ?00:00:05 /usr/sbin/apache2 -k
> > start
> > www-data 22741  3889  0 16:19 ?00:00:04 /usr/sbin/apache2 -k
> > start
> > www-data 22742  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> > start
> > www-data 22743  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> > start
> > www-data 22765  3889  0 16:19 ?00:00:02 /usr/sbin/apache2 -k
> > start
> > www-data 25089  3889  0 16:26 ?00:00:02 /usr/sbin/apache2 -k
> > start
> > www-data 25090  3889  0 16:26 ?00:00:01 /usr/sbin/apache2 -k
> > start
> > www-data 25091  3889  0 16:26 ?00:00:02 /usr/sbin/apache2 -k
> > start
> > root     31666   984  0 16:42 pts/200:00:00 grep apache2
> > 
> > -Original Message-
> > From: Richard Foley [mailto:richard.fo...@rfi.net]
> > Sent: 06 March 2009 13:24
> > To: Jim Tambling
> > Cc: rt-users@lists.bestpractical.com; rt-us...@bestpractical.com
> > Subject: Re: [rt-users] Shredder in 3.8.2
> > 
> > 
> > On Friday 06 March 2009 14:04:17 Jim Tambling wrote:
> > > Hi
> > >  
> > > I am trying to get shredder working, I have created the directory
> > > and
> > > made it writable by www-data but I still get an error;
> > >  
> > > "Shredder needs a directory to write dumps to. Please check that 
> > > you have  class="file-path">/usr/local/rt/var/data/RT-Shredder
> > > and it is writable by your web server."
> > >  
> > > Am I missing something?
> > >  
> > Maybe www-data is the wrong user/group - please post the result of:
> > 
> > ls -l /usr/local/rt/var/data/RT-Shredder
> > 
> > and (for apache or httpd):
> > 
> > ps -ef | grep httpd
> > 
> > and the results of running the "groups" command against the RT 
> > "user", something _like_ this might do it:
> > 
> > groups rtuser
&g

Re: [rt-users] Shredder in 3.8.2

2009-03-09 Thread Richard Foley
Hi Jim,

"Shredder needs a directory to write dumps to. Please check that you
have /usr/local/rt/var/data/RT-Shredder
and it is writable by your web server."

Looks to me as though that should work:

# ps -ef | grep apache
...
www-data 22739  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k

# ls -lR /usr/local/rt/var/data:
...
drwxrwsrwx 2 www-data staff 4096 2009-02-19 10:52 RT_Shredder 

1. Have you restarted your apache?

2. Have you tried being pedantic and checking each and every directory above 
there too?

ls -d /usr

ls -d /usr/local

ls -d /usr/local/rt

ls -d /usr/local/rt/var

ls -d /usr/local/rt/var/data

ls -d /usr/local/rt/var/data/RT_Shredder

-- 
Richard Foley
Ciao - shorter than aufwiedersehen

http://www.rfi.net/

On Sunday 08 March 2009 18:54:52 Jim Tambling wrote:
> Hi again,
> 
> 
> greyarea jim # ls -lR /usr/local/rt/var/data
> /usr/local/rt/var/data:
> total 4
> drwxrwsrwx 2 www-data staff 4096 2009-02-19 10:52 RT_Shredder
> 
> /usr/local/rt/var/data/RT_Shredder:
> total 0
> 
> 
> Thanks, Jim
> 
> -Original Message-
> From: Richard Foley [mailto:richard.fo...@rfi.net] 
> Sent: 07 March 2009 08:44
> To: rt-us...@bestpractical.com
> Cc: Jim Tambling; rt-users@lists.bestpractical.com
> Subject: Re: [rt-users] Shredder in 3.8.2
> 
> 
> It might help to use a couple of different commands, please try these
> two:
> 
>   groups www-data
> 
>   ls -lR /usr/local/rt/var/data
> 
> -- 
> Richard Foley
> Ciao - shorter than aufwiedersehen
> 
> http://www.rfi.net/
> 
> On Friday 06 March 2009 17:46:50 Jim Tambling wrote:
> > Hi,
> > 
> > greyarea jim # ls -l /usr/local/rt/var/data/RT_Shredder/
> > total 0
> > greyarea jim # ps -ef | grep apache2
> > root  3889 1  0 13:57 ?00:00:06 /usr/sbin/apache2 -k
> > start
> > root  3898 11198  0 13:57 pts/700:00:00 tail -f
> > /var/log/apache2/error.log
> > root  5862 32163  0 12:36 pts/100:00:00 tail -f
> > /var/log/apache2/error.log
> > root 18192   935  0 14:33 pts/400:00:00 tail -F
> > /var/log/apache2/error.log
> > www-data 22739  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> > start
> > www-data 22740  3889  0 16:19 ?00:00:05 /usr/sbin/apache2 -k
> > start
> > www-data 22741  3889  0 16:19 ?00:00:04 /usr/sbin/apache2 -k
> > start
> > www-data 22742  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> > start
> > www-data 22743  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> > start
> > www-data 22765  3889  0 16:19 ?00:00:02 /usr/sbin/apache2 -k
> > start
> > www-data 25089  3889  0 16:26 ?00:00:02 /usr/sbin/apache2 -k
> > start
> > www-data 25090  3889  0 16:26 ?00:00:01 /usr/sbin/apache2 -k
> > start
> > www-data 25091  3889  0 16:26 ?00:00:02 /usr/sbin/apache2 -k
> > start
> > root     31666   984  0 16:42 pts/200:00:00 grep apache2
> > 
> > -Original Message-
> > From: Richard Foley [mailto:richard.fo...@rfi.net]
> > Sent: 06 March 2009 13:24
> > To: Jim Tambling
> > Cc: rt-users@lists.bestpractical.com; rt-us...@bestpractical.com
> > Subject: Re: [rt-users] Shredder in 3.8.2
> > 
> > 
> > On Friday 06 March 2009 14:04:17 Jim Tambling wrote:
> > > Hi
> > >  
> > > I am trying to get shredder working, I have created the directory 
> > > and
> > > made it writable by www-data but I still get an error;
> > >  
> > > "Shredder needs a directory to write dumps to. Please check that you
> > > have  class="file-path">/usr/local/rt/var/data/RT-Shredder
> > > and it is writable by your web server."
> > >  
> > > Am I missing something?
> > >  
> > Maybe www-data is the wrong user/group - please post the result of:
> > 
> > ls -l /usr/local/rt/var/data/RT-Shredder
> > 
> > and (for apache or httpd):
> > 
> > ps -ef | grep httpd
> > 
> > and the results of running the "groups" command against the RT "user",
> > something _like_ this might do it:
> > 
> > groups rtuser
> > 
> > --
> > Richard Foley
> > Ciao - shorter than aufwiedersehen
> > 
> > http://www.rfi.net/
> > 
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com
> > Version: 8.0.237 / Virus Database: 270.11.8/1987 - Release Date:
> > 03/06/09

Re: [rt-users] Shredder in 3.8.2

2009-03-08 Thread Jim Tambling
Hi again,


greyarea jim # ls -lR /usr/local/rt/var/data
/usr/local/rt/var/data:
total 4
drwxrwsrwx 2 www-data staff 4096 2009-02-19 10:52 RT_Shredder

/usr/local/rt/var/data/RT_Shredder:
total 0


Thanks, Jim

-Original Message-
From: Richard Foley [mailto:richard.fo...@rfi.net] 
Sent: 07 March 2009 08:44
To: rt-us...@bestpractical.com
Cc: Jim Tambling; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Shredder in 3.8.2


It might help to use a couple of different commands, please try these
two:

groups www-data

ls -lR /usr/local/rt/var/data

-- 
Richard Foley
Ciao - shorter than aufwiedersehen

http://www.rfi.net/

On Friday 06 March 2009 17:46:50 Jim Tambling wrote:
> Hi,
> 
> greyarea jim # ls -l /usr/local/rt/var/data/RT_Shredder/
> total 0
> greyarea jim # ps -ef | grep apache2
> root  3889 1  0 13:57 ?00:00:06 /usr/sbin/apache2 -k
> start
> root  3898 11198  0 13:57 pts/700:00:00 tail -f
> /var/log/apache2/error.log
> root  5862 32163  0 12:36 pts/100:00:00 tail -f
> /var/log/apache2/error.log
> root 18192   935  0 14:33 pts/400:00:00 tail -F
> /var/log/apache2/error.log
> www-data 22739  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> start
> www-data 22740  3889  0 16:19 ?00:00:05 /usr/sbin/apache2 -k
> start
> www-data 22741  3889  0 16:19 ?00:00:04 /usr/sbin/apache2 -k
> start
> www-data 22742  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> start
> www-data 22743  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> start
> www-data 22765  3889  0 16:19 ?00:00:02 /usr/sbin/apache2 -k
> start
> www-data 25089  3889  0 16:26 ?00:00:02 /usr/sbin/apache2 -k
> start
> www-data 25090  3889  0 16:26 ?00:00:01 /usr/sbin/apache2 -k
> start
> www-data 25091  3889  0 16:26 ?00:00:02 /usr/sbin/apache2 -k
> start
> root 31666   984  0 16:42 pts/200:00:00 grep apache2
> 
> -Original Message-
> From: Richard Foley [mailto:richard.fo...@rfi.net]
> Sent: 06 March 2009 13:24
> To: Jim Tambling
> Cc: rt-users@lists.bestpractical.com; rt-us...@bestpractical.com
> Subject: Re: [rt-users] Shredder in 3.8.2
> 
> 
> On Friday 06 March 2009 14:04:17 Jim Tambling wrote:
> > Hi
> >  
> > I am trying to get shredder working, I have created the directory 
> > and
> > made it writable by www-data but I still get an error;
> >  
> > "Shredder needs a directory to write dumps to. Please check that you
> > have /usr/local/rt/var/data/RT-Shredder
> > and it is writable by your web server."
> >  
> > Am I missing something?
> >  
> Maybe www-data is the wrong user/group - please post the result of:
> 
>   ls -l /usr/local/rt/var/data/RT-Shredder
> 
> and (for apache or httpd):
> 
>   ps -ef | grep httpd
> 
> and the results of running the "groups" command against the RT "user",
> something _like_ this might do it:
> 
>   groups rtuser
> 
> --
> Richard Foley
> Ciao - shorter than aufwiedersehen
> 
> http://www.rfi.net/
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.237 / Virus Database: 270.11.8/1987 - Release Date:
> 03/06/09 07:20:00
> 


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

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


Re: [rt-users] Shredder in 3.8.2

2009-03-07 Thread Richard Foley
It might help to use a couple of different commands, please try these two:

groups www-data

ls -lR /usr/local/rt/var/data

-- 
Richard Foley
Ciao - shorter than aufwiedersehen

http://www.rfi.net/

On Friday 06 March 2009 17:46:50 Jim Tambling wrote:
> Hi,
> 
> greyarea jim # ls -l /usr/local/rt/var/data/RT_Shredder/
> total 0
> greyarea jim # ps -ef | grep apache2
> root  3889 1  0 13:57 ?00:00:06 /usr/sbin/apache2 -k
> start
> root  3898 11198  0 13:57 pts/700:00:00 tail -f
> /var/log/apache2/error.log
> root  5862 32163  0 12:36 pts/100:00:00 tail -f
> /var/log/apache2/error.log
> root 18192   935  0 14:33 pts/400:00:00 tail -F
> /var/log/apache2/error.log
> www-data 22739  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> start
> www-data 22740  3889  0 16:19 ?00:00:05 /usr/sbin/apache2 -k
> start
> www-data 22741  3889  0 16:19 ?00:00:04 /usr/sbin/apache2 -k
> start
> www-data 22742  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> start
> www-data 22743  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
> start
> www-data 22765  3889  0 16:19 ?00:00:02 /usr/sbin/apache2 -k
> start
> www-data 25089  3889  0 16:26 ?00:00:02 /usr/sbin/apache2 -k
> start
> www-data 25090  3889  0 16:26 ?00:00:01 /usr/sbin/apache2 -k
> start
> www-data 25091  3889  0 16:26 ?00:00:02 /usr/sbin/apache2 -k
> start
> root 31666   984  0 16:42 pts/200:00:00 grep apache2
> 
> -Original Message-
> From: Richard Foley [mailto:richard.fo...@rfi.net] 
> Sent: 06 March 2009 13:24
> To: Jim Tambling
> Cc: rt-users@lists.bestpractical.com; rt-us...@bestpractical.com
> Subject: Re: [rt-users] Shredder in 3.8.2
> 
> 
> On Friday 06 March 2009 14:04:17 Jim Tambling wrote:
> > Hi
> >  
> > I am trying to get shredder working, I have created the directory and 
> > made it writable by www-data but I still get an error;
> >  
> > "Shredder needs a directory to write dumps to. Please check that you 
> > have /usr/local/rt/var/data/RT-Shredder
> > and it is writable by your web server."
> >  
> > Am I missing something?
> >  
> Maybe www-data is the wrong user/group - please post the result of:
> 
>   ls -l /usr/local/rt/var/data/RT-Shredder
> 
> and (for apache or httpd):
> 
>   ps -ef | grep httpd
> 
> and the results of running the "groups" command against the RT "user", 
> something _like_ this might do it:
> 
>   groups rtuser
> 
> -- 
> Richard Foley
> Ciao - shorter than aufwiedersehen
> 
> http://www.rfi.net/
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.0.237 / Virus Database: 270.11.8/1987 - Release Date:
> 03/06/09 07:20:00
> 


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

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


Re: [rt-users] Shredder in 3.8.2

2009-03-06 Thread Jim Tambling
Hi,



greyarea jim # ls -l /usr/local/rt/var/data/RT_Shredder/
total 0
greyarea jim # ps -ef | grep apache2
root  3889 1  0 13:57 ?00:00:06 /usr/sbin/apache2 -k
start
root  3898 11198  0 13:57 pts/700:00:00 tail -f
/var/log/apache2/error.log
root  5862 32163  0 12:36 pts/100:00:00 tail -f
/var/log/apache2/error.log
root 18192   935  0 14:33 pts/400:00:00 tail -F
/var/log/apache2/error.log
www-data 22739  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
start
www-data 22740  3889  0 16:19 ?00:00:05 /usr/sbin/apache2 -k
start
www-data 22741  3889  0 16:19 ?00:00:04 /usr/sbin/apache2 -k
start
www-data 22742  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
start
www-data 22743  3889  0 16:19 ?00:00:03 /usr/sbin/apache2 -k
start
www-data 22765  3889  0 16:19 ?00:00:02 /usr/sbin/apache2 -k
start
www-data 25089  3889  0 16:26 ?00:00:02 /usr/sbin/apache2 -k
start
www-data 25090  3889  0 16:26 ?00:00:01 /usr/sbin/apache2 -k
start
www-data 25091  3889  0 16:26 ?00:00:02 /usr/sbin/apache2 -k
start
root 31666   984  0 16:42 pts/200:00:00 grep apache2

-Original Message-
From: Richard Foley [mailto:richard.fo...@rfi.net] 
Sent: 06 March 2009 13:24
To: Jim Tambling
Cc: rt-users@lists.bestpractical.com; rt-us...@bestpractical.com
Subject: Re: [rt-users] Shredder in 3.8.2


On Friday 06 March 2009 14:04:17 Jim Tambling wrote:
> Hi
>  
> I am trying to get shredder working, I have created the directory and 
> made it writable by www-data but I still get an error;
>  
> "Shredder needs a directory to write dumps to. Please check that you 
> have /usr/local/rt/var/data/RT-Shredder
> and it is writable by your web server."
>  
> Am I missing something?
>  
Maybe www-data is the wrong user/group - please post the result of:

ls -l /usr/local/rt/var/data/RT-Shredder

and (for apache or httpd):

ps -ef | grep httpd

and the results of running the "groups" command against the RT "user", 
something _like_ this might do it:

groups rtuser

-- 
Richard Foley
Ciao - shorter than aufwiedersehen

http://www.rfi.net/

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.237 / Virus Database: 270.11.8/1987 - Release Date:
03/06/09 07:20:00
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


Re: [rt-users] Shredder in 3.8.2

2009-03-06 Thread Richard Foley
On Friday 06 March 2009 14:04:17 Jim Tambling wrote:
> Hi
>  
> I am trying to get shredder working, I have created the directory and
> made it writable by www-data but I still get an error;
>  
> "Shredder needs a directory to write dumps to. Please check that you
> have /usr/local/rt/var/data/RT-Shredder
> and it is writable by your web server." 
>  
> Am I missing something?
>  
Maybe www-data is the wrong user/group - please post the result of:

ls -l /usr/local/rt/var/data/RT-Shredder

and (for apache or httpd):

ps -ef | grep httpd

and the results of running the "groups" command against the RT "user", 
something _like_ this might do it:

groups rtuser

-- 
Richard Foley
Ciao - shorter than aufwiedersehen

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

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


[rt-users] Shredder in 3.8.2

2009-03-06 Thread Jim Tambling
Hi
 
I am trying to get shredder working, I have created the directory and
made it writable by www-data but I still get an error;
 
"Shredder needs a directory to write dumps to. Please check that you
have /usr/local/rt/var/data/RT-Shredder
and it is writable by your web server." 
 
Am I missing something?
 
 
Regards, Jim
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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