Top Content Up

4.10 Issues


There are some common problem you may encounter. Here they are.

  • The main server is not tied (by default) to any ipv4root. So if the main server has already some service running they are probably binding some UDP or TCP ports using the address Once a process has bound a service with the address (see the LISTEN lines when executing the "netstat -a" command), no other process can bind the same port, even with a specific address.

    The solution is to start the services of the main server using the chbind utility to trap them in one ipv4root. For example

    /sbin/chbind --ip eth0 /etc/rc.d/init.d/httpd start

    Assigning on IP to a service

    will limit Apache to the IP address of the eth0 interface. without configuration changes (in httpd.conf). It is probably a good idea to start the following services in the main server this way, because they will be run by virtual servers as well.

    • httpd
    • sshd
    • xinetd

    To ease this, the vserver package supplies the following services: v_httpd, v_sshd, v_smb and v_xinetd. Disable the corresponding services and enable the v_ services and you will lock those services on a single IP.

  • Cleanup rc.local. This is probably not doing anything useful.

Top Content Up

Table of content
One big HTML document