Page 1 of 1

4.0.3 new installer

PostPosted: Fri Feb 15, 2013 10:59 am
by Polareious
Greetings to All! I am setting up a new cluster of beautiful servers (migrating from 9 servers to 4 beasts hehe) so upon this new hardware I decided to download the latest and greatest vicibox installer (4.0.3 standard) and give er a whirl! Upon install on multiple servers, I noticed a constant issue involving crontab not loading and suse firewall custom scripts (picture below)
32/64 bit standard install for 4.0.3 on 3 different Dell servers (<32-bit>2650/<64-bit>2950/<64-bit>R900) all give me this script issue:
Image
and still does not install crontab >> after master MySql setup, it states "/tmp/rootcron":44: premature EOF
errors in crontab file, cant' install...
I am re-installing again with failsafe install this time (to test to see if something in the initial OS install screwed up) I will repost specs once the initial DB installs!


>> DB finished installing as I was writing this and still issue with crontab and issue with firewall LSB tags/overrides

Re: 4.0.3 new installer

PostPosted: Fri Feb 15, 2013 11:09 am
by Polareious
Image

Re: 4.0.3 new installer

PostPosted: Sat Feb 16, 2013 3:27 pm
by williamconley
verify your .iso image with the .MD5 file. verify your CD image with the option to do so with your cd burner.

Re: 4.0.3 new installer

PostPosted: Wed Feb 27, 2013 5:07 pm
by vijaydxb
Hi,
I am also getting the same error while installing the 4.0.3 version (64). My iso file and the CD matching the MD5 file.
Regards..
Vijay,

Re: 4.0.3 new installer

PostPosted: Wed Feb 27, 2013 8:50 pm
by williamconley
Can you post your partitioning? Perhaps you created a partition incorrectly and the system just ran out of space?

Otherwise, I'd have to see it to find out what the problem is (unlikely unless you have a remote kvm card in the server). Or Kumba (who created the .iso ..) may have some insight.

Re: 4.0.3 new installer

PostPosted: Wed Feb 27, 2013 11:44 pm
by vijaydxb
I am not manually creating the partition using the system default partition . Please find the details below

┌System View────────────────────────────────┐Available Storage on AE25DXBUC1
│─┬─AE25DXBUC1 │┌───────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ├+─Hard Disks ││Device │ Size│F│Enc│Type │FS Type│Label│Mount Point │
│ ├──RAID ││/dev/sda │67.99 GB│ │ │Dell-VIRTUAL DISK│ │ │ │
│ ├──Volume Management ││/dev/sda1│ 4.01 GB│ │ │Linux swap │Swap │ │swap │
│ ├──Crypt Files ││/dev/sda2│63.98 GB│ │ │Linux native │Ext4 │ │/ │
│ ├──Device Mapper ││tmpfs │ 7.85 GB│ │ │TMPFS │TmpFS │ │/dev/shm │
│ ├──NFS ││tmpfs │ 7.85 GB│ │ │TMPFS │TmpFS │ │/run │
│ ├──BTRFS ││tmpfs │ 7.85 GB│ │ │TMPFS │TmpFS │ │/sys/fs/cgroup │
│ ├──TMPFS ││tmpfs │ 7.85 GB│ │ │TMPFS │TmpFS │ │/media │
│ └──Unused Devices ││tmpfs │ 7.85 GB│ │ │TMPFS │TmpFS │ │/var/run │
│───Installation Summary ││tmpfs │ 7.85 GB│ │ │TMPFS │TmpFS │ │/var/lock │
│───Settings ││ │
│───Log ││ │
│ ││

Regards..
Vijay.

Re: 4.0.3 new installer

PostPosted: Thu Feb 28, 2013 10:12 am
by williamconley
I'm assuming you designed the partition schema.

Try it again without the "specialness". Crypt files and RAID could well be confusing the system. use the Recommended method of a stock Linux hard drive and see if that does the trick. one large partition (missing a chunk for the swap drive only, although having another small chunk for the boot partition is also fairly standard).

Not sayin' that's it, but it's very possible that there is something unusual about your partitioning and it's actually crashing the system.

Before trying another installer, I would definitely try it without the RAID, just to be sure.

Re: 4.0.3 new installer

