Thread error invalid argument 22

Fails intermittently, but is probably not related to this specific test. FAILED: dartkp-dart_precompiled release_x64 co19/LibTest/collection/LinkedList/add_A01_t02 Expected: Pass Actual: Crash Comm...

It is still MallocHooks related, there is a race here:

  // Set the malloc hook flag before grabbing the mutex to avoid calling hooks
  // again.
  MallocHookScope mhs;
  MutexLocker ml(MallocHooksState::malloc_hook_mutex());

Notice that MallocHookScope is accessing in_malloc_hook_flag_ in a racy manner — not guarded by any mutex here — so it can be deleted right under it.

(gdb) thread apply all bt

Thread 2 (Thread 0x7f070650a780 (LWP 27358)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000000000520655 in dart::bin::Monitor::WaitMicros (this=0x3324120, micros=<optimized out>) at ../../runtime/bin/thread_linux.cc:293
#2  0x0000000000503d19 in Wait (millis=0, this=<optimized out>) at ../../runtime/bin/lockers.h:40
#3  dart::bin::EventHandler::Stop () at ../../runtime/bin/eventhandler.cc:93
#4  0x0000000000501f19 in dart::bin::main (argc=<optimized out>, argv=<optimized out>) at ../../runtime/bin/main.cc:2075
#5  0x0000000000502639 in main (argc=53625164, argv=0x80) at ../../runtime/bin/main.cc:2103

Thread 1 (Thread 0x7f0706508700 (LWP 27359)):
#0  0x00007f070512cc37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f0705130028 in __GI_abort () at abort.c:89
#2  0x0000000000771289 in dart::OS::Abort () at ../../runtime/vm/os_linux.cc:415
#3  0x000000000064f606 in dart::DynamicAssertionHelper::Fail (this=0x7f0706507b58, format=<optimized out>) at ../../runtime/platform/assert.cc:42
#4  0x0000000000771c44 in dart::OSThread::SetThreadLocal (key=<optimized out>, value=<optimized out>) at ../../runtime/vm/os_thread_linux.cc:179
#5  0x00000000006e182f in ~MallocHookScope (this=<optimized out>) at ../../runtime/vm/malloc_hooks.cc:43
#6  dart::MallocHooksState::RecordAllocHook (ptr=0x33236b0, size=48) at ../../runtime/vm/malloc_hooks.cc:281
#7  0x000000000052edc8 in MallocHook::InvokeNewHookSlow (p=<optimized out>, s=<optimized out>) at ../../third_party/tcmalloc/gperftools/src/malloc_hook.cc:498
#8  0x00000000008fb541 in InvokeNewHook (p=0x33236b0, s=48) at ../../third_party/tcmalloc/gperftools/src/malloc_hook-inl.h:127
#9  tc_new (size=48) at ../../third_party/tcmalloc/gperftools/src/tcmalloc.cc:1685
#10 0x000000000064eddc in dart::PostCObjectHelper (port_id=300140421, message=0xd60090 <dart::bin::CObject::api_null_>) at ../../runtime/vm/native_api_impl.cc:61
#11 0x0000000000504dd4 in dart::bin::EventHandlerImplementation::HandleEvents (this=<optimized out>, events=<optimized out>, size=<optimized out>) at ../../runtime/bin/eventhandler_linux.cc:358
#12 0x0000000000504f67 in dart::bin::EventHandlerImplementation::Poll (args=<optimized out>) at ../../runtime/bin/eventhandler_linux.cc:402
#13 0x000000000051febe in dart::bin::ThreadStart (data_ptr=<optimized out>) at ../../runtime/bin/thread_linux.cc:89
#14 0x00007f0705eeb184 in start_thread (arg=0x7f0706508700) at pthread_create.c:312
#15 0x00007f07051f037d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) 

An error is a problem in python incurred while compiling the code. For example, an error is raised when python cannot understand a given code because it failed to adhere to the syntax. There are several types of error in python, such as SyntaxError, RuntimeError, IndentationError, etc. OSError errno22 invalid argument is one such type of python error. We will first understand each of the components of the error separately.

What is OSError?

OSError is the type of error in OSError : [errno22] invalid argument. OSError is an error class for the OS module. It is a built-in exception in python, which is raised. It is raised when the error occurs due to some system failure. I/O failures also give rise to OSErrors.

When the disk is full, or the file cannot be found, OSError is raised. The subclasses of OSError are BlockingIOError, ChildProcessError, ConnectionError, FileExistsError, FileNotFoundError, etc. OSError itself is derived from the EnvironmentError.

What is errorno22 invalid argument?

As the name suggests, invalid argument errors occur when an invalid argument is passed to a function. If a function was expecting an argument of a particular data type but instead received an argument of a different data type, it will throw an invalid argument error.

Example:

import tensorflow as tf
tf.reshape(1,2)

The above code will raise invalid argument error.

InvalidArgumentError                  Traceback (most recent call last)
<ipython-input-14-a2040abbdb7e> in <module>()
      1 import tensorflow as tf
----> 2 tf.reshape(1,2)

The tf.reshape() function was expecting a tensor as an argument. But instead, it received 1 and 2 as the argument.

‘OSError : [errno22] invalid argument’ while using read_csv()

Read_csv() is a function in pandas which is used to read a csv file in python. We can read a csv file by accessing it through a URL or even locally. While reading a csv file using read_csv, python can throw OSError : [errno22] invalid argument error.

Let us try to understand it with the help of an example. The below code has been executed in python shell to access local files. First, we shall import the pandas file to use read_csv()

Now, we shall try to access a csv file.

file = read_csv("C:textfile.csv")

The above line of code will raise the below error.

OSError: [Errno 22] Invalid argument: 'C:textfile.csv' 

The reason behind the error is that python does not consider the backslash. Because of that, it showed oserror invalid argument. So what we have to do is that instead of a backslash, we have to replace it with a forwarding slash.

file = read_csv("C:/textfile.csv")

Th error has been resolved now.

‘OSError : [errno22] invalid argument’ while using open()

We can get OSError : [errno22] invalid argument error while opening files with the open() function. The open() function in python is used for opening a file. It returns a file object. Thus, we can open the file in read, write, create or append mode.

Let us understand the error by taking an example. We shall try to open a .txt file in read mode using open(). The file would be returned as an object and saved in variable ‘f’.

f = open("C:textfile.txt","r")

The code will throw the below error.

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    f = open("C:textfile.txt","r")
OSError: [Errno 22] Invalid argument: 'C:textfile.

The OSError : [errno22] invalid argument error has been thrown because of the same reason as before. Here also, python fails to recognize the backslash symbol. On replacing backslash with forward slash, the error will be resolved.

f = open("C:/textfile.txt","r")

Must Read | 2 Causes of TypeError: ‘Tuple’ Object is not Callable in Python

‘OSError : [errno22] invalid argument’ while reading image using open()

The above error can appear while opening an image using the open() function even though the backslash character has been replaced with forward slash. Let us see the error using an example.

image = open("C:/image1.jpg")

The error thrown would be:

Traceback (most recent call last):
  File "<pyshell#13>", line 1, in <module>
    image = open("‪C:/image1.jpg")
OSError: [Errno 22] Invalid argument: 'u202aC:/image1.jpg'

This error mainly occurs because of the copying of the file path. The Unicode characters also get copied sometimes when we copy the file path from our local system or the internet.

The Unicode character, ‘u202a’ in the above example, is not visible in the file pathname. ‘u202a’ is the Unicode control character from left to right embedding. So, it causes the above oserror invalid arguments.

The solution to this is straightforward. We simply have to type the URL manually instead of copying it. Thus, the Unicode character will no longer be in the URL and the error will be resolved.

OSError errno 22 invalid argument

As seen above, initially the program was showing an error because the Unicode character was present even though it was not visible. But, the error gets resolved when the second time the same code was typed manually.

‘OSError : [errno22] invalid argument’ while reading image using savefig()

Savefig() function in python is used to save an image locally, which has been plotted using the matplotlib library. It is accessed using plt.savefig().

import matplotlib.pyplot as plt
plt.savefig("image.png")

While using savefig() function, OSError : [errno22] invalid argument error can also occur. This error too occurs due to the same reasons as mentioned above. When we try to save the image file, we must ensure that the file is not saved with colons, brackets, or backslash.

Doing so will raise the oserror. Next, check if the file is not saved with those characters and remove them if they are present. This shall resolve the error.

FAQ’s

Q. What is oserror: (errno 22) invalid argument datetime?

A. The datetime module in python is a module that is used for manipulating date and time. OSError: (errno 22) invalid argument datetime occurs when we are using fromtimestamp. Checking the units will solve the error.

Q. What is oserror: (errno 22) invalid argument saving the file?

A. The OSError: (errno 22) invalid argument occurs may also occur when one is trying to save a file. For example: adding an unnecessary semicolon to the filename also causes the error. It is because windows do not allow semi-colons in file names.


That was it for OSError: (errno 22) invalid argument. If you have anything to share, we would love to hear about it in the comments. Keep learning because you can never learn enough!

Happy Learning!

When I am trying to open a html file with read mode in python spyder I am getting the following error
[Errno 22] Invalid argument

Posts: 7,842

Threads: 148

Joined: Sep 2016

Reputation:
572

please, post your code in code tags as well as full traceback in error tags.

Posts: 6

Threads: 2

Joined: Sep 2017

Reputation:
0

Sep-27-2017, 08:00 AM
(This post was last modified: Sep-27-2017, 08:12 AM by buran.)

code:

# -*- coding: utf-8 -*-
"""
Created on Wed Sep 20 07:44:11 2017

@author: Srinu
"""
f=open('E:baby2008.txt','r')

Error:

Error:

OSError: [Errno 22] Invalid argument: 'E:x08aby2008.txt'

User has been warned for this post. Reason: No BBcode, not following instructions

Posts: 6,572

Threads: 116

Joined: Sep 2016

Reputation:
487

b is an escape characters,never use single in a path.
Turn around/,double up or raw string all work.

>>> s = 'baby'
>>> s
'x08aby'

# Other way
>>> s = '/baby'
>>> s
'/baby'

# Double up
>>> s = '\baby'
>>> s
'\baby'

# Raw string
>>> s = r'baby'
>>> s
'\baby'

Posts: 7,842

Threads: 148

Joined: Sep 2016

Reputation:
572

Sep-27-2017, 08:16 AM
(This post was last modified: Sep-27-2017, 08:17 AM by buran.)

you are on Windows, that uses backslash as path separator However for python this is escape char, so you need to use forward slash or raw string or escape the backslash. In addition you should use with context manager when open the file. It will close the file for you at the end (something you don’t do in your code)

with open('E:/baby2008.txt','r') as f:
# do something here
with open(r'E:baby2008.txt','r') as f:
# do something here
with open('E:\baby2008.txt','r') as f:
# do something here

Posts: 6

Threads: 2

Joined: Sep 2017

Reputation:
0

wonderful … It’s working. Thanks a ton

Posts: 2

Threads: 0

Joined: Feb 2020

Reputation:
0

Hi guys, I am having the same issue as the original poster. I have tried to use the suggested methods to deal with it and they don’t seem to be working.

Here is my code:

#load in ENSO data
enso = pd.read_excel(r'‪C:UsersEli TDesktopENSO.xlsx', 'r')

Error message:
OSError: [Errno 22] Invalid argument: ‘u202aC:\Users\Eli T\Desktop\ENSO.xlsx’

Posts: 6,572

Threads: 116

Joined: Sep 2016

Reputation:
487

Feb-11-2020, 03:01 PM
(This post was last modified: Feb-11-2020, 03:02 PM by snippsat.)

Look like your editor have introduced a non-printing character U-202A is LEFT-TO-RIGHT EMBEDDING.
It’s there even if you can not see it,this is a copy of code from your post.

>>> s = r'‪C:UsersEli TDesktopENSO.xlsx'
>>> s
'u202aC:\Users\Eli T\Desktop\ENSO.xlsx'

A temp fix could be this,you should investigate editor,eg try and other and see if it’s happen there to.

>>> s = r'‪C:UsersEli TDesktopENSO.xlsx'
>>> s
'u202aC:\Users\Eli T\Desktop\ENSO.xlsx'
>>> 
>>> s = s.lstrip('u202a')
>>> s
'C:\Users\Eli T\Desktop\ENSO.xlsx'
>>> enso = pd.read_excel(s, 'r')

Posts: 2

Threads: 0

Joined: Feb 2020

Reputation:
0

Feb-11-2020, 03:24 PM
(This post was last modified: Feb-11-2020, 03:24 PM by LOVESN.)

That did work for the most part. When I get to the end where I try to read in the file though, it says:

FileNotFoundError: [Errno 2] No such file or directory: ‘C:\Users\Eli T\Desktop\ENSO.xlsx’

Edit: Actually this worked, I made an error on my end. Thanks!!

Posts: 1

Threads: 0

Joined: May 2020

Reputation:
0

May-18-2020, 10:51 PM
(This post was last modified: May-18-2020, 10:51 PM by tdandwa.)

(Feb-11-2020, 03:24 PM)LOVESN Wrote: That did work for the most part. When I get to the end where I try to read in the file though, it says:

FileNotFoundError: [Errno 2] No such file or directory: ‘C:\Users\Eli T\Desktop\ENSO.xlsx’

Edit: Actually this worked, I made an error on my end. Thanks!!

that has worked!

1. Issues with special characters in filenames

Are there any special characters in the filenames? Depending on the filesystem you’re writing these files to, they may not allow you to prefix files with a dot (.) for example.

2. Problems with rsync modification times and webdav2

I came across this blog post where an issue is described with rsync having a problem writing/tracking file modification times across webdav2 mounted box.com directories.

The problem shows up like this in the mounted file system:

david@sydney:~/Pictures$ ls -l /mnt/box/bwca/08/09/IMG_3084.CR2
-rw-r--r-- 1 david david 12564061 Aug 14 16:08 /mnt/box/bwca/08/09/IMG_3084.CR2
david@sydney:~/Pictures$ ls -l 2012/08/09/IMG_3084.CR2
-rw-rw-r-- 1 david david 12564061 Aug  9 13:00 2012/08/09/IMG_3084.CR2

That same article showed a workaround:

$ rsync -avhP --size-only --bwlimit=64 2012/08 /mnt/box/bwca/

This is an OK way to use rsync, but it’s only comparing files based on their size now, not their checksums.

3. Issues with davfs2 (WebDAV)

I came across this thread titled: rsync via davfs2? in the WebDAV (davfs) forum over on sourceforge. Someone was inquiring about a similar situation where they wanted to use WebDAV to mount an online storage provider and perform rsync’s to the mounted storage via WebDAV. This is what one of the developers (Werner Baumann) of WebDAV had to say about this topic.

excerpt of Werner’s response

  • davfs2 will only upload complete files. It can not do the incremental stuff rsync usually does, and that makes rsync very
    efficient.

  • davfs2 uses a local cache on disk. This will make it more responsive and your application should profit from this too. But it needs local
    disk space for this. You should allow for a large cache size, so rsync
    can do most of its work with the local cache, and davfs2 will upload
    most of the files in the background, when rsync has already finished.

Werner goes on to suggest the following

This could be a disadvantage in this case. When rsync reads a file on
the remote host, it must be transfered by davfs2 into the local cache
first (if it is not already there). This could make the process really
and unnecessary slow. As rsync only works as a sophisticated
copy-program in your case, it might be better to use cp instead. cp
has an options (-u) to copy only files that are newer than the ones in
the davfs2 file system (= smartdrive) and it would not need to read
the files, but only reads file meta data like mtime.

A command like «cp -pru directory/to/backup dav/» might do the job. It
shold not download files (like rsync might do, but I am not sure)
(please look at the manuals of cp and rsync).

Options?

So as @Anthon has suggested, you can use the cp -u method to copy the files. Realizing that this method solely looks at a file’s size as a factor in comparison, so it’s not completely reliable.

You should not use anything that only looks at modification times when comparing files, cp -pru. Werner explains why in this thread:

excerpt on issue with mod times

When you unmount a davfs2 file system and mount it again at some later
time, file times may have changed according to the time information
from the server. Tools like cp -pu and rsync can not rely on these
times to determine what files have changed.

So given the various issues surrounding modification times an approach using purely checksums seems like a better fit:

$ rsync -avvz --omit-dir-times --checksum --human-readable --progress <local dir> <remote dir>

Good evening,

I’m using a VPN from vpntunnel.se and I followed this tutorial to make it work : https://wiki.archlinux.org/index.php/OpenVPN.

Unfortunately, it doesn’t work.

Here is my configuration :

/etc/openvpn/openvpn-Swe.conf

float
client
dev tun
proto udp
nobind

; CERT
ca /etc/openvpn/keys/ca.crt
ns-cert-type server
cipher BF-CBC

; HOST
remote-random
remote anna.vpntunnel.se 10010
remote anna.vpntunnel.se 10020
remote anna.vpntunnel.se 1194

resolv-retry infinite

; AUTH
auth-user-pass /etc/openvpn/pw/pw
persist-key
persist-tun

comp-lzo
verb 5

log-append /var/log/openvpn
script-security 2
up /usr/share/openvpn/update-resolv-conf
down /usr/share/openvpn/update-resolv-conf

/usr/share/openvpn/update-resolv-conf

#!/bin/bash
#
# Parses DHCP options from openvpn to update resolv.conf
# To use set as ‘up’ and ‘down’ script in your openvpn *.conf:
# up /etc/openvpn/update-resolv-conf
# down /etc/openvpn/update-resolv-conf
#
# Used snippets of resolvconf script by Thomas Hood <jdthood@yahoo.co.uk>
# and Chris Hanson
# Licensed under the GNU GPL. See /usr/share/common-licenses/GPL.
#
# 05/2006 chlauber@bnc.ch
#
# Example envs set from openvpn:
# foreign_option_1=’dhcp-option DNS 193.43.27.132′
# foreign_option_2=’dhcp-option DNS 193.43.27.133′
# foreign_option_3=’dhcp-option DOMAIN be.bnc.ch’

[ -x /usr/sbin/resolvconf ] || exit 0

case $script_type in

up)
for optionname in ${!foreign_option_*} ; do
option=»${!optionname}»
echo $option
part1=$(echo «$option» | cut -d » » -f 1)
if [ «$part1» == «dhcp-option» ] ; then
part2=$(echo «$option» | cut -d » » -f 2)
part3=$(echo «$option» | cut -d » » -f 3)
if [ «$part2» == «DNS» ] ; then
IF_DNS_NAMESERVERS=»$IF_DNS_NAMESERVERS $part3″
fi
if [ «$part2» == «DOMAIN» ] ; then
IF_DNS_SEARCH=»$part3″
fi
fi
done
R=»»
if [ «$IF_DNS_SEARCH» ] ; then
R=»${R}search $IF_DNS_SEARCH
«
fi
for NS in $IF_DNS_NAMESERVERS ; do
R=»${R}nameserver $NS
«
done
echo -n «$R» | /usr/sbin/resolvconf -a «${dev}.inet»
;;
down)
/usr/sbin/resolvconf -d «${dev}.inet»
;;
esac

