Fatal error: Cannot obtain local TCP/IP port!

Questions about Wine on Linux
Locked
johoho_idle
Newbie
Newbie
Posts: 1
Joined: Thu Feb 20, 2014 10:31 am

Fatal error: Cannot obtain local TCP/IP port!

Post by johoho_idle »

Hi,

There's a piece of software I'd like to run on my ubuntu 13.10 machine namely HistCite.

However, when running the program via wine it gives me the below warning and then terminates:
“Cannot obtain local TCP/IP port! Fatal error.”

When attempting to run the software via my terminal I get the following output:

Code: Select all

~/.wine/drive_c/Program Files (x86)/HistCite$ wine HistCite.exe
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
HistCite 12.03.17
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
print() on unopened filehandle LOG at hist line 8653, <DATA> line 61.
I'd much appreciate any help that will make this software work. The wine version I'm running is 1.6.1.

/john
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Fatal error: Cannot obtain local TCP/IP port!

Post by dimesio »

Try upgrading Wine to the latest development release and installing the app to a 32 bit wineprefix. http://wiki.winehq.org/FAQ#32_bit_wineprefix
puercostar
Newbie
Newbie
Posts: 2
Joined: Mon Sep 15, 2014 4:11 pm

Re: Fatal error: Cannot obtain local TCP/IP port!

Post by puercostar »

I am also attempting to run HistCite.exe on wine 1.6.2 installed via homebrew for Mac OS X 10.9.4.

Created a new wineprefix using the WINEARCH=win32 method suggested by dimesio. Installed HistCite into the new wineprefix. Installation of HistCite (from .msi) proceeded without any erros. Run in the newly-created wineprefix with:

Code: Select all

WINEPREFIX=~/.wine-histcite wine "C:\\Program Files\\HistCite\\HistCite.exe"
Get exactly the same "Fatal error" as noted above, though: "Cannot obtain local TCP/IP port!"

Terminal output below:

Code: Select all

fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
HistCite 12.03.17
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored
print() on unopened filehandle LOG at hist line 8653, <DATA> line 61.
logout

[Process completed]
Would welcome any suggestions.
puercostar
Newbie
Newbie
Posts: 2
Joined: Mon Sep 15, 2014 4:11 pm

Re: Fatal error: Cannot obtain local TCP/IP port!

Post by puercostar »

After installing HistCite on a VM (VirtualBox, Win7) I think I found the problem. HistCite is not a self-contained executable as it first appears, rather, it runs entirely inside the browser (perhaps IE only...). So it's actually not a great candidate for a stand-alone installation. For some similar functionality, however, Harzing's Publish or Perish runs just fine in Wine.

So, I would recommend to anybody else who encounters this problem: if you really need HistCite, you really need a VM.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Fatal error: Cannot obtain local TCP/IP port!

Post by dimesio »

You could try installing IE7 with winetricks.
Locked