PostPosted: Thu Mar 07, 2013 1:57 pm
by tarundas
Having exactly the same problem. Tried 4.0.3 64 bit preload and iso on three different core i 5 machines with single SATA drive. Was trying a cluster installtion. Tomorrow I will try 32 bit version of it in another pc.

Re: 4.0.3 new installer

PostPosted: Thu Mar 07, 2013 5:45 pm
by williamconley
What about your partitioning? Did you use the recommended or "design your own"?

Re: 4.0.3 new installer

PostPosted: Thu Mar 07, 2013 6:04 pm
by tarundas
Thank you William. Just a fresh installation on brand new hard disks using recommended partitions "Create swap volume /dev/sda1" and "Create root volume /dev/sda2". Used Partition Logic to erase the partitions and data from hard disks for re-installation when first one failed because "dd if=/dev/zero of=/dev/sda bs=512" is hell of a command. You never know how long it will take. Getting same error on every installations on every machine.

Re: 4.0.3 new installer

PostPosted: Thu Mar 07, 2013 7:31 pm
by williamconley
Hm. We have not done any installs today but we've installed with Vicibox 4.0.3 many times with no problems. Have you MD5 verified the .iso image before burn and again after burn (MD5 check the CD ...)?

Re: 4.0.3 new installer

PostPosted: Fri Mar 22, 2013 3:46 pm
by vijaydxb
Hi,
I have noticed that the error message “/tmp/rootcron":44: premature EOF “ while selecting the database only installation and not getting the error when I select the all in one (database + Web+ Telephony ) installation.
Regards..
Vijay.

Re: 4.0.3 new installer

PostPosted: Fri Mar 22, 2013 5:34 pm
by williamconley
would be better if you posted the installation summary screen of good vs bad so this could be replicated on a test box by kumba.

Re: 4.0.3 new installer

PostPosted: Sat Mar 23, 2013 5:44 am
by vijaydxb
Thanks williamconley,

I am using the same CD and the same hardware for the both installations. My installation procedure are as below

Os-install
zypper refresh && zypper up
Reboot
vicibox-install

DB only installation (Error)

Code: Select all
---  ViciBox v.4.0 Install Summary  ---

Expert   : No
Legacy   : No
Database : Yes
Web      : No
Telephony: No
Archive  : No
Firewall : Disabled

---  Configuration Information  ---
-  Database  -
SVN Rev  : 1943
IP Addr  : 192.168.1.102
Name     : asterisk
User     : cron
Password : 1234
Cust User: custom
Cust Pass: custom1234
Port     : 3306


Please verify the above information before continuing!
Do you want to continue the installation? [y/N] : y


Beginning installation, expect lots of output...

Disabling firewall...
insserv: warning: script 'suse_studio_custom' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `suse_studio_custom'
insserv: warning: script 'suse_studio_custom' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `suse_studio_custom'
SuSEfirewall2: Firewall rules unloaded.

Updating to SVN revision 1943...
U    /usr/src/astguiclient/trunk/agi/agi-VDAD_ALL_outbound.agi
U    /usr/src/astguiclient/trunk/agi/VD_amd.agi
U    /usr/src/astguiclient/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.6.txt
U    /usr/src/astguiclient/trunk/www/vicidial/admin_email_accounts.php
U    /usr/src/astguiclient/trunk/www/vicidial/admin_header.php
A    /usr/src/astguiclient/trunk/www/vicidial/AST_email_log_display.php
U    /usr/src/astguiclient/trunk/www/vicidial/admin.php
U    /usr/src/astguiclient/trunk/www/vicidial/AST_timeonVDADall.php
U    /usr/src/astguiclient/trunk/www/vicidial/AST_inbound_daily_report.php
A    /usr/src/astguiclient/trunk/www/vicidial/AST_email_log_report.php
U    /usr/src/astguiclient/trunk/www/vicidial/AST_LISTS_campaign_stats.php
U    /usr/src/astguiclient/trunk/www/agc/vicidial.php
U    /usr/src/astguiclient/trunk/extras/upgrade_2.6.sql
U    /usr/src/astguiclient/trunk/extras/MySQL_AST_CREATE_tables.sql
U    /usr/src/astguiclient/trunk/UPGRADE
U    /usr/src/astguiclient/trunk/bin/ADMIN_keepalive_ALL.pl
U    /usr/src/astguiclient/trunk/bin/ADMIN_qm_sync.pl
U    /usr/src/astguiclient/trunk/bin/AST_VDhopper.pl
U    /usr/src/astguiclient/trunk/bin/AST_VDauto_dial.pl
U    /usr/src/astguiclient/trunk/bin/AST_VDsales_export_SFTP.pl
U    /usr/src/astguiclient/trunk/bin/AST_VDauto_dial_FILL.pl
U    /usr/src/astguiclient/trunk/bin/AST_VDremote_agents.pl
U    /usr/src/astguiclient/trunk/docs/VICIDIAL_statuses.txt
U    /usr/src/astguiclient/trunk/docs/conf_examples/logger.conf.sample
U    /usr/src/astguiclient/trunk/docs/conf_examples/extensions.conf.sample-1.8
Updated to revision 1943.
Doing general DataBase requirements...
Doing Master-specific MySQL setup...
"/tmp/rootcron":44: premature EOF
errors in crontab file, can't install.
Loading GMT and Phone Codes...


