Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I seem to have some problem in my gearmand. Every time I install any package with sudo apt-get install <package-name>. I have reported bug on launchpad (see bug). When I was installing php5-mysql package I got this error -

magic@magic-desktop:/usr/share/nginx/www$ sudo apt-get install php5-mysql
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php5-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up gearman-job-server (0.14-0ubuntu1) ...
* Starting Gearman Server gearmand                                                   /usr/sbin/gearmand: error while loading shared libraries: libgearman.so.4: cannot open shared object file: No such file or directory
                                                                     [fail]
* Please take a look at the syslog
invoke-rc.d: initscript gearman-job-server, action "start" failed.
dpkg: error processing gearman-job-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
gearman-job-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

Note that the issue is not related to the already installed package php5-mysql. I don't have any problems in running the gearmand server. In fact I am able to use the gearman clients and workers.

share|improve this question
So, did you look at the syslog as the output suggests? – January Oct 1 '12 at 10:20
yes. I did tail -30 /var/log/syslog and cat /var/log/syslog | grep gearman; there was nothing related to this error or gearman. – Hussain Tamboli Oct 1 '12 at 10:41
@January, Did- sudo apt-get remove gearman-job-server and the warnings are gone. is gearmand and gearman-job-server different? because gearmand -d works fine besides the fact that I have removed gearman-job-server. – Hussain Tamboli Oct 3 '12 at 8:11

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.