You are hereForums / Support / [SOLVED] START_XMLRPC_SERVER_ERR - Cannot start XMLRPC Server - Exiting

Videocache 1.9.5 is available now. This version improves support for logging and fixes video caching problems for various sites like Vimeo, Break, Tube8 etc due to change in URL patterns. Also, from this version onwards, UrlGrabber has been removed from dependencies. Check Changelog for details. If you have purchased version 1.9.x previously, you can claim free upgrade by contacting using Contact Link. Please mention the email address using which you purchased Videocache. New users proceed to download page right now, secure your copy and enjoy caching :-)

[SOLVED] START_XMLRPC_SERVER_ERR - Cannot start XMLRPC Server - Exiting


4 replies [Last post]
Offline
Joined: Feb 16 2009
[SOLVED] START_XMLRPC_SERVER_ERR - Cannot start XMLRPC Server - Exiting
Printer-friendly versionSend to friend

Hello, i'm posting here this solving so that other persons experiencing this know how to overpass it.

my cachevideo instalation stop caching videos. and in the log this pop up:

START_XMLRPC_SERVER_ERR - Cannot start XMLRPC Server - Exiting

Explanation:
This happen because there is more redirectors activated than the permited by squid in squid.conf.

solution:

First, comment the folowing lines in squid.conf

url_rewrite_program /usr/bin/python /usr/share/videocache/videocache.py
url_rewrite_children 5
url_rewrite_access deny videocache_deny_url
url_rewrite_access allow videocache_allow_url
url_rewrite_access allow videocache_allow_dom
redirector_bypass on

Reload new config of squid

squid -k reconfigure

Clear the mess

ps aux |grep videocache

you will see that there is a loarge number on instances running. In my case this pop up:

xxx@xxx:/usr/share/videocache# ps aux |grep python
hplip 3219 0.0 0.0 48344 824 ? S Feb01 0:00 python /usr/sbin/hpssd
nobody 7171 0.0 0.1 66440 7564 ? S Feb18 0:00 (python) /usr/share/videocache/videocache.py
nobody 7181 0.0 0.2 39204 8472 ? Ss Feb18 0:00 (python) /usr/share/videocache/videocache.py
nobody 7182 0.0 0.2 39204 8472 ? Ss Feb18 0:00 (python) /usr/share/videocache/videocache.py
nobody 7183 0.0 0.2 39208 8472 ? Ss Feb18 0:00 (python) /usr/share/videocache/videocache.py
nobody 7184 0.0 0.2 39208 8472 ? Ss Feb18 0:00 (python) /usr/share/videocache/videocache.py
nobody 7185 0.0 0.2 39208 8472 ? Ss Feb18 0:00 (python) /usr/share/videocache/videocache.py
nobody 7442 0.0 0.2 39200 8468 ? Ss Feb18 0:00 (python) /usr/share/videocache/videocache.py
nobody 7443 0.0 0.2 39200 8468 ? Ss Feb18 0:00 (python) /usr/share/videocache/videocache.py
nobody 7444 0.0 0.2 39200 8468 ? Ss Feb18 0:00 (python) /usr/share/videocache/videocache.py
nobody 7445 0.0 0.2 39200 8468 ? Ss Feb18 0:00 (python) /usr/share/videocache/videocache.py
nobody 7446 0.0 0.2 39212 8472 ? Ss Feb18 0:00 (python) /usr/share/videocache/videocache.py
nobody 31680 0.2 0.2 39196 8464 ? Ss 14:22 0:00 (python) /usr/share/videocache/videocache.py
nobody 31681 0.3 0.2 39208 8472 ? Ss 14:22 0:00 (python) /usr/share/videocache/videocache.py
nobody 31682 0.2 0.2 39196 8464 ? Ss 14:22 0:00 (python) /usr/share/videocache/videocache.py
nobody 31683 0.2 0.2 39200 8468 ? Ss 14:22 0:00 (python) /usr/share/videocache/videocache.py
nobody 31684 0.3 0.2 39204 8468 ? Ss 14:22 0:00 (python) /usr/share/videocache/videocache.py
root 31716 0.0 0.0 3940 740 pts/2 S+ 14:23 0:00 grep python

after that, kill all the instances of videocache.py using kill PID

Uncomment the folowing lines in squid.conf

url_rewrite_program /usr/bin/python /usr/share/videocache/videocache.py
url_rewrite_children 5
url_rewrite_access deny videocache_deny_url
url_rewrite_access allow videocache_allow_url
url_rewrite_access allow videocache_allow_dom
redirector_bypass on

Finish the job

Restart squid gracefully

/etc/init.d/squid restart

and you should see that like a miracle videocache start working again.

Hope this will help (it took me a couple of time to figure this out :) )

admin's picture
Offline
Joined: Nov 2 2008

Anon,

Thank you for posting the cleanup process. But you can do all of the above with just one command (obviously if you are not too much concerned about killing your squid process)

killall -9 squid python; service squid start

Thank you for using videocache :)

Offline
Joined: Feb 16 2009

well, using killall -9 python i agree, but the instructions where to clean up everything and in the process explain how the magic of cachevideo works. I agree with you, but with that, for the most curious person, that will not be enought. never the less, here is the cleanup instruction. :)

Cheers,

BTW, i completely forgot to make the login before posting this.
duh....

admin's picture
Offline
Joined: Nov 2 2008

Hi,

Thanks for explaining the process. And I edited the post with you as author :)

Jean Carlos (not verified)

but because this problem? There has always been such a problem.

Thanks.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

Buy Now

Videocache Bundle (RPM and tar archive) is available. Secure your copy now by clicking the button below.
No. of Servers?
For details, check this page.

Recent comments

Spread it

Thank you for spreading the word!

Who's online

There are currently 0 users and 77 guests online.