Full installation (Good)
Code: Select all
---  ViciBox v.4.0 Install Summary  ---

Expert   : No
Legacy   : No
Database : Yes
Web      : Yes
Telephony: Yes
Archive  : No
Firewall : Disabled

---  Configuration Information  ---
-  Database  -
SVN Rev  : 1943
IP Addr  : 192.168.1.102
Name     : asterisk
User     : cron
Password : 1234
Cust User: custom
Cust Pass: custom1234
Port     : 3306


Please verify the above information before continuing!
Do you want to continue the installation? [y/N] : y


Beginning installation, expect lots of output...

Disabling firewall...
insserv: warning: script 'suse_studio_custom' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `suse_studio_custom'
insserv: warning: script 'suse_studio_custom' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `suse_studio_custom'
SuSEfirewall2: Firewall rules unloaded.

Updating to SVN revision 1943...
U    /usr/src/astguiclient/trunk/agi/agi-VDAD_ALL_outbound.agi
U    /usr/src/astguiclient/trunk/agi/VD_amd.agi
U    /usr/src/astguiclient/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.6.txt
U    /usr/src/astguiclient/trunk/www/vicidial/admin_email_accounts.php
U    /usr/src/astguiclient/trunk/www/vicidial/admin_header.php
A    /usr/src/astguiclient/trunk/www/vicidial/AST_email_log_display.php
U    /usr/src/astguiclient/trunk/www/vicidial/admin.php
U    /usr/src/astguiclient/trunk/www/vicidial/AST_timeonVDADall.php
U    /usr/src/astguiclient/trunk/www/vicidial/AST_inbound_daily_report.php
A    /usr/src/astguiclient/trunk/www/vicidial/AST_email_log_report.php
U    /usr/src/astguiclient/trunk/www/vicidial/AST_LISTS_campaign_stats.php
U    /usr/src/astguiclient/trunk/www/agc/vicidial.php
U    /usr/src/astguiclient/trunk/extras/upgrade_2.6.sql
U    /usr/src/astguiclient/trunk/extras/MySQL_AST_CREATE_tables.sql
U    /usr/src/astguiclient/trunk/UPGRADE
U    /usr/src/astguiclient/trunk/bin/ADMIN_keepalive_ALL.pl
U    /usr/src/astguiclient/trunk/bin/ADMIN_qm_sync.pl
U    /usr/src/astguiclient/trunk/bin/AST_VDhopper.pl
U    /usr/src/astguiclient/trunk/bin/AST_VDauto_dial.pl
U    /usr/src/astguiclient/trunk/bin/AST_VDsales_export_SFTP.pl
U    /usr/src/astguiclient/trunk/bin/AST_VDauto_dial_FILL.pl
U    /usr/src/astguiclient/trunk/bin/AST_VDremote_agents.pl
U    /usr/src/astguiclient/trunk/docs/VICIDIAL_statuses.txt
U    /usr/src/astguiclient/trunk/docs/conf_examples/logger.conf.sample
U    /usr/src/astguiclient/trunk/docs/conf_examples/extensions.conf.sample-1.8
Updated to revision 1943.
Doing general DataBase requirements...
Doing Master-specific MySQL setup...
Configuring Web Server...
Configuring Telephony Server...
Loading GMT and Phone Codes...

Seeding the audio store, this may take a while...




