Can't open TBLK file

851 views
Skip to first unread message

Daniel Courville

unread,
Aug 22, 2013, 3:24:25 PM8/22/13
to tunnelbli...@googlegroups.com
I have tried to open a TBLK file and I get this error message:

2013-08-22 15:22:10 Tunnelblick[2441] open on /private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTemporaryDotTblk-mbsHgQ/VPN Book 1.tblk/Contents/Resources/config.ovpn: File exists
2013-08-22 15:22:10 Tunnelblick[2441] Unable to copy /Users/admin/Desktop/VPN Book 1.tblk/vpnbook-euro1-tcp80.ovpn to /private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTemporaryDotTblk-mbsHgQ/VPN Book 1.tblk/Contents/Resources/config.ovpn

Is this a common problem?

Thanks.

Daniel Courville

unread,
Aug 22, 2013, 3:28:17 PM8/22/13
to tunnelbli...@googlegroups.com
Sorry about the double post, there was some delay with my 1st message and I thought it was not going through...

jkbull...gmail.com

unread,
Aug 22, 2013, 3:34:45 PM8/22/13
to tunnelbli...@googlegroups.com, daniel.c...@gmail.com
Please post the entire Console log entry that begins "Tunnelblick: Installation or repair", It will be many lines long and quite repetitive.

Also, what version of Tunnelblick are you using?

Daniel Courville

unread,
Aug 22, 2013, 3:41:18 PM8/22/13
to tunnelbli...@googlegroups.com
Le 2013-08-22 15:34, jkbull...gmail.com a écrit :

>Please post the entire Console log entry that begins "Tunnelblick:
>Installation or repair", It will be many lines long and quite repetitive.

*Tunnelblick: OS X 10.9.0; Tunnelblick 3.4beta04 (build 3555); prior
version 3.4beta02 (build 3550); Admin user

Console Log:

2013-08-22 13:54:12 Tunnelblick[2124] Set program update feedURL to
http://tunnelblick.net/appcast.rss
2013-08-22 13:54:24 Tunnelblick[2124] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0
2013-08-22 13:54:24 Tunnelblick[2124] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0
2013-08-22 13:54:48 kernel[0] hfs: mounted Tunnelblick on device disk1s2
2013-08-22 13:55:01 kernel[0] hfs: unmount initiated on Tunnelblick on
device disk1s2
2013-08-22 14:03:11 Tunnelblick[2124] updater:willInstallUpdate: Starting
cleanup.
2013-08-22 14:03:11 Tunnelblick[2124] updater:willInstallUpdate: Cleanup
finished.
2013-08-22 14:03:15 Tunnelblick[2124] applicationShouldTerminate:
termination because of Quit; delayed until 'shutdownTunnelblick' finishes
2013-08-22 14:03:15 Tunnelblick[2124] pthread_mutex_trylock( &cleanupMutex
) failed; status = 16, errno = 3
2013-08-22 14:03:15 Tunnelblick[2124] pthread_mutex_trylock( &cleanupMutex
) failed is normal and expected when Tunnelblick is updated
2013-08-22 14:03:15 Tunnelblick[2124] Finished shutting down Tunnelblick;
allowing termination
2013-08-22 14:03:18 Tunnelblick[2186] Tunnelblick doit :
€ Change le propriétaire et les
permissions du logiciel pour le sécuriser
2013-08-22 14:03:24 Tunnelblick[2186] Beginning installation or repair
2013-08-22 14:03:24 authexec[2194] executing
/Applications/Tunnelblick.app/Contents/Resources/installer
2013-08-22 14:03:24 Tunnelblick[2186] Installation or repair succeeded;
Log:
Tunnelblick installer started
2013-08-22 14:03:24. 1 arguments: 0x0005
Changed permissions from 755 to 744
on /Applications/Tunnelblick.app/Contents/Resources/atsystemstart
Changed permissions from 755 to 744
on /Applications/Tunnelblick.app/Contents/Resources/installer
Changed permissions from 755 to 744
on /Applications/Tunnelblick.app/Contents/Resources/leasewatch
Changed permissions from 755 to 744
on /Applications/Tunnelblick.app/Contents/Resources/leasewatch3
Changed permissions from 755 to 744
on /Applications/Tunnelblick.app/Contents/Resources/process-network-changes
Changed permissions from 755 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/standardize-scutil-output
Changed permissions from 755 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh
Changed permissions from 755 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh
Changed permissions from 644 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/client.route-pre-down.tunn
elblick.sh
Changed permissions from 644 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/client.1.up.tunnelblick.sh
Changed permissions from 644 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/client.1.down.tunnelblick.
sh
Changed permissions from 644 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/client.2.up.tunnelblick.sh
Changed permissions from 644 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/client.2.down.tunnelblick.
sh
Changed permissions from 755 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/client.3.up.tunnelblick.sh
Changed permissions from 755 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/client.3.down.tunnelblick.
sh
Changed permissions from 755 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.2.1/open
vpn-down-root.so
Changed permissions from 755 to 744
on
/Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.3.2/open
vpn-down-root.so
Changed permissions from 755 to
4555 on /Applications/Tunnelblick.app/Contents/Resources/openvpnstart
2013-08-22 14:03:25 Tunnelblick[2186] Set program update feedURL to
https:/www.tunnelblick.net/appcast-b.rss
2013-08-22 14:03:31 Tunnelblick[2186] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0
2013-08-22 14:03:31 Tunnelblick[2186] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0
2013-08-22 14:03:34 Tunnelblick[2186] open on
/private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTempora
ryDotTblk-g2AHa3/VPN Book 1.tblk/Contents/Resources/config.ovpn: File
exists
2013-08-22 14:03:34 Tunnelblick[2186] Unable to copy
/Users/daniel/Desktop/VPN Book 1.tblk/vpnbook-euro1-tcp80.ovpn to
/private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTempora
ryDotTblk-g2AHa3/VPN Book 1.tblk/Contents/Resources/config.ovpn
2013-08-22 14:03:39 Tunnelblick[2186] applicationShouldTerminate:
termination because of Quit; delayed until 'shutdownTunnelblick' finishes
2013-08-22 14:03:40 Tunnelblick[2186] Finished shutting down Tunnelblick;
allowing termination
2013-08-22 14:51:28 Tunnelblick[2348] Set program update feedURL to
https:/www.tunnelblick.net/appcast-b.rss
2013-08-22 14:51:35 Tunnelblick[2348] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0
2013-08-22 14:51:35 Tunnelblick[2348] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0
2013-08-22 14:54:03 Tunnelblick[2348] open on
/private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTempora
ryDotTblk-DA86u1/VPN Book 1.tblk/Contents/Resources/config.ovpn: File
exists
2013-08-22 14:54:03 Tunnelblick[2348] Unable to copy
/Users/daniel/Desktop/VPN Book 1.tblk/vpnbook-euro1-tcp80.ovpn to
/private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTempora
ryDotTblk-DA86u1/VPN Book 1.tblk/Contents/Resources/config.ovpn
2013-08-22 14:56:06 Tunnelblick[2348] applicationShouldTerminate:
termination because of Quit; delayed until 'shutdownTunnelblick' finishes
2013-08-22 14:56:06 Tunnelblick[2348] Finished shutting down Tunnelblick;
allowing termination
2013-08-22 15:12:59 Tunnelblick[2404] Set program update feedURL to
https:/www.tunnelblick.net/appcast-b.rss
2013-08-22 15:12:59 Tunnelblick[2404] open on
/private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTempora
ryDotTblk-e1PjhI/VPN Book 1.tblk/Contents/Resources/config.ovpn: File
exists
2013-08-22 15:12:59 Tunnelblick[2404] Unable to copy
/Users/daniel/Desktop/VPN Book 1.tblk/vpnbook-euro1-tcp80.ovpn to
/private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTempora
ryDotTblk-e1PjhI/VPN Book 1.tblk/Contents/Resources/config.ovpn
2013-08-22 15:13:07 Tunnelblick[2404] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0
2013-08-22 15:13:07 Tunnelblick[2404] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0
2013-08-22 15:20:33 Tunnelblick[2404] applicationShouldTerminate:
termination for unknown reason, probably Command-Q; delayed until
'shutdownTunnelblick' finishes
2013-08-22 15:20:33 Tunnelblick[2404] Finished shutting down Tunnelblick;
allowing termination
2013-08-22 15:22:10 Tunnelblick[2441] Set program update feedURL to
https:/www.tunnelblick.net/appcast-b.rss
2013-08-22 15:22:10 Tunnelblick[2441] open on
/private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTempora
ryDotTblk-mbsHgQ/VPN Book 1.tblk/Contents/Resources/config.ovpn: File
exists
2013-08-22 15:22:10 Tunnelblick[2441] Unable to copy
/Users/daniel/Desktop/VPN Book 1.tblk/vpnbook-euro1-tcp80.ovpn to
/private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTempora
ryDotTblk-mbsHgQ/VPN Book 1.tblk/Contents/Resources/config.ovpn
2013-08-22 15:22:17 Tunnelblick[2441] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0
2013-08-22 15:22:17 Tunnelblick[2441] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0
2013-08-22 15:34:08 Tunnelblick[2441] applicationShouldTerminate:
termination because of Quit; delayed until 'shutdownTunnelblick' finishes
2013-08-22 15:34:08 Tunnelblick[2441] Finished shutting down Tunnelblick;
allowing termination
2013-08-22 15:38:45 Tunnelblick[2492] Set program update feedURL to
https:/www.tunnelblick.net/appcast-b.rss
2013-08-22 15:38:45 Tunnelblick[2492] open on
/private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTempora
ryDotTblk-bUPupt/VPN Book 1.tblk/Contents/Resources/config.ovpn: File
exists
2013-08-22 15:38:45 Tunnelblick[2492] Unable to copy
/Users/daniel/Desktop/VPN Book 1.tblk/vpnbook-euro1-tcp80.ovpn to
/private/var/folders/bn/j4197vls5k9_qf35qwzy7b9m0000gn/T/TunnelblickTempora
ryDotTblk-bUPupt/VPN Book 1.tblk/Contents/Resources/config.ovpn
2013-08-22 15:38:52 Tunnelblick[2492] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0
2013-08-22 15:38:52 Tunnelblick[2492] DEBUG: Updater: systemVersion 10.9.0
satisfies minimumSystemVersion 10.4.0