result of ifconfig :

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet 192.168.2.104 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::226:18ff:fea7:58c2 prefixlen 64 scopeid 0x20<link>
ether 00:26:18:a7:58:c2 txqueuelen 1000 (Ethernet)
RX packets 67873 bytes 72233810 (68.8 MiB)
RX errors 0 dropped 8 overruns 0 frame 0
TX packets 43167 bytes 7825107 (7.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 47 base 0x6000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 44 bytes 2600 (2.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 44 bytes 2600 (2.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 metric 1
inet 178.73.219.110 netmask 255.255.255.255 destination 255.255.255.0
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

/etc/rc.conf

# DAEMONS
DAEMONS=(hwclock syslog-ng dbus network dhcp4 openvpn crond kdm)

Finally, here is the log :

/var/log/openvpn

Fri Mar 2 22:47:01 2012 us=580000 Current Parameter Settings:
Fri Mar 2 22:47:01 2012 us=580045 config = ‘/etc/openvpn/openvpn-Swe.conf’
Fri Mar 2 22:47:01 2012 us=580053 mode = 0
Fri Mar 2 22:47:01 2012 us=580059 persist_config = DISABLED
Fri Mar 2 22:47:01 2012 us=580064 persist_mode = 1
Fri Mar 2 22:47:01 2012 us=580070 show_ciphers = DISABLED
Fri Mar 2 22:47:01 2012 us=580076 show_digests = DISABLED
Fri Mar 2 22:47:01 2012 us=580081 show_engines = DISABLED
Fri Mar 2 22:47:01 2012 us=580087 genkey = DISABLED
Fri Mar 2 22:47:01 2012 us=580093 key_pass_file = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580098 show_tls_ciphers = DISABLED
Fri Mar 2 22:47:01 2012 us=580106 Connection profiles [default]:
Fri Mar 2 22:47:01 2012 us=580112 proto = udp
Fri Mar 2 22:47:01 2012 us=580117 local = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580123 local_port = 1194
Fri Mar 2 22:47:01 2012 us=580128 remote = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580134 remote_port = 1194
Fri Mar 2 22:47:01 2012 us=580139 remote_float = ENABLED
Fri Mar 2 22:47:01 2012 us=580145 bind_defined = DISABLED
Fri Mar 2 22:47:01 2012 us=580150 bind_local = DISABLED
Fri Mar 2 22:47:01 2012 us=580156 connect_retry_seconds = 5
Fri Mar 2 22:47:01 2012 us=580161 connect_timeout = 10
Fri Mar 2 22:47:01 2012 us=580167 connect_retry_max = 0
Fri Mar 2 22:47:01 2012 us=580172 socks_proxy_server = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580178 socks_proxy_port = 0
Fri Mar 2 22:47:01 2012 us=580183 socks_proxy_retry = DISABLED
Fri Mar 2 22:47:01 2012 us=580189 Connection profiles [0]:
Fri Mar 2 22:47:01 2012 us=580195 proto = udp
Fri Mar 2 22:47:01 2012 us=580200 local = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580206 local_port = 0
Fri Mar 2 22:47:01 2012 us=580211 remote = ‘anna.vpntunnel.se’
Fri Mar 2 22:47:01 2012 us=580217 remote_port = 10010
Fri Mar 2 22:47:01 2012 us=580223 remote_float = ENABLED
Fri Mar 2 22:47:01 2012 us=580228 bind_defined = DISABLED
Fri Mar 2 22:47:01 2012 us=580234 bind_local = DISABLED
Fri Mar 2 22:47:01 2012 us=580239 connect_retry_seconds = 5
Fri Mar 2 22:47:01 2012 us=580245 connect_timeout = 10
Fri Mar 2 22:47:01 2012 us=580250 connect_retry_max = 0
Fri Mar 2 22:47:01 2012 us=580256 socks_proxy_server = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580261 socks_proxy_port = 0
Fri Mar 2 22:47:01 2012 us=580267 socks_proxy_retry = DISABLED
Fri Mar 2 22:47:01 2012 us=580272 Connection profiles [1]:
Fri Mar 2 22:47:01 2012 us=580278 proto = udp
Fri Mar 2 22:47:01 2012 us=580284 local = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580289 local_port = 0
Fri Mar 2 22:47:01 2012 us=580295 remote = ‘anna.vpntunnel.se’
Fri Mar 2 22:47:01 2012 us=580300 remote_port = 10020
Fri Mar 2 22:47:01 2012 us=580306 remote_float = ENABLED
Fri Mar 2 22:47:01 2012 us=580311 bind_defined = DISABLED
Fri Mar 2 22:47:01 2012 us=580317 bind_local = DISABLED
Fri Mar 2 22:47:01 2012 us=580322 connect_retry_seconds = 5
Fri Mar 2 22:47:01 2012 us=580328 connect_timeout = 10
Fri Mar 2 22:47:01 2012 us=580333 connect_retry_max = 0
Fri Mar 2 22:47:01 2012 us=580339 socks_proxy_server = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580344 socks_proxy_port = 0
Fri Mar 2 22:47:01 2012 us=580349 socks_proxy_retry = DISABLED
Fri Mar 2 22:47:01 2012 us=580355 Connection profiles [2]:
Fri Mar 2 22:47:01 2012 us=580361 proto = udp
Fri Mar 2 22:47:01 2012 us=580366 local = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580371 local_port = 0
Fri Mar 2 22:47:01 2012 us=580377 remote = ‘anna.vpntunnel.se’
Fri Mar 2 22:47:01 2012 us=580383 remote_port = 1194
Fri Mar 2 22:47:01 2012 us=580388 remote_float = ENABLED
Fri Mar 2 22:47:01 2012 us=580394 bind_defined = DISABLED
Fri Mar 2 22:47:01 2012 us=580399 bind_local = DISABLED
Fri Mar 2 22:47:01 2012 us=580404 connect_retry_seconds = 5
Fri Mar 2 22:47:01 2012 us=580410 connect_timeout = 10
Fri Mar 2 22:47:01 2012 us=580415 connect_retry_max = 0
Fri Mar 2 22:47:01 2012 us=580421 socks_proxy_server = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580430 socks_proxy_port = 0
Fri Mar 2 22:47:01 2012 us=580436 socks_proxy_retry = DISABLED
Fri Mar 2 22:47:01 2012 us=580442 Connection profiles END
Fri Mar 2 22:47:01 2012 us=580448 remote_random = ENABLED
Fri Mar 2 22:47:01 2012 us=580453 ipchange = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580459 dev = ‘tun’
Fri Mar 2 22:47:01 2012 us=580464 dev_type = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580470 dev_node = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580475 lladdr = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580481 topology = 1
Fri Mar 2 22:47:01 2012 us=580486 tun_ipv6 = DISABLED
Fri Mar 2 22:47:01 2012 us=580492 ifconfig_local = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580497 ifconfig_remote_netmask = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580506 ifconfig_noexec = DISABLED
Fri Mar 2 22:47:01 2012 us=580512 ifconfig_nowarn = DISABLED
Fri Mar 2 22:47:01 2012 us=580518 shaper = 0
Fri Mar 2 22:47:01 2012 us=580523 tun_mtu = 1500
Fri Mar 2 22:47:01 2012 us=580529 tun_mtu_defined = ENABLED
Fri Mar 2 22:47:01 2012 us=580535 link_mtu = 1500
Fri Mar 2 22:47:01 2012 us=580540 link_mtu_defined = DISABLED
Fri Mar 2 22:47:01 2012 us=580546 tun_mtu_extra = 0
Fri Mar 2 22:47:01 2012 us=580551 tun_mtu_extra_defined = DISABLED
Fri Mar 2 22:47:01 2012 us=580557 fragment = 0
Fri Mar 2 22:47:01 2012 us=580562 mtu_discover_type = -1
Fri Mar 2 22:47:01 2012 us=580568 mtu_test = 0
Fri Mar 2 22:47:01 2012 us=580573 mlock = DISABLED
Fri Mar 2 22:47:01 2012 us=580579 keepalive_ping = 0
Fri Mar 2 22:47:01 2012 us=580584 keepalive_timeout = 0
Fri Mar 2 22:47:01 2012 us=580590 inactivity_timeout = 0
Fri Mar 2 22:47:01 2012 us=580595 ping_send_timeout = 0
Fri Mar 2 22:47:01 2012 us=580601 ping_rec_timeout = 0
Fri Mar 2 22:47:01 2012 us=580607 ping_rec_timeout_action = 0
Fri Mar 2 22:47:01 2012 us=580612 ping_timer_remote = DISABLED
Fri Mar 2 22:47:01 2012 us=580618 remap_sigusr1 = 0
Fri Mar 2 22:47:01 2012 us=580623 explicit_exit_notification = 0
Fri Mar 2 22:47:01 2012 us=580629 persist_tun = ENABLED
Fri Mar 2 22:47:01 2012 us=580634 persist_local_ip = DISABLED
Fri Mar 2 22:47:01 2012 us=580640 persist_remote_ip = DISABLED
Fri Mar 2 22:47:01 2012 us=580645 persist_key = ENABLED
Fri Mar 2 22:47:01 2012 us=580651 mssfix = 1450
Fri Mar 2 22:47:01 2012 us=580656 passtos = DISABLED
Fri Mar 2 22:47:01 2012 us=580662 resolve_retry_seconds = 1000000000
Fri Mar 2 22:47:01 2012 us=580668 username = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580673 groupname = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580679 chroot_dir = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580685 cd_dir = ‘/etc/openvpn’
Fri Mar 2 22:47:01 2012 us=580690 writepid = ‘/var/run/openvpn/openvpn-Swe.pid’
Fri Mar 2 22:47:01 2012 us=580696 up_script = ‘/usr/share/openvpn/update-resolv-conf’
Fri Mar 2 22:47:01 2012 us=580702 down_script = ‘/usr/share/openvpn/update-resolv-conf’
Fri Mar 2 22:47:01 2012 us=580707 down_pre = DISABLED
Fri Mar 2 22:47:01 2012 us=580713 up_restart = DISABLED
Fri Mar 2 22:47:01 2012 us=580719 up_delay = DISABLED
Fri Mar 2 22:47:01 2012 us=580724 daemon = ENABLED
Fri Mar 2 22:47:01 2012 us=580730 inetd = 0
Fri Mar 2 22:47:01 2012 us=580735 log = ENABLED
Fri Mar 2 22:47:01 2012 us=580741 suppress_timestamps = DISABLED
Fri Mar 2 22:47:01 2012 us=580747 nice = 0
Fri Mar 2 22:47:01 2012 us=580752 verbosity = 5
Fri Mar 2 22:47:01 2012 us=580758 mute = 0
Fri Mar 2 22:47:01 2012 us=580763 gremlin = 0
Fri Mar 2 22:47:01 2012 us=580769 status_file = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580774 status_file_version = 1
Fri Mar 2 22:47:01 2012 us=580780 status_file_update_freq = 60
Fri Mar 2 22:47:01 2012 us=580786 occ = ENABLED
Fri Mar 2 22:47:01 2012 us=580791 rcvbuf = 65536
Fri Mar 2 22:47:01 2012 us=580797 sndbuf = 65536
Fri Mar 2 22:47:01 2012 us=580803 sockflags = 0
Fri Mar 2 22:47:01 2012 us=580808 fast_io = DISABLED
Fri Mar 2 22:47:01 2012 us=580814 lzo = 7
Fri Mar 2 22:47:01 2012 us=580820 route_script = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580828 route_default_gateway = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580834 route_default_metric = 0
Fri Mar 2 22:47:01 2012 us=580840 route_noexec = DISABLED
Fri Mar 2 22:47:01 2012 us=580845 route_delay = 0
Fri Mar 2 22:47:01 2012 us=580851 route_delay_window = 30
Fri Mar 2 22:47:01 2012 us=580856 route_delay_defined = DISABLED
Fri Mar 2 22:47:01 2012 us=580862 route_nopull = DISABLED
Fri Mar 2 22:47:01 2012 us=580868 route_gateway_via_dhcp = DISABLED
Fri Mar 2 22:47:01 2012 us=580873 max_routes = 100
Fri Mar 2 22:47:01 2012 us=580879 allow_pull_fqdn = DISABLED
Fri Mar 2 22:47:01 2012 us=580885 management_addr = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580890 management_port = 0
Fri Mar 2 22:47:01 2012 us=580896 management_user_pass = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580902 management_log_history_cache = 250
Fri Mar 2 22:47:01 2012 us=580907 management_echo_buffer_size = 100
Fri Mar 2 22:47:01 2012 us=580913 management_write_peer_info_file = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580918 management_client_user = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580924 management_client_group = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580930 management_flags = 0
Fri Mar 2 22:47:01 2012 us=580935 shared_secret_file = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=580941 key_direction = 0
Fri Mar 2 22:47:01 2012 us=580946 ciphername_defined = ENABLED
Fri Mar 2 22:47:01 2012 us=580952 ciphername = ‘BF-CBC’
Fri Mar 2 22:47:01 2012 us=580957 authname_defined = ENABLED
Fri Mar 2 22:47:01 2012 us=580963 authname = ‘SHA1’
Fri Mar 2 22:47:01 2012 us=580968 prng_hash = ‘SHA1’
Fri Mar 2 22:47:01 2012 us=580974 prng_nonce_secret_len = 16
Fri Mar 2 22:47:01 2012 us=580979 keysize = 0
Fri Mar 2 22:47:01 2012 us=580985 engine = DISABLED
Fri Mar 2 22:47:01 2012 us=580990 replay = ENABLED
Fri Mar 2 22:47:01 2012 us=580996 mute_replay_warnings = DISABLED
Fri Mar 2 22:47:01 2012 us=581001 replay_window = 64
Fri Mar 2 22:47:01 2012 us=581007 replay_time = 15
Fri Mar 2 22:47:01 2012 us=581012 packet_id_file = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581018 use_iv = ENABLED
Fri Mar 2 22:47:01 2012 us=581023 test_crypto = DISABLED
Fri Mar 2 22:47:01 2012 us=581029 tls_server = DISABLED
Fri Mar 2 22:47:01 2012 us=581034 tls_client = ENABLED
Fri Mar 2 22:47:01 2012 us=581040 key_method = 2
Fri Mar 2 22:47:01 2012 us=581045 ca_file = ‘/etc/openvpn/keys/ca.crt’
Fri Mar 2 22:47:01 2012 us=581051 ca_path = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581057 dh_file = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581062 cert_file = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581068 priv_key_file = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581073 pkcs12_file = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581079 cipher_list = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581084 tls_verify = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581090 tls_export_cert = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581096 tls_remote = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581101 crl_file = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581107 ns_cert_type = 64
Fri Mar 2 22:47:01 2012 us=581112 remote_cert_ku = 0
Fri Mar 2 22:47:01 2012 us=581118 remote_cert_ku = 0
Fri Mar 2 22:47:01 2012 us=581123 remote_cert_ku = 0
Fri Mar 2 22:47:01 2012 us=581129 remote_cert_ku = 0
Fri Mar 2 22:47:01 2012 us=581134 remote_cert_ku = 0
Fri Mar 2 22:47:01 2012 us=581140 remote_cert_ku = 0
Fri Mar 2 22:47:01 2012 us=581145 remote_cert_ku = 0
Fri Mar 2 22:47:01 2012 us=581150 remote_cert_ku = 0
Fri Mar 2 22:47:01 2012 us=581156 remote_cert_ku = 0
Fri Mar 2 22:47:01 2012 us=581161 remote_cert_ku = 0
Fri Mar 2 22:47:01 2012 us=581167 remote_cert_ku[i] = 0
Fri Mar 2 22:47:01 2012 us=581172 remote_cert_ku[i] = 0
Fri Mar 2 22:47:01 2012 us=581178 remote_cert_ku[i] = 0
Fri Mar 2 22:47:01 2012 us=581183 remote_cert_ku[i] = 0
Fri Mar 2 22:47:01 2012 us=581189 remote_cert_ku[i] = 0
Fri Mar 2 22:47:01 2012 us=581195 remote_cert_ku[i] = 0
Fri Mar 2 22:47:01 2012 us=581203 remote_cert_eku = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581209 tls_timeout = 2
Fri Mar 2 22:47:01 2012 us=581214 renegotiate_bytes = 0
Fri Mar 2 22:47:01 2012 us=581220 renegotiate_packets = 0
Fri Mar 2 22:47:01 2012 us=581225 renegotiate_seconds = 3600
Fri Mar 2 22:47:01 2012 us=581231 handshake_window = 60
Fri Mar 2 22:47:01 2012 us=581237 transition_window = 3600
Fri Mar 2 22:47:01 2012 us=581242 single_session = DISABLED
Fri Mar 2 22:47:01 2012 us=581248 push_peer_info = DISABLED
Fri Mar 2 22:47:01 2012 us=581254 tls_exit = DISABLED
Fri Mar 2 22:47:01 2012 us=581259 tls_auth_file = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581268 server_network = 0.0.0.0
Fri Mar 2 22:47:01 2012 us=581275 server_netmask = 0.0.0.0
Fri Mar 2 22:47:01 2012 us=581281 server_bridge_ip = 0.0.0.0
Fri Mar 2 22:47:01 2012 us=581288 server_bridge_netmask = 0.0.0.0
Fri Mar 2 22:47:01 2012 us=581294 server_bridge_pool_start = 0.0.0.0
Fri Mar 2 22:47:01 2012 us=581300 server_bridge_pool_end = 0.0.0.0
Fri Mar 2 22:47:01 2012 us=581306 ifconfig_pool_defined = DISABLED
Fri Mar 2 22:47:01 2012 us=581312 ifconfig_pool_start = 0.0.0.0
Fri Mar 2 22:47:01 2012 us=581318 ifconfig_pool_end = 0.0.0.0
Fri Mar 2 22:47:01 2012 us=581324 ifconfig_pool_netmask = 0.0.0.0
Fri Mar 2 22:47:01 2012 us=581330 ifconfig_pool_persist_filename = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581336 ifconfig_pool_persist_refresh_freq = 600
Fri Mar 2 22:47:01 2012 us=581341 n_bcast_buf = 256
Fri Mar 2 22:47:01 2012 us=581347 tcp_queue_limit = 64
Fri Mar 2 22:47:01 2012 us=581352 real_hash_size = 256
Fri Mar 2 22:47:01 2012 us=581358 virtual_hash_size = 256
Fri Mar 2 22:47:01 2012 us=581364 client_connect_script = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581370 learn_address_script = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581375 client_disconnect_script = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581381 client_config_dir = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581386 ccd_exclusive = DISABLED
Fri Mar 2 22:47:01 2012 us=581392 tmp_dir = ‘/tmp’
Fri Mar 2 22:47:01 2012 us=581398 push_ifconfig_defined = DISABLED
Fri Mar 2 22:47:01 2012 us=581404 push_ifconfig_local = 0.0.0.0
Fri Mar 2 22:47:01 2012 us=581410 push_ifconfig_remote_netmask = 0.0.0.0
Fri Mar 2 22:47:01 2012 us=581416 enable_c2c = DISABLED
Fri Mar 2 22:47:01 2012 us=581421 duplicate_cn = DISABLED
Fri Mar 2 22:47:01 2012 us=581427 cf_max = 0
Fri Mar 2 22:47:01 2012 us=581433 cf_per = 0
Fri Mar 2 22:47:01 2012 us=581438 max_clients = 1024
Fri Mar 2 22:47:01 2012 us=581444 max_routes_per_client = 256
Fri Mar 2 22:47:01 2012 us=581450 auth_user_pass_verify_script = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581455 auth_user_pass_verify_script_via_file = DISABLED
Fri Mar 2 22:47:01 2012 us=581461 ssl_flags = 0
Fri Mar 2 22:47:01 2012 us=581467 port_share_host = ‘[UNDEF]’
Fri Mar 2 22:47:01 2012 us=581472 port_share_port = 0
Fri Mar 2 22:47:01 2012 us=581478 client = ENABLED
Fri Mar 2 22:47:01 2012 us=581483 pull = ENABLED
Fri Mar 2 22:47:01 2012 us=581489 auth_user_pass_file = ‘/etc/openvpn/pw/pw’
Fri Mar 2 22:47:01 2012 us=581495 OpenVPN 2.2.2 x86_64-unknown-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Jan 3 2012
Fri Mar 2 22:47:01 2012 us=583907 NOTE: the current —script-security setting may allow this configuration to call user-defined scripts
Fri Mar 2 22:47:01 2012 us=584798 LZO compression initialized
Fri Mar 2 22:47:01 2012 us=584857 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Fri Mar 2 22:47:01 2012 us=584881 Socket Buffers: R=[229376->131072] S=[229376->131072]
Fri Mar 2 22:47:01 2012 us=586698 RESOLVE: NOTE: anna.vpntunnel.se resolves to 4 addresses
Fri Mar 2 22:47:01 2012 us=586715 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Fri Mar 2 22:47:01 2012 us=586730 Local Options String: ‘V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client’
Fri Mar 2 22:47:01 2012 us=586739 Expected Remote Options String: ‘V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server’
Fri Mar 2 22:47:01 2012 us=586754 Local Options hash (VER=V4): ‘41690919’
Fri Mar 2 22:47:01 2012 us=586763 Expected Remote Options hash (VER=V4): ‘530fdded’
Fri Mar 2 22:47:01 2012 us=586985 UDPv4 link local: [undef]
Fri Mar 2 22:47:01 2012 us=587017 UDPv4 link remote: 178.73.212.231:10020
WRFri Mar 2 22:47:01 2012 us=627247 TLS: Initial packet from 178.73.212.231:10020, sid=585704f7 efc54ddf
WFri Mar 2 22:47:01 2012 us=627315 WARNING: this configuration may cache passwords in memory — use the auth-nocache option to prevent this
WWWRRRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRFri Mar 2 22:47:01 2012 us=841046 VERIFY OK: depth=1, /C=SE/ST=CA/L=SanFrancisco/O=Fort-Funston/CN=Fort-Funston_CA/emailAddress=me@myhost.mydomain
Fri Mar 2 22:47:01 2012 us=841175 VERIFY OK: nsCertType=SERVER
Fri Mar 2 22:47:01 2012 us=841185 VERIFY OK: depth=0, /C=SE/ST=CA/L=SanFrancisco/O=Fort-Funston/CN=server/emailAddress=me@myhost.mydomain
WRWRWRWRWWRRWRWRWWWWRRRRWRWRFri Mar 2 22:47:01 2012 us=984838 WARNING: ‘dev-type’ is used inconsistently, local=’dev-type tun’, remote=’dev-type tap’
Fri Mar 2 22:47:01 2012 us=984867 WARNING: ‘link-mtu’ is used inconsistently, local=’link-mtu 1542′, remote=’link-mtu 1574′
Fri Mar 2 22:47:01 2012 us=984876 WARNING: ‘tun-mtu’ is used inconsistently, local=’tun-mtu 1500′, remote=’tun-mtu 1532′
Fri Mar 2 22:47:01 2012 us=985030 Data Channel Encrypt: Cipher ‘BF-CBC’ initialized with 128 bit key
Fri Mar 2 22:47:01 2012 us=985038 Data Channel Encrypt: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Fri Mar 2 22:47:01 2012 us=985083 Data Channel Decrypt: Cipher ‘BF-CBC’ initialized with 128 bit key
Fri Mar 2 22:47:01 2012 us=985090 Data Channel Decrypt: Using 160 bit message hash ‘SHA1’ for HMAC authentication
WFri Mar 2 22:47:01 2012 us=985120 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Fri Mar 2 22:47:01 2012 us=985137 [server] Peer Connection Initiated with 178.73.212.231:10020
RRRRRRRRRRRRRRRRRRRRRRRRRFri Mar 2 22:47:03 2012 us=60405 SENT CONTROL [server]: ‘PUSH_REQUEST’ (status=1)
WRRWRWRFri Mar 2 22:47:03 2012 us=101880 PUSH: Received control message: ‘PUSH_REPLY,dhcp-option DNS 80.67.0.2,dhcp-option DNS 91.213.246.2,redirect-gateway def1,route-gateway 178.73.219.1,ping 10,ping-restart 160,ifconfig 178.73.219.198 255.255.255.0’
Fri Mar 2 22:47:03 2012 us=101949 OPTIONS IMPORT: timers and/or timeouts modified
Fri Mar 2 22:47:03 2012 us=101958 OPTIONS IMPORT: —ifconfig/up options modified
Fri Mar 2 22:47:03 2012 us=101963 OPTIONS IMPORT: route options modified
Fri Mar 2 22:47:03 2012 us=101968 OPTIONS IMPORT: route-related options modified
Fri Mar 2 22:47:03 2012 us=101973 OPTIONS IMPORT: —ip-win32 and/or —dhcp-option options modified
Fri Mar 2 22:47:03 2012 us=101984 WARNING: Since you are using —dev tun with a point-to-point topology, the second argument to —ifconfig must be an IP address. You are using something (255.255.255.0) that looks more like a netmask. (silence this warning with —ifconfig-nowarn)
Fri Mar 2 22:47:03 2012 us=102077 ROUTE default_gateway=192.168.2.1
Fri Mar 2 22:47:03 2012 us=104338 TUN/TAP device tun0 opened
Fri Mar 2 22:47:03 2012 us=104366 TUN/TAP TX queue length set to 100
Fri Mar 2 22:47:03 2012 us=104401 /usr/sbin/ip link set dev tun0 up mtu 1500
Fri Mar 2 22:47:03 2012 us=105614 /usr/sbin/ip addr add dev tun0 local 178.73.219.198 peer 255.255.255.0
Fri Mar 2 22:47:03 2012 us=106292 /usr/share/openvpn/update-resolv-conf tun0 1500 1542 178.73.219.198 255.255.255.0 init
dhcp-option DNS 80.67.0.2
dhcp-option DNS 91.213.246.2
Fri Mar 2 22:47:03 2012 us=142755 /usr/sbin/ip route add 178.73.212.231/32 via 192.168.2.1
Fri Mar 2 22:47:03 2012 us=143460 /usr/sbin/ip route add 0.0.0.0/1 via 178.73.219.1
RTNETLINK answers: No such process
Fri Mar 2 22:47:03 2012 us=144096 ERROR: Linux route add command failed: external program exited with error status: 2
Fri Mar 2 22:47:03 2012 us=144134 /usr/sbin/ip route add 128.0.0.0/1 via 178.73.219.1
RTNETLINK answers: No such process
Fri Mar 2 22:47:03 2012 us=144736 ERROR: Linux route add command failed: external program exited with error status: 2
Fri Mar 2 22:47:03 2012 us=144759 Initialization Sequence Completed
WRwFri Mar 2 22:47:03 2012 us=148344 write to TUN/TAP : Invalid argument (code=22)

After that, the last line is repeated indefinitely.

I looked for informations about the last line and people fixed it by adding «comp-lzo» in the client configuration file. Unfortunately, it’s already there (see /etc/openvpn/openvpn-Swe.conf).

Does somedoy know what the problem is ?

Thank you.

December 31st, 2018, 09:11 PM


#1

Port Issue (error codesystem:22 Invalid argument)

I’ve decided to try and start a free license Teamspeak server on linux using PuTTY. I started it up with a simple command line after installing it:

./ts3server_startscript.sh start license_accepted=1

Then, I connected and it worked fine. I asked for my friend to test it, and he couldn’t connect to it. I assumed it was because I didn’t have the 9987 port forwarded. Because I didn’t want to open that port, I decided to try and change the port (and I reinstalled the server as that is what the internet told me to do). Then, I put in this command line (as my first starting line):

./ts3server_startscript.sh start license_accepted=1 default_voice_port=25567

That seemed to not want to work, and gave this error message:

2018-12-31 04:29:44.241967|ERROR |UDPServers | |could not bind * port 9987 error codesystem:22 Invalid argument
2018-12-31 04:29:44.242112|ERROR |VirtualServer |1 |bind failed on *:9987
2018-12-31 04:29:44.242394|CRITICAL|VirtualServerBase|1 |Could not bind virtual server address/port: 257 unable to bind network port

That confused me, as it seemed like it was trying to connect to 9987 port still, when I was trying to change it to 25567 (a port I had open). So, I tried a view other command lines such as:

./ts3server_startscript.sh start license_accepted=1 default_voice_port=25567 voice_ip=*
./ts3server_startscript.sh start license_accepted=1 default_voice_port=25567 filetransfer_port=25566 filetransfer_ip=* query_ip=* query_port=25565 voice_ip=*

And I also tried using ./ts3server_minimal_runscript.sh instead of ./ts3server_startscript.sh, and still received the same problem.

So my question is, what is the problem, and how can I solve it? Thank you.


January 7th, 2019, 11:04 AM


#2

You did set * as IP, but is not a valid address.
0.0.0.0 for IPv4 and :: for Ipv6 are valid addresses if you plan to assign all available addresses.


Понравилась статья? Поделить с друзьями:
  • Thread error handler что это
  • Thread error handler перевод
  • Thread error handler testmem5
  • Thread error handler state 7 core number 7 exception code c0000005h exception addr 10001853h
  • Thread error handler process number 0 test number memory 1