Regards...
Vijay.

Re: 4.0.3 new installer

PostPosted: Sat Mar 23, 2013 8:33 am
by williamconley
it may also be helpful if you posted the actual error including a few lines before and after. and perhaps kumba can then reproduce this error to see what causes it.

Re: 4.0.3 new installer

PostPosted: Sat Mar 23, 2013 2:39 pm
by vijaydxb
Hi Williamconley,
Please find the below details

Updated to revision 1943.
Doing general DataBase requirements...
Doing Master-specific MySQL setup...
"/tmp/rootcron":44: premature EOF
errors in crontab file, can't install.
Loading GMT and Phone Codes...


Regards..
Vijay

Re: 4.0.3 new installer

PostPosted: Sat Mar 23, 2013 5:06 pm
by williamconley
i had not noticed earlier but this was in "support" instead of vicibox. moved! :) Now maybe Kumba will bump into it.

Re: 4.0.3 new installer

PostPosted: Thu Mar 28, 2013 1:33 pm
by Kumba
To correct your issue for the database you can do the following:

To load the database crontab do the following:
1) Login as root
2) cat /usr/src/astguiclient/conf/allcron > /tmp/rootcron
3) cat /usr/src/astguiclient/conf/dbcron >> /tmp/rootcron
4) echo "" >> /tmp/rootcron
5) crontab /tmp/rootcron

That will load the database crontab for the primary database server.

The second issue is that it seesm SuSE Studio has killed off OpenSuSE v.12.1. They used to keep the current maintained versions of OpenSuSE going but it seems they are only doing the last two. Since 12.2 has issues with CLI and Plymouth that means I am now working on ViciBox v.5.0 with OpenSuSE v.12.3. I'll have a posting about it shortly, but some of the more noteworthy improvement looks like a move to Asterisk v.1.8.

Re: 4.0.3 new installer

PostPosted: Mon Apr 08, 2013 11:43 am
by vijaydxb
Thanks Kumba... It is working perfectly....We are eagerly waiting for ViciBox v.5.0.
Regards...
Vijay.

Re: 4.0.3 new installer

PostPosted: Thu Apr 11, 2013 1:42 pm
by vijaydxb
Hi Kumba,
I am getting the below error message while installing the slave DB

Updated to revision 1953.
Doing general DataBase requirements...
Doing Slave-specific MySQL setup...
/usr/bin/sed: -e expression #1, char 29: unterminated `s' command
Could not modify my.cnf for slave: 256 at /usr/local/bin/vicibox-install line 279, <STDIN> line 18.

Regards..
Vijay

Re: 4.0.3 new installer

PostPosted: Thu Apr 11, 2013 1:49 pm
by williamconley
vijaydxb wrote:Hi Kumba,
I am getting the below error message while installing the slave DB

Updated to revision 1953.
Doing general DataBase requirements...
Doing Slave-specific MySQL setup...
/usr/bin/sed: -e expression #1, char 29: unterminated `s' command
Could not modify my.cnf for slave: 256 at /usr/local/bin/vicibox-install line 279, <STDIN> line 18.

Regards..
Vijay

you should post the offending line from the offending script. it may be a hint :)

Re: 4.0.3 new installer

PostPosted: Tue May 21, 2013 7:34 am
by bghayad
The second issue is that it seesm SuSE Studio has killed off OpenSuSE v.12.1. They used to keep the current maintained versions of OpenSuSE going but it seems they are only doing the last two. Since 12.2 has issues with CLI and Plymouth that means I am now working on ViciBox v.5.0 with OpenSuSE v.12.3. I'll have a posting about it shortly, but some of the more noteworthy improvement looks like a move to Asterisk v.1.8.


* Does it means the warning that is related to the LSB is normal thing and I should not worry about it?

During the installation, I got:

insserv: warning: script 'suse_studio_custom' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script 'suse_studio_custom'


And while the machine is booting, I am getting:

Failed to start LSB: vicidial call center suit

I am afraid that it is a real problem and requires to be fixed, otherwise I will face a future problems when moving live.

Thanks for the help in advance.
Regards
Bilal

Re: 4.0.3 new installer

PostPosted: Wed May 22, 2013 12:46 pm
by Kumba
That is a typical error involving the way SuSE Studio was written. You can safely ignore the errors about the missing LSB tags.