jkbull...gmail.com

unread,
Aug 22, 2013, 4:13:32 PM8/22/13
to tunnelbli...@googlegroups.com, daniel.c...@gmail.com
Ah. So this is on Mavericks. I just verified that my test .tblk installs OK on Mavericks, so it isn't a general problem of not being able to install them.

The first indication of a problem is the "open on /private/var/folders/bn/j4197vls5k9_qf3…" message. What's odd is that I can't find where Tunnelblick can create such a log message! No "open on" string fragment anywhere!

It seems to be complaining that the temporary folder that Tunnelblick wants to copy the configuration into already exists (that is, the /private/var/… folder). That doesn't make a lot of sense, since the folder name is created randomly (I could imagine a collision once in a while, but not every time).

So probably there is something else going on here.

Please post the results of typing the following into Terminal:

cd /Users/daniel/Desktop
ls -a -l -R "VPN Book 1.tblk"

and the contents of the "vpnbook-euro1-tcp80.ovpn" file? (X out any IP addresses or other sensitive info such as inline keys).

Daniel Courville

unread,
Aug 22, 2013, 4:47:29 PM8/22/13
to tunnelbli...@googlegroups.com
Le 2013-08-22 16:13, jkbull...gmail.com a écrit :

>Ah. So this is on Mavericks. I just verified that my test .tblk installs
>OK on Mavericks, so it isn't a general problem of not being able to
>install them.

Yes, on 10.9, but I did try on two other Macs (one with 10.8.5 and one
with 10.9), with the same results.

>Please post the results of typing the following into Terminal:
>
>cd /Users/daniel/Desktop
>ls -a -l -R "VPN Book 1.tblk"

total 48
drwxr-xr-x 7 daniel staff 238 22 aoû 15:21 .
drwxr-xr-x@ 81 daniel staff 2754 22 aoû 15:17 ..
-rw-r--r--@ 1 daniel staff 6148 19 aoû 13:38 .DS_Store
-rwxr-xr-x@ 1 daniel staff 3995 28 jui 21:36 vpnbook-euro1-tcp443.ovpn
-rwxr-xr-x@ 1 daniel staff 3994 28 jui 21:36 vpnbook-euro1-tcp80.ovpn
-rwxr-xr-x@ 1 daniel staff 3997 28 jui 21:36 vpnbook-euro1-udp25000.ovpn
-rwxr-xr-x@ 1 daniel staff 3994 28 jui 21:36 vpnbook-euro1-udp53.ovpn


>and the contents of the "vpnbook-euro1-tcp80.ovpn" file? (X out any IP
>addresses or other sensitive info such as inline keys).

client
dev tun3
proto tcp
remote XXX.XXX.XXX.XXX 80
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass
comp-lzo
verb 3
cipher AES-128-CBC
fast-io
pull
route-delay 2
redirect-gateway
<ca>
-----BEGIN CERTIFICATE-----
XXX
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
XXX
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
XXX
-----END RSA PRIVATE KEY-----
</key>




jkbull...gmail.com

unread,
Aug 22, 2013, 5:02:00 PM8/22/13
to tunnelbli...@googlegroups.com
Ah. OK. I see the problem. I'll look into why Tunnelblick isn't giving a clear error message for this.

The problem is that a single .tblk can only have one OpenVPN configuration file -- one ".ovpn" or ".conf" file.

If you want to have a single .tblk that installs multiple configurations, you can nest multiple .tblks inside of one .tblk (only one level of nesting, though)

So you can have

ABC.tblk/
     vpnbook-euro1-tcp443.tblk
          vpnbook-euro1-tcp443.ovpn
     vpnbook-euro1-tcp80.tblk
          vpnbook-euro1-tcp80.ovpn
     vpnbook-euro1-udp25000.tblk
          vpnbook-euro1-udp25000.ovpn
     vpnbook-euro1-udp53.tblk
          vpnbook-euro1-udp53.ovpn

and when you double-click on ABC.tblk, it will install all three configurations.

The names of the files inside the inner .tblks do not matter; they are ignored -- only the .ovpn (or .conf) extension is used to tell Tunnelblick that they are configuration files.


Tere was someone who did something similar within the past few months, see Tunnelblick 3.3 Auto install configurations without asking for "all users" or "only me" for each configuration.

Daniel Courville

unread,
Aug 24, 2013, 10:07:41 AM8/24/13
to tunnelbli...@googlegroups.com
Yes, that did the trick. Thanks!
Reply all
Reply to author
Forward
0 new messages