Problem after installing tribox

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

asterisk -r
-bash: asterisk: command not found

Hey can someone please help me out on this?

This is a VPS just to clarify

no luck here ?? … hop over to the trixbox forums at trixbox.org/ … it’s a problem they should know about

No help there either.

Please help :smile:

This is the install log below…(portions that show some errors)

First time install, this is a VPS as well.

Installing trixbox…

Fri Jun 30 07:17:03 CDT 2006


** install addon ****************************************



installing misc RPM

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

installing ATFTP Server

mkdir: cannot create directory `/tftpboot’: File exists
./
./merlin2.pcm
./syncinfo.xml
./dialplan.xml
./OS79XX.TXT
./cisco_util/
./cisco_util/xmlDefault.CNF.XML
./cisco_util/XMLDefault.cnf.xml
./RINGLIST.DAT

installing FTP Server

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 *****************************************



Clean up

mkdir: cannot create directory `/etc/trixbox’: File exists

Fix CentOS Alt-F9 terminal bug


Fix webmail

gcc -Wall -pedantic -O2 -DSENDMAIL_PATH=/usr/sbin/sendmail -DMAILSPOOLDIR=/var/spool/mail -DSBINDIR=/usr/sbin -DPREFDIR=/var/nwebmail/pref -DLOCKDIR=/var/nwebmail/lock -DTMPDIR=/var/nwebmail/tmp -DHTML_SUBDIR=/nwebmail -c -o main.o main.c
make: gcc: Command not found
make: *** [main.o] Error 127

Set permissions

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.

Installation done.
Rebooting…

Anyone know about this please? I’m losing my mind trying to figure this out.

Rmember, I’m on a Centos 4.2 vps (virtual private server)

TRY THE NEW VERSION OF TRIXBOX 1.1
THIS WILL PROBABLY HELP YOU WITH ISSUES.

More info:

More info:

[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

Usage: asterisk-update.sh [options] {backup|compile|install[ dev]|update[ dev]|remove_src|recheckout[ dev]|version|help}
[root@ trixbox_load]# sh asterisk-update.sh install

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]

[ <=> ] 18,231 --.–K/s

21:39:30 (1.76 MB/s) - `asterisk-perl-0.08.tar.gz’ saved [18231]

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.

Init script missing. Writing it…
/etc/init.d/asterisk written.

Running Asterisk under root is a security risk. If you enter
a different name it will add it and label it ‘Asterisk PBX’.

If you are already running as non-root, you can enter 'root’
to change back to running as root. Blank makes no change.

If you want Asterisk to run under a different user, enter name :
Init script in place /etc/init.d/asterisk
Asterisk installed

can someone please help!

I installed asterisk manually via this guideline
voip-info.org/wiki/index.php … quickstart

[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");’

Asterisk still shows “stopped” in Trixbox

Chad… I’m new in the asterisk world too… but I did install trixbox in 2 computers since last Friday without any problem… I’m using trixbox 1.1.

my suggestions are:

  • get the tribox 1.1 iso version
  • burn a new cd with the iso image
  • start from zero!!

my installations were really smooth and without problems… now I’m playing with configurations and softphones …

hope you have luck

Miko

How am I supposed to use ISO on a vps? I do not have physical hands on with the server

Also, where did you get 1.1.? I could not find the download for it

sourceforge.net/project/showfile … _id=123387

Trixbox page at sourceforge…

Thanks, let me try

I installed v1.1 and in the end it shows this:

Resolving dependencies
…Unable to satisfy dependencies
Package glibc-dummy-centos-4 needs glibc-common = 2.3.4-2.13, this is not available.
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.

Installing trixbox…

Mon Jul 3 07:25:51 CDT 2006

./install.sh: line 25: ./install_parts.sh: No such file or directory

I tried

yum install gcc libxml2-devel libtiff-devel mysql-server php-gd php-mysql kernel-devel bison ncurses-devel audiofile-devel subversion libogg-devel openssl-devel

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.

:frowning: I hope for a resolution, one day

telephreak.org/papers/vpa/

[root@ ~]# cd /usr/src
[root@ src]# mkdir asterisk
[root@ src]# cd asterisk
[root@ asterisk]# export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot
[root@ asterisk]# cvs checkout -r v1-0 zaptel libpri
Unknown host cvs.digium.com.

Please someone help me finally get this installed

didn’t digium drop CVS support a while ago ? you should be using SVN now instead.

asterisk.org/download has the appropriate commands.

[root@ src]# svn checkout svn.digium.com/svn/asterisk/branches/1.2 asterisk-1.2
-bash: svn: command not found

I’m installing trixbox not asterisk alone