I installed tribox, under system maintenance asterisk shows as stopped and on top I see this:
Warning: Invalid argument supplied for foreach() in /var/www/html/maint/phpsysinfo/includes/os/class.Linux.inc.php on line 273
Warning: asort() expects parameter 1 to be array, boolean given in /var/www/html/maint/phpsysinfo/includes/os/class.Linux.inc.php on line 289
Warning: array_count_values(): The argument should be an array in /var/www/html/maint/phpsysinfo/includes/common_functions.php on line 279
Warning: Invalid argument supplied for foreach() in /var/www/html/maint/phpsysinfo/includes/common_functions.php on line 280
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/maint/phpsysinfo/includes/os/class.Linux.inc.php:273) in /var/www/html/maint/phpsysinfo/includes/system_header.php on line 25
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/maint/phpsysinfo/includes/os/class.Linux.inc.php:273) in /var/www/html/maint/phpsysinfo/includes/system_header.php on line 32
When I click freepbx on left menu I get:
The requested URL /admin was not found on this server.
Also,
Configure language options
Press D, K or E
D - Change timezone
K - Change keyboard table
E - Exit program
Enter selection: d
/usr/local/sbin/config: line 63: system-config-date: command not found
warning: /var/trixbox_load/rpms/lame-3.96.1-4.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
warning: /var/trixbox_load/rpms/ngrep-1.44-1.2.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libpcap.so.0.8.3 is needed by ngrep-1.44-1.2.el4.rf.i386
warning: /var/trixbox_load/rpms/atftp-0.7-5.2.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
warning: /var/trixbox_load/rpms/atftp-server-0.7-5.2.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
0:adding group asterisk
0:adding user asterisk
/var/tmp/rpm-tmp.66653: line 2: /sbin/depmod: No such file or directory
error: Failed dependencies:
libogg.so.0 is needed by asterisk-1.2.7.1-1.i386
libvorbis.so.0 is needed by asterisk-1.2.7.1-1.i386
libvorbisenc.so.2 is needed by asterisk-1.2.7.1-1.i386
error: Failed dependencies:
asterisk >= 1.2.7.1 is needed by asterisk-plugins-fax-1.2.7.1-1.i386
error: Failed dependencies:
asterisk >= 1.2.2 is needed by asterisk-addons-1.2.2-1.208.i386
error: Failed dependencies:
asterisk >= 1.2.1 is needed by asterisk-sounds-1.2.1-1.noarch
warning: /var/trixbox_load/perl_mods/perl-Curses-1.13-1.2.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
warning: /var/trixbox_load/perl_mods/perl-Term-ReadKey-2.30-2.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
file /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Term/ReadKey/ReadKey.so from install of perl-Term-ReadKey-2.30-2.el4.rf conflicts with file from package perl-TermReadKey-2.30-3.as4.swsoft
file /usr/share/man/man3/Term::ReadKey.3pm.gz from install of perl-Term-ReadKey-2.30-2.el4.rf conflicts with file from package perl-TermReadKey-2.30-3.as4.swsoft
warning: /var/trixbox_load/perl_mods/perl-Tk-804.027-3.2.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
warning: /var/trixbox_load/perl_mods/perl-POE-0.34-1.el4.rf.noarch.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
warning: /var/trixbox_load/perl_mods/perl-POE-Component-Client-DNS-0.9803-1.2.el4.rf.noarch.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
warning: /var/trixbox_load/perl_mods/perl-Net-IP-1.24-1.2.el4.rf.noarch.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
warning: /var/trixbox_load/perl_mods/perl-XML-Simple-2.14-2.2.el4.rf.noarch.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
sox is needed by app_flite-0.3-1.aah.i386
error reading information on service ntpd: No such file or directory
error reading information on service cups: No such file or directory
set up Apache
mkdir: cannot create directory /usr/local/apache': File exists mkdir: cannot create directory/usr/local/apache/passwd’: File exists
Adding password for user wwwadmin
Adding password for user maint
Starting MySQL: ^[[60G[ ^[[0;32mOK^[[0;39m ]^M
error reading information on service vsftpd: No such file or directory
mkdir: cannot create directory `/var/ftp/config’: File exists
useradd: user ftpuser exists
"install_asterisk.log" 10063L, 451497C
New UNIX password: BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password: Changing password for user ftpuser.
passwd: all authentication tokens updated successfully.
installing files for ez-ipupdate
installing Wakeup call
mv: cannot move /usr/local/sbin/wakeup.php' to/var/lib/asterisk/agi-bin/wakeup.php’: No such file or directory
mv: cannot move /usr/local/sbin/wakeconfirm.agi' to/var/lib/asterisk/agi-bin/wakeconfirm.agi’: No such file or directory
chmod: cannot access /var/lib/asterisk/agi-bin/*': No such file or directory chown: cannot access/var/lib/asterisk/agi-bin/*’: No such file or directory
./freepbx/SQL/newinstall.sqlite.sql
^G/usr/bin/mysqladmin: CREATE DATABASE failed; error: ‘Can’t create database ‘asterisk’; database exists’
*** loading asterisk db in MySQL
*** Installing FreePBX.org app
PHP Warning: Unknown(): Unable to load dynamic library ‘/usr/lib/php4/pgsql.so’ - libpq.so.3: cannot open shared object file: No such file or directory in Unknown on line 0
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking user…OK
Checking for /etc/amportal.conf…OK
Reading /etc/amportal.conf…OK
Checking for /etc/asterisk/asterisk.conf…OK
Reading /etc/asterisk/asterisk.conf…OK
Checking for Asterisk 1.2…[FATAL] Asterisk 1.2 is required for this version of freePBX
touch: cannot touch /var/www/html/panel/op_buttons_additional.cfg': No such file or directory touch: cannot touch/var/www/html/panel/op_buttons_custom.cfg’: No such file or directory
*** setting permissions and default values
Reading /etc/amportal.conf
Updating configuration…
/etc/asterisk/cdr_mysql.conf
/etc/asterisk/manager.conf
/etc/asterisk/vm_email.inc
You might need to modify /etc/asterisk/vm_email.inc manually
Done
touch: cannot touch /var/log/asterisk/cdr-csv/Master.csv': No such file or directory chmod: cannot access/var/log/asterisk/cdr-csv/Master.csv’: No such file or directory
mkdir: cannot create directory /var/lib/asterisk/sounds/custom/': No such file or directory chmod: cannot access/var/spool/asterisk/monitor’: No such file or directory
a2billing-mysql-schema-v1.0.0.sql
a2billing.conf
^Gmysqladmin: CREATE DATABASE failed; error: ‘Can’t create database ‘mya2billing’; database exists’
mkdir: cannot create directory /var/lib/asterisk/mohmp3/acc_1': No such file or directory mkdir: cannot create directory/var/lib/asterisk/sounds/a2billing’: No such file or directory
cp: cannot create regular file /var/lib/asterisk/agi-bin/.': No such file or directory cp:/var/lib/asterisk/sounds/.’: specified destination directory does not exist
Try cp --help' for more information. cp:/var/lib/asterisk/sounds/.’: specified destination directory does not exist
Try cp --help' for more information. chown: invalid option -- r Trychown --help’ for more information.
** Post Install *****************************************
chmod: cannot access /etc/zaptel.conf': No such file or directory chmod: cannot access/etc/ntp.conf’: No such file or directory
Set Time
./install_parts.sh: line 480: /etc/init.d/ntpd: No such file or directory
./install_parts.sh: line 481: ntpdate: command not found
./install_parts.sh: line 483: ntpdate: command not found
** Cleanup done.
[root@ trixbox_load]# ./asterisk.reload
op_server.pl: no process killed
Cannot connect to the manager port
[root@ trixbox_load]#
[root@ trixbox_load]# sh asterisk-update.sh
For more information, issue asterisk-update.sh help
Usage: asterisk-update.sh [options] {backup|compile|install[ dev]|update[ dev]|remove_src|recheckout[ dev]|version|help}
[root@ trixbox_load]# ./asterisk-update.sh
For more information, issue asterisk-update.sh help
Change to /usr/src
Addon’s are currently NOT in use. Do you want them (y/n)? y
CreditCard is currently NOT in use. Do you want them (y/n)? y
Export CVSROOT
Login to CVS
(Password is anoncvs)
Logging in to :pserver:anoncvs@cvs.digium.com:2401/usr/cvsroot
Unknown host cvs.digium.com.
Checking out packages from CVS
Unknown host cvs.digium.com.
Unknown host cvs.digium.com.
Unknown host cvs.digium.com.
Unknown host cvs.digium.com.
Stable Version v-1_0_RC2 Downloaded.
Asterisk is not running. No need to stop it.
Compiling Asterisk asterisk-update.sh: line 275: cd: /usr/src/zaptel: No such file or directory
make: *** No rule to make target clean'. Stop. asterisk-update.sh: line 278: [: !-d: unary operator expected make: *** No rule to make targetlinux26’. Stop. asterisk-update.sh: line 300: cd: …/libpri: No such file or directory
make: *** No rule to make target clean'. Stop. make: *** No targets specified and no makefile found. Stop. asterisk-update.sh: line 304: cd: ../asterisk: No such file or directory make: *** No rule to make targetclean’. Stop.
make: *** No targets specified and no makefile found. Stop. asterisk-update.sh: line 309: cd: …/asterisk-addons: No such file or directory
make: *** No rule to make target clean'. Stop. make: *** No targets specified and no makefile found. Stop. Installing asterisk-perl --21:39:29-- [asterisk.gnuinter.net/files/aste ... .08.tar.gz](http://asterisk.gnuinter.net/files/asterisk-perl-0.08.tar.gz) =>asterisk-perl-0.08.tar.gz’
Resolving asterisk.gnuinter.net… 204.251.15.190, ::ffff:204.251.15.190
Connecting to asterisk.gnuinter.net|204.251.15.190|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [text/html]
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors asterisk-update.sh: line 323: cd: asterisk-perl-0.08: No such file or directory
Can’t open perl script “Makefile.PL”: No such file or directory.
Use -S to search $PATH for it.
make: *** No targets specified and no makefile found. Stop.
Asterisk was not running.
Installing Asterisk asterisk-update.sh: line 340: cd: /usr/src/zaptel: No such file or directory
make: *** No rule to make target install'. Stop. asterisk-update.sh: line 343: cd: ../libpri: No such file or directory make: *** No rule to make targetinstall’. Stop. asterisk-update.sh: line 346: cd: …/asterisk: No such file or directory
make: *** No rule to make target install'. Stop. asterisk-update.sh: line 350: cd: ../asterisk-addons: No such file or directory make: *** No rule to make targetinstall’. Stop. asterisk-update.sh: line 355: cd: …/astcc: No such file or directory
make: *** No rule to make target `install’. Stop.
[root@ asterisk]# reload
-bash: reload: command not found
[root@ trixbox_load]# sh asterisk.reload
asterisk.reload: line 2: use: command not found
asterisk.reload: line 3: use: command not found
asterisk.reload: line 5: syntax error near unexpected token "/usr/bin/killall op_server.pl"' asterisk.reload: line 5:system("/usr/bin/killall op_server.pl");’
Is this ok [y/N]: y
Downloading Packages
Getting openssl-devel-0.9.7a-43.8.i586.rpm
openssl-devel-0.9.7a-43.8 100% |=========================| 1.6 MB 00:03
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821
Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/base/packages/openssl-devel-0.9.7a-43.8.i586.rpm
Error: You may want to run yum clean or remove the file:
/var/cache/yum/base/packages/openssl-devel-0.9.7a-43.8.i586.rpm
Error: You may also check that you have the correct GPG keys installed
[root@ ~]# yum update
Gathering header information file(s) from server(s)
Server: CentOS-4 - Addons
Server: CentOS-4 - Base
Server: CentOS-4 - Extras
Server: CentOS-4 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
…Unable to satisfy dependencies
Package glibc-dummy-centos-4 needs glibc-common = 2.3.4-2.13, this is not available.