Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"Everything is working great with the API. I love it." - Comment from Calvin
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
Home  Search  Register  Login  Blogs Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTN_IQFeed on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »IQFeed Developer »IQFeed Developer Support »Crashes using IQFeed on Amazon AWS/Ubuntu/Wine after approx 24hrs
Author Topic: Crashes using IQFeed on Amazon AWS/Ubuntu/Wine after approx 24hrs (14 messages, Page 1 of 1)

tccharleton
-Interested User-
Posts: 24
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 29, 2016 09:22 AM          Msg. 1 of 14
I have been running IQFeed version 5.1.x.x on Amazon AWS/ Ubuntu 14.04 and Wine. (FYI - I was unable to install version 5.2.x.x due to the reboot flag at the end of the installation routine causing Ubuntu a problem.)

Everything works great for about 24 hours then I get a crash. I have tried to troubleshoot it to no avail. I have attached the crash dumps/logs with the hope you can see what I am missing.

Many Thanks,



File Attached: CRASHLOG1.TXT (downloaded 377 times)

tccharleton
-Interested User-
Posts: 24
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 29, 2016 09:22 AM          Msg. 2 of 14
Additional file attachment.



File Attached: backtrace1.txt (downloaded 353 times)

tccharleton
-Interested User-
Posts: 24
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 29, 2016 09:23 AM          Msg. 3 of 14
Additional file attachment

tccharleton
-Interested User-
Posts: 24
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 29, 2016 09:23 AM          Msg. 4 of 14
Additional File Attachment



File Attached: IQConnectLog6.txt (downloaded 331 times)

DTN_Tim Walter
-DTN Guru-
Posts: 1204
Joined: Apr 25, 2006


Posted: Mar 29, 2016 10:01 AM          Msg. 5 of 14
What is the issue you are seeing with the 5.2 install? There is not a reboot requirement to the installer and we have not heard anything back from other users in the Linux community or in local testing, so any info there may be helpful.

Given all of the known bugs that were fixed in 5.2, which is probably what you are running into, I think troubleshooting your install will be our solution more so than anything we are going to be able to do to the now outdated 5.1 client.

Tim

tccharleton
-Interested User-
Posts: 24
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 29, 2016 11:05 AM          Msg. 6 of 14
The issue I see with the 5.2 install is that the install hangs for a long time at the point shown in the attached screenshot.

The line Executre: "vcredist_x86_2012u4.exe" /promptrestart /passive indicates that the IQFeed install routine is attempting to run the vcre install with some kind of silent or whatever option set. (I don't know enough about the command line options for the vcre install to accurately determine what the IQFeed install routine is attempting) However, it hangs there for 1+ minutes and then indicates that it has completed the install but I cannot tell if it is just timing out. I only suspect this being a problem because I do not get this issue outside of Wine.

I removed the 5.1.x artifacts and did a fresh install of the 5.2.x client. Following this install (and reboot to be safe) I am unable to launch any of the IQF applications despite other Wine applications running normally. This is why I have been using the 5.1.x client because I simply could not get the 5.2.x client to do anything. In fact, I cannot get it to create any DTN/IQFeed log files which leads me to guess the underlying vcre never installed properly. However, not having much time to diagnose the problem, I had to move on with the 5.1.x client in place.

I am attaching more files on subsequent replies.



File Attached: Screenshot - 03292016 - 03%3A15%3A53 PM.png (downloaded 144 times)

tccharleton
-Interested User-
Posts: 24
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 29, 2016 11:06 AM          Msg. 7 of 14
JPG version of screenshot.



File Attached: Screenshot-03292016.jpg (downloaded 365 times)

tccharleton
-Interested User-
Posts: 24
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 29, 2016 11:07 AM          Msg. 8 of 14
Copy of the registry for the server.

tccharleton
-Interested User-
Posts: 24
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 29, 2016 11:09 AM          Msg. 9 of 14
Changed the file suffix to txt in order for it to be accepted on the post



File Attached: ubuntuRegistry.txt (downloaded 514 times)

DTN_Tim Walter
-DTN Guru-
Posts: 1204
Joined: Apr 25, 2006


Posted: Mar 29, 2016 11:38 AM          Msg. 10 of 14
Can you try and install the redistributable directly? Then IQFeed will skip that step in the installer.

http://www.iqfeed.net/vcredist_x86_2012u4.exe

Tim

tccharleton
-Interested User-
Posts: 24
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 29, 2016 07:42 PM          Msg. 11 of 14
I have worked on this all day and I think I may have discovered the issue. However, I want to make sure it works before I share the info.

tccharleton
-Interested User-
Posts: 24
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Apr 12, 2016 09:44 AM          Msg. 12 of 14
Sorry for the delayed update but I wanted to make sure it worked before posting anything here that might help someone in the future.

The problem I had was related to the standard Wine packages that were available to the Ubuntu image that I was using on Amazon AWS. I has nothing to do with it being From AWS but rather the Wine version that was installed when I executed the apt-get install on the particular image. In addition, some wine packages were still present after uninstalling Wine. Therefore I did the following and it worked for me:

Run the following command in the terminal:

sudo apt-get purge wine* (caution - this will remove ALL Wine components)


Follow the instructions in the InstallingWineHQ Packages section of the link below:
https://wiki.winehq.org/Ubuntu

Reinstall the latest release of the IQFeed software.

Good Luck!

illuminatus7
-Interested User-
Posts: 34
Joined: Jan 27, 2011


Posted: May 6, 2016 12:51 AM          Msg. 13 of 14
Hi tccharleton,
thanks a bunch for posting this. I had the same problem and your solution worked out for me. It has happened previously that Wine needed to be "purged" when upgrading IQFeed.

Some comments:
* I'd also clean the .wine dir
rm -Rf ~/.wine

* I think sudo apt-get purge wine* should be sudo apt-get purge wine.*
Note the extra dot before the star. apt-get treats it as a regular expression so e* means 0 or more e's. Basically it would uninstall any packages with "win" in the name (as opposed to "wine", which is what we want). I got this warning from apg-get that I'm about to do something stupid using the original command:

After this operation, 1,174 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'

Anyways, thanks again

"I hear and I forget. I see and I remember. I do and I understand."
-- Confucius

tccharleton
-Interested User-
Posts: 24
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: May 6, 2016 07:09 AM          Msg. 14 of 14
Thanks for the feedback. I apologize for the terrible syntax in my previous post. I obviously didn't review it before I hit the button. Seriously, I am glad that it helped you despite my language problems.
 

 

Time: Tue August 21, 2018 3:23 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003