Thursday, 2010-05-06

*** Mud has quit IRC01:40
*** gerhard has joined #ingres01:45
gerhardMorning all01:46
*** Mud has joined #ingres01:47
gerhardIs there any CBF setting or trace point that will show the corresponding SQL in case of "escalating to table-level lock" situations?01:48
*** Mud|afk2 has joined #ingres01:50
grantchi gerhard - there is01:51
grantcgrep config.dat for "log_esc"01:52
*** Mud has quit IRC01:53
gerhardgrantc, I think the log_esc params in config.dat just switch the lock escalation messages in errlog.log on or off...02:31
gerhard...but I will not see the SQL that causes the lock escalation.02:32
grantcah I see - you want the SQL that caused it not the tables upon which it's happenning02:32
gerhardyep02:32
grantcyou might be able to extract the info from IMA ?02:33
*** KermitTheFragger has joined #ingres02:33
gerhardyou mean something like "select * from ima_server_sessions..." ?02:34
gerhardBTW, my customers machine (Win-32, 9.2.0, P13354) has all log_esc params turned OFF in the config.dat and nevertheless, lock escalation messages are shown in the errlog.log02:36
gerhardIs that a bug?02:37
grantcif the change was made post server start up then no - the errlog.log will tell you what the server started up with. If Ingres has been restarted then I guess it is a bug02:43
gerhardThen it is a bug because I have definitely restarted Ingres after last cbf change.03:11
*** withdefault has joined #ingres04:15
*** ChanServ sets mode: +o withdefault04:15
*** withdefault sets mode: -o withdefault04:15
*** rossand has joined #ingres04:19
*** ChanServ sets mode: +o rossand04:19
*** zxiiro has quit IRC04:34
*** zxiiro has joined #ingres05:14
*** ChanServ sets mode: +v zxiiro05:14
*** Mud|afk2 has quit IRC05:42
*** Mud has joined #ingres05:46
Vroomfondlehrm06:04
Vroomfondlegrantc: Error: 7 - Unable to close non-result resource statement              (when executing ingres_query)06:04
Vroomfondleany idea what the cause of that might be? Code worked before we moved over to the new version of the driver. I think it's actually a warning rather than an error, but I still need to fix it somehow06:05
*** mull has joined #ingres06:05
VroomfondleI think it's related to executing prepared statements, as the majority of our code (which uses an older mechanism) is working fine06:08
grantcit's doing clean up from an earlier statement - you may or may not be able to ignore it. Can you generate an API trace with the problem code?06:20
VroomfondleI could if I knew how06:23
awatkinsgrantc: how do you generate an api trace from within the ingres code?06:23
Vroomfondlething is, I can't ignore it because my own custom application-wide error handler doesn't let me ;)06:24
Vroomfondle<-- bit of a nazi regarding errors/warnings ;)06:25
grantchttp://community.ingres.com/w/files/3/3b/GettingStartedwithIngresandPHP.pdf - Slide 4006:26
grantcawatkins: it's done using environment variables that have to be set before hand06:26
* Vroomfondle takes a look06:28
grantchttp://docs.google.com/present/edit?id=0Ac-MQvdi6eYBZGdmYnMyOGpfNDVka3Fxc25ncQ&hl=en as well06:31
awatkinscool.  I was getting no common charset errors, and had to go mucking around the codebase to find which env variable to set to get it to work.  wondered how to activate the tracing so it'd make my life easier06:33
grantclunchtime ...06:36
*** grantc is now known as grantc_fooooood06:36
Vroomfondlegrantc_fooooood: k, cheers, will ask my boss to add the necessary lines to our config and then let you know the result06:38
*** cthibert has joined #ingres06:41
*** Mud has quit IRC06:54
DarylMGuten morgen all, awatkins.  How goes the ruby fun?07:00
Vroomfondlehrm07:04
Vroomfondlegrantc_fooooood: We've added the requisite environment vars to our apache config (as SetEnv statements) and restarted Apache. It doesn't seem to be logging a trace anywhere though...07:05
Vroomfondleerr, wait07:06
* Vroomfondle greps the conf file which his boss is supposed to have edited07:06
* Vroomfondle wanders off to his boss with a big question-mark over his head07:06
Vroomfondleah. I asked him to apply it to our dev server. He actually applied it to our *live* server.07:08
VroomfondleThat's not the kind of mistake one really wants to make! ;)07:09
*** grantc_fooooood is now known as grantc07:19
grantcerr no not really since it will hit performance a bit07:19
Vroomfondlenow applied to dev, but... erm, still doesn't seem to be working07:22
*** gerhard has quit IRC07:23
*** Mud has joined #ingres07:23
VroomfondleSetEnv II_API_TRACE 507:23
VroomfondleSetEnv II_API_LOG /www/logs/ingres_api_trace.log07:23
Vroomfondle...right?07:23
grantcyou might need to set them in the script that starts Apache and use PassEnv to make sure the PHP engine can see the variables07:28
*** awatkins has left #ingres07:32
Vroomfondleseems unlikely as we use SetEnvs (in the same part of the config file) to set II_SYSTEM...08:02
grantcare you using mod_php?08:09
*** rossand has quit IRC08:37
*** rossand has joined #ingres08:38
*** ChanServ sets mode: +o rossand08:39
Vroomfondlegrantc: yes08:50
grantcuh ok - i've never got SetEnv to work, perhaps it's time to try again...08:50
Vroomfondleheh08:51
Vroomfondleit's entirely possible that ours don't actually work and we haven't noticed cos II_SYSTEM is getting set somewhere else08:51
Vroomfondlethat sort of thing happens a lot around here.08:51
grantc:D08:51
pboro:D08:53
grantcI've just tried it again and nope - it does not work for me...09:00
VroomfondleI'll dig around a bit more tomorrow09:00
grantcif you can send me your httpd.conf that would be useful (grantc@php.net or my ingres.com address)09:02
pboroyou can easily check whether SetEnv works with PHP by creating a php script containing <?php phpinfo(); ?>09:02
pborothen simply execute it thru' web and check the env variables list :)09:04
*** withdefault has quit IRC09:05
grantcit's there in the $_server[] list not in the environment variable list09:05
grantcat least that's what i see09:05
pborothen it prolly doesn't work as expected...09:06
pboroI guess it only affects cgi's etc, lemme check the manual09:07
pboro"Sets an environment variable, which is then passed on to CGI scripts and SSI pages."09:08
pborodoesn't look too promising09:08
grantcerr no09:09
grantcSo if you call PHP via the CGI module then you are ok but mod_php is a different story09:10
pboroI guess it could be useful that the ingres driver module also considered the values in the $_server[] list... but in the end, you still need to define the LD_LIBRARY_PATH elsewhere09:11
grantcI've thought about that but it would only be specific to apache not to other servers such as IIS/lighttpd09:13
pborohmm IIS and lighttpd don't use $_server at all?09:14
pborobut setting such values might be impossible.. yeah09:15
grantcnot sure, i guess so but there are apache specific functions for fetching setenv'd variables09:15
pboroyup09:15
pboroyea but I didn't mean implementing specific stuff for setenv but simply looking up $_server[]09:16
pborobut there's no much point anyway so :)09:16
* grantc picks up his extending and embedding php book09:17
pboro:D09:17
pborodamn I hate when my laptop starts failing wlan connections09:17
grantcsomeone playing with a microwave?09:18
pboronaah, something wrong with the wlan mini-pci card09:18
grantchttp://xkcd.com/654/09:19
pborohaha09:19
*** grantc has quit IRC09:46
*** KermitTheFragger has quit IRC09:53
*** Mud has quit IRC10:14
*** Mud has joined #ingres11:04
*** Alex| has joined #ingres12:02
*** ChanServ sets mode: +o Alex|12:02
*** Mud has quit IRC12:09
*** Mud has joined #ingres12:15
*** zxiiro has quit IRC12:20
*** Eugene_K has joined #ingres12:41
Eugene_KCan someone remind me - which 3 Windows security rights I need to assign to the Windows user (which will install Ingres)?12:44
Eugene_KOh, yes, Hello All12:44
Eugene_KI have installed clean Ingres 9.2.1 and my rmcmd server will not start. Errors (in errlog.log): E_GC0153_GCN_SRV_STARTUPServer Registration: class RMCMD, address II\RMCMD\189412:50
Eugene_KAny suggestions?12:50
DarylMI always have to hit the Windows specific documentation for that.  "Act as admin" I think is one of them12:56
Eugene_KYeh, Daryl, spent about 12 minutes looking for that info - nowhere to be found...12:56
Eugene_KOne is definitely - Act as part of Operating System12:57
DarylMI only have the Linux manuals easily at hand... :-)12:58
Eugene_KThanks for trying Daryl12:59
Eugene_KI know you are Linux person : -)13:00
*** Eugene_K has quit IRC13:05
*** zxiiro has joined #ingres13:07
*** ChanServ sets mode: +v zxiiro13:07
*** Mud has quit IRC13:59
*** cthibert has left #ingres14:03
*** Alex| has quit IRC14:06
*** HY_ has joined #ingres14:37
*** mull has quit IRC15:59
*** rossand has quit IRC18:16
*** cytrinox_ has joined #ingres19:20
*** cytrinox has quit IRC19:24
*** cytrinox_ is now known as cytrinox19:24
*** mull has joined #ingres19:36
*** mull has quit IRC19:58
*** Alex| has joined #ingres22:38
*** ChanServ sets mode: +o Alex|22:38
*** Alex| has quit IRC23:04
*** Alex| has joined #ingres23:25
*** ChanServ sets mode: +o Alex|23:25

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