Now error in 3.2 (Resolved ! Phew)

Luiz Henrique Ozaki wrote:

Hunf, now im having this error in my 3.2 version:

System error

error: RT Couldn’t write to session directory
’/usr/local/rt3/var/session_data’: DBD::Pg::st execute failed: ERROR:
sessions: permission denied at
/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Store/DBI.pm line 44.

Stack:
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Store/DBI.pm:44]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:530]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:477]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Store/DBI.pm:44]
[/usr/local/rt3/share/html/autohandler:79]
. Check that this dir ectory’s permissions are correct. at
/usr/local/rt3/share/html/Elements/SetupSessionCookie line 89.
context:

85: };
86: undef $cookies{$cookiename};
87: }
88: else {
89: die “RT Couldn’t write to session directory
’$RT::MasonSessionDir’: $@. Check that this dir ectory’s permissions
are correct.”;
90: }
91: }
92:
93: if ( !$cookies{$cookiename} ) {

code stack: /usr/local/rt3/share/html/Elements/SetupSessionCookie:89
/usr/local/rt3/share/html/autohandler:79

drwxrwx— 2 www www 512 Jan 4 19:39 session_data

AAhhhh !!!


[]'s
Luiz Henrique Ozaki luiz@eaprender.com.br

Ive put the database user of 3.2 setup to pgsql and it worked.

Installing the 3.4 version the installation changed the right of the
user rt_user in PostGres, that its the same db user of 3.2 installation,
the only difference is the database. Database of 3.2 is rt3 and 3.4 is rt34.

Now, how can I make the rt_user to access the 3.2 setup (rt3 database)
and create another user for 3.4 (rt34 database) now that every thing is
installed ?

Regards,

[]'s
Luiz Henrique Ozaki luiz@eaprender.com.br