Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Failed to set Exception - Gearman 0.29
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dr Börse  
View profile  
 More options Mar 31 2012, 5:15 am
From: Dr Börse <fbmh6...@googlemail.com>
Date: Sat, 31 Mar 2012 02:15:07 -0700 (PDT)
Local: Sat, Mar 31 2012 5:15 am
Subject: Failed to set Exception - Gearman 0.29

I installed Gearman 0.29 on my Server.

When this Error occurs:

*Fatal error: Uncaught exception 'GearmanException' with message 'Failed to set e
xception option' in /var/www/cron/client.php:41                                
Stack trace:                                                                    
#0 /var/www/cron/client.php(41): GearmanClient->runTasks()                      
#1 {main}                                                                      
  thrown in /var/www/cron/client.php on line 41*

PHP .ini says:

*gearman                                                                        
gearman support => enabled                                                      
libgearman version => 0.29                                                      
OLDPWD => /root/gearmand-0.29                                                  
_SERVER["OLDPWD"] => /root/gearmand-0.29

*So gearmand and libgearman are on the same version level. Gearman Server is also running.*

*

My client.php looks like.
*client = new GearmanClient();
    $client->addServer();
    $client->setCreatedCallback("reverse_created");
    $client->setDataCallback("reverse_data");
    $client->setStatusCallback("reverse_status");
    $client->setCompleteCallback("reverse_complete");
    $client->setFailCallback("reverse_fail");
    $client->addTask("upper", "asd ajskdj AS  kas");
    $client->addTask("upper", "213 aSDkdfdsaj ASasdf  kaasdgs");

    # run the tasks in parallel (assuming multiple workers)
$client->runTasks();
echo "DONE\n";*

Where is the Problem? How can I solve this?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mats Lindh  
View profile  
 More options Mar 31 2012, 12:49 pm
From: Mats Lindh <mats.li...@gmail.com>
Date: Sat, 31 Mar 2012 18:49:37 +0200
Local: Sat, Mar 31 2012 12:49 pm
Subject: Re: Failed to set Exception - Gearman 0.29
2012/3/31 Dr Börse <fbmh6...@googlemail.com>:

> I installed Gearman 0.29 on my Server.

> When this Error occurs:

> Fatal error: Uncaught exception 'GearmanException' with message 'Failed to set e
> xception option' in /var/www/cron/client.php:41

This is usually caused by either gearmand not being available (try to
connect to it manually through telnet from the same host as PHP runs
on) or the versions differing. You didn't provide any information
about the gearmand you're currently running (only the version of
libgearman used when compiling the gearman extension for PHP), so be
sure that you've restarted gearmand after upgrading it.

--mats


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr Börse  
View profile  
 More options Apr 1 2012, 4:15 am
From: Dr Börse <fbmh6...@googlemail.com>
Date: Sun, 1 Apr 2012 01:15:33 -0700 (PDT)
Local: Sun, Apr 1 2012 4:15 am
Subject: Re: Failed to set Exception - Gearman 0.29

Thanks mats for your response.
My gearmand version was 1.0.2. And I restarted the Server with the command
"gearmand". But same error occurs.
That's why I went back to gearmand 0.7.0 and libgearman 0.1.3.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »