DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-02-22 05:34:32

InBonobo
Member
From: Toronto
Registered: 2009-01-18
Posts: 34
Website

fixing python

I've a python script that used to work, but not anymore. I tested it back in November and had it on cron and it worked, only that now it refuses to do so. I tried installing / uninstalling different versions of python (2.5, 2.6, 2.7) but nothing works.

With the funpkg versions (.5, .6) I get a segmentation fault. With the ipkg version (2.7) I get  /opt/bin/python: can't resolve symbol 'dbm_firstkey'

any suggestion?


1 DNS-323, HW B1, 2 x 2TB WD Black (WD2001FASS), fw 1.09, fun_plug 0.5
1 DNS-321, HW A2, 2 x 1TB Seagate Barracuda 7200.11 (currently failed)
Here's my Hacking DNS-323 and DNS-321 NAS Guide smile

Offline

 

#2 2012-09-23 17:26:40

InBonobo
Member
From: Toronto
Registered: 2009-01-18
Posts: 34
Website

Re: fixing python

nobody answered, so here's what works:

# cd /opt/lib/python2.7/lib-dynload
# mv dbm.so xdbm.so

obviously, if using 2.5, substitute accordingly.


1 DNS-323, HW B1, 2 x 2TB WD Black (WD2001FASS), fw 1.09, fun_plug 0.5
1 DNS-321, HW A2, 2 x 1TB Seagate Barracuda 7200.11 (currently failed)
Here's my Hacking DNS-323 and DNS-321 NAS Guide smile

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB