OpenVZ Remote Installation

JT,

Here it is:

cd /boot/grub
-bash: cd: /boot/grub: No such file or directory

cat redhat-release
CentOS release 5 (Final)

Thanks,

OY
 
Hi

It does look as though freepbx has not installed correctly.

Run the freePBX install manually and see what happens: -

cd /usr/src/freepbx

./install_amp

and watch the output.

Joe
 
Hi Joe,

Thanks. But it fails because Asterisk is not running. If I try
./start_asterisk start

It fails:

STARTING ASTERISK
./start_asterisk: line 43: /usr/sbin/safe_asterisk: No such file or directory
safe_asterisk: no process killed
mpg123: no process killed

Thanks.
 
Hi

Just type asterisk

or asterisk -vvvvvvvvvvvvvvv to see where it may fail.

Joe
 
orenyny,

I'm heading out of town and will be out of touch until next week. However, my advice would be the same if were going to be around.

You need to review the install log(s) closely and compare it with the install script(s) to see what worked and what didn't. If, for example, selinux is active, then you will see that reflected in the log.

The script I supplied assumed as a starting point a CentOS install with the server package applied and only attempted to resolve the dependencies with that as a baseline.

There are various reasons to install PBX-in-a-Flash manually. I don't know what yours are but mine are the same as I had when installing Trixbox from the tar distribution and that was pretty painful.

I am HUGELY grateful to the team for making their script available because it is needed.

However, if you can, install using the official ISO. If you can't do that then try to install from a freshly deployed CentOS system. If you can't do that, then try to learn as much about what has been done to the system you are installing on and be prepared to proceed step-by-step (line by line of the install script) to see what has succeeded and failed and then address the problems as needed.

Good luck. I'll check back in with you next week.

JT
 
Joe,
It's not running (command not found).
The /usr/lib/asterisk directory is practically empty (beside an empty directory called modules).
I think I am going to try reinstalling the whole thing from scratch and see.
Thanks.
 
I just tried the remote install

on a vpslink server. It worked just fine. I ran update-scripts and then update-source and now it is running at 1.4.19.1.

The only hiccup was that I had to update the passwords individually as passwd-master didn't seem to do the trick. That and I had to run update-fixes, reboot and run fixes again to gain access to FreePBX...

It all appears to be fine. I do some actual testing in the morning.

Incidentally, since I attended Linuxfest NW, I got a coupon for trial service "LFEST08" and I used it at http://vpslink.com/linuxfest

90 Days for $3.00. Not bad to test a remote install procedure.
 
on a vpslink server. It worked just fine. I ran update-scripts and then update-source and now it is running at 1.4.19.1.

The only hiccup was that I had to update the passwords individually as passwd-master didn't seem to do the trick. That and I had to run update-fixes, reboot and run fixes again to gain access to FreePBX...

It all appears to be fine. I do some actual testing in the morning.

Incidentally, since I attended Linuxfest NW, I got a coupon for trial service "LFEST08" and I used it at http://vpslink.com/linuxfest

90 Days for $3.00. Not bad to test a remote install procedure.

I know it installed fine, but does it work fine? Ive had no good luck with asterisk and xen. Keep getting chopping audio even after the patches were applied to deal with those issues. Keep having timing problems. This is with full virtualization.
 
It worked fine too.

I would let you try it out... But I just toasted the box and am loading a fresh freeswitch to play with.

Aretta.com has excellent VoIP support, I might add. vpslink.com does not offer preloaded PiaF servers, but they perform a bit better.
 
Hi All:

I have a solution here for installing PBX in a Flash on an OpenVZ VPS which may help you -- I was looking for a similar concept. Joe is 100% right the tricky part is the dependencies... I am confident I have too many packages in my installer but have not had time to cut them back yet. Here are my notes: http://chrisschuld.com/2008/11/installing-pbx-in-a-flash-piaf-on-an-openvz-vps/

This is the first writeup that I have found that actually works in an Open VZ VPS, even a 64-bit one with a few alterations. For some reason the 32-bit and 64-bit PBIAF ISO's do not have all of the same packages on them which you run into when copying over the 13 RPMs listed in the writeup. They are all present on the 32-bit, but several are missing from the 64-bit and can be found on the net except for one (ez-ipupdate, which a hosted VPS really shouldn't need anyway).
 
This is the first writeup that I have found that actually works in an Open VZ VPS, even a 64-bit one with a few alterations. For some reason the 32-bit and 64-bit PBIAF ISO's do not have all of the same packages on them which you run into when copying over the 13 RPMs listed in the writeup. They are all present on the 32-bit, but several are missing from the 64-bit and can be found on the net except for one (ez-ipupdate, which a hosted VPS really shouldn't need anyway).

Decided to play around wit a Proxmox (http://pve.proxmox.com)... following the instructions (and the comments on removing the tty9 that I couldn't make work) and been happy since... my atom box is now running my PBX and two small virtual machine, no stutter!
 
Decided to play around wit a Proxmox (http://pve.proxmox.com)... following the instructions (and the comments on removing the tty9 that I couldn't make work) and been happy since... my atom box is now running my PBX and two small virtual machine, no stutter!

Yes, virtualizing piaf is definitely the way to go in most circumstances (unless physical connection are needed, which could prove tricky) for home use and small businesses. No reason to waste all that physical hardware resources on a small piaf install. And while you could still use that piaf server for other purposes, i feel its better to keep the applications separate when possible for security and maintenance reasons.
 
And while you could still use that piaf server for other purposes, i feel its better to keep the applications separate when possible for security and maintenance reasons.


Very good advice... I was planning to try with Xen first, to have complete isolation between the virtual machines, but I haven't found something as similar to proxmox to help me through it...
 
If your using CentOS and setup the system with a gui, Virtual Manager is pretty good and comes with it.
 
what is virtual manager?

I run my PIAF on OpenVZ. And I have not heard of Virtual manager? What is that used for ? Can you give more information?
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top