D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => ShareCenter® Add-on Applications => Topic started by: vtverdohleb on April 03, 2015, 06:01:09 AM

Title: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: vtverdohleb on April 03, 2015, 06:01:09 AM
[Add-on] BarracudaDrive v.6.9

[Description]
BarracudaDrive is a secure application server with an integrated scripting language, database engine, WebDAV server, Web File Manager, tiny SSL server. The server also comes with an easy to use Content Management System (Web Page Creator) and an Electronic Bulletin Board. BarracudaDrive is designed for the non-technical user.

[Version]
Add-on Package v1.00

[Maintainer]
vtverdohleb

[Download link]
DNS-320L BarracudaDrive Package v1.00_04022015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-320L%20BarracudaDrive%20Package%20v1.00_04022015_UA)
DNS-325 BarracudaDrive Package v1.00_04022015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-325%20BarracudaDrive%20Package%20v1.00_04022015_UA)
DNS-327L BarracudaDrive Package v1.00_04022015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-327L%20BarracudaDrive%20Package%20v1.00_04022015_UA)
DNS-340L BarracudaDrive Package v1.00_04022015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-340L%20BarracudaDrive%20Package%20v1.00_04022015_UA)
DNS-345 BarracudaDrive Package v1.00_04022015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-345%20BarracudaDrive%20Package%20v1.00_04022015_UA)

[Resource]
BarracudaDrive site https://barracudadrive.com/ (https://barracudadrive.com/)
Other Add-ons http://dlink.vtverdohleb.org.ua/Add-On/ (http://dlink.vtverdohleb.org.ua/Add-On/)

[Remarks]
Download and install the BarracudaDrive Add-On.
Click the link for the BarracudaDrive web interface and configure it.
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: gryzor on April 03, 2015, 08:41:08 AM
Another add-on that seems to be doing nothing for me... Does it require Python? Because I keep installing Python and it's nowhere to be found! :(
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: vtverdohleb on April 06, 2015, 02:54:24 AM
Another add-on that seems to be doing nothing for me... Does it require Python?

No, Python is not needed, it is a standalone program

Quote
Because I keep installing Python and it's nowhere to be found! :(

I'm on my DNS-325 & DNS-327L (https://drive.google.com/file/d/0B7Vk6-tGHgeVV2dzQ2JFeFBaX28/view?usp=sharing) the problem was not able to reproduce. Now I dont have DNS-320L :(
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: gryzor on April 06, 2015, 03:03:57 AM
Still nothing for me... I'm thinking of resetting my box back to factory settings. Thanks for trying to help!
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: vtverdohleb on April 06, 2015, 04:15:44 AM
Still nothing for me... I'm thinking of resetting my box back to factory settings. Thanks for trying to help!

Do you have shell access on the NAS? If there is, you need to check the directory /mnt/HD/HD_a2/Nas_Prog/python
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: gryzor on April 06, 2015, 05:39:38 AM

Do you have shell access on the NAS? If there is, you need to check the directory /mnt/HD/HD_a2/Nas_Prog/python

Hm, yes the dir is there, but this is what I get:

/mnt/HD/HD_a2/Nas_Prog/python $ ./start.sh
ln: /usr/bin/python: Permission denied
ln: /usr/bin/python2: Permission denied
ln: /usr/bin/python2.7: Permission denied
cat: can't open '/apkg.rc': No such file or directory
cat: can't open '/apkg.rc': No such file or directory
Continuing in background, pid 17392.

Does this denote a problem?
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: vtverdohleb on April 06, 2015, 06:05:36 AM
/mnt/HD/HD_a2/Nas_Prog/python $ ./start.sh
ln: /usr/bin/python: Permission denied
ln: /usr/bin/python2: Permission denied
ln: /usr/bin/python2.7: Permission denied
cat: can't open '/apkg.rc': No such file or directory
cat: can't open '/apkg.rc': No such file or directory

You must run this:
Code: [Select]
./start.sh /mnt/HD/HD_a2/Nas_Prog/python

Add to the end of the file init.sh the following:
Code: [Select]
ln -s /mnt/HD/HD_a2/Nas_Prog/python/bin/python2.7 /usr/bin/python
ln -s /mnt/HD/HD_a2/Nas_Prog/python/bin/python2.7 /usr/bin/python2
ln -s /mnt/HD/HD_a2/Nas_Prog/python/bin/python2.7 /usr/bin/python2.7
and restart the NAS. I realized what the problem is, but I can't figure out how to solve it
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: gryzor on April 06, 2015, 06:15:57 AM
Thanks so much for your help, you can't imagine how appreciated it is.

Running it as you said still gives me the 'permission denied' errors:

