Installation on QNAP TS-269 Pro NAS failed (SOLVED)

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
yhfung
Posts: 12
Joined: Wed Mar 20, 2013 6:18 pm

Installation on QNAP TS-269 Pro NAS failed (SOLVED)

Post by yhfung » Sun Mar 31, 2013 1:14 am

I attempted to install SoftEther VPN Server on my QNAP TS-269 Pro Machine but failed with following procedures:

1. The NAS is a 64-bit x86 machine

[/opt/source/softether/vpnserver] # uname -m
x86_64

2. Downloaded the corresponding x86_64 files for 64-bit Linux platform

softether-vpnserver-v1.00-9038-rc2-2013.03.28-linux-x64-64bit.tar.gz

3. Ran the make command, it gave error messages shown in Listing 1

4. Ran the en -s command, it gave error messages shwon in Listing 2


Please advise any means to fix the problem.


Listing 1: Error messages using make command

make[1]: Entering directory `/share/MD0_DATA/.qpkg/Optware/source/softether/vpnserver'
Preparing SoftEther VPN Server...
ranlib lib/libcharset.a
ranlib lib/libcrypto.a
ranlib lib/libedit.a
ranlib lib/libiconv.a
ranlib lib/libintelaes.a
ranlib lib/libncurses.a
ranlib lib/libssl.a
ranlib lib/libz.a
ranlib code/vpnserver.a
gcc code/vpnserver.a -O2 -fsigned-char -pthread -m64 -lm -ldl -lrt -lpthread -L./ lib/libssl.a lib/libcrypto.a lib/libiconv.a lib/libcharset.a lib/libedit.a lib/libncurses.a lib/libz.a lib/libintelaes.a -o vpnserver
code/vpnserver.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
make[1]: *** [i_read_and_agree_the_license_agreement] Error 1
make[1]: Leaving directory `/share/MD0_DATA/.qpkg/Optware/source/softether/vpnserver'


Listing 2: Error message using nm -s command

nm -s lib/libcharset.a
nm: localcharset.o: File format not recognized
nm: relocatable.o: File format not recognized
Last edited by yhfung on Sat Apr 06, 2013 3:02 am, edited 1 time in total.

yhfung
Posts: 12
Joined: Wed Mar 20, 2013 6:18 pm

Re: Installation on QNAP TS-269 Pro NAS failed

Post by yhfung » Sat Apr 06, 2013 1:44 am

QNAP TS-269 Pro is in fact running at 32-bit and not 64-bit OS. Therefore we are able to make the file without any problem anymore.

However, when I attempted to run "./vpnserver start", it gave the following messages:

[/opt/source/softether/vpnserver] # ./vpnserver start
-- Alert: SoftEther VPN Kernel --
String Library Init Failed.
Please check your locale settings and iconv() libraries.


This is the same error messages when I compile the source code.

Please help me to fix "Please check your locale settings and iconv() libraries."

yhfung
Posts: 12
Joined: Wed Mar 20, 2013 6:18 pm

Re: Installation on QNAP TS-269 Pro NAS failed

Post by yhfung » Sat Apr 06, 2013 3:02 am

When I added the following environment variable "export GCONV_PATH=/opt/lib/gconv", I was able to fix the run-time problem.

[/opt/source/softether/vpnserver] # ./vpncmd
vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 1.00 Build 9051 Release Candidate 2 (English)
Compiled 2013/04/05 17:53:35 by yagi at pc25
Copyright (c) SoftEther Project. All Rights Reserved.

By using vpncmd program, the following can be achieved.

1. Management of VPN Server or VPN Bridge
2. Management of VPN Client
3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool)

Select 1, 2 or 3:



SofterEther VPN Server:

[/opt/source/softether/vpnserver] # ./vpnserver start
SoftEther VPN Server Service Started.
[/opt/source/softether/vpnserver] #

yhfung
Posts: 12
Joined: Wed Mar 20, 2013 6:18 pm

Re: Installation on QNAP TS-269 Pro NAS failed (SOLVED)

Post by yhfung » Sat Apr 06, 2013 8:13 am

If you want to see the complete installation, please take a look at the following website:

http://www.telecom-cafe.com/forum/viewt ... a=page%3D1

Post Reply