Search

Language:  
Search for:

Available article translations:

Container doesn't start : bash: Segmentation fault

APPLIES TO:
  • Parallels Cloud Server
  • Parallels Virtuozzo Containers for Linux
  • Parallels Server

Symptoms

  1. Container does not start with segmentation faults from bash commands :

    ~# vzctl  start 102
    Starting the Container ...
    Container is mounted
    Setting permissions 20002 dev 0x7d00
    Adding offline management to Container(1): 4643
    Adding IP addresses: 82.97.15.169 82.97.15.168
    bash: line 502:     6 Segmentation fault      rm -f ${IFCFG_DIR}/${VENET_DEV_CFG} ${IFCFG_DIR}/${VENET_DEV_CFG}:* > /dev/null 2>&1
    bash: line 43:     8 Segmentation fault      ${CP} ${file} ${file}.$$
     ERROR: Can't copy file /etc/sysconfig/network
    Container is unmounted
    Failed to start the Container
    
  2. Some logs inside the container have been emptied :

    ~# vzctl mount 102
    
    ~# ls -la /vz/root/102/var/log/
    total 168
    drwxr-xr-x  5 root root   1460 juil. 14  2011 .
    drwxr-xr-x 19 root root   1576 juil. 14  2011 ..
    -rw-------  1 root utmp      0 juil. 14  2011 btmp
    drwx------  2 root root   4096 juil.  7  2011 httpd
    -rw-r--r--  1 root root 146000 juil. 14  2011 lastlog
    drwxr-xr-x  2 root root   4096 nov. 11  2010 mail
    -rw-------  1 root root      0 juil. 14  2011 maillog
    -rw-------  1 root root      0 juil. 14  2011 messages
    drwx------  3 root root   4096 juil. 14  2011 samba
    -rw-------  1 root root      0 juil. 14  2011 secure
    -rw-------  1 root root      0 juil. 14  2011 spooler
    -rw-------  1 root root      0 juil. 14  2011 tallylog
    -rw-rw-r--  1 root utmp      0 juil. 14  2011 wtmp
    
  3. Binaries have been replaced. This can be confirmed with #112599.

Cause

The container has been compromised.

Resolution

Restore that container from a backup.

If there are no backups for the container, reinstall it :

    ~# vzctl reinstall CTID

NOTE: All data will be moved to /old directory of reinstalled container

Search words:

container doesn't start

Can't copy file /etc/sysconfig/network

hacked

compromised

Failed to start the Container

Segmentation fault

Container is unmounted Failed to start the Container




ca05eaf5b843fbd53589c90d7228a6df 2897d76d56d2010f4e3a28f864d69223 909d99074e442b52ce54cc7b31cf065d eb0ea3b827d18de2329b6477e24c1d59 bf1c3a170005eae151f49ba2720abde9

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Desktop Virtualization
- Parallels Desktop 9 for Mac
- Parallels Transporter
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac Enterprise Edition
- Parallels Management-Mac for Microsoft SCCM
Server Virtualization
- Parallels Cloud Server
- Parallels Containers for Windows 6.0 Beta
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Value-added Services for Hosters
- Parallels Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification