OpenVz Guest bind9 install fail

Discussion in 'Installation/Configuration' started by planet_fox, Jan 5, 2012.

  1. planet_fox

    planet_fox New Member

    On the install of a OpenVz Debian Server Guest I become this error

    Code:
    root@neo:/# apt-get install bind9
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Suggested packages:
      dnsutils bind9-doc resolvconf ufw
    The following NEW packages will be installed:
      bind9
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/355 kB of archives.
    After this operation, 983 kB of additional disk space will be used.
    FATAL -> Failed to fork.
    debconf: apt-extracttemplates failed: Bad file descriptor
    Selecting previously deselected package bind9.
    (Reading database ... 30226 files and directories currently installed.)
    Unpacking bind9 (from .../bind9_1%3a9.7.3.dfsg-1~squeeze4_amd64.deb) ...
    Processing triggers for man-db ...
    Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 33.
    Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 48.
    open2: fork failed: Cannot allocate memory at /usr/share/perl5/Debconf/ConfModule.pm line 59
    dpkg: error processing man-db (--unpack):
     subprocess installed post-installation script returned error exit status 12
    configured to not write apport reports
                                          Errors were encountered while processing:
     man-db
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    beancounters

    Code:
    root@neo:/# cat /proc/user_beancounters
    Version: 2.5
           uid  resource                     held              maxheld              barrier                limit              failcnt
          101:  kmemsize                  9664195             11050718  9223372036854775807  9223372036854775807                    0
                lockedpages                     0                    0              2560000              2560000                    0
                privvmpages                 53382                66627                65536                69632                   17
                shmpages                      438                  438                21504                21504                    0
                dummy                           0                    0                    0                    0                    0
                numproc                        38                   43                 1024                 1024                    0
                physpages                   21013                41855                    0  9223372036854775807                    0
                vmguarpages                     0                    0  9223372036854775807  9223372036854775807                    0
                oomguarpages                21013                41855              3072000  9223372036854775807                    0
                numtcpsock                     10                   10  9223372036854775807  9223372036854775807                    0
                numflock                        5                   10  9223372036854775807  9223372036854775807                    0
                numpty                          1                    2                  255                  255                    0
                numsiginfo                      1                    2                 1024                 1024                    0
                tcpsndbuf                  174400                    0  9223372036854775807  9223372036854775807                    0
                tcprcvbuf                  163840                96056  9223372036854775807  9223372036854775807                    0
                othersockbuf               224264               232720  9223372036854775807  9223372036854775807                    0
                dgramrcvbuf                     0                 2312  9223372036854775807  9223372036854775807                    0
                numothersock                  158                  161  9223372036854775807  9223372036854775807                    0
                dcachesize                 446680               492789  9223372036854775807  9223372036854775807                    0
                numfile                      1117                 1247  9223372036854775807  9223372036854775807                    0
                dummy                           0                    0                    0                    0                    0
                dummy                           0                    0                    0                    0                    0
                dummy                           0                    0                    0                    0                    0
                numiptent                      22                   22  9223372036854775807  9223372036854775807                    0
    Code:
    root@neo:/# free
                 total       used       free     shared    buffers     cached
    Mem:        262144     213632      48512          0          0          0
    -/+ buffers/cache:     213632      48512
    Swap:            0          0          0
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The privvmpages values of the vm is too low.
     
  3. planet_fox

    planet_fox New Member

    Ok, I have resolve ISPConfig running but Harddisk of Guest is have is to small

    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/simfs             99G  874M   93G   1% /
    tmpfs                 5.9G     0  5.9G   0% /lib/init/rw
    tmpfs                 5.9G     0  5.9G   0% /dev/shm
    
    When I set it with this command, It solve not the Problem

    Code:
    vzctl set 101 --diskspace 500G:600G --save
     
  4. planet_fox

    planet_fox New Member

    Ok Solve, I have forget the hostsystem haves 100G ^^ .
     

Share This Page