TUTORIAL Howto install CDR-Stats

Joined
Feb 13, 2011
Messages
330
Reaction score
12
Hi

Did you open port 9000 in your firewall?

Joe

Here is the error on the log

2011-08-19 20:21:03 (2.17 MB/s) - `v1.4.0.1' saved [1100938/1100938]

tar: Star2Billing-cdr-stats-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `cdr-stats': No such file or directory
mv: cannot stat `Star2Billing-cdr-stats-*': No such file or directory
ln: creating symbolic link `/usr/share/django_app/cdr_stats' to `/usr/src/cdr-stats/cdr_stats': File exists
Could not open requirements file: [Errno 2] No such file or directory: '/usr/share/django_app/cdr_stats/requirements.txt'
Storing complete log in /root/.pip/pip.log
Update Secret Key...
sed: can't read /usr/share/django_app/cdr_stats/settings.py: No such file or directory
sed: can't read /usr/share/django_app/cdr_stats/settings.py: No such file or directory
sed: can't read /usr/share/django_app/cdr_stats/settings.py: No such file or directory
sed: can't read /usr/share/django_app/cdr_stats/settings.py: No such file or directory
sed: can't read /usr/share/django_app/cdr_stats/settings.py: No such file or directory
sed: can't read /usr/share/django_app/cdr_stats/settings.py: No such file or directory
sed: can't read /usr/share/django_app/cdr_stats/settings.py: No such file or directory
sed: can't read /usr/share/django_app/cdr_stats/settings.py: No such file or directory
sed: can't read /usr/share/django_app/cdr_stats/settings.py: No such file or directory
sed: can't read /usr/share/django_app/cdr_stats/settings.py: No such file or directory
sed: can't read /usr/share/django_app/cdr_stats/settings.py: No such file or directory
Database Creation...
install-cdr-stats-freePBX.sh: line 136: cd: /usr/share/django_app/cdr_stats/: No such file or directory
mkdir: cannot create directory `database': File exists
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
ERROR 1050 (42S01) at line 27: Table 'cdr_backup' already exists
Prepare Apache configuration...
mkdir: cannot create directory `/usr/share/django_app/cdr_stats/.python-eggs': No such file or directory
chmod: cannot access `/usr/share/django_app/cdr_stats/.python-eggs': No such file or directory
Stopping httpd: [ OK ]
Starting httpd: Warning: DocumentRoot [/usr/share/django_app/cdr_stats/] does not exist
[ OK ]
Installation Complete

Please log on to CDR-Stats at
http://192.168.1.100:9000
the username and password are the ones you entered during this installation.
Thank you for installing CDR-Stats
Yours
The Star2Billing Team
http://www.star2billing.com and http://www.cdr-stats.org/
 

jroper

Guru
Joined
Oct 20, 2007
Messages
3,832
Reaction score
71
Hi

Let me run up a copy of Piaf and retest the install to make sure nothing has changed.

Joe
 

Speedy2k

Member
Joined
Oct 11, 2008
Messages
387
Reaction score
0
I have take a look at this script and have found some problem, here is a Rework of it in fact the changed have been minor. The problem is that the SSL certificate on our PIAF machine wasn't ok for github sor i update it before going to github and he where rename the source directory when he should not, it should be working now, thank you very much for your hard work Joe! I'm posting a link at the reworked script, you can use it! ot at least make the change on yours.
Here is the new scripts
https://dl.dropbox.com/s/snzvpm97w6sfwsm/install-cdr-stats-freePBX.sh?dl=1
 

johnny2000

Member
Joined
Apr 7, 2008
Messages
52
Reaction score
0
I have take a look at this script and have found some problem, here is a Rework of it in fact the changed have been minor. The problem is that the SSL certificate on our PIAF machine wasn't ok for github sor i update it before going to github and he where rename the source directory when he should not, it should be working now, thank you very much for your hard work Joe! I'm posting a link at the reworked script, you can use it! ot at least make the change on yours.
Here is the new scripts
https://dl.dropbox.com/s/snzvpm97w6sfwsm/install-cdr-stats-freePBX.sh?dl=1



I got this error when I run the httpd:
Invalid command 'PythonHandler', perhaps misspelled or defined by a module not included in the server configuration
 

Members online

No members online now.

Forum statistics

Threads
25,782
Messages
167,509
Members
19,202
Latest member
pbxnewguy
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.
Top