BolPoint.wordpress.com

November 14, 2011

[SOLVED] START_XMLRPC_SERVER_ERR – Cannot start XMLRPC Server – Exiting

Filed under: Linux — bolpoint @ 1:29 am

Halo, aku posting di sini pemecahan ini sehingga orang-orang lainnya yang mengalami ini tahu bagaimana jembatan itu.

saya instalasi cachevideo berhenti caching video. dan di log pop ini up:

START_XMLRPC_SERVER_ERR – Cannot start XMLRPC Server – Exiting

Penjelasan:
Hal ini terjadi karena ada redirectors lebih aktif daripada permited oleh squid di squid.conf.

solusi:

Pertama, komentar folowing baris di 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 konfigurasi baru squid

squid-k reconfigure

Hapus berantakan

ps aux |grep videocache

Anda akan melihat bahwa ada sejumlah loarge pada contoh berjalan. Dalam kasus saya pop ini 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

setelah itu, kill semua instances videocache.py menggunakan kill PID

Uncomment baris folowing di 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

Menyelesaikan pekerjaan

Restart squid kembali

/etc/init.d/squid restart

dan Anda akan melihat bahwa seperti videocache keajaiban mulai bekerja lagi.

Berharap ini akan membantu (aku butuh beberapa waktu untuk mencari tahu ini:))

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: