Good Evening,
OK, I'm stopping at this point. There are two things in the AMP how-to guide that are giving totally hellacious fits. They are both in Step 18.
#1 It states to edit the chown_asterisk.sh file with vi and execute the following command while in vi: :g/asterisk:asterisk/s//www.shared/g Well, I execute this command but also notice three lines toward the bottom as follows:
chmod u+x /var/www/html/admin/*.pl
chmod u+x /var/www/html/admin/*.sh
chmod u+x /var/www/html/panel/*.pl
I change these lines to this:
chmod u+x /var/www/html/amp/admin/*.pl
chmod u+x /var/www/html/amp/admin/*.sh
chmod u+x /var/www/html/amp/panel/*.pl
Now this is not stated in the how-to that you should do this but I'm assuming that it should be done based upon changes that I've had to make to other files up to this point. The folder /var/www/html/admin doesn't exist but /var/www/html/amp/admin does. Am I correct with changing this? Is this an oversight in the how-to?
#2 Now after modifying the apply_conf.sh file as it states to do in the how-to, I execute it and receive the following:
Unable to connect to remote asterisk
su: warning: cannot change directory to /var/lib/asterisk: Permission denied
-bash: /var/lib/asterisk/.bash_profile: Permission denied
-bash: /var/www/html/amp/admin/retrieve_op_conf_from_mysql.pl: /usr/bin/perl: bad interpreter: Permission denied
su: warning: cannot change directory to /var/lib/asterisk: Permission denied
-bash: /var/lib/asterisk/.bash_profile: Permission denied
op_server.pl: no process killed
So I think, well let me see if asterisk works and if I can connect to it manually. with the asterisk -vvc command which I seen in another contrib how-to that had a pre-packaged rpm. I believe it was duncan's. I get the following on the screen:
[chan_zap.so] => (Zapata Telephony)
== Parsing '/etc/asterisk/zapata.conf': Not found (No such file or directory)
== Unregistered channel type 'Tor'
== Unregistered channel type 'Zap'
[root@smebox asterisk]# Ouch ... error while writing audio data: : Broken pipe
Now, I can live without this zapata stuff I think as I think, not sure on this, as I believe it deals with zapata hardware and digium card stuff. I don't have any hardware installed for asterisk and will be using software phones. How can I strip this out of asterisk and/or how do I re-compile it without it or fix the above error since I won't be using the hardware anyways?
I am SO STINKING close that it is driving me insane. Any ideas would be very helpful.
On another note, at the beginning of the how-to, it lists a ton of file to wget and then install in that specific order. Well when attempting to follow this order with a simple rpm -ivh command, I found that the second and third file needed to be reversed in order. So instead of:
rpm -ivh glibc-devel-2.2.5-44.i386.rpm --- and then
rpm -ivh glibc-kernheaders-2.4-7.16.i386.rpm
it should be
rpm -ivh glibc-kernheaders-2.4-7.16.i386.rpm
rpm -ivh glibc-devel-2.2.5-44.i386.rpm
The reason I state this is that the how-to doesn't say anything about using the --nodeps option when installing the first set of files.
Well, I'm stuck at Step 18 and can't go any further. I appreciate all the help that I've received from stuntshell and others. More help and/or ideas would be much appreciated as I'm trying to get something setup now instead of waiting on the official release of SME7.
Trivia of the day: Doolittle of WWII was the only American to receive both the Congressional Medal of Honor and the Medal of Freedom.