Page 1 of 1

been following scratch_install but it's not quite working...

PostPosted: Mon Aug 11, 2008 11:33 pm
by js19
I'm putting mysql on a separate machine from asterisk and vicidial.

Asterisk is working. I followed the instructions for astgui 2.04. If i connect to http://192.168.1.5/vicidial/ (my asterisk/astgui machine) i can see the admin.php script, but if i click on it nothing happens. it's just a blank screen. I did the addType in httpd.conf as well as the index.php thing and the Loadmodule for perl (it autoloads anyway).

I also edited dbconnect.php in both places, as well as astguiclient.conf. I tested the cron loging account for mysql and i can connect to the asterisk db i created.

Any thoughts?

edit: i'm also going to move the apache to the sql machine, but i want to deal with one problem at a time so i'm running apache on the same machine as asterisk right now.

PostPosted: Tue Aug 12, 2008 1:31 am
by mflorell
Is PHP installed?

What version of PHP?

what are the memory settings in php.ini?

PostPosted: Tue Aug 12, 2008 9:04 am
by js19
php 5.1.6 is installed and I set 48M in php.ini

PostPosted: Tue Aug 12, 2008 6:47 pm
by mflorell
are short tags enabled?

Did you use a PHP version packaged with a Linux distro or is this a source install?

PostPosted: Wed Aug 13, 2008 9:43 am
by js19
i had used the version that came with centosb but I've decided to start over from scratch with openSuse. i'll install everything from source this time.

PostPosted: Fri Aug 22, 2008 4:03 pm
by js19
After a lot of messing around, I got it running on opensuse 11 with a custom kernel (2.6.25.5), apache 5.0.63, mysql 5.0.67, and php 5.2.6. I've found that yast is useless, so I installed everything from source according to the scratch install except zlib, which caused me some headaches when compiling php until i did it through yast.

I did some test dials and am currently exploring all the options as well as how i can set up different contexts in the dialplan without messing up the vicidialer. I wanted to simplify for my test installation just to get everything running, so everything is on one server for now, but when my new dell servers get here i'm going to run the db and apache from a virtual machine hooked up to a SAN. I still have a lot of testing to do but it's very satisfying just to get it up and running.

You've done a great job, matt. I am eager to do some load testing over the next couple of weeks.

PostPosted: Fri Aug 22, 2008 7:26 pm
by mflorell
I'm glad you got it up and running. I often share your feelings about yast :)

Let us know how your VICIDIAL setup works for you.