Ik probeer Covide te installeren aan de hand het bijgeleverde script, maar bijna op het einde krijg ik een foutmelding van beagle... Als basis draai ik een Ubuntu server 8.04. In de handleiding spreken ze van een 'schone installatie'. Een nieuwe installatie enkel met ssh of ssh + lamp, geen verschil in resultaat.
Nu al een poging of 10 verder lukt het me niet om dit werkende te krijgen.
Weet er iemand wat er fout loopt? Of heet er iemand tips?
Ik ken wel iets van Linux, maar een super specialist ben ik niet...
Script dat ik wil uitvoeren:
Om het via het script te installeren moet je het volgende doen vanaf het begin(dus na de installatie van de schone server)
Code:
sudo -s
wget http://downloads.sourcefo...ovide-installer-2.3.2.tgz
tar xzf covide-installer-2.3.2.tgz
cd covide-installer-2.3.2
chmod +x install_complete.sh
sh install_complete.sh
Na de installatie van alle afhankelijkheden
sudo nano /var/www/covide/conf/offices.php
Verwijder -e op de eerste regel.
Sla het dan op.
mysql -u root -p
CREATE DATABASE covide;
CREATE USER 'covide'@'localhost' IDENTIFIED BY 'covide';
CREATE USER 'covide'@'%' IDENTIFIED BY 'covide';
GRANT ALL PRIVILEGES ON covide.* TO 'covide'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON covide.* TO 'covide'@'%' WITH GRANT OPTION;
USE covide
SOURCE /var/www/covide/sql/mysql/covide_install.sql
Dit is de foutmelding dat ik krijg:
Executing generate_beagle_config.sh...
Stopping beagle...
ERROR: The Beagle daemon does not appear to be running
Removing old config files...
Creating /var/www/.wapi ...
mkdir: cannot create directory `/var/www/.wapi': No such file or directory
chown: cannot access `/var/www/.wapi': No such file or directory
chmod: cannot access `/var/www/.wapi': No such file or directory
Installing template config files...
Updating permissions on /var/covide_files...
Installing beagle config files in /var/covide_files ...
Installing beagle config files in /etc/beagle ...
Installing beagle start/stop script in /etc/init.d ...
Settings permissions on config files...
Adding beagle to startup scripts...
Adding system startup for /etc/init.d/beagle ...
/etc/rc0.d/K20beagle -> ../init.d/beagle
/etc/rc1.d/K20beagle -> ../init.d/beagle
/etc/rc6.d/K20beagle -> ../init.d/beagle
/etc/rc2.d/S20beagle -> ../init.d/beagle
/etc/rc3.d/S20beagle -> ../init.d/beagle
/etc/rc4.d/S20beagle -> ../init.d/beagle
/etc/rc5.d/S20beagle -> ../init.d/beagle
Starting beagle...
Starting beagle indexing...
** (/usr/lib/beagle/BeagleDaemon.exe:19934): CRITICAL **: _wapi_shm_file_open: shared file [/var/www/.wapi/shared_data-cms-Linux-i686-312-11-0] open error: No such file or directory
** (/usr/lib/beagle/BeagleDaemon.exe:19934): CRITICAL **: _wapi_shm_attach: shared file [/var/www/.wapi/shared_data-cms-Linux-i686-312-11-0] open error
** ERROR **: file shared.c: line 346 (shm_semaphores_init): assertion failed: (tmp_shared != NULL)
aborting...
** (process:19934): WARNING (recursed) **: Thread (nil) may have been prematurely finalized
Stacktrace:
** (process:19934): WARNING (recursed) **: Thread (nil) may have been prematurely finalized
** (process:19934): WARNING (recursed) **: Thread (nil) may have been prematurely finalized
Native stacktrace:
beagled [0x817f8a6]
[0xb7f17440]
/lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb7d0ca01]
/usr/lib/libglib-2.0.so.0(g_logv+0x454) [0xb7eae0b4]
/usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7eae0e9]
/usr/lib/libglib-2.0.so.0(g_assert_warning+0x77) [0xb7eae167]
beagled [0x811ae92]
beagled [0x8114d7b]
beagled(mono_once+0x83) [0x811b233]
beagled [0x8114adc]
beagled [0x811c0b2]
beagled [0x80b8e2f]
beagled(mono_runtime_init+0x26) [0x80c7306]
beagled [0x81432ef]
beagled(mono_main+0x415) [0x8059275]
beagled [0x8058972]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7cf6450]
beagled [0x80588c1]
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
/usr/bin/beagled: line 115: 19934 Aborted exec -a $PROCESS_NAME $CMDLINE
Beagle Daemon exited with errors. See ~/.beagle/Log/current-Beagle for more details.
.
.
Beagle install finished. Do not forget to run generate_beagle_config.sh after every new Covide install.
[: 528: ==: unexpected operator
[: 528: ==: unexpected operator
Setting up environment...[: 528: ==: unexpected operator
[: 528: ==: unexpected operator
done.
Checking out sources from subversion...covide_install.sh: 528: svn: not found
done.
Setting permissions on various directories...chown: cannot access `/var/www/covide/tmp/': No such file or directory
chown: cannot access `/var/www/covide/tmp_cms/': No such file or directory
chown: cannot access `/var/www/covide/classes/funambol/plug-ins/': No such file or directory
chown: cannot access `/var/www/covide/classes/chat/inc/data/': No such file or directory
mkdir: cannot create directory `/var/covide_files': File exists
done.
[: 528: ==: unexpected operator
Creating database and setting permissions...[: 528: ==: unexpected operator
covide_install.sh: 528: mysql: not found
[: 528: ==: unexpected operator
covide_install.sh: 528: mysql: not found
done.
Reading default installer tables and data...[: 528: ==: unexpected operator
covide_install.sh: 528: cannot open /var/www/covide/sql/mysql/covide_install.sql: No such file
covide_install.sh: 528: mysql: not found
done.
Applying upstream patches to the databas...
covide_install.sh: 528: mysql: not found
[: 528: ==: unexpected operator
[: 528: ==: unexpected operator
[: 528: ==: unexpected operator
ls: cannot access /var/www/covide/sql/mysql/patches/*.sql: No such file or directory
done.
Setting covide users and passwords...[: 528: ==: unexpected operator
covide_install.sh: 528: mysql: not found
[: 528: ==: unexpected operator
covide_install.sh: 528: mysql: not found
done.
covide_install.sh: 528: cannot create /var/www/covide/conf/offices.php: Directory nonexistent
[: 528: ==: unexpected operator
.
.
Setup finished.
Nu al een poging of 10 verder lukt het me niet om dit werkende te krijgen.
Weet er iemand wat er fout loopt? Of heet er iemand tips?
Ik ken wel iets van Linux, maar een super specialist ben ik niet...
Script dat ik wil uitvoeren:
Om het via het script te installeren moet je het volgende doen vanaf het begin(dus na de installatie van de schone server)
Code:
sudo -s
wget http://downloads.sourcefo...ovide-installer-2.3.2.tgz
tar xzf covide-installer-2.3.2.tgz
cd covide-installer-2.3.2
chmod +x install_complete.sh
sh install_complete.sh
Na de installatie van alle afhankelijkheden
sudo nano /var/www/covide/conf/offices.php
Verwijder -e op de eerste regel.
Sla het dan op.
mysql -u root -p
CREATE DATABASE covide;
CREATE USER 'covide'@'localhost' IDENTIFIED BY 'covide';
CREATE USER 'covide'@'%' IDENTIFIED BY 'covide';
GRANT ALL PRIVILEGES ON covide.* TO 'covide'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON covide.* TO 'covide'@'%' WITH GRANT OPTION;
USE covide
SOURCE /var/www/covide/sql/mysql/covide_install.sql
Dit is de foutmelding dat ik krijg:
Executing generate_beagle_config.sh...
Stopping beagle...
ERROR: The Beagle daemon does not appear to be running
Removing old config files...
Creating /var/www/.wapi ...
mkdir: cannot create directory `/var/www/.wapi': No such file or directory
chown: cannot access `/var/www/.wapi': No such file or directory
chmod: cannot access `/var/www/.wapi': No such file or directory
Installing template config files...
Updating permissions on /var/covide_files...
Installing beagle config files in /var/covide_files ...
Installing beagle config files in /etc/beagle ...
Installing beagle start/stop script in /etc/init.d ...
Settings permissions on config files...
Adding beagle to startup scripts...
Adding system startup for /etc/init.d/beagle ...
/etc/rc0.d/K20beagle -> ../init.d/beagle
/etc/rc1.d/K20beagle -> ../init.d/beagle
/etc/rc6.d/K20beagle -> ../init.d/beagle
/etc/rc2.d/S20beagle -> ../init.d/beagle
/etc/rc3.d/S20beagle -> ../init.d/beagle
/etc/rc4.d/S20beagle -> ../init.d/beagle
/etc/rc5.d/S20beagle -> ../init.d/beagle
Starting beagle...
Starting beagle indexing...
** (/usr/lib/beagle/BeagleDaemon.exe:19934): CRITICAL **: _wapi_shm_file_open: shared file [/var/www/.wapi/shared_data-cms-Linux-i686-312-11-0] open error: No such file or directory
** (/usr/lib/beagle/BeagleDaemon.exe:19934): CRITICAL **: _wapi_shm_attach: shared file [/var/www/.wapi/shared_data-cms-Linux-i686-312-11-0] open error
** ERROR **: file shared.c: line 346 (shm_semaphores_init): assertion failed: (tmp_shared != NULL)
aborting...
** (process:19934): WARNING (recursed) **: Thread (nil) may have been prematurely finalized
Stacktrace:
** (process:19934): WARNING (recursed) **: Thread (nil) may have been prematurely finalized
** (process:19934): WARNING (recursed) **: Thread (nil) may have been prematurely finalized
Native stacktrace:
beagled [0x817f8a6]
[0xb7f17440]
/lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb7d0ca01]
/usr/lib/libglib-2.0.so.0(g_logv+0x454) [0xb7eae0b4]
/usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7eae0e9]
/usr/lib/libglib-2.0.so.0(g_assert_warning+0x77) [0xb7eae167]
beagled [0x811ae92]
beagled [0x8114d7b]
beagled(mono_once+0x83) [0x811b233]
beagled [0x8114adc]
beagled [0x811c0b2]
beagled [0x80b8e2f]
beagled(mono_runtime_init+0x26) [0x80c7306]
beagled [0x81432ef]
beagled(mono_main+0x415) [0x8059275]
beagled [0x8058972]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7cf6450]
beagled [0x80588c1]
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
/usr/bin/beagled: line 115: 19934 Aborted exec -a $PROCESS_NAME $CMDLINE
Beagle Daemon exited with errors. See ~/.beagle/Log/current-Beagle for more details.
.
.
Beagle install finished. Do not forget to run generate_beagle_config.sh after every new Covide install.
[: 528: ==: unexpected operator
[: 528: ==: unexpected operator
Setting up environment...[: 528: ==: unexpected operator
[: 528: ==: unexpected operator
done.
Checking out sources from subversion...covide_install.sh: 528: svn: not found
done.
Setting permissions on various directories...chown: cannot access `/var/www/covide/tmp/': No such file or directory
chown: cannot access `/var/www/covide/tmp_cms/': No such file or directory
chown: cannot access `/var/www/covide/classes/funambol/plug-ins/': No such file or directory
chown: cannot access `/var/www/covide/classes/chat/inc/data/': No such file or directory
mkdir: cannot create directory `/var/covide_files': File exists
done.
[: 528: ==: unexpected operator
Creating database and setting permissions...[: 528: ==: unexpected operator
covide_install.sh: 528: mysql: not found
[: 528: ==: unexpected operator
covide_install.sh: 528: mysql: not found
done.
Reading default installer tables and data...[: 528: ==: unexpected operator
covide_install.sh: 528: cannot open /var/www/covide/sql/mysql/covide_install.sql: No such file
covide_install.sh: 528: mysql: not found
done.
Applying upstream patches to the databas...
covide_install.sh: 528: mysql: not found
[: 528: ==: unexpected operator
[: 528: ==: unexpected operator
[: 528: ==: unexpected operator
ls: cannot access /var/www/covide/sql/mysql/patches/*.sql: No such file or directory
done.
Setting covide users and passwords...[: 528: ==: unexpected operator
covide_install.sh: 528: mysql: not found
[: 528: ==: unexpected operator
covide_install.sh: 528: mysql: not found
done.
covide_install.sh: 528: cannot create /var/www/covide/conf/offices.php: Directory nonexistent
[: 528: ==: unexpected operator
.
.
Setup finished.