Hi,
I was looking into the dab, but I am stuck on couple of issues here.
These are the steps that I have done.
First, I have downloaded following:
ftp://download.proxmox.com/sources/dab-pve-appliances_2009-01-19.tar.gz.
I have then unpacked it and cd to debian-5.0-minimal.
Then, I edited dab.conf, which is now:
* don't mind incorrect Infopage, will be created when the time comes.
Then I did:
- dab init
- dab bootstrap --minimal
- dab task mysql --password=somepass --start
- dab install pdns-server
And then it hangs.
If I enter VE 9000, I can see the following:
ps -ef
And in the dpkg.log:
But proces "dab install pdns-server" remains hanging. Ctrl+C will kill it, but I don't think that is how it shoud be done
I have also tried with:
- dab bootstrap
without minimal, thinking that maybe some dependency was not met, but no luck.
This is command line where it hangs:
And package list afterwards:
=====
My second question is:
I tried installing only mysql (dab task mysql). This goes fine. Once installed, I have done "dab exec ps -ef" and I can see MySQL proccess up & running.
After that I have done:
- dab finalize
- dab dist-clean
- make
This creates a new ostemplate (.tar.gz). I have then moved this template to the template directory of /vz/. I went to the web interface and created new OpenVZ VPS with newly created template. Creation went oke, and I started new VPS.
But, then if I enter that VPS, I can not find MySQL nowhere. No proccess, no init script, no binaries, no nothing regarding mysql
What am I doing wrong here? I thought that purpose of dab was to pre-create .tar.gz, so that when you create VPS with that ostemplate, that you will have all packages installed?
See above, in dab list - mysql-server mysql-client and mysql-common are present, butI can not find / use them once I install that template :S
=====
Last question for now.
I have provided info in dab.conf (description). However, in the web interface, in the Appliance templates, it says Description: --unknown--
Thanx
Cheers,
Aleks
I was looking into the dab, but I am stuck on couple of issues here.
These are the steps that I have done.
First, I have downloaded following:
ftp://download.proxmox.com/sources/dab-pve-appliances_2009-01-19.tar.gz.
I have then unpacked it and cd to debian-5.0-minimal.
Then, I edited dab.conf, which is now:
Code:
Suite: lenny
CacheDir: ../cache
Source: http://ftp.nl.debian.org/debian SUITE main contrib non-free
Source: http://security.debian.org SUITE/updates main contrib non-free
#Mirror: http://ftp.debian.org/debian => ftp://mirror/debian
Architecture: i386
Name: debian-powerdns
Version: 1.0
Section: system
Maintainer: MAS Coders <info@mascoders.nl>
Infopage: http://www.mascoders.nl/openvz
Description: Debian 5.0 (PowerDNS)
Minimal Debian 5.0 system with fully operational PowerDNS.
Then I did:
- dab init
- dab bootstrap --minimal
- dab task mysql --password=somepass --start
- dab install pdns-server
And then it hangs.
If I enter VE 9000, I can see the following:
ps -ef
Code:
[COLOR=Purple]UID PID PPID C STIME TTY TIME CMD
root 1 0 0 10:21 ? 00:00:00 /usr/bin/perl -w /sbin/init -z
root 6 1 0 10:21 ? 00:00:00 [init-logger]
root 12765 1 0 10:24 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe
mysql 12804 12765 0 10:24 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/r
root 12805 12765 0 10:24 ? 00:00:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
root 12889 0 0 10:24 ? 00:00:00 dpkg --force-depends --force-confold --install /pdns-server_2.9.21.2-1_i386.deb
root 12899 12889 0 10:24 ? 00:00:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/pdns-server.postinst configure
root 12902 12899 0 10:24 ? 00:00:00 /bin/sh /var/lib/dpkg/info/pdns-server.postinst configure
root 12913 12902 0 10:24 ? 00:00:00 adduser
root 12919 12913 0 10:24 ? 00:00:00 /usr/bin/chage -M 99999 pdns
root 12922 0 0 10:25 ? 00:00:00 vzctl: ttyp1
root 12923 12922 0 10:25 ttyp1 00:00:00 -bash
root 12941 12923 0 10:28 ttyp1 00:00:00 ps -ef
[/COLOR]
Code:
2009-02-21 10:24:52 startup archives install
2009-02-21 10:24:52 install pdns-server <none> 2.9.21.2-1
2009-02-21 10:24:52 status half-installed pdns-server 2.9.21.2-1
2009-02-21 10:24:52 status triggers-pending man-db 2.5.2-4
2009-02-21 10:24:52 status half-installed pdns-server 2.9.21.2-1
2009-02-21 10:24:52 status unpacked pdns-server 2.9.21.2-1
2009-02-21 10:24:52 status unpacked pdns-server 2.9.21.2-1
2009-02-21 10:24:52 configure pdns-server 2.9.21.2-1 2.9.21.2-1
2009-02-21 10:24:52 status unpacked pdns-server 2.9.21.2-1
2009-02-21 10:24:52 status unpacked pdns-server 2.9.21.2-1
2009-02-21 10:24:52 status unpacked pdns-server 2.9.21.2-1
2009-02-21 10:24:52 status half-configured pdns-server 2.9.21.2-1
I have also tried with:
- dab bootstrap
without minimal, thinking that maybe some dependency was not met, but no luck.
This is command line where it hangs:
Code:
nononsense:~/downloads/dab-pve-appliances_2009-01-19/debian-5.0-minimal# dab install pdns-server
install: pdns-server
interrupted by signal
nononsense:~/downloads/dab-pve-appliances_2009-01-19/debian-5.0-minimal#
Code:
adduser
apt
apt-utils
aptitude
at
base-files
base-passwd
bash
bash-completion
bc
bind9-host
bsd-mailx
bsdmainutils
bsdutils
coreutils
cpio
cpp
cpp-4.3
cron
dc
debconf
debconf-i18n
debian-archive-keyring
debian-faq
debianutils
defoma
dhcp3-client
dhcp3-common
dictionaries-common
diff
dmidecode
dnsutils
doc-debian
doc-linux-text
dpkg
e2fslibs
e2fsprogs
ed
file
findutils
fontconfig-config
ftp
gcc-4.2-base
gcc-4.3-base
gettext-base
gnupg
gpgv
grep
groff-base
gzip
hostname
iamerican
ibritish
ifupdown
info
initscripts
iproute
iptables
iputils-ping
ispell
less
libacl1
libattr1
libbind9-40
libblkid1
libbz2-1.0
libc6
libcap2
libcomerr2
libconsole
libcwidget3
libdb4.5
libdb4.6
libdbd-mysql-perl
libdbi-perl
libdevmapper1.02.1
libdns45
libdrm2
libedit2
libept0
libevent1
libexpat1
libfontconfig1
libfontenc1
libfreetype6
libfs6
libgc1c2
libgcc1
libgcrypt11
libgdbm3
libgl1-mesa-glx
libgmp3c2
libgnutls26
libgpg-error0
libgpm2
libgssglue1
libice6
libidn11
libisc45
libisccc40
libisccfg40
libkeyutils1
libkrb53
libldap-2.4-2
liblocale-gettext-perl
liblockfile1
liblwres40
libmagic1
libmpfr1ldbl
libmysqlclient15off
libncurses5
libncursesw5
libnet-daemon-perl
libnewt0.52
libnfsidmap2
libpam-modules
libpam-runtime
libpam0g
libpci3
libpcre3
libplrpc-perl
libpng12-0
libpopt0
libreadline5
librpcsecgss3
libsasl2-2
libselinux1
libsepol1
libsigc++-2.0-0c2a
libslang2
libsm6
libsqlite3-0
libss2
libssl0.9.8
libstdc++6
libtasn1-3
libtext-charwidth-perl
libtext-iconv-perl
libtext-wrapi18n-perl
libusb-0.1-4
libuuid1
libwrap0
libx11-6
libx11-data
libxapian15
libxau6
libxaw7
libxcb-xlib0
libxcb1
libxcursor1
libxdamage1
libxdmcp6
libxext6
libxfixes3
libxft2
libxi6
libxinerama1
libxkbfile1
libxml2
libxmu6
libxmuu1
libxpm4
libxrandr2
libxrender1
libxt6
libxtrap6
libxtst6
libxv1
libxxf86dga1
libxxf86misc1
libxxf86vm1
locales
login
logrotate
lsb-base
lsof
lzma
m4
makedev
man-db
manpages
mawk
mime-support
mktemp
mlocate
mount
mutt
mysql-client-5.0
mysql-common
mysql-server-5.0
nano
ncurses-base
ncurses-bin
ncurses-term
net-tools
netbase
netcat-traditional
openbsd-inetd
openssh-blacklist
openssh-client
openssh-server
openssl
openssl-blacklist
passwd
patch
perl
perl-base
perl-modules
portmap
postfix
procmail
procps
psmisc
python
python-central
python-minimal
python2.5
python2.5-minimal
readline-common
reportbug
rsyslog
sed
ssh
ssl-cert
sysv-rc
sysvinit
sysvinit-utils
tar
tasksel
tasksel-data
tcpd
telnet
texinfo
time
traceroute
ttf-dejavu
ttf-dejavu-core
ttf-dejavu-extra
tzdata
ucf
update-inetd
util-linux
vim-common
vim-tiny
w3m
wamerican
wget
whiptail
whois
x11-apps
x11-common
x11-session-utils
x11-utils
x11-xfs-utils
x11-xkb-utils
x11-xserver-utils
xauth
xbase-clients
xinit
zlib1g
My second question is:
I tried installing only mysql (dab task mysql). This goes fine. Once installed, I have done "dab exec ps -ef" and I can see MySQL proccess up & running.
After that I have done:
- dab finalize
- dab dist-clean
- make
This creates a new ostemplate (.tar.gz). I have then moved this template to the template directory of /vz/. I went to the web interface and created new OpenVZ VPS with newly created template. Creation went oke, and I started new VPS.
But, then if I enter that VPS, I can not find MySQL nowhere. No proccess, no init script, no binaries, no nothing regarding mysql
What am I doing wrong here? I thought that purpose of dab was to pre-create .tar.gz, so that when you create VPS with that ostemplate, that you will have all packages installed?
See above, in dab list - mysql-server mysql-client and mysql-common are present, butI can not find / use them once I install that template :S
=====
Last question for now.
I have provided info in dab.conf (description). However, in the web interface, in the Appliance templates, it says Description: --unknown--
Thanx
Cheers,
Aleks