You are here

Error run wg++

9 posts / 0 new
Last post
zontia
Offline
Donator
Joined: 5 years
Last seen: 3 years
Error run wg++

Hi,

Can you please help me with these error

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'WGconsole.Program' threw an exception. ---> System.DllNotFoundException: /usr/lib/../lib/libmono-system-native.so
at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.IO.File.Exists (System.String path) [0x00043] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.TryLoadTzFile (System.String tzFilePath, System.Byte[]& rawData, System.String& id) [0x00000] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.TryGetLocalTzFile (System.Byte[]& rawData, System.String& id) [0x0000f] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.GetLocalTimeZoneFromTzFile () [0x00000] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.GetLocalTimeZone (System.TimeZoneInfo+CachedData cachedData) [0x00000] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo+CachedData.CreateLocal () [0x00018] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo+CachedData.get_Local () [0x0000c] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.get_Local () [0x00000] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (System.DateTime time, System.Boolean& isAmbiguousLocalDst) [0x00000] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.DateTime.get_Now () [0x00008] in <81342d83acda4c5590ec19c7afdf26b9>:0
at WGconsole.Program..cctor () [0x0003c] in <274ad6f9740e441a95b86a1d1148edca>:0
--- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'WGconsole.Program' threw an exception. ---> System.DllNotFoundException: /usr/lib/../lib/libmono-system-native.so
at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.IO.File.Exists (System.String path) [0x00043] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.TryLoadTzFile (System.String tzFilePath, System.Byte[]& rawData, System.String& id) [0x00000] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.TryGetLocalTzFile (System.Byte[]& rawData, System.String& id) [0x0000f] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.GetLocalTimeZoneFromTzFile () [0x00000] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.GetLocalTimeZone (System.TimeZoneInfo+CachedData cachedData) [0x00000] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo+CachedData.CreateLocal () [0x00018] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo+CachedData.get_Local () [0x0000c] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.get_Local () [0x00000] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (System.DateTime time, System.Boolean& isAmbiguousLocalDst) [0x00000] in <81342d83acda4c5590ec19c7afdf26b9>:0
at System.DateTime.get_Now () [0x00008] in <81342d83acda4c5590ec19c7afdf26b9>:0
at WGconsole.Program..cctor () [0x0003c] in <274ad6f9740e441a95b86a1d1148edca>:0
--- End of inner exception stack trace ---

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours

without knowing what are you running is difficult, so first make sure mono version 5 or more

zontia
Offline
Donator
Joined: 5 years
Last seen: 3 years

After update from version 5 to 6 and start run.sh i get these msg

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours

If you can attach WebGrab++.log.txt would be helpful

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 5 hours

his problem is this..

System.DllNotFoundException: /usr/lib/../lib/libmono-system-native.so

did u install mono-complete when u installed mono?

a full mono install is not necessary but its the simpliest way to avoid these problems if you do not know what you are doing.

zontia
Offline
Donator
Joined: 5 years
Last seen: 3 years

Yes before upgrade package it is work perfect,after upgrade not working
first pic check available pkg for upgrade
second pic install upgrade
and most important is pic 3

after i try to install upgrade

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 5 hours

it look like your selecting individual files.are u using ubuntu repo's?
if you are then you should use mono's repo and the newer version(> 5.0.0) is need for some https sites.

go here..

https://www.mono-project.com/download/stable/#download-lin

install the repo and do the update as per step 1.

for step 2 don't do what it says(sudo apt install mono-devel),run this instead..

sudo apt-get install mono-complete

zontia
Offline
Donator
Joined: 5 years
Last seen: 3 years

yes i try ,but get msg like pic 3

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 5 hours

run this in terminal to completely remove mono,then reinstall as I said above.

sudo apt remove --purge --auto-remove mono-runtime

it looks like this error is cause from a mix of old/new files as this library was renamed,see here for more..

https://github.com/mono/mono/issues/12316

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl