New RT Installation and corrupter RT Graphics?

Hi,

After compiling and installing, I set up the mysql database, configured
RT_SiteConfig.pm and rt4.conf but when i try to get into it the page doesn’t
show up properly???

http://old.nabble.com/file/p32068825/rt4.JPG rt4.JPG
http://old.nabble.com/file/p32068825/rt4.conf rt4.conf
http://old.nabble.com/file/p32068825/RT_SiteConfig.pm RT_SiteConfig.pm

I have attached a screenshot, the rt4.conf file and the RT_SiteConfig.pm
file. Any ideas?

View this message in context: http://old.nabble.com/New-RT-Installation-and-corrupter-RT-Graphics---tp32068825p32068825.html

Anyone can help?

nanastasiou wrote:

Hi,

After compiling and installing, I set up the mysql database, configured
RT_SiteConfig.pm and rt4.conf but when i try to get into it the page
doesn’t show up properly???

http://old.nabble.com/file/p32068825/rt4.JPG rt4.JPG
http://old.nabble.com/file/p32068825/rt4.conf rt4.conf
http://old.nabble.com/file/p32068825/RT_SiteConfig.pm RT_SiteConfig.pm

I have attached a screenshot, the rt4.conf file and the RT_SiteConfig.pm
file. Any ideas?

View this message in context: http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32082739.html

Anyone can help?

In all likelihood you’ve misconfigured apache, but without the RT error
logs and apache configuration, we can’t really help you.

Cheers,
Thomas

Hi Thomas, what files do i need to check for the apache configuration and the
rt error logs?

Thomas Sibley wrote:

Anyone can help?

In all likelihood you’ve misconfigured apache, but without the RT error
logs and apache configuration, we can’t really help you.

Cheers,
Thomas


2011 Training: http://bestpractical.com/services/training.html

View this message in context: http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32083033.html

All apache files which are relevant for the rt instance.

It depends on in which way you have build your apache infrastructure …

for example :

you can manage apache with virtual host files or one main httpd.conf … or
you can include additional configs…

if you have no idea about the apache configs… check the
web_deployment.pod File in your rt4 file under the directory Docs

best regards john

View this message in context: http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32083911.html

Thank you John. I deleted my RT_SiteConfig.pm and then used the web_installer
which generated the config file again. The page is now displayed properly
and i am able to login.

But when I go into certain areas like Settings->Options I get an error page:

Couldn’t create object file
/opt/rt4/var/mason_data/obj/3452818388/standard/Prefs/Other.html.obj:
Permission denied

Any ideas?

john s. wrote:

All apache files which are relevant for the rt instance.

It depends on in which way you have build your apache infrastructure …

for example :

you can manage apache with virtual host files or one main httpd.conf … or
you can include additional configs…

if you have no idea about the apache configs… check the
web_deployment.pod File in your rt4 file under the directory Docs

Addition:

The Error logs is definied in the RT_SiteConfig.pm

And the apache error log dependes which linux u use

fior example: debain linux is almost /var/logs/apache2

best regards john

View this message in context: http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32106473.html

Ok, Just noticed that if i use port 8080 none of those error messages come
up. Is this the port I am meant to use with RT ?

nanastasiou wrote:

Thank you John. I deleted my RT_SiteConfig.pm and then used the
web_installer which generated the config file again. The page is now
displayed properly and i am able to login.

But when I go into certain areas like Settings->Options I get an error
page:

Couldn’t create object file
/opt/rt4/var/mason_data/obj/3452818388/standard/Prefs/Other.html.obj:
Permission denied

Any ideas?

john s. wrote:

All apache files which are relevant for the rt instance.

It depends on in which way you have build your apache infrastructure …

for example :

you can manage apache with virtual host files or one main httpd.conf …
or you can include additional configs…

if you have no idea about the apache configs… check the
web_deployment.pod File in your rt4 file under the directory Docs

Addition:

The Error logs is definied in the RT_SiteConfig.pm

And the apache error log dependes which linux u use

fior example: debain linux is almost /var/logs/apache2

best regards john

View this message in context: http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32106499.html

[…]
But when I go into certain areas like Settings->Options I get an error page:

Couldn’t create object file
/opt/rt4/var/mason_data/obj/3452818388/standard/Prefs/Other.html.obj:
Permission denied
Check the permissions of /opt/rt4/var/mason_data
chmod is your friend
Gerard

Ok, Just noticed that if i use port 8080 none of those error messages come
up. Is this the port I am meant to use with RT ?

RT runs on the port you configure it to use. As pointed out later in
the thread, your error comes because of mixing permissions.

I assume you’re running rt-server on 8080 as root and apache on 80 as
non-root and that’ll break your permissions

-kevin

Actually even on port 8080 I get permission errors.

At the moment I am running both rt+apache under the root account. Am I meant
to create a seperate user account to run them on?

Kevin Falcone-2 wrote:

Ok, Just noticed that if i use port 8080 none of those error messages
come
up. Is this the port I am meant to use with RT ?

RT runs on the port you configure it to use. As pointed out later in
the thread, your error comes because of mixing permissions.

I assume you’re running rt-server on 8080 as root and apache on 80 as
non-root and that’ll break your permissions

-kevin


2011 Training: http://bestpractical.com/services/training.html

View this message in context: http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32108602.html

Actually even on port 8080 I get permission errors.
At the moment I am running both rt+apache under the root account. Am I meant
to create a seperate user account to run them on?

Apache by default starts as root but drops privileges.
Did you really override that to force it to run as root all the time?

As noted, your permissions in mason_data/obj/ need to be fixed

-kevin

No, I didn’t. What is the best practice? Also what about rt? Am I mean to run
it under the rt user or the root user?

