Softethervpn: v4.10-9505-beta لا يمكن أن يعمل على Ubuntu 14.04

تم إنشاؤها على ١٦ أكتوبر ٢٠١٤  ·  12تعليقات  ·  مصدر: SoftEtherVPN/SoftEtherVPN

لقد قمت بتنزيل v4.10-9505-beta src وقمت بتجميعه على Ubuntu 14.04 ، وعروض التثبيت جيدة.
لكن ابدأ الأمر 'vpnclient start' أو 'vpncmd' ، فإنه يفشل ...

- تنبيه: SoftEther VPN Kernel -
خطأ فادح: ملف "hamcore.se2" مفقود أو معطل.
يرجى التحقق من hamcore.se2.

(أولاً ، أعد تشغيل الكمبيوتر. إذا حدثت هذه المشكلة مرة أخرى ، يرجى إعادة تثبيت ملفات برنامج VPN.)

ثم أعيد تشغيل الكمبيوتر ، سيحدث مرة أخرى.

لقد بحثت في ملف hamecore.se2 على جهاز الكمبيوتر الخاص بي ، إنه يحب ..
~ $ sudo find / -name 'hamcore.se2' -print
/usr/vpnbridge/hamcore.se2
/usr/vpncmd/hamcore.se2
/usr/vpnclient/hamcore.se2
/usr/vpnserver/hamcore.se2
/home/chance/github/SoftEtherVPN/src/bin/BuiltHamcoreFiles/unix/hamcore.se2
/home/chance/github/SoftEtherVPN/bin/vpnserver/hamcore.se2
/home/chance/github/SoftEtherVPN/bin/vpnclient/hamcore.se2
/home/chance/github/SoftEtherVPN/bin/vpnbridge/hamcore.se2
/home/chance/github/SoftEtherVPN/bin/vpncmd/hamcore.se2

لقد تحققت من مستند تثبيت Linux من softether.org ، فذكر أنه يتم تثبيت برنامج VPN على / usr / local /. لماذا هذا؟

شكرا

Close candidate Pull Request available

التعليق الأكثر فائدة

أواجه نفس المشكلة. فقط قم بتشغيله عن طريق الجذر ، كل شيء سيكون على ما يرام.
بدء تشغيل $ sudo vpnserver

ال 12 كومينتر

هذا لن يساعد ، لكني أقوم بتشغيل SoftEther على أوبونتو 14.04 دون أي مشاكل.

لدي لينكس مينت 17.1 (على أساس Ubuntu 14.04) ، يعمل بدون مشاكل حتى الآن (خادم + عميل).
أنا أستخدم أحدث نواة LTS المتاحة:

sudo apt-get install linux-image-generic-lts-utopic linux-headers-generic-lts-utopic دولار
إعادة التشغيل $

أطيب التحيات،
pcdummy

أواجه نفس المشكلة. فقط قم بتشغيله عن طريق الجذر ، كل شيء سيكون على ما يرام.
بدء تشغيل $ sudo vpnserver

واجهت هذه المشكلة عندما نقلت الملفات التنفيذية من دليل البناء. لقد أدى نقلهم مرة أخرى وتشغيل vpnserver من هنا إلى إصلاح المشكلة.

$ ls -al vpnserver/
-rwxrwxrwx 1 root root 1.9K Jul 26 02:27 Authors.txt*
drwx------ 2 root root 4.0K Aug  3 07:58 chain_certs/
drwxrwxrwx 2 root root 4.0K Aug  3 07:58 code/
-rwxrwxrwx 1 root root 1.3M Jul 26 02:27 hamcore.se2*
-rw------- 1 root root  867 Aug  3 07:58 lang.config
drwxrwxrwx 2 root root 4.0K Aug  3 07:58 lib/
-rwxrwxrwx 1 root root 2.1K Jul 26 02:27 Makefile*
-rwxrwxrwx 1 root root  31K Jul 26 02:27 ReadMeFirst_Important_Notices_cn.txt*
-rwxrwxrwx 1 root root  36K Jul 26 02:27 ReadMeFirst_Important_Notices_en.txt*
-rwxrwxrwx 1 root root  50K Jul 26 02:27 ReadMeFirst_Important_Notices_ja.txt*
-rwxrwxrwx 1 root root  58K Jul 26 02:27 ReadMeFirst_License.txt*
-rwx------ 1 root root 4.4M Aug  3 07:58 vpncmd*
-rwx------ 1 root root 4.4M Aug  3 07:58 vpnserver*

$ ./vpnserver -v
SoftEther VPN Server service program
Copyright (c) SoftEther VPN Project. All Rights Reserved.

