Article ID: 119448, created on Jan 1, 2014, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo 6.0
  • Virtuozzo containers for Linux 4.7
  • Virtuozzo hypervisor

Symptoms

  1. A container starts with only 4 processes inside it:

    ~# vzps axflww -E 100100
    F   UID   PID  PPID PRI  NI   VSZ  RSS WCHAN  STAT TTY        TIME COMMAND
    1     0  4453     2  20   0     0    0 kthrea S    ?          0:00 [kthreadd/100100]
    1     0  4454  4453  20   0     0    0 worker S    ?          0:00  \_ [khelper/100100]
    4     0  4450     1  20   0 19236 1444 poll_s Ss   ?          0:00 init
    5     0  5043  4450  16  -4 10644  568 poll_s S<s  ?          0:00  \_ /sbin/udevd -d
    
  2. One of init scripts is modified, the output of the following command is not empty:

    ~# rpm -V initscripts | egrep '^..5|missing'
    

For Debian-based containers, check the corresponding article.

Cause

Initial run scripts contain commands to prepare the system for normal operation. If scripts are altered and some steps are removed, the environment becomes inoperable.

Resolution

Reinstall initscripts package in the container, either from the hardware node or in the container:

  • from the hardware node:

    ~# vzpkg install CTID -p initscripts -- --force
    

    (Replace CTID with the actual container's ID value.)

    NOTE: In order to reinstall the package, keep "-- --force" in the end of the command.

  • from the container:

    CT-100100-bash-4.1# rpm -qf /etc/rc.d/rc
    initscripts-9.03.40-2.el6.centos.x86_64
    CT-100100-bash-4.1# rpm -Uvh /root/initscripts-9.03.40-2.el6.centos.x86_64.rpm --force
    Preparing...
    ########################################### [100%]
       1:initscripts            ########################################### [100%]
    

    (The proper RPM package should be downloaded from the official repository, replace the path to the file with the actual file's location.)

Search Words

vzctl start

no process and interface after restart

reboot

4 processes

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f 0c05f0c76fec3dd785e9feafce1099a9 a26b38f94253cdfbf1028d72cf3a498b

Email subscription for changes to this article
Save as PDF