DAB Broken

apmuthu

Renowned Member
Feb 26, 2009
808
8
83
Chennai - India & Singapore
github.com
I keep getting the following error when I use make command.

Code:
illegal characters in name 'eyeOS'
dab init
illegal characters in name 'eyeOS'
make: *** [info/init_ok] Error 25

CPU Used: Intel Core2Duo
ProxMox v1.1

pveversion -v
pve-manager: 1.1-3 (pve-manager/1.1/3718)
qemu-server: 1.0-10
pve-kernel: 2.6.24-5
pve-kvm: 83-1
pve-firmware: 1
vncterm: 0.9-1
vzctl: 3.0.23-1pve1
vzdump: 1.1-1
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1dso1

DAB installed as per wiki instructions.

The following files were used by placing them in /var/lib/vz/templates/eyeos folder:

dab.conf
Code:
Suite: lenny
CacheDir: ../cache
#Source: [URL]http://ftp.debian.org/debian[/URL] SUITE main contrib
#Source: [URL]http://security.debian.org[/URL] SUITE updates/main updates/contrib 
#Mirror: [URL]http://ftp.debian.org/debian[/URL] => [URL]ftp://mirror/debian[/URL]
Architecture: i386
Name: eyeOS
Version: 1.8.0.4-1
Section: www
Maintainer: Ap.Muthu <[EMAIL="me@my.com"]me@my.com[/EMAIL]>
Infopage: [URL]http://pve.proxmox.com/wiki/eyeOS[/URL]
ManageUrl: [URL]http://__IPADDRESS__/[/URL]
Description: eyeOS Desktop
 eyeOS is the Cloud Computing Operating System.
 Work online -personally or collaboratively with your
 files, office, calendar, contacts and much more.
 Your data is safe and always available
 eyeOS is Free Software!

eyeos.conf
Code:
ServerAdmin webmaster@localhost
ServerSignature Off
ServerTokens Prod
<IfModule mpm_prefork_module>
    StartServers 2
    MinSpareServers 1 
    MaxSpareServers 2
    MaxClients          50
    MaxRequestsPerChild 100
</IfModule>
DocumentRoot /var/www/eyeos
<Directory />
        Options FollowSymLinks
        AllowOverride None
</Directory>
<Directory /var/www/eyeos>
        Options FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined

Makefile
Code:
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
# mkdir ${BASEDIR}/var/www/eyeos
 tar -xzf eyeOS_1.8.0.4.tar.gz -C ${BASEDIR}/var/www/
 mv ${BASEDIR}/var/www/eyeOS ${BASEDIR}/var/www/eyeos
# touch ${BASEDIR}/var/www/eyeos/settings.php
 find ${BASEDIR}/var/www/eyeos -type f -exec chmod 644 \{\} \;
 find ${BASEDIR}/var/www/eyeos -type d -exec chmod 755 \{\} \;
 dab exec chown -R www-data.www-data /var/www/eyeos
 install -m 0644 eyeos.conf ${BASEDIR}/etc/apache2/sites-available/eyeos
 dab exec a2enmod rewrite
 dab exec a2dissite default
 dab exec a2ensite eyeos
 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 *~

All Makefile lines using dab command use paths relative to the VM root, and all other normal linux commands must have the absolute path from the host machine root.
 
Last edited:
dab.conf
Code:
Suite: lenny
CacheDir: ../cache
#Source: [URL]http://ftp.debian.org/debian[/URL] SUITE main contrib
#Source: [URL="http://security.debian.org/"]http://security.debian.org[/URL] SUITE updates/main updates/contrib 
#Mirror: [URL]http://ftp.debian.org/debian[/URL] => [URL]ftp://mirror/debian[/URL]
Architecture: i386
Name: eyeos
Version: 1.8.0.4-1
Section: www
Maintainer: Ap.Muthu <[EMAIL="me@my.com"]me@my.com[/EMAIL]>
Infopage: [URL]http://pve.proxmox.com/wiki/eyeOS[/URL]
ManageUrl: [URL]http://__ipaddress__/[/URL]
Description: eyeos Desktop
 eyeOS is the Cloud Computing Operating System.
 Work online -personally or collaboratively with your
 files, office, calendar, contacts and much more.
 Your data is safe and always available
 eyeOS is Free Software!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!