vpnserver command usage:
 vpnserver start  - Start the SoftEther VPN Server service.
 vpnserver stop   - Stop the SoftEther VPN Server service if the service has been already started.

لديك نفس المشكلة والنوافذ والمشكلة لا تزال قائمة حتى لو تم تشغيلها كمسؤول. يوجد ملف بنفس الاسم في الدليل ولكن بحجم 0 كيلو بايت. تعطي محاولة إلغاء التثبيت نفس المشكلة التي تجعلني مستحيلاً لإعادة التثبيت

ترجع المشكلة إلى hamcore.se2 تحت /bin/vpnbridge ، /bin/vpnclient ، /bin/vpncmd ، /bin/vpnserver هو الوصول إلى الجذر فقط.

$ ls -al /usr/vpnserver/hamcore.se2
-rw------- 1 root root 1296234 Mar  6 07:05 /usr/vpnserver/hamcore.se2

لذلك فقط قم بتشغيل الأمر sudo vpnserver start

هذه المشكلة عمرها عامين وهناك العديد من الإجابات الجيدة هنا ، وأنا شخصياً لا أستطيع إعادة إنتاجها ، عند التثبيت تحت / اختيار وإعطاء الأذونات الصحيحة.
من المفترض أن يعمل vpnserver مع sudo.

إذا كانت الأمور تسير على ما يرام الآن ، أود إغلاق هذه المشكلة في الأيام القليلة المقبلة

PR # 339 يحل مشكلة vpncmd. يجب أن تبدأ vpnserver كجذر. بالنسبة إلى vpnclient ، لست متأكدًا

@ moatazelmasry2 هل تريد إصلاح _vpnclient_؟ سأبحث. أنا شخصياً لدي هذه الاتفاقية:

  • ابدأ vpnserver و vpnclient كـ _root_ ، لأنهما خدمات.
  • ابدأ vpncmd كمستخدم عادي ، لأنه يتم تشغيله مرة واحدة وهناك بالفعل كلمة مرور المسؤول لحماية تكوين النظام.

hongquan نعم صحيح. لذلك تم الرد على هذه المشكلة بشكل صحيح. إغلاق هذه القضية

أعلم أن هذا مغلق ، ولكن بما أنني عثرت على هذه المشكلة في Ubuntu 18.04 ، فإليك ما وجدته. إذا كنت في دليل منزلي:

~$ sudo vpncmd
-- Alert: SoftEther VPN Kernel --
Fatal Error: The file "hamcore.se2" is missing or broken.
Please check hamcore.se2.

(First, reboot the computer. If this problem occurs again, please reinstall VPN software files.)

مع ذلك الملف موجود:

~$ ls -la /usr/local/vpnserver | grep se2
-rw-------  1 root root 1296250 Jan 15  2018 hamcore.se2

فقط cd لهذا الدليل لا يعمل:

~$ (cd /usr/local/vpnserver && sudo vpncmd)
-- Alert: SoftEther VPN Kernel --
Fatal Error: The file "hamcore.se2" is missing or broken.
Please check hamcore.se2.

(First, reboot the computer. If this problem occurs again, please reinstall VPN software files.)

... ومع ذلك ، فإن استدعاء vpncmd صراحة في هذا الدليل يؤدي إلى:

~$ (cd /usr/local/vpnserver && sudo ./vpncmd)
vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.25 Build 9656   (English)
Compiled 2018/01/15 10:17:04 by yagi at pc33
Copyright (c) SoftEther VPN 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: ^C

لاحظ أن vpncmd عبارة عن ارتباط رمزي ، إذا استخدمت softether.sh للتثبيت:

~$ ls -la `which vpncmd` 
lrwxrwxrwx 1 root root 27 Feb 23 19:43 /usr/local/bin/vpncmd -> /usr/local/vpnserver/vpncmd

تخميني هو أن vpncmd يحاول الحصول على المسار إلى نفسه ، ثم يبحث عن hamcore.se2 في نفس الدليل ؛ ومع ذلك ، من المحتمل أنه لا يحل الروابط الرمزية ، لذلك ينتهي الأمر بـ /usr/local/bin/ كمسار إلى نفسه بدلاً من /usr/local/vpnserver/ الصحيح ، يبحث هناك عن hamcore.se2 ، لم يتم العثور عليه عليه وفشل.

لماذا لا تفتح قضية جديدة؟

هل كانت هذه الصفحة مفيدة؟
0 / 5 - 0 التقييمات

القضايا ذات الصلة

davidebeatrici picture davidebeatrici  ·  14تعليقات

forever8938 picture forever8938  ·  8تعليقات

halloamt picture halloamt  ·  12تعليقات

kvv213 picture kvv213  ·  11تعليقات

renatosc picture renatosc  ·  3تعليقات