Question #3536
closedError 503 after the first installation
Description
Hello
Server: debian6-tests3.exemple.fr
I installed rudder-server-root. I have a 503 error after having set the file / opt / rudder / bin / rudder-init.sh
hostname = debian6-tests2.exemple.fr
allowed network = 192.168.0.0/16
demo = no data
Files
Updated by Matthieu CERDA over 11 years ago
- Status changed from New to Discussion
- Assignee set to Matthieu CERDA
- Priority changed from N/A to 1 (highest)
Hello corentin,
The root of the problem is your hosts file: Jetty (the application server) tries to resolve the name of the machine ( debian6-tests3 ) and fails, because it is certainly not declared in the /etc/hosts file.
Can you please post your hosts file here ?
One more thing, I see that in the description of the ticket, you said:
Server: debian6-tests3.exemple.fr hostname = debian6-tests2.exemple.fr
Is it intended to be like this ? The normal way of doing this is to give the actual hostname of the machine, with a fully qualified domain name if possible.
Updated by Corentin Guilleme over 11 years ago
Sorry for the location of the ticket
It was good that against the file
/ etc / hosts
nameserver debian6-tests3.exemple.fr
I modified:
nameserver debian6-tests3
Updated by Matthieu CERDA over 11 years ago
- Project changed from 31 to 34
Actually, on a debian Squeeze host the /etc/hosts should look like this:
127.0.0.1 localhost 127.0.1.1 <machine hostname, fully qualified> <machine hostname, short> # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
Is yours looking like this ?
Updated by Corentin Guilleme over 11 years ago
nameserver debian6-tests3.exemple.fr
I modified:
debian6-tests3
I modified by that :
127.0.0.1 debian6-tests3
Updated by Matthieu CERDA over 11 years ago
OK, this should do the trick.
Can you confirm that if you do a "/etc/init.d/jetty restart" (as root) and retry to access the rudder web interface after 3 minutes, it works ?
Updated by Corentin Guilleme over 11 years ago
Yes , it works.
I have modified my file /etc/hosts, I had :
127.0.0.1 debian6-tests3.vtech.fr
Now i have :
127.0.0.1 debian6-tests3
Thank You.
Updated by Matthieu CERDA over 11 years ago
- Tracker changed from Question to Bug
- Project changed from 34 to 31
Updated by Matthieu CERDA over 11 years ago
- Tracker changed from Bug to Question
- Project changed from 31 to 34
- Status changed from Discussion to Resolved
- % Done changed from 0 to 100
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 34 to Rudder
- Category set to Packaging