Project

General

Profile

Actions

Question #3536

closed

Error 503 after the first installation

Added by Corentin Guilleme about 11 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
1
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Regression:

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

2013_04_25.stderrout.log (30.9 KB) 2013_04_25.stderrout.log Corentin Guilleme, 2013-04-25 16:03
Actions #1

Updated by Matthieu CERDA about 11 years ago

  • Status changed from New to Discussion
  • Assignee set to Matthieu CERDA
  • Priority changed from N/A to 1

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.

Actions #2

Updated by Corentin Guilleme about 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

Actions #3

Updated by Matthieu CERDA about 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 ?

Actions #4

Updated by Corentin Guilleme about 11 years ago

nameserver debian6-tests3.exemple.fr
 

I modified:
debian6-tests3

I modified by that :
127.0.0.1 debian6-tests3

Actions #5

Updated by Matthieu CERDA about 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 ?

Actions #6

Updated by Corentin Guilleme about 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.

Actions #7

Updated by Matthieu CERDA about 11 years ago

  • Tracker changed from Bug to Question

My pleasure :)

Actions #8

Updated by Matthieu CERDA about 11 years ago

  • Tracker changed from Question to Bug
  • Project changed from 34 to 31
Actions #9

Updated by Matthieu CERDA about 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
Actions #10

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF