mysql errors

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

mysql errors

Postby devafree » Tue Nov 21, 2006 2:02 pm

Hello,
I am getting the following errors.
In vicidial Admin for a campaign (it was running OK before)

Warning: mysql_query() [function.mysql-query]: Unable to save result set in /usr/local/apache2/htdocs/vicidial/admin.php on line 6710

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/apache2/htdocs/vicidial/admin.php on line 6711
This campaign has 0 leads to be dialed in those lists -


When I try to run AST_VDhopper.pl also the below error keeps coming : -
DBD::mysql::st fetchrow_array failed: fetch() without execute() at /usr/share/astguiclient/AST_VDhopper.pl line 961.

Please advise what to do to rectify.

Thanks
Devafree
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm

also the following error

Postby devafree » Tue Nov 21, 2006 2:06 pm

Error
SQL query:

SELECT count( * ) , list_id,
STATUS , called_since_last_reset, gmt_offset_now
FROM vicidial_list
GROUP BY list_id,
STATUS , called_since_last_reset, gmt_offset_now
LIMIT 0 , 30

MySQL said:

#1030 - Got error 127 from table handler

I am used phpMyAdmin
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm

Postby mflorell » Tue Nov 21, 2006 3:48 pm

What version of MySQL are you using?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

isamchk

Postby devafree » Tue Nov 28, 2006 1:15 pm

I am using mysql 4.0.27 and as per scratch install.

I am seeing recurring error no.145 or 144 , but disk space totally used is less than 15 %. i.e the free space available is more than 85 % on a 40 GB IDE.

I have to run >usr/bin/myisamchk -r /usr/local/var/asterisk/<tablename.MYI> to rectify. This has occurred several times. After i run this the table is OK, and the calls go well. But some of the tables is corrupted again in a few days' time.

Please help.
Devafree
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm

Postby mflorell » Tue Nov 28, 2006 3:41 pm

What versions of PHP and Apache are your running?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby devafree » Wed Nov 29, 2006 1:45 pm

PHP version 4.4.4

Apache version 2.0.59

Thanks

Devafree
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm

Postby mflorell » Wed Nov 29, 2006 4:07 pm

Have you tested your hard drives for bad sectors?

I just did an install with those exact versions of MySQL/PHP/Apache and had no issues like this.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 54 guests