I tried to build the FrontAccounting Template again just now and it failed, though I was successfull two weeks ago - no changes in the Makefile, dab.conf and frontaccount.conf files used in building it.
Makefile:
When we run make, we get:
After a make clean, if we try to manually run the contents of the Makefile, we get:
The versions of the files in the system are:
On trying to remove the dab package, I get:
I am able to build the same template correctly on ProxMox v1.4.
Makefile:
Code:
# cat Makefile
BASEDIR:=$(shell dab basedir)
all: info/init_ok
dab bootstrap
dab task mysql --password admin
dab install apache2-mpm-prefork apache2
dab task php
sed -e 's/^\s*display_errors\s*=\s*On/display_errors = Off/' -i ${BASEDIR}/etc/php5/apache2/php.ini
dab install php5-mysql
dab install php5-curl
dab install zip unzip
# mkdir ${BASEDIR}/var/www/frontaccount
tar -xzf frontaccount-2.2.4.tar.gz -C ${BASEDIR}/var/www/
# touch ${BASEDIR}/var/www/frontaccount/configuration.php
find ${BASEDIR}/var/www/frontaccount -type f -exec chmod 644 \{\} \;
find ${BASEDIR}/var/www/frontaccount -type d -exec chmod 755 \{\} \;
dab exec chown -R www-data.www-data /var/www/frontaccount
install -m 0644 frontaccount.conf ${BASEDIR}/etc/apache2/sites-available/frontaccount
dab exec a2enmod rewrite
dab exec a2dissite default
dab exec a2ensite frontaccount
dab finalize
info/init_ok: dab.conf
dab init
touch $@
.PHONY: clean
clean:
dab clean
rm -f *~
.PHONY: dist-clean
dist-clean:
dab dist-clean
rm -f *~
When we run make, we get:
Code:
# make
allocated VE 90000
dab init
download: [URL]http://ftp.debian.org/debian/dists/lenny/Release[/URL]
download: [URL]http://ftp.debian.org/debian/dists/lenny/Release.gpg[/URL]
download: [URL]http://ftp.debian.org/debian/dists/lenny/main/binary-i386/Packages.gz[/URL]
download: [URL]http://ftp.debian.org/debian/dists/lenny/contrib/binary-i386/Packages.gz[/URL]
download: [URL]http://security.debian.org/dists/lenny/updates/Release[/URL]
download: [URL]http://security.debian.org/dists/lenny/updates/Release.gpg[/URL]
download: [URL]http://security.debian.org/dists/lenny/updates/main/binary-i386/Packages.gz[/URL]
download: [URL]http://security.debian.org/dists/lenny/updates/contrib/binary-i386/Packages.gz[/URL]
touch info/init_ok
dab bootstrap
initialize VE 90000
command 'vzctl mount 90000' failed with exit code 63
command 'vzctl mount 90000' failed with exit code 63
make: *** [all] Error 63
Code:
# dab bootstrap
allocated VE 90000
initialize VE 90000
command 'vzctl mount 90000' failed with exit code 63
command 'vzctl mount 90000' failed with exit code 63
Code:
# pveversion -v
pve-manager: 1.3-1 (pve-manager/1.3/4023)
qemu-server: 1.0-14
pve-kernel: 2.6.24-11
pve-kvm: 86-3
pve-firmware: 1
vncterm: 0.9-2
vzctl: 3.0.23-1pve3
vzdump: 1.1-2
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
Code:
dpkg: unrecoverable fatal error, aborting:
unable to fill /var/lib/dpkg/updates/tmp.i with padding: No space left on device
E: Sub-process /usr/bin/dpkg returned an error code (2)
Last edited: