error auth pam so

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
pazzo-valerio
OpenVpn Newbie
Posts: 1
Joined: Fri Nov 16, 2018 10:37 am

error auth pam so

Post by pazzo-valerio » Fri Nov 16, 2018 10:47 am

hello i have this error in my server openvpn

Fri Nov 16 11:24:50 2018 PLUGIN_INIT: could not load plugin DLL: /usr/lib/openvpn/openvpn-plugin-auth-pam.so: Unknown error (errno=126)
Fri Nov 16 11:24:50 2018 Exiting due to fatal error

my client conf is

Code: Select all

client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote xx.xx.xx.xx 1194
resolv-retry infinite
nobind
auth-user-pass
plugin /usr/lib/openvpn/openvpn-plugin-auth-pam.so login
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
comp-lzo
setenv opt block-outside-dns
key-direction 1
verb 3
my server conf is

Code: Select all

port 1194
proto tcp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 1.1.1.1"
push "dhcp-option DNS 1.0.0.1"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
# Drop Users
user nobody
group nogroup
plugin /usr/lib/openvpn/openvpn-plugin-auth-pam.so login
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem

lcate openvpn-plugin-auth-pam.so is
/usr/lib/openvpn/openvpn-plugin-auth-pam.so

what could be the problem? how can i solve

Post Reply