Can't access foreman after RedHat upgrade

> Hi.
>
> I've upgrade a server from RedHat 5 to RedHat 6. After that, foreman
> doesn't work anymore.

Reinstalled or upgraded? In-place upgrades aren't supported.

> If I go to the web interface of Forman, I arrive on an apache page
> telling me apache is working.
[snip]
>
> In my apache log I have :
> File does not exist /usr/share/foreman/public/host

This suggests to me that Passenger or Foreman hasn't started up. I'd
check that you don't have any el5 packages installed and if there are
any errors in /var/log/foreman/production.log or Apache's error log.

··· On 21/05/13 12:30, Emeric Million wrote:


Dominic Cleal
Red Hat Engineering

I upgrade. I know it's not supported, But I had no choice.

Sorry, I was a bit confused in my first message. I'll try to explain it
better :

I can access normaly to http://myserver:3000 (default port for foreman).
However, what I had done before and what I need to do again is to access to
foreman via https://myserver:4443 (for security reasons).
My real problem is that foreman is not using apache (it's using passenger
?). Because if I stop apache. I still have access to
http://myserver:3000and of course I can't connect to
https://myserver:4443.
When I start apache and stop foreman I can't access to
http://myserver:3000but I got the apache welcom's page on
https://myserver:4443.
If I start both, I can access to http://myserver:3000 but still have the
apache welcom's page on https://myserver:4443.

I had an other server which as the same conf as I had and I want to do
again on this server which have been upgraded. On this other server. When I
stop foreman and start apache, I can have access to foreman web interface
on https://myotherserver:4443. Even if I start foreman there is no 3000
port open and I can't access to http://myotherserver:3000. And that is what
I want to do again.

There is no error on /var/log/foreman/production.log.

In Apache error logs I now have :
Directory index forbidden by Options directive: /usr/share/foreman/public/

I hope I'm clear because English is not my mother tongue :slight_smile:

··· 2013/5/21 Dominic Cleal

On 21/05/13 12:30, Emeric Million wrote:

Hi.

I’ve upgrade a server from RedHat 5 to RedHat 6. After that, foreman
doesn’t work anymore.

Reinstalled or upgraded? In-place upgrades aren’t supported.

If I go to the web interface of Forman, I arrive on an apache page
telling me apache is working.
[snip]

In my apache log I have :
File does not exist /usr/share/foreman/public/host

This suggests to me that Passenger or Foreman hasn’t started up. I’d
check that you don’t have any el5 packages installed and if there are
any errors in /var/log/foreman/production.log or Apache’s error log.


Dominic Cleal
Red Hat Engineering


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/zfmVnylfxIY/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


MILLION Emeric