Softethervpn: v4.10-9505-beta no puede funcionar en Ubuntu 14.04

Creado en 16 oct. 2014  ·  12Comentarios  ·  Fuente: SoftEtherVPN/SoftEtherVPN

Descargué el v4.10-9505-beta src y lo compilé en mi Ubuntu 14.04, y la instalación se muestra bien.
Pero inicie el comando 'vpnclient start' o '' vpncmd ', falla ...

- Alerta: Kernel VPN SoftEther -
Error fatal: el archivo "hamcore.se2" falta o está roto.
Por favor, consulte hamcore.se2.

(Primero, reinicie la computadora. Si este problema ocurre nuevamente, reinstale los archivos del software VPN).

Luego reinicio la computadora, vuelve a ocurrir.

Busqué el archivo hamecore.se2 en mi computadora, le gusta ..
~ $ 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

Revisé el documento de Instalación de Linux de softether.org, decía que el software VPN se estaba instalando en / usr / local /. ¿Porqué es eso?

Gracias

Close candidate Pull Request available

Comentario más útil

Encuentro el mismo problema. simplemente ejecútelo de raíz, todo estará bien.
$ sudo vpnserver start

Todos 12 comentarios

Esto no ayudará, pero estoy ejecutando SoftEther en ubuntu 14.04 sin ningún problema.

Tengo linux mint 17.1 (basado en Ubuntu 14.04), funciona sin problemas hasta ahora (servidor + cliente).
Estoy usando el último kernel LTS disponible:

$ sudo apt-get install linux-image-generic-lts-utopic linux-headers-generic-lts-utopic
$ reiniciar

Atentamente,
pcdummy

Encuentro el mismo problema. simplemente ejecútelo de raíz, todo estará bien.
$ sudo vpnserver start

Tuve este problema cuando saqué los ejecutables del directorio de compilación. Moverlos de nuevo y ejecutar vpnserver desde aquí solucionó el problema.

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

Tiene el mismo problema y Windows y el problema permanecen incluso si se ejecuta como administrador. existe un archivo con el mismo nombre en el directorio pero de 0 KB de tamaño. El intento de desinstalar da el mismo problema que me hace imposible reinstalar

El problema se debe a hamcore.se2 debajo de /bin/vpnbridge , /bin/vpnclient , /bin/vpncmd , /bin/vpnserver es solo acceso de root.

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

así que simplemente ejecute el comando sudo vpnserver start

Este problema tiene un par de años y hay muchas buenas respuestas aquí, y personalmente no pude reproducirlo, al instalar bajo / opt y otorgar los permisos correctos.
Se supone que vpnserver se ejecuta con sudo.

Si todo va bien ahora, me gustaría solucionar este problema en los próximos días.

PR # 339 Resuelve este problema para vpncmd. vpnserver debe iniciarse como root. Para vpnclient, no estoy seguro

@ moatazelmasry2 ¿Quieres arreglar _vpnclient_? Yo investigaré. Personalmente tengo esta convención:

  • Empiece vpnserver y vpnclient como _root_, porque son servicios.
  • Inicie vpncmd como usuario normal, porque se ejecuta una sola vez y ya existe una contraseña de administrador para proteger la configuración del sistema.

@hongquan sí es cierto. Entonces este problema se ha respondido correctamente. Cerrando este problema

Sé que esto está cerrado, pero cuando encontré este problema en Ubuntu 18.04, esto es lo que encontré. Si estoy en mi directorio de inicio:

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

Sin embargo, el archivo está presente:

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

Solo cd a ese directorio no funciona:

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

... sin embargo, llamar explícitamente a vpncmd en ese directorio hace:

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

Tenga en cuenta que vpncmd es un enlace simbólico, si ha utilizado softether.sh para instalar:

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

Supongo que vpncmd intenta obtener la ruta a sí mismo, y luego busca hamcore.se2 en el mismo directorio; sin embargo, probablemente no resuelve los enlaces simbólicos, por lo que termina con /usr/local/bin/ como ruta a sí mismo en lugar del /usr/local/vpnserver/ correcto, busca allí hamcore.se2 , no encuentra y falla.

¿Por qué no abrir una nueva edición?

¿Fue útil esta página
0 / 5 - 0 calificaciones

Temas relacionados

suyash95 picture suyash95  ·  4Comentarios

halloamt picture halloamt  ·  12Comentarios

GlennMatthys picture GlennMatthys  ·  6Comentarios

TheNomad11 picture TheNomad11  ·  5Comentarios

dimzon picture dimzon  ·  3Comentarios