Thursday, 2009-07-09

*** grantc has joined #ingres00:26
*** ChanServ sets mode: +o grantc00:26
*** thiagomz_ has quit IRC00:40
*** thiagomz has joined #ingres00:40
*** Alex| has joined #ingres00:48
*** Alex| is now known as Alex|off00:48
*** Nornagest has joined #ingres00:49
*** Alex|off is now known as Alex|00:53
*** ChanServ sets mode: +o Alex|00:53
*** Deyan has joined #ingres03:01
Deyanhi fellows03:01
Deyananyone around?03:01
pborosure03:01
Deyani have a problem - we have just installed 9.403:01
Deyanover 9.303:01
Deyaninstaller detected the old instance03:01
Deyanand did everything03:02
Deyani can connect to old databases via "ingres" user locally03:02
* grantc de-cloaks03:02
Deyanbut JDBC connections do not work03:02
pborodoes it show any error message? did you check errlog.log?03:02
grantcDeyan, check to see if you have an iigcd process running03:02
Deyanso somehow remote connections to the new 9.4 do not work03:02
Deyangrantc: ok mate, i will check that03:02
pboroI guess 9.4 is pretty much WIP03:03
Deyangrantc: bingo03:03
Deyangrantc: it failed03:03
grantccan you paste the errors from errlog.log to http://ingres.pastebin.com03:03
Deyanhttp://ingres.pastebin.com/d6b235fa203:07
Deyanlooks like passwords have been *censored*03:07
Deyan:)03:07
grantcwhat OS is this?03:08
*** Deyan has quit IRC03:11
*** Vroomfondle has quit IRC03:11
*** mull has quit IRC03:11
*** thiagomz has quit IRC03:11
*** clach04 has quit IRC03:11
*** bonro01 has quit IRC03:11
*** thiagomz has joined #ingres03:12
*** mull has joined #ingres03:12
*** clach04 has joined #ingres03:12
*** Vroomfondle has joined #ingres03:12
*** Deyan has joined #ingres03:13
*** bonro01 has joined #ingres03:13
Deyangrantc: there?03:14
grantcyup03:14
Deyanlooks like the password i used in 9.3 is changed after i switched to 9.403:14
grantcseemed you got bounced03:14
grantcwhich OS is this?03:14
DeyanopenSUSE03:14
*** zxiiro has quit IRC03:14
Deyan11.003:14
Deyan64bit03:14
grantcdid you install using the RPMs?03:14
Deyanyes03:15
grantcis there a value for "ingprenv II_SHADOW_PWD" ?03:15
Deyanhold on03:15
Deyani will check that03:15
Deyanyep03:15
Deyanthat variable has proper value03:16
grantcif you run "echo ingres ingrespasswd | `ingprenv II_SHADOW_PWD`; echo $?"03:16
grantcwhat do you get?03:16
Deyani get "4"03:17
grantcok if you look at $II_SYSTEM/ingres/files/iipwd/ingvalidpw.c and search for a bunch of "#define" statements, 4 means E_NOTROOT03:18
Deyanerm, i was running this as "ingres" user03:18
grantcwhich in english, or whatever, means the owner of ingprenv II_SHADOW_PWD is not root03:19
Deyanso root should be owner of that file?03:19
grantc> ls -l `ingprenv II_SHADOW_PWD`03:19
grantc-rwsr-xr-x 1 root grant 16032 2009-02-04 10:47 /opt/Ingres/R3/ingres/bin/ingvalidpw03:19
grantcyup03:19
Deyani think THAT is the problem03:19
grantcalso with the setuid bit set03:19
Deyani am going to check that03:20
Deyanyeps03:20
grantcso chown root that file also chmod 4755 the file and you should be good to go03:20
Deyanthanks mate03:21
Deyani think this was the problem03:21
Deyani am going to try again03:21
Deyanwooohoooo!03:21
Deyannow it works03:21
Deyanerm...03:21
Deyani think we have a bug in the installer03:21
Deyanor RPM03:21
Deyanbecause it did not setup these privileges03:22
Deyanwell, at least it did not in our case here03:23
Deyanwe ran installer as root03:23
*** zxiiro has joined #ingres03:23
Deyanand ingres-9.4.0-101-NPTL-gpl-linux-x86_64.tgz03:23
Deyanwas the file that we used03:24
grantcUnfortunately i moved to ubuntu so I have to do all this stuff by hand :(03:25
Deyan:( poor you03:25
Deyan;)03:25
grantc:)03:25
DeyanJ/K - obviously there are some benefits03:25
Deyanyou now know that the system can be borked without proper privileges of that password tool...03:26
grantcnot sure there is to be honest03:26
grantcit's and age old Ingres problem03:26
grantcs/and/an/03:26
Deyanstrange it does not use pam or something...03:26
grantcgoogle pam ingres03:27
ii_loghttp://community.ingres.com/forum/dba-forum/1780-ingres-pam-integration.html03:27
Deyanyeppers03:27
Deyani saw that03:27
grantcpam is an option but ingres has been around for longer than PAM has existed03:27
Deyansure03:27
grantcif you look at the code in ingvalidpw.c you will see all the different password systems we have to support03:28
Deyani can understand that :)03:28
*** bonro01 has quit IRC03:28
Deyanour production server is on OpenVMS...03:29
* grantc feels for you 03:29
Deyanrofl03:29
Deyanbut not for long03:29
*** bonro01 has joined #ingres03:29
Deyan;)03:29
grantcalthough i should not say too many bad things against openvms since it help me travel the world.03:30
Deyanwe are moving the old system to Linux in few months03:30
Deyan1 year at most03:30
grantccool03:30
DeyanROFL03:31
Deyani just started working for this company...03:34
DeyanI never touched Ingres in my life before03:34
Deyanand i used VAX/VMS some 15 years ago03:34
grantcnew blood :)03:35
Deyanthat was the only time i worked with VMS03:35
Deyanso far i like Ingres03:35
Deyanand i like the direction03:35
Deyan(towards open-source)03:35
DeyanI come from MySQL world03:35
Deyanallthough i worked with Oracle quite a lot03:35
grantcyeah it's pretty easy to get to grips with and most things work the same across the platforms03:35
Deyani have come across the shift2ingres project03:37
grantchmmm yes...03:37
grantcwe got into a bit of hot water there... or rather some of the entries did03:38
grantcthat was submitted as part of a $1m prize for conversion tools for Ingres. unfortunately some of them were submitted by oracle employees...03:38
grantcneedless to say we/they ran into IP issues03:39
Deyan$1m...03:46
Deyanwhy did i not know about it...03:46
Deyan:>03:46
Deyanso who won the prize?03:46
grantcnot sure - no one in the end.. since the supposed top 3 all came from oracle employees03:47
grantchttp://linux.sys-con.com/node/86163 - has the supposed winners ...03:47
Alex|shift2ingres never really worked... we were writing a new tool last year that does the job now :)03:49
grantcare you going to publish it?03:49
Alex|not sure... of course mgmt wants to make money with it....03:50
grantc:)03:50
Alex|off now... company bicycle tour today...03:50
*** Alex| is now known as Alex|off03:51
DeyanAlex|off: have fun03:55
Deyanit is a nice company you are working for:D03:55
grantc:)03:59
grantcthe last time i went out on my bike i hit a kid .... and i came off worse03:59
pboro:D04:00
grantci lied - the bike came off worse then me then the kid.. i still need to take it to the shop to get repaired04:00
Deyanmake04:26
Deyanups04:26
Deyan:D04:26
atrofastAh I tried the OME lib that shift2ingres made06:05
atrofastIt's made a SQL function for "greatest" although it only takes two arguments06:06
*** mull has quit IRC06:45
*** mull has joined #ingres07:46
*** DarylM has joined #ingres08:08
*** DerMeister has joined #ingres09:42
*** Deyan has quit IRC10:13
*** NoeJeko has joined #ingres11:07
*** Dejan has joined #ingres11:51
Dejanhello people11:51
atrofastHello Dejan13:03
*** Alex|off is now known as Alex|13:14
*** DarylM has quit IRC13:18
*** zxiiro has quit IRC13:27
*** DarylM has joined #ingres13:31
*** Alex| is now known as Alex|off13:35
*** zxiiro has joined #ingres13:37
*** DerMeister has quit IRC14:20
*** grantc has quit IRC14:34
*** Dejan has quit IRC14:52
*** mull has quit IRC15:22
*** DarylM has quit IRC15:47
*** rossand has joined #ingres17:37
*** ChanServ sets mode: +o rossand17:37
*** mull has joined #ingres18:28
*** rossand has quit IRC19:30
*** mull has quit IRC21:05
*** Alex|off is now known as Alex|22:04
*** NoeJeko has quit IRC22:46
*** Alex| is now known as Alex|off22:54
*** grantc has joined #ingres22:55
*** ChanServ sets mode: +o grantc22:55
*** Alex|off is now known as Alex|23:11
*** Alex| is now known as Alex|off23:48

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