Code: [Select]
/mnt/HD/HD_a2/Nas_Prog/python $ ./start.sh /mnt/HD/HD_a2/Nas_Prog/python
ln: /usr/bin/python: Permission denied
ln: /usr/bin/python2: Permission denied
ln: /usr/bin/python2.7: Permission denied
Continuing in background, pid 2880.
/mnt/HD/HD_a2/Nas_Prog/python $

Trying to edit init.sh in vim, vim tells me it's in RO mode. I guess I don't have enough privileges?
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: vtverdohleb on April 06, 2015, 07:52:53 AM
Running it as you said still gives me the 'permission denied' errors:
Code: [Select]
/mnt/HD/HD_a2/Nas_Prog/python $ ./start.sh /mnt/HD/HD_a2/Nas_Prog/python
ln: /usr/bin/python: Permission denied
ln: /usr/bin/python2: Permission denied
ln: /usr/bin/python2.7: Permission denied
/mnt/HD/HD_a2/Nas_Prog/python $
Trying to edit init.sh in vim, vim tells me it's in RO mode. I guess I don't have enough privileges?

It should be done with root user
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: gryzor on April 06, 2015, 08:11:32 AM
DAMN IT! I was typing "whoami" in the wrong terminal tab :D Thanks, that worked. Now to confirm apps using Python are working...
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: emb on June 14, 2015, 02:01:59 PM
Hello, I`ve been traying to use this addon a I can`t.
I`ve installed on my DNS-320L Python plugin (v 1.04) and I`ve installed Barracuda addon. Both installation finish correctly. Both are running at star up.
I`ve seen that seen that port 9443 is not open so at the end of the init.sh file I`ve added: echo "Barracuda 9443/tcp" >> /etc/services
After waiting a lot I get timeout response from Barracuda  (before adding that line to the services file there wasn`t response: this page is not available).

What can I do to run this addon? Can someone help me?

Thanks

PS: sorry for my bad English, I`m from spain
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: vtverdohleb on June 15, 2015, 01:27:16 AM
I`ve installed on my DNS-320L Python plugin (v 1.04) and I`ve installed Barracuda addon. Both installation finish correctly. Both are running at star up.
I`ve seen that seen that port 9443 is not open so at the end of the init.sh file I`ve added: echo "Barracuda 9443/tcp" >> /etc/services
After waiting a lot I get timeout response from Barracuda  (before adding that line to the services file there wasn`t response: this page is not available).

1. Python for BarracudaDrive is not required.
2. Why "echo "Barracuda 9443/tcp" >> /etc/services"? It's absolutely nothing.
3. Try to telnet or ssh to perform the following:
Code: [Select]
/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive/bdd -p9080 -s9443 -unobody -h/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive -r/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive/disk --threads 3 --sessions 100 --connections 100 --pidfile bdd
and show me the output.
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: emb on June 15, 2015, 02:16:50 PM
Thanks for your answer!
1. I`ve add Python cause on a previous post someone said that is necesary.
2. I`ve add that line cause after running netstat I get port not Listening, so I think that the best way to get that port on listening status.
3. Here you have the resoult of the command you told me to run:

/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive/bdd -p9080 -s9443 -unobody -h/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive -r/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive/disk --threads 3 --sessions 100 --connections 100 --pidfile bdd
Threads: 3
Sessions: 100
Connections: 100
Validating server....
Wait...
EPOLL dispatcher; maxcon: 262144
Cannot open server listen port 9080: bind
Error: .bdconfig:207: Cannot open server listen port 9080: bind.

Any idea?
Thanks in advance!
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: vtverdohleb on June 16, 2015, 02:01:13 AM
No se puede abrir el puerto 9080. Quizás él ya está en uso de alguna aplicación.
Code: [Select]
netstat -lnpt
Code: [Select]
ps ax|grep bdd
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: emb on June 16, 2015, 02:04:43 PM
I`ve run both commands and above you can see my outputs.

No se puede abrir el puerto 9080. Quizás él ya está en uso de alguna aplicación.
Code: [Select]
netstat -lnpt
Proto Recv-Q Send-Q Local Address           Foreign Address         State              PID/Program name
tcp        0      0 0.0.0.0:992             0.0.0.0:*               LISTEN             3362/vpnserver
tcp        0      0 0.0.0.0:515             0.0.0.0:*               LISTEN             2087/lpd Waiting
tcp        0      0 0.0.0.0:901             0.0.0.0:*               LISTEN             3684/inetd
tcp        0      0 0.0.0.0:1194            0.0.0.0:*               LISTEN             3362/vpnserver
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN             2510/mysqld
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN             3645/smbd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN             3121/lighttpd
tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN             3117/perl
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN             3700/dropbear
tcp        0      0 0.0.0.0:442             0.0.0.0:*               LISTEN             3362/vpnserver
tcp        0      0 0.0.0.0:6555            0.0.0.0:*               LISTEN             3362/vpnserver
tcp        0      0 172.20.0.211:443        0.0.0.0:*               LISTEN             3121/lighttpd
tcp        0      0 127.0.0.1:443           0.0.0.0:*               LISTEN             3121/lighttpd
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN             3645/smbd
tcp        0      0 :::992                  :::*                    LISTEN             3362/vpnserver
tcp        0      0 :::9443                 :::*                    LISTEN             3041/bdd
tcp        0      0 :::1194                 :::*                    LISTEN             3362/vpnserver
tcp        0      0 :::80                   :::*                    LISTEN             3121/lighttpd
tcp        0      0 :::22                   :::*                    LISTEN             3700/dropbear
tcp        0      0 :::23                   :::*                    LISTEN             3150/telnetd
tcp        0      0 :::9080                 :::*                    LISTEN             3041/bdd
tcp        0      0 :::442                  :::*                    LISTEN             3362/vpnserver
tcp        0      0 :::6555                 :::*                    LISTEN             3362/vpnserver


Quote
Code: [Select]
ps ax|grep bdd

 ps ax|grep bdd
 3041 ?        Sl     0:00 /mnt/HD/HD_a2/Nas_Prog/BarracudaDrive/bdd -p9080 -s9443 -d -unobody -h/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive -r/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive/disk --threads 3 --sessions 100 --connections 100 --pidfile bdd
12844 ttyp0    R+     0:00 grep bdd
Thanks
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: vtverdohleb on June 17, 2015, 12:45:13 AM
I`ve run both commands and above you can see my outputs.

No se puede abrir el puerto 9080. Quizás él ya está en uso de alguna aplicación.
Code: [Select]
netstat -lnpt
Proto Recv-Q Send-Q Local Address           Foreign Address         State              PID/Program name
tcp        0      0 0.0.0.0:992             0.0.0.0:*               LISTEN             3362/vpnserver
tcp        0      0 0.0.0.0:515             0.0.0.0:*               LISTEN             2087/lpd Waiting
tcp        0      0 0.0.0.0:901             0.0.0.0:*               LISTEN             3684/inetd
tcp        0      0 0.0.0.0:1194            0.0.0.0:*               LISTEN             3362/vpnserver
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN             2510/mysqld
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN             3645/smbd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN             3121/lighttpd
tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN             3117/perl
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN             3700/dropbear
tcp        0      0 0.0.0.0:442             0.0.0.0:*               LISTEN             3362/vpnserver
tcp        0      0 0.0.0.0:6555            0.0.0.0:*               LISTEN             3362/vpnserver
tcp        0      0 172.20.0.211:443        0.0.0.0:*               LISTEN             3121/lighttpd
tcp        0      0 127.0.0.1:443           0.0.0.0:*               LISTEN             3121/lighttpd
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN             3645/smbd
tcp        0      0 :::992                  :::*                    LISTEN             3362/vpnserver
tcp        0      0 :::9443                 :::*                    LISTEN             3041/bdd
tcp        0      0 :::1194                 :::*                    LISTEN             3362/vpnserver
tcp        0      0 :::80                   :::*                    LISTEN             3121/lighttpd
tcp        0      0 :::22                   :::*                    LISTEN             3700/dropbear
tcp        0      0 :::23                   :::*                    LISTEN             3150/telnetd
tcp        0      0 :::9080                 :::*                    LISTEN             3041/bdd
tcp        0      0 :::442                  :::*                    LISTEN             3362/vpnserver
tcp        0      0 :::6555                 :::*                    LISTEN             3362/vpnserver


Quote
Code: [Select]
ps ax|grep bdd

 ps ax|grep bdd
 3041 ?        Sl     0:00 /mnt/HD/HD_a2/Nas_Prog/BarracudaDrive/bdd -p9080 -s9443 -d -unobody -h/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive -r/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive/disk --threads 3 --sessions 100 --connections 100 --pidfile bdd
12844 ttyp0    R+     0:00 grep bdd
Thanks

Proto Recv-Q Send-Q Local Address           Foreign Address         State              PID/Program name
tcp        0      0 :::9443                 :::*                    LISTEN             3041/bdd
tcp        0      0 :::9080                 :::*                    LISTEN             3041/bdd


http://ip_nas:9080 or https://ip_nas:9443
If not open, the problem is not the addon
Title: Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
Post by: tmelanson on June 25, 2015, 03:21:38 PM
Im having the exact same issue on my DNS-320L :(
Any other ideas?