• March 28, 2024, 02:42:34 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: [1] 2

Author Topic: Add-on "BarracudaDrive v.6.9" for D-Link NAS  (Read 15846 times)

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Add-on "BarracudaDrive v.6.9" for D-Link NAS
« 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
DNS-325 BarracudaDrive Package v1.00_04022015_UA
DNS-327L BarracudaDrive Package v1.00_04022015_UA
DNS-340L BarracudaDrive Package v1.00_04022015_UA
DNS-345 BarracudaDrive Package v1.00_04022015_UA

[Resource]
BarracudaDrive site https://barracudadrive.com/
Other Add-ons 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.
« Last Edit: September 30, 2015, 06:41:04 AM by vtverdohleb »
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

gryzor

  • Level 2 Member
  • **
  • Posts: 53
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #1 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! :(
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #2 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 the problem was not able to reproduce. Now I dont have DNS-320L :(
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

gryzor

  • Level 2 Member
  • **
  • Posts: 53
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #3 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!
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #4 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
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

gryzor

  • Level 2 Member
  • **
  • Posts: 53
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #5 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?
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #6 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
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

gryzor

  • Level 2 Member
  • **
  • Posts: 53
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #7 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?
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #8 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
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

gryzor

  • Level 2 Member
  • **
  • Posts: 53
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #9 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...
Logged

emb

  • Level 1 Member
  • *
  • Posts: 6
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #10 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
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #11 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.
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

emb

  • Level 1 Member
  • *
  • Posts: 6
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #12 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!
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #13 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
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

emb

  • Level 1 Member
  • *
  • Posts: 6
Re: Add-on "BarracudaDrive v.6.9" for D-Link NAS
« Reply #14 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
Logged
Pages: [1] 2