What permissions should I assign to mason_data/obj/ ?

Kevin Falcone-2 wrote:

Actually even on port 8080 I get permission errors.
At the moment I am running both rt+apache under the root account. Am I
meant
to create a seperate user account to run them on?

Apache by default starts as root but drops privileges.
Did you really override that to force it to run as root all the time?

As noted, your permissions in mason_data/obj/ need to be fixed

-kevin

Kevin Falcone-2 wrote:

Ok, Just noticed that if i use port 8080 none of those error messages
come
up. Is this the port I am meant to use with RT ?

RT runs on the port you configure it to use. As pointed out later in
the thread, your error comes because of mixing permissions.

I assume you’re running rt-server on 8080 as root and apache on 80 as
non-root and that’ll break your permissions

-kevin


2011 Training: http://bestpractical.com/services/training.html


View this message in context:
http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32108602.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


2011 Training: http://bestpractical.com/services/training.html


2011 Training: http://bestpractical.com/services/training.html

View this message in context: http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32114346.html

ok, it’s now fine. it had to do with selinux preventing rt from working
properly.

how do i go from here now? any tutorial on creating groups/users etc

nanastasiou wrote:

No, I didn’t. What is the best practice? Also what about rt? Am I mean to
run it under the rt user or the root user?

What permissions should I assign to mason_data/obj/ ?

Kevin Falcone-2 wrote:

Actually even on port 8080 I get permission errors.
At the moment I am running both rt+apache under the root account. Am I
meant
to create a seperate user account to run them on?

Apache by default starts as root but drops privileges.
Did you really override that to force it to run as root all the time?

As noted, your permissions in mason_data/obj/ need to be fixed

-kevin

Kevin Falcone-2 wrote:

Ok, Just noticed that if i use port 8080 none of those error messages
come
up. Is this the port I am meant to use with RT ?

RT runs on the port you configure it to use. As pointed out later in
the thread, your error comes because of mixing permissions.

I assume you’re running rt-server on 8080 as root and apache on 80 as
non-root and that’ll break your permissions

-kevin


2011 Training: http://bestpractical.com/services/training.html


View this message in context:
http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32108602.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


2011 Training: http://bestpractical.com/services/training.html


2011 Training: http://bestpractical.com/services/training.html

View this message in context: http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32114652.html

ok, it’s now fine. it had to do with selinux preventing rt from working
properly.

how do i go from here now? any tutorial on creating groups/users etc?

nanastasiou wrote:

No, I didn’t. What is the best practice? Also what about rt? Am I mean to
run it under the rt user or the root user?

What permissions should I assign to mason_data/obj/ ?

Kevin Falcone-2 wrote:

Actually even on port 8080 I get permission errors.
At the moment I am running both rt+apache under the root account. Am I
meant
to create a seperate user account to run them on?

Apache by default starts as root but drops privileges.
Did you really override that to force it to run as root all the time?

As noted, your permissions in mason_data/obj/ need to be fixed

-kevin

Kevin Falcone-2 wrote:

Ok, Just noticed that if i use port 8080 none of those error messages
come
up. Is this the port I am meant to use with RT ?

RT runs on the port you configure it to use. As pointed out later in
the thread, your error comes because of mixing permissions.

I assume you’re running rt-server on 8080 as root and apache on 80 as
non-root and that’ll break your permissions

-kevin


2011 Training: http://bestpractical.com/services/training.html


View this message in context:
http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32108602.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


2011 Training: http://bestpractical.com/services/training.html


2011 Training: http://bestpractical.com/services/training.html

View this message in context: http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32114653.html

HI,
apache2 uses by default www-data group (as far as i know, by default)

my maison_data/obj is:
owned by www-data (www-data) has read&write
Group: www-data has read&write
others: none

so it would be a chmod -R 660 /maison_data/obj
and a chown -R www-data:www-data /maison_data/obj

Hope this helps.

Regards,
Daniel

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of nanastasiouSent: Friday, July 22, 2011 1:55 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] New RT Installation and corrupted RT Graphics??
[faked-from][auto-ip]

ok, it’s now fine. it had to do with selinux preventing rt from working
properly.

how do i go from here now? any tutorial on creating groups/users etc?

nanastasiou wrote:

No, I didn’t. What is the best practice? Also what about rt? Am I mean
to run it under the rt user or the root user?

What permissions should I assign to mason_data/obj/ ?

Kevin Falcone-2 wrote:

Actually even on port 8080 I get permission errors.
At the moment I am running both rt+apache under the root account. Am
I meant to create a seperate user account to run them on?

Apache by default starts as root but drops privileges.
Did you really override that to force it to run as root all the time?

As noted, your permissions in mason_data/obj/ need to be fixed

-kevin

Kevin Falcone-2 wrote:

Ok, Just noticed that if i use port 8080 none of those error
messages come up. Is this the port I am meant to use with RT ?

RT runs on the port you configure it to use. As pointed out later
in the thread, your error comes because of mixing permissions.

I assume you’re running rt-server on 8080 as root and apache on 80
as non-root and that’ll break your permissions

-kevin


2011 Training: http://bestpractical.com/services/training.html


View this message in context:
http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics-
–tp32068825p32108602.html Sent from the Request Tracker - User
mailing list archive at Nabble.com.


2011 Training: http://bestpractical.com/services/training.html


2011 Training: http://bestpractical.com/services/training.html

View this message in context:
http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp3206
8825p32114653.html

2011 Training: http://bestpractical.com/services/training.html

Look at the wiki and give google a chance for " buy the rt essentials book"

best regards john
View this message in context: http://old.nabble.com/New-RT-Installation-and-corrupted-RT-Graphics---tp32068825p32114997.html