Friday, 2009-11-27

*** Gerhard has joined #ingres00:01
*** Mud|afk has joined #ingres00:18
*** Mud|afk is now known as Mud00:27
*** PaulM05 has joined #ingres00:56
PaulM05morning all00:56
*** Dejan has joined #ingres01:21
*** Dejan has quit IRC02:11
*** PaulM05 has quit IRC02:11
*** Dejan has joined #ingres02:13
*** PaulM05 has joined #ingres02:13
*** cthibert has joined #ingres03:29
*** Gerhard has left #ingres03:44
*** grantc has joined #ingres03:51
*** ChanServ sets mode: +o grantc03:51
*** atrofast has joined #ingres04:59
*** zxiiro has quit IRC05:07
*** PaulM05 is now known as Paul_lunch05:11
*** FrankW has joined #ingres05:33
*** Mary_ has joined #ingres05:54
*** raial01 has joined #ingres06:04
*** rossand has joined #ingres06:11
*** ChanServ sets mode: +o rossand06:11
*** zxiiro has joined #ingres06:15
*** ChanServ sets mode: +v zxiiro06:15
*** cthibert has quit IRC06:16
*** Paul_lunch has quit IRC06:16
*** Dejan has quit IRC06:16
*** Dejan has joined #ingres06:20
*** cthibert has joined #ingres06:21
*** thoda04 has joined #ingres06:21
*** Dejan is now known as Guest9373306:21
*** Guest93733 is now known as Deyan06:24
*** cthibert has left #ingres06:32
*** cthibert has joined #ingres06:51
*** PaulM05 has joined #ingres06:55
*** ccsidiot has joined #ingres07:09
*** SaraDanaher has joined #ingres07:30
*** SaraDanaher has quit IRC07:32
*** raial01 has quit IRC07:32
*** cthibert has quit IRC07:32
*** rossand has quit IRC07:32
*** FrankW has quit IRC07:32
*** Mud has quit IRC07:32
*** dyki has quit IRC07:32
*** pboro has quit IRC07:32
*** grantc has quit IRC07:32
*** PaulM05 has quit IRC07:32
*** Deyan has quit IRC07:32
*** zxiiro has quit IRC07:32
*** atrofast has quit IRC07:32
*** clach04 has quit IRC07:32
*** Deyan has joined #ingres07:33
*** zxiiro has joined #ingres07:33
*** irc.freenode.net sets mode: +v zxiiro07:33
*** rossand has joined #ingres07:33
*** SaraDanaher has joined #ingres07:33
*** PaulM05 has joined #ingres07:33
*** cthibert has joined #ingres07:33
*** raial01 has joined #ingres07:33
*** FrankW has joined #ingres07:33
*** grantc has joined #ingres07:33
*** Mud has joined #ingres07:33
*** pboro has joined #ingres07:33
*** dyki has joined #ingres07:33
*** irc.freenode.net sets mode: +oo rossand grantc07:33
*** atrofast has joined #ingres07:34
*** withdefault has joined #ingres07:35
*** ChanServ sets mode: +o withdefault07:35
SaraDanaheri am trying to install the drupal and i have error when i am trying to enter the user name and database07:36
SaraDanaheri got this message: Failed to connect to your Ingres database server. Ingres reports the following07:37
* grantc is away: Away07:38
SaraDanaheri am using linux system (Ubuntu)07:38
withdefaultwhat does ingres report?07:38
SaraDanaherwell i am trying to install drupal and this information i am entering is on drupal07:40
SaraDanaheri get this message: Failed to connect to your Ingres database server. Ingres reports the following07:41
withdefaultthere are a number of levels of failed to connect07:43
withdefault- the ingres dbms server isn't started07:43
withdefault- the process that is trying to connect doesn't have the ingres environment07:43
withdefault- the credentials used to connect aren't correct07:43
SaraDanaherwell if i do the accessdb i can see my data base drupal07:45
SaraDanaherand the owner drupal07:47
*** rossand has quit IRC07:47
Deyanwithdefault: are ingres builds tagged in svn?07:49
Deyanwithdefault: for an example, the current build 11207:50
SaraDanaheryes07:50
Deyangood, because i would like to build it on my machine with exactl source tree07:50
SaraDanaheri believe just make sure how i can double check?07:50
withdefaultdeyan, there are tags you can see them here http://code.ingres.com/ingres/tags/07:51
Deyanbrilliant07:51
withdefaultSaraDanaher, is there an operating system user drupal created?  Ingres will use that user to authenticate07:52
SaraDanaheryes07:53
Deyanor, did you setup ingvalidpw properly?07:53
Deyanif i remember well, it needs setuid bit set07:53
SaraDanaherwhen i created the data base  using the command "createdb -udrupal drupal"07:54
SaraDanahernow if i enter the command "accessdb" i can see the database drupal and owner drupal07:54
Deyandid you try to use it as "drupal" user?07:55
SaraDanaheryes07:55
Deyanit works?07:55
SaraDanaherno07:55
SaraDanaheri get this message: Failed to connect to your Ingres database server. Ingres reports the following07:55
Deyanok, first test this:07:56
Deyanwhether ingvalidpw tool has setuid bit set07:56
Deyanand root:ingres ownership07:56
Deyan-rwsr-xr-x 1 root ingres 19201 2009-11-25 11:30 ingvalidpam07:57
Deyan-rwsr-xr-x 1 root ingres 13275 2009-11-27 11:55 ingvalidpw07:57
Deyanit should be like this07:57
Deyanthese two files are in II_SYSTEM/ingres/bin directory07:58
SaraDanaherok thanks let me go and check it out07:58
withdefaultyou should also run07:58
withdefaultingprenv II_SHADOW_PWD07:58
DeyanSaraDanaher: if these two files have correct ownerships and modes07:59
Deyanthan make sure you have drupal user07:59
DeyanSYSTEM user07:59
DeyanIngres by default requires a system user07:59
* Deyan wishes a nice syntax for working with days and intervals08:00
Deyanso i can do like in MySQL: SELECT '2009-12-19' + INTERVAL 2 DAYS;08:01
Deyaninstead i need to use interval('days', blabla...)08:01
PaulM05select '27-nov-2009' + '2 days' should work08:02
* Deyan is going to try that out08:03
Deyanty PaulM05 \o/08:03
PaulM05np08:03
Deyanbetween you and me, documentation about INTERVAL should cover more examples08:04
PaulM05possibly - haven't looked at it recently08:04
PaulM05even though I am currently fixing a date-format related bug!08:04
Deyanresult: 27-nov-20092 days08:05
PaulM05what's your II_DATE_FORMAT?08:05
Deyanit concatenated the strings08:05
Deyan:D08:05
PaulM05yeah it's done that because it doesn't recognise 27-nov-2009 as a valid input format for your date format so it's assumed it's a string08:06
Deyanselect date('27-nov-2009') + '2 days';08:06
Deyanthis worked though08:06
Deyanwhich is fine08:06
Deyani can live with it08:06
Deyan< PaulM05> select '27-nov-2009' + '2 days' should work08:07
Deyanthat one just concatenated those two strings08:07
PaulM05see comment re date format08:07
Deyanok, let me see08:07
PaulM05brb08:08
Deyan"worked"08:08
Deyan2009-11-272 days08:08
Deyanah, no08:08
*** Mud has quit IRC08:08
Deyanagain concatenation08:08
Deyannah, does not work08:09
Deyanbut ok, date('27-nov-2009') + '2 days' does work08:09
Deyanwhich is fine08:09
PaulM05it's all about date formats - read up on II_DATE_FORMAT08:09
PaulM05but if you're happy with that... ;)08:10
Deyani do not have it set at all08:10
Deyanjust timezone08:10
Deyanit uses default date format08:11
Deyanwhich, i hope, is ISO or ISO408:11
PaulM05is it set in ingprenv?08:12
withdefaultDeyan, try this select ansidate('2009-11-27') + interval_dtos('2 days')\g08:14
DeyanPaulM05: nope08:14
Deyaningprenv does not list it08:14
Deyanwithdefault: select date('27-nov-2009') + '2 days'08:14
Deyanthis works well08:14
PaulM05should default to US then which DD-MMM-CCYY is08:14
Deyanselect date('2009-11-27') + '2 days' works too08:15
Deyani really think select '27-11-2009' + '2 days' should always return a string though...08:16
Deyannot a date08:16
Deyan:D08:16
PaulM05:)08:28
PaulM05you're right, you'd always need date(' ') around it in that context - my mistake - I blame too much multi-tasking!08:34
*** Mud|afk has joined #ingres08:36
Deyanyeah, so ingres can do implicit type conversion08:49
PaulM05yes08:50
*** cthibert has left #ingres09:13
*** cthibert has joined #ingres09:15
*** Deyan has quit IRC09:25
*** raial01 has quit IRC09:28
*** grantc has quit IRC09:34
*** DerMeister has joined #ingres10:15
*** ccsidiot has quit IRC10:45
*** SaraDanaher has quit IRC10:45
*** PaulM05 has quit IRC10:58
*** withdefault has left #ingres11:19
*** cthibert has left #ingres12:18
*** rossand has joined #ingres12:32
*** ChanServ sets mode: +o rossand12:32
*** zxiiro has quit IRC14:12
*** DerMeister has quit IRC14:33
*** zxiiro has joined #ingres14:52
*** ChanServ sets mode: +v zxiiro14:52
*** Mud|afk has quit IRC17:41
*** cytrinox_ has joined #ingres19:21
*** cytrinox has quit IRC19:37
*** cytrinox_ is now known as cytrinox19:37

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