OpenVZ Forum


Home » General » Support » Debian 8 install hangs; config and/or dialog? (I guess it needs input on config and/or dialog?)
Debian 8 install hangs; config and/or dialog? [message #52983] Fri, 15 September 2017 06:51 Go to next message
HHawk is currently offline  HHawk
Messages: 8
Registered: September 2017
Location: Europe
Junior Member
From: *cm-5-3c.dynamic.ziggo.nl
Hi guys,

I have a question, hopefully someone can answer it.

I am no expert on this, but I do hope someone can provide an answer or maybe a solution.
I downloaded the OpenVZ template for Debian 8 (debian-8.0-x86_64.tar.gz) and it installs, however I noticed after an hour it was still not continuing.

After checking, I noticed the following:

root     15893 15099  1 16:49 pts/0    00:00:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/postfix.postinst abort-upgrade 2.11.3-1+deb8u2
root     15899 15893  0 16:49 pts/0    00:00:00 /usr/bin/perl -w /var/lib/dpkg/info/postfix.config configure 2.11.3-1+deb8u2
root     15903 15893  0 16:49 pts/0    00:00:00 dialog --backtitle Package configuration --title Postfix Configuration --output-fd 11 --textbox /tmp/komSLPJRxE 21 77


I killed those processes and it continued. Later on it was hanging again (or at least I thought so) and I saw the following processes:

6429 root      20   0   20852   3600   2088 S   0.0  0.0   0:00.01 postfix.config
6433 root      20   0   14252   1508   1080 S   0.0  0.0   0:00.00 dialog


I also killed those processes and installation was finished a few minutes later (without any other processes hanging).

Is there a way to avoid this by any chance? I checked the created container, but it had no issues. Everything was running except postfix.
I started the service postfix without problems.

root@ns1:/# service postfix status
● postfix.service - LSB: Postfix Mail Transport Agent
   Loaded: loaded (/etc/init.d/postfix)
  Drop-In: /run/systemd/generator/postfix.service.d
           └─50-postfix-$mail-transport-agent.conf
   Active: active (running) since Thu 2017-09-14 16:54:20 CEST; 15h ago
  Process: 7433 ExecStart=/etc/init.d/postfix start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/postfix.service
           ├─ 7539 /usr/lib/postfix/master
           ├─ 7541 qmgr -l -t unix -u
           ├─ 7544 tlsmgr -l -t unix -u -c
           ├─ 7545 anvil -l -t unix -u -c
           ├─23537 pickup -l -t unix -u -c
           ├─24175 smtpd -n smtp -t inet -u -c -o stress= -s 2
           └─24176 proxymap -t unix -u


Now, I am by no means an expert with OpenVZ (our previous technician/developer passed away) so I am trying to learn as good as I can.
So, is there a way to avoid this during new creation of containers?

Sidenote; I just discovered when I wanted to install 'mc' (with apt-get install mc) that I was presented with a screen with "Postfix Configuration". I think this is the same screen the installation hangs on when creating the container? I now select the option "No configuration" and that's it.

So is there a way to avoid the "dialog setup" screen for this? So it will select no configuration by default?

Sorry for asking stupid questions, but I don't think killing those processes is the correct way. Wink

Thanks in advance for your time.
Re: Debian 8 install hangs; config and/or dialog? [message #52984 is a reply to message #52983] Fri, 15 September 2017 08:50 Go to previous message
HHawk is currently offline  HHawk
Messages: 8
Registered: September 2017
Location: Europe
Junior Member
From: *cm-5-3c.dynamic.ziggo.nl
Never mind my stupid question. I managed to avoid it by using the following:

vzctl exec $VEID 'debconf-set-selections <<< "postfix postfix/main_mailer_type string No configuration"'


Maybe this will help another big noob like myself Smile
Previous Topic: pcompact can't see additional disks
Next Topic: OOM Killer strange behavior
Goto Forum:
  


Current Time: Mon Dec 18 01:26:15 GMT 2017