Page 1 of 1

Not Working

PostPosted: Fri Nov 24, 2006 12:55 pm
by astvici
This page is not working
http://astguiclient.sourceforge.net/admin_demo.html

not working i want to see how u configured?
it is saying like this

Invalid Username/Password: |6666|1234|

PostPosted: Fri Nov 24, 2006 2:17 pm
by Op3r
thats because its just a demo?

PostPosted: Fri Nov 24, 2006 2:23 pm
by mflorell
Thanks for the note, someone had deleted the test admin account. I have reset it so it should work now.

PostPosted: Fri Nov 24, 2006 4:51 pm
by ramindia
Hi Matt


i had problem with my server iam not able to view

http://xxxx/vicidial/AST_server_performance.php

so i want to see in demo server

http://astguiclient.sourceforge.net/vic ... rmance.php

i get following errors


---------- TOTALS, PEAKS and AVERAGES
Total Calls in/out on this server: 0
Total Off-Hook time on this server (min):
Average channels in use for server:
Average load for server:
Peak load for server:
Average USER process cpu percentage: %
Average SYSTEM process cpu percentage: %
Average IDLE process cpu percentage: %

---------- LINE GRAPH:

Warning: fopen(/home/groups/a/as/astguiclient/htdocs/vicidial/ploticus//10.10.10.152006-11-24AM2006-11-24_135038.htm): failed to open stream: No such file or directory in /home/groups/a/as/astguiclient/htdocs/vicidial/AST_server_performance.php on line 196

Warning: fopen(/home/groups/a/as/astguiclient/htdocs/vicidial/ploticus//10.10.10.152006-11-24AM2006-11-24_135038.dat): failed to open stream: No such file or directory in /home/groups/a/as/astguiclient/htdocs/vicidial/AST_server_performance.php on line 197

Warning: fclose(): supplied argument is not a valid stream resource in /home/groups/a/as/astguiclient/htdocs/vicidial/AST_server_performance.php on line 212

Warning: fwrite(): supplied argument is not a valid stream resource in /home/groups/a/as/astguiclient/htdocs/vicidial/AST_server_performance.php on line 289

Warning: fclose(): supplied argument is not a valid stream resource in /home/groups/a/as/astguiclient/htdocs/vicidial/AST_server_performance.php on line 290


and iam not able to view the image on demo server

and my server also same problem, any solution for this


Ram

PostPosted: Fri Nov 24, 2006 6:05 pm
by mflorell
server performance does not work on the demo server. You need to load ploticus to get it working.

the server performance is not needed to use VICIDIAL at all. it is optional and only needed to view hardware performance graphs.

PostPosted: Fri Nov 24, 2006 10:41 pm
by ramindia
Hi

in my server i have install PL

but still iam not able to view the server performance graphs (gif)

ls /usr/local/bin/pl
/usr/local/bin/pl


when i try to access

http://X.X.X.X/vicidial/AST_server_perf ... MIT=SUBMIT

in the error log i see below...

[client y.y.y.y] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/AST_server_performance.php on line 32, referer: http://X.X.X.X/vicidial/server_stats.php
[client y.y.y.y] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/AST_server_performance.php on line 57, referer: http://X.X.X.X/vicidial/server_stats.php
[client y.y.y.y] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/AST_server_performance.php on line 32, referer: http://X.X.X.X/vicidial/AST_server_performance.php
[client y.y.y.y] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/AST_server_performance.php on line 57, referer: http://X.X.X.X/vicidial/AST_server_performance.php
[client y.y.y.y] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/AST_server_performance.php on line 135, referer: http://X.X.X.X/vicidial/AST_server_performance.php
[client y.y.y.y] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/AST_server_performance.php on line 143, referer: http://X.X.X.X/vicidial/AST_server_performance.php
[client y.y.y.y] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/AST_server_performance.php on line 150, referer: http://X.X.X.X/vicidial/AST_server_performance.php
[client y.y.y.y] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/AST_server_performance.php on line 158, referer: http://X.X.X.X/vicidial/AST_server_performance.php
[client y.y.y.y] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/AST_server_performance.php on line 164, referer: http://X.X.X.X/vicidial/AST_server_performance.php
[client y.y.y.y] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/AST_server_performance.php on line 201, referer: http://X.X.X.X/vicidial/AST_server_performance.php
pl proc areadef: error 105: both min and max expected (yrange)
pl proc areadef: error 10: cannot set up plotting area .. likely culprits: bad xrange or yrange, or bad area rectangle
[Sat Nov 25 08:58:02 2006] [error] [client y.y.y.y] File does not exist: /var/www/html/vicidial/ploticus/X.X.X.X2006-11-25AM2006-11-25_085801.png, referer: http://X.X.X.X/vicidial/AST_server_perf ... MIT=SUBMIT


I checked dbconnect.php

and /etc/astguiclient.conf

they are set to my config

and iam able to see some files in html and dat file

but dat files are 0 byte sized

ls -al /var/www/html/vicidial/ploticus/

-rw-r--r-- 1 apache apache 0 Nov 25 08:58 x.x.x.x2006-11-25AM2006-11-25_085801.dat
-rw-r--r-- 1 apache apache 1267 Nov 25 08:58 x.x.x.x2006-11-25AM2006-11-25_085801.htm
-rw-r--r-- 1 apache apache 0 Nov 25 08:59 x.x.x.x2006-11-25AM2006-11-25_085958.dat
-rw-r--r-- 1 apache apache 1267 Nov 25 08:59 x.x.x.x2006-11-25AM2006-11-25_085958.htm
-rw-r--r-- 1 apache apache 0 Nov 25 09:02 x.x.x.x2006-11-25AM2006-11-25_090208.dat
-rw-r--r-- 1 apache apache 1267 Nov 25 09:02 x.x.x.x2006-11-25AM2006-11-25_090208.htm
-rw-r--r-- 1 apache apache 0 Nov 25 09:02 x.x.x.x2006-11-25AM2006-11-25_090210.dat
-rw-r--r-- 1 apache apache 1267 Nov 25 09:02 x.x.x.x2006-11-25AM2006-11-25_090210.htm
-rw-r--r-- 1 apache apache 0 Nov 25 09:02 x.x.x.x2006-11-25AM2006-11-25_090227.dat
-rw-r--r-- 1 apache apache 1267 Nov 25 09:02 x.x.x.x2006-11-25AM2006-11-25_090227.htm
-rw-r--r-- 1 apache apache 0 Nov 25 09:03 x.x.x.x2006-11-25AM2006-11-25_090323.dat
-rw-r--r-- 1 apache apache 1267 Nov 25 09:03 x.x.x.x2006-11-25AM2006-11-25_090323.htm


what is wrong iam doing

how can i resolve this problem

Ram

PostPosted: Sat Nov 25, 2006 1:20 am
by mflorell
Have you placed any VICIDIAL calls during the time ranges that the server is trying to generate stats for?

PostPosted: Sat Nov 25, 2006 4:04 am
by ramindia
Hi

even i have calls that date
i have checked in database

still iam getting the same error

any other suggestion

Ram

PostPosted: Sat Nov 25, 2006 8:07 am
by mflorell
Total Calls in/out on this server: 0

As long as this number is zero you will see no graph.

PostPosted: Sat Nov 25, 2006 10:49 am
by ramindia
Hi

when i checked in server iam able to see the below out put

but iam not able to see the the image.

VICIDIAL: Server Performance 2006-11-25 10:46:26
Time range: 2006-11-24 08:45:00 to 2006-11-24 15:32:00

---------- TOTALS, PEAKS and AVERAGES
Total Calls in/out on this server: 998
Total Off-Hook time on this server (min): 456.93
Average channels in use for server:
Average load for server:
Peak load for server:
Average USER process cpu percentage: %
Average SYSTEM process cpu percentage: %
Average IDLE process cpu percentage: %




er_performance.php on line 201, referer: http://x.x.x.x/vicidial/AST_server_perf ... MIT=SUBMIT
pl proc areadef: error 105: both min and max expected (yrange)
pl proc areadef: error 10: cannot set up plotting area .. likely culprits: bad xrange or yrange, or bad area rectangle
[Sat Nov 25 10:46:27 2006] [error] [client x.x.x.x] File does not exist: /var/www/html/vicidial/ploticus/x.x.x.x2006-11-24AM2006-11-25_104626.png, referer: http://x.x.x.x/vicidial/AST_server_perf ... MIT=SUBMIT


any suggestion

Ram

PostPosted: Mon Nov 27, 2006 10:46 am
by mflorell
in your SERVERS screen in admin.php do you have performance logging turned on?

PostPosted: Mon Nov 27, 2006 11:37 am
by ramindia
Hi


its turned Y option
any other suggestions

Ram

PostPosted: Mon Nov 27, 2006 12:56 pm
by mflorell
It does not seem to have any data, is there anything for that time range in your server_performance table?