scratch install vicidial on opensuse 11.1

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

scratch install vicidial on opensuse 11.1

Postby ruben23 » Wed Feb 17, 2010 4:53 pm

I just have couple of question..?

-Crontab -e and pasting all the cronjobs are not used on opensuse installation..?

-and also the installation of mysql im getting error running this procedure,

Code: Select all
/usr/bin/mysql --execute="create database asterisk default character set utf8 collate utf8_unicode_ci;"
      /usr/bin/mysql asterisk --execute="GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@'%' IDENTIFIED BY '1234';"
      /usr/bin/mysql asterisk --execute="GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@localhost IDENTIFIED BY '1234';"
      /usr/bin/mysql asterisk --execute="\. ./MySQL_AST_CREATE_tables.sql"
      /usr/bin/mysql asterisk --execute="\. ./first_server_install.sql"


can i follow the mysql database buildup on ubuntu procedure, its still the same right..?
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Need more feedback

Postby Kumba » Wed Feb 17, 2010 5:09 pm

Well, you have pasted the code I wrote. What is not pasted is the errors you are getting. I would also like the output of the following command:

uname -a


If you can provide me with more feedback I might be able to help you.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Postby ruben23 » Wed Feb 17, 2010 5:36 pm

@kumba, Thanks for the help.

uname -a

Code: Select all
Linux vici 2.6.27.42-0.1-pae #1 SMP 2010-01-06 16:07:25 +0100 i686 i686 i386 GNU/Linux


with the command for mysql its working now, i just missed up the syntax.

but how about the crontab -e..? can i follow the other scratch install on opensuse 11.1..? coz the script install have different procedure how to do it..

Thanks
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby Kumba » Tue Feb 23, 2010 6:49 pm

To my knowledge the only 11.1 documents that exist are a "Base Installation" document and then the automated isntallation script. I did write an OpenSuSE v.11.0 Scratch Install document but it is no longer applicable or maintained for the most part.

The base installation script just walks you through installing OpenSuSE v.11.1 so that you can run the install script.

What document are you referring to?
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Postby ruben23 » Tue Feb 23, 2010 8:07 pm

im following the install script for the opensuse but not running it, im installing it on a manual basis step by step. i ahve tried installing it many several times but still i cant access the vicidial admin and agent login...

The base installation script is my guide.
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby Kumba » Wed Feb 24, 2010 1:42 am

Then obviously you are either not running all the steps, or running steps you don't need to.

Out of curiosity, if you just run the script, does it install correctly?
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Postby ruben23 » Wed Feb 24, 2010 8:12 am

@kumba all steps are been followed,i did not missed anything

Versions i used are:

Asterisk 1.4.27-vici
Dahdi linux 2.2.0.2
Dahdi tools
Libpri 1.4.10
agc_2.2.0 Branch
Opensuse 11.1

-Upon i finished the installation get this:

vicidial:~ # screen -ls
There are screens on:
3429.ASTlisten (Detached)
3442.ASTfastlog (Detached)
3427.ASTsend (Detached)
3425.ASTupdate (Detached)
3437.ASTVDremote (Detached)
3434.ASTVDauto (Detached)
3439.ASTVDadapt (Detached)
7 Sockets in /var/run/screens/S-root.

-Asterisk is running- i can go to its CLI

but when i login to http://ipadress/vicidial/welcome.php --> iget the login page clicking the administrator or agent doesnt load anything just a blank page. And as i see my vicidial file on apache2 root docs--> /srv/www/htdocs/- all are set to executable and all are intact. I have done this around 10 time now, still no luck :( And i wont give..to find answer.
Thanks

Also when i run the script still it didn't work as expected.. :(
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby Kumba » Thu Feb 25, 2010 12:21 pm

Well, I am not sure what is going wrong but I have used the instructions here http://download.vicidial.com/opensuse/o ... nstall.pdf combined with the script http://download.vicidial.com/opensuse/v ... ll-11.1.sh to build several dozen servers. They have been pretty stable for me for the last 6 months. The only time I've had a problem is where the internet was unstable or unreliable and wouldn't complete a download.

I would suggest checking your database settings and what not.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Postby ruben23 » Thu Feb 25, 2010 6:18 pm

@kumba

im confuse with this steps on the script:

Code: Select all
/usr/bin/mysql --execute="create database asterisk default character set utf8 collate utf8_unicode_ci;"
      /usr/bin/mysql asterisk --execute="GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@'%' IDENTIFIED BY '1234';"
      /usr/bin/mysql asterisk --execute="GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@localhost IDENTIFIED BY '1234';"
      /usr/bin/mysql asterisk --execute="\. ./MySQL_AST_CREATE_tables.sql"
      /usr/bin/mysql asterisk --execute="\. ./first_server_install.sql"


coz when i run

/usr/bin/mysql --execute="create database asterisk default character set utf8 collate utf8_unicode_ci;
>

i get like that, which i dont know if the command is executed or not and how i suppost to execute the next command.
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby Kumba » Fri Feb 26, 2010 2:31 am

Yes, that is normal, given the command you typed in is wrong. You are missing the trailing " that is even seen in your quoted bits from the script.

If you are intent on copying and pasting the code from the script instead of just running the script itself please make sure you copy the complete commands, and do the proper variable substitutions, and extract the proper commands from other functions that call them.

This is why I suggest you should just run the script. The only way the script messes up is if your internet is unreliable and doesn't allow it to properly download things.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Postby ruben23 » Fri Feb 26, 2010 1:35 pm

@kumba

Have you used the install script with the deployment of multi server, can it still be used..? like having 3 Vici/asterisk server, 1 WEb server, 1 database.
Like that, coz part of the action of script is-asking if this is a web server, databsed and a vici-dialer server.
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby ruben23 » Fri Feb 26, 2010 3:44 pm

i Have successfully installed using script, and its working aside only that i see only 2 sip peers are added, 2 phoe ID are only registered to the vicidial admin------>do i need to add up manually..them..?


if ill resolve this,....ill be doing the manual install.. :D
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 71 guests