Softethervpn: v4.10-9505-beta ne peut pas fonctionner sur Ubuntu 14.04

Créé le 16 oct. 2014  ·  12Commentaires  ·  Source: SoftEtherVPN/SoftEtherVPN

J'ai téléchargé le src v4.10-9505-beta et je l'ai compilé sur mon Ubuntu 14.04, et l'installation est correcte.
Mais lancez la commande 'vpnclient start' ou ''vpncmd', cela échoue...

-- Alerte : noyau VPN SoftEther --
Erreur fatale : le fichier « hamcore.se2 » est manquant ou cassé.
Veuillez vérifier hamcore.se2.

(Tout d'abord, redémarrez l'ordinateur. Si ce problème se reproduit, veuillez réinstaller les fichiers du logiciel VPN.)

Ensuite, je redémarre l'ordinateur, cela se produit à nouveau.

J'ai recherché le fichier hamecore.se2 sur mon ordinateur, il aime ..
~$ 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

J'ai vérifié le document d'installation de Linux sur softether.org, il disait que le logiciel VPN était installé sur /usr/local/. Pourquoi donc?

Merci

Close candidate Pull Request available

Commentaire le plus utile

Je rencontre le même problème. lancez-le simplement par root, tout ira bien.
$ sudo vpnserver start

Tous les 12 commentaires

Cela n'aidera pas, mais j'exécute SoftEther sur Ubuntu 14.04 sans aucun problème.

J'ai linux mint 17.1 (basé sur Ubuntu 14.04), fonctionne sans problème jusqu'à présent (serveur + client).
J'utilise le dernier noyau LTS disponible :

$ sudo apt-get install linux-image-generic-lts-utopic linux-headers-generic-lts-utopic
$ redémarrer

Sincères amitiés,
pcdummy

Je rencontre le même problème. lancez-le simplement par root, tout ira bien.
$ sudo vpnserver start

J'ai eu ce problème lorsque j'ai déplacé les exécutables hors du répertoire de construction. Les remettre en place et exécuter vpnserver partir d'ici a résolu le problème.

$ 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.

Avoir le même problème et Windows et le problème restent même s'ils sont exécutés en tant qu'administrateur. un fichier du même nom existe dans le répertoire mais de taille 0Ko. Tentative de désinstallation donne le même problème qui me rend impossible à réinstaller

Le problème est dû à hamcore.se2 sous /bin/vpnbridge , /bin/vpnclient , /bin/vpncmd , /bin/vpnserver est un accès root uniquement.

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

alors lancez simplement la commande sudo vpnserver start

Ce problème date de quelques années et il y a beaucoup de bonnes réponses ici, et je n'ai personnellement pas pu le reproduire, lors de l'installation sous /opt et en donnant les autorisations correctes.
vpnserver est censé fonctionner avec sudo.

Si les choses fonctionnent bien maintenant, j'aimerais clore ce problème dans les prochains jours

PR #339 Résout ce problème pour vpncmd. vpnserver doit être démarré en tant que root. Pour vpnclient, je ne suis pas sûr

@moatazelmasry2 Voulez-vous réparer _vpnclient_ ? je vais faire des recherches. J'ai personnellement cette convention :

  • Démarrez vpnserver et vpnclient tant que _root_, car ce sont des services.
  • Démarrez vpncmd tant qu'utilisateur normal, car il est exécuté une seule fois et il existe déjà un mot de passe administrateur pour protéger la configuration du système.

@hongquan oui vrai. Cette question a donc reçu une réponse correcte. Fermeture de ce problème

Je sais que c'est fermé, mais comme je suis tombé sur ce problème sur Ubuntu 18.04, voici ce que j'ai trouvé. Si je suis dans mon répertoire personnel :

~$ 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.)

Cependant le fichier est présent :

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

Juste cd dans ce répertoire ne fonctionne pas :

~$ (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.)

... cependant, appeler explicitement le vpncmd dans ce répertoire :

~$ (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

Notez que vpncmd est un lien symbolique, si vous avez utilisé softether.sh pour installer :

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

Je suppose que le vpncmd essaie d'obtenir le chemin vers lui-même, puis recherche hamcore.se2 dans le même répertoire ; cependant, il ne résout probablement pas les liens symboliques, donc se retrouve avec /usr/local/bin/ comme chemin vers lui-même au lieu du bon /usr/local/vpnserver/ , cherche hamcore.se2 , ne trouve pas il, et échoue.

Pourquoi ne pas ouvrir un nouveau numéro ?

Cette page vous a été utile?
0 / 5 - 0 notes

Questions connexes

dimzon picture dimzon  ·  3Commentaires

gulbuhar picture gulbuhar  ·  9Commentaires

halloamt picture halloamt  ·  12Commentaires

TheNomad11 picture TheNomad11  ·  5Commentaires

GlennMatthys picture GlennMatthys  ·  6Commentaires