Wednesday, 2010-05-05

*** grantc has joined #ingres00:53
*** jundi has joined #ingres00:56
jundigood morning00:57
jundigrantc i was wondering if we can continue the vnode troubleshooting today?00:58
grantchi jundi - sure00:58
jundii was trying to work it out yesterday on my own but no luck..00:59
grantcyou're using vb right? are both the server and client machines in virtual box?00:59
jundii am starting to think that it could be related to the virtualbox itself00:59
jundimy client machine is the vb host machine01:00
grantcand the server is the suse host?01:01
jundithe ingres db is installed on the vb guest virtual machine... which opensuse01:02
jundi*which is opensuse 10.301:02
grantcand the client is as well?01:02
grantcscratch that01:02
grantcwhat networking are you using for vb - NAT or bridged?01:03
jundino.. the ingres client is installed on the windows box.. my laptop.. which is the host machine for vb01:03
jundibridged01:03
grantcso the linux vb machine has an IP on the same subnet as the host?01:03
jundiyes01:03
jundiand they can ping each other01:04
grantccan you ssh in from the host to the virtual machine using putty?01:04
jundino.. i tried that yesterday but it did not work..01:04
jundithe funny thing is.. yesterday i turned off the linux and tried to test the vnode from the netwrok util. it showed the same error..01:05
grantcwhat does "sudo /etc/init.d/sshd status"01:05
grantcshow?01:05
jundirunning01:07
grantcso there is your problem or another manifestation of it - Windows -> Linux not working01:10
grantcand "sudo /sbin/rcSuSEfirewall2 status"01:11
jundiwell.. it is running NOW.. i restarted the linux machine a moment ago.. should i turn it of from yast?01:14
grantc"sudo chkconfig SuSEfirewall2_init off" and "sudo chkconfig SuSEfirewall2_setup off" will disable it01:15
jundihttp://ingres.pastebin.com/KrG1kCfy01:19
jundithis is the errlog file after i tried to connect after turning off firewall2 as in your instructions01:20
jundithe errlog is from the client machine01:20
grantcv strange - something else already on those ports?01:24
grantcis the windows firewall enabled? are the ports blocked there?01:28
jundino.. nothing.. i used the netstat command to see the used ports on my windows machine..01:28
jundithe windows firewall is disabled.01:29
grantcout of interest is there any reason you changed the installation code of Ingres on the client?01:30
grantcdo you have other installations of ingres on windows?01:30
jundino.. its just that when i first tried to install it.. it gave some errors.. so i just renamed it as trial I2 to avoid any problems or conflicts in the registry..01:31
jundiwith the first one..01:32
jundiyou know how it is with windows ;)01:32
grantcwhat were the errors from the first installation?01:32
jundimissing files and dll's.. i think it was a corrupted download.. i had to download it again..01:33
jundigrantc i am going to try the Host only networking mode for vb01:34
jundiThis can be used to create a network containing the host and a set of virtual machines, without the need for the host's physical network interface. Instead, a virtual network interface (similar to a loopback interface) is created on the host, providing connectivity among virtual machines and the host01:35
grantcnot sure that's going to help01:35
jundi--- from the vb manual01:35
grantcthe client installation of ingres cannot open the ports needed01:35
grantccan you ssh in to the linux box now?01:35
jundiconnection refused01:36
jundiby the way.. i am using windows 7 on my laptop01:37
grantcsounds like you have other problems on your machine01:37
grantcif you cannot ssh to the linux box you'll not be able to connect with Ingres01:38
grantcI'm not sure about win7 support - you might need to be using Ingres 1001:38
jundibut ingres db is not installed on the windows machine.. its on the linux.. the windows has client only01:39
grantci'm not sure that matters - I know we've been making changes for win701:40
grantcthe fact that you cannot ssh into your VB box is an issue - that should just work, assuming SSH is enabled etc..01:40
jundiwell.. i'll figure out how to make ssh work between the two machines and see if this resolves the issue..01:41
jundii'll update you once that is done01:41
grantcdoes vb support win7?01:42
jundithats what they say in their web site01:42
jundii downloaded the latest01:42
jundi3.1.601:42
grantcfair enough - i only have it on my mac and i don't use it that often01:44
*** jundi has quit IRC01:59
*** jundi has joined #ingres02:15
jundigrantc: i tried the host only network option on the virtualbox and it worked!02:16
jundinow i can ssh and the vnode test is successful02:16
grantcso your bridging is broken - that's a new feature in VB iirc02:16
jundiso i think it was a problem in the vb itself after all02:16
jundii guess so.02:16
jundiwell.. any way.. thanks a lot for your help..02:17
grantcno problem - glad you got it working02:18
*** jundi has quit IRC02:19
*** KermitTheFragger has joined #ingres03:00
*** atrofast has joined #ingres03:01
*** Dejan has joined #ingres03:08
Dejanhello everybody03:09
Dejanguys, check this out - http://codepad.org/DV49rDrK03:09
Dejani get bunch of similar "errors"03:10
Dejani am running verifydb as user "ingres" (DBA)03:10
Dejanit seems normal to have these problems because these are system catalogs03:11
*** cthibert has joined #ingres04:37
*** rossand has joined #ingres04:53
*** ChanServ sets mode: +o rossand04:53
*** zxiiro has quit IRC05:40
*** zxiiro has joined #ingres06:24
*** ChanServ sets mode: +v zxiiro06:24
*** atrofast has quit IRC07:08
*** atrofast has joined #ingres07:12
*** Dejan has quit IRC07:41
*** pboro has quit IRC07:41
*** Dejan has joined #ingres07:50
*** pboro has joined #ingres07:50
*** awatkins has joined #ingres08:14
awatkinshello.  does anyone know the meaning of IIAPI_ST_NOT_INITIALIZED when using hte ruby driver?08:15
grantcyou probably don't have II_SYSTEM defined08:17
awatkinsright, i don't. technically the client machine doesn't have Ingres fully installed.08:19
awatkinsit had just enought compiled to compile the ruby driver08:19
awatkinshmm, now that i'm looking at it, it sounds like i have to have a couple of locally running applications, i can't connect directly08:23
grantcunfortunately you need the networking component of Ingres running if you want to connect to a remote instance08:24
awatkinsgrantc: will it matter if hte network components are from the 9.3 32 bit osx release while the ruby adapter is using the 10.0 64bit compilation08:29
grantcmost likely yes08:29
grantcif it were the other way round it might work (assuming the 64 bit build also builds the 32bit files as well)08:30
awatkinsgrantc: in the end, we're actually connecting to a vectorwise install.  will this cause problems if i'm using v.10.0 or 9.3?08:36
grantcthat's a good question - I don't know what release of Ingres VW is based on08:37
grantci suspect 10 but they might have branched and earlier code line08:37
*** Dejan has quit IRC08:39
*** cthibert has left #ingres08:54
*** Mud has joined #ingres09:16
*** Mud has quit IRC09:40
awatkinsgrantc: do you know how to tell the build process to only build a 64 bit version?09:46
awatkinsnot the 64+32 hybrid?09:46
*** Mud has joined #ingres09:46
grantcyou may be able to edit src/tools/port/conf/VERS.int_osx and set 64BIT to TRUE09:48
grantcDarylM might know09:48
awatkinsgrantc: yeah i did that but in some parts its still trying to build 32bit09:49
DarylMIVW is based on the 10 (mainline) code but is currently a branch.  The sync of the branch to changes in the "10" mainline are at irregular intervals.09:50
DarylMThere is no IVW port to Mac at this time09:50
grantcsure but awatkins was asking if there was a way to do a 64 bit only build for OSX09:51
DarylM;-) trying to catch up09:51
DarylMMy build is ONLY 64 bit.  There is no hybrid Mac at all.09:51
awatkinshehe, yeah, cause the mac is just acting as a client, the main server is 64bit linux, which installed just fine09:51
awatkinsjust trying to ge tthe build to work for connectivity09:51
DarylMClient as in  Ingres/NET?09:52
awatkinsDarylM: how'd you do that?  I set 64BIT=true like grantc said, but then i got this error while compiling:09:52
awatkinsno, ruby client09:52
DarylMRuby uses Ingres/Net so yes. :-D09:52
awatkinsgcc -arch i386      -o /usr/local/src/ingres-10-src/main/install/build/ingres/bin/iimerge09:53
awatkinsoh sorry09:53
awatkinsthought you meant the .Net connector09:53
awatkinsam i doing this completely wrong?  Can you just build hte Ingres/Net seperately?09:54
DarylMSomething I think we would all like to see in the great beyond is for the various language systems (Ruby, PHP, Perl, Python, etc) to use the "DAS" server like the JDBC and .NET drivers.  But I am sure grantc will groan over the implication of the amount of work that would take.....09:54
DarylMGive me a sec.....09:55
* grantc won't moan but my boss will09:55
DarylMStill checking.  All I have set is 64BIT = "TRUE" ; in the VERS.int_osx file09:56
grantcif there is enough interest in doing a C-DAS layer, required for PHP/Python/Ruby, let me know - i'm aware of someone who is looking to make it happen09:57
awatkinsdoes C-DAS, mean a direct connection tot he server wihtout going through a the Ingres/Net (which sounds like a proxy)09:57
DarylMWait, I also have09:58
DarylM#set: option 64BIT09:58
grantcawatkins: yes09:58
awatkinsgrantc: in that case, yeah, I definitely think thats the right way to go10:00
grantcthe Python/PHP/Ruby drivers are written in C and there is no C interface to connect with the DAS server. .NET and JDBC have a protocol driver written in their native languages. In theory you could do the same in PHP etc but it would be better to go via C10:00
*** KermitTheFragger has quit IRC10:00
grantctime to knock off for the day10:01
grantccatch you all tomorrow10:01
*** grantc has quit IRC10:01
awatkinsDarylM: is the set command also in VERS.int_osx?10:02
DarylMchecking something...10:06
DarylMInteresting, I removed the plain "VERS" file and the system still built.  There is too much magic to this process.....10:15
DarylMBut, I have VERS.int_osx editted with the two critical 64 bit setting lines.10:15
FrankWamen brother ... so much magic.10:15
awatkinsi agree10:15
*** mercede has joined #ingres10:28
mercedehi10:28
mercedeis any ingress expert here10:28
mercedeIm stuck in certain issue and new to ingress, can anyone help?10:29
mercedeanyone like to help?10:29
mercedeI guess all of you are just bunch of assholes wasting internet bandwidth !10:30
*** mercede has quit IRC10:30
FrankWWell, I'm glad I didn't put myself out for him!10:31
DarylMI'm sure he gives his clients 60 second turn around.....10:32
awatkinsDarylM: to use Ingres/Net, do I have to do the full install of Ingres, or can i just fire up the ingresnet program?10:45
DarylMYou only need the iigcn process and iigcc (Ingres/NET) process.  iisunet sets it up.10:59
DarylMBut if you install from "ingbuild" there is a networking install option10:59
awatkinsok cool, thx11:00
awatkinsI'm following teh instructions in the readme, from building from source.  and with createdbms, its can seem to find ingres.tar:11:31
awatkinstar: Error opening archive: Failed to open '/usr/local/src/ingres-10-src/main/release/ingres-10.0.0-00-gpl-apple-darwin-i386/ingres.tar': No such file or directory11:31
awatkinsis there somewhere its supposed to live to be copied over11:31
*** cthibert has joined #ingres11:40
*** Mud has quit IRC11:46
*** atrofast has quit IRC11:51
awatkinsah, nevermind readme_into_osx.html was stopping the tar from being created12:06
*** withdefault has left #ingres12:53
*** awatkins has left #ingres12:53
*** cthibert has left #ingres13:30
*** zxiiro has quit IRC13:35
*** rossand has quit IRC13:43
*** zxiiro has joined #ingres14:20
*** ChanServ sets mode: +v zxiiro14:20
*** awatkins has joined #ingres14:30
*** ingres has joined #ingres14:40
*** ingres has quit IRC14:45
*** HY_ has joined #ingres14:45
awatkinsDarylM: do you know anything about IIAPI_ST_NOT_INITIALIZED15:13
DarylMsounds like a normal error.  The API interface was not initialized.15:17
DarylMnever run into it myself15:17
awatkinsDarylM: how do you initialize the API interface?  this is being thrown by the ruby driver15:19
DarylMNot sure.  It should just work.  grantc will know more about that one but he is on western europe time.15:20
awatkinsyeah he initially thought itw as because II_SYSTEM wasn't enabled and then because i wasn't running Ingres/Net, but now thats all taken care of15:22
DarylMIt appears you did not invoke the "initialize" method on the driver interface15:23
DarylMBut my memory is vague.  I would have to look at some of my ruby examples (which I haven't touched in a while...)15:24
DarylMAh, it should have initialized when the class was instantiated.15:25
DarylMprint "Basic Ingres Test\n"15:25
DarylMrequire 'Ingres'15:25
DarylMc = Ingres.new15:25
awatkinsyeah, thats hte basic15:25
awatkinsthen this15:25
awatkinsc.connect_with_credentials( "MYHOST::db","REPORTS","REPORTS" )15:25
awatkinsand then immediate error15:25
DarylMI just synced my svn repository and compiled and installed using -arch=x86_64 and it works.  Hmmmm15:31
awatkinscompile the ruby driver?15:34
awatkinscompiled?15:34
DarylMWell, yes.  I don't have a precompiled one for 64bit Mac OS/X.15:39
DarylMSo I just built and installed it from the source package15:39
DarylMSomething changed. I had trouble doing that in the past and this time it compiled and built perfectly and installed no problem.15:40
DarylMTry catching grantc tomorrow15:41
* DarylM hears the dinner call15:41
awatkinsok thx15:42
awatkinsyeah, i think it might be because of the connection to a VW instance15:46
awatkinsis anyone still around?17:25
*** rossand has joined #ingres18:21
*** ChanServ sets mode: +o rossand18:21
*** cytrinox_ has joined #ingres19:20
*** cytrinox has quit IRC19:23
*** cytrinox_ is now known as cytrinox19:23
*** rossand has quit IRC19:28
*** zxiiro has quit IRC20:10
*** zxiiro has joined #ingres20:11
*** ChanServ sets mode: +v zxiiro20:11
*** HY_ has quit IRC20:12
*** DarylM has quit IRC22:09
*** DarylM has joined #ingres23:01
*** Mud has joined #ingres23:34
*** grantc has joined #ingres23:34

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!