Mud | yes | 00:01 |
---|---|---|
Mud | I have script (/etc/setvar) | 00:02 |
Mud | that I run when a user logons | 00:02 |
Mud | I will run that before the real scrip starts | 00:02 |
Mud | grantc: I will let ya know the results | 00:03 |
grantc | ok | 00:03 |
Mud | grantc: nop didnt work :< | 00:04 |
Mud | hmm | 00:05 |
Mud | maybe I need to do sh /etc/setvar | 00:06 |
Mud | and not . /etc/setvar | 00:06 |
grantc | i do . /env/script | 00:06 |
Mud | hmm | 00:06 |
grantc | e.g. http://ingres.pastebin.com/d1deb0310 | 00:07 |
Mud | yes I do that too in my /etc/profile | 00:07 |
Mud | why you do : #!/bin/bash ? | 00:07 |
grantc | because it's a bash script | 00:07 |
Mud | ok wait.. | 00:08 |
grantc | i guess it depends on what the default shell is for cron, sh perhaps? | 00:08 |
grantc | on some systems sh != bash ubuntu for example | 00:08 |
Mud | you have a script /etc/blabla and that baste-bin is in that file? | 00:08 |
Mud | hhmm | 00:12 |
Mud | I tried some things now | 00:12 |
Mud | I will keep you posted | 00:12 |
Mud | its working | 00:15 |
Mud | thanx grantc! | 00:15 |
Mud | \o/ | 00:15 |
Mud | love ya man <3 | 00:15 |
grantc | no problem | 00:15 |
Mud | gonna work on project (collega is here) | 00:15 |
Mud | :W | 00:15 |
Gerhard | Mud: concerning your crontab problem... | 00:30 |
Gerhard | there is a /home/ingres/.ingIIbash that contains the environment variables for user ingres | 00:31 |
Gerhard | ...one moment, telephone call, will come back in few minutes... | 00:32 |
Mud | nop, I dont have that file Gerhard :P | 00:42 |
Mud | I created manually /etc/setvar | 00:42 |
Gerhard | Mud: strange, I think the Ingres installer always creates that file...? At least the RPM-based installers.... | 00:56 |
Mud | Gerhard: I had the same issue (home folder) on my test machine | 01:02 |
Mud | what I did as sudo ingres_express_installer.sh | 01:02 |
Mud | I did a chown ingres:ingres on /opt/IngresII/ | 01:02 |
Mud | so ingres user can do ingstart | 01:03 |
Gerhard | Do you have a /home/ingres/.bashrc file? Is /bin/bash the login shell for ingres? | 01:04 |
Mud | Gerhard: yes I have a .bashrc in /home/ingres | 01:14 |
Mud | Gerhard: the strange part also in under my ingres account | 01:16 |
Mud | that I cant do /etc/ph[tab] | 01:16 |
Mud | the tab function doesnt work | 01:17 |
Mud | also when I do arrow up, I get weird tokens | 01:17 |
Mud | instead of the history of commands | 01:17 |
grantc | does 'ps' show you with the bash shell? | 01:19 |
grantc | e.g. http://ingres.pastebin.com/f66be6b67 | 01:19 |
Gerhard | if you do a "printenv | grep II_SYSTEM" in a command shell, what is the output? | 01:25 |
Mud | $ ps | 01:26 |
Mud | PID TTY TIME CMD | 01:26 |
Mud | 18331 pts/2 00:00:00 sh | 01:26 |
Mud | 18333 pts/2 00:00:00 ps | 01:26 |
Mud | $ | 01:26 |
Mud | that one is working Gerhard :) | 01:26 |
Mud | the cronjob is working now btw Gerhard, only have that small issue on my ingres account | 01:27 |
Gerhard | OK. | 01:27 |
Gerhard | Don't know if still of interest but my way for crontab is to use | 01:28 |
Gerhard | ( source /home/ingres/.bashrc ; /mydir/myjob.sh ) | 01:29 |
Gerhard | instead of just | 01:29 |
Gerhard | instead of just /mydir/myjob.sh | 01:29 |
Mud | :? | 01:32 |
Mud | why is that Gerhard | 01:32 |
grantc | Mud which operating system are you on? | 01:35 |
Mud | ubuntu 8.04 | 01:36 |
Mud | lts | 01:36 |
Mud | its a production server, so I cant upgrade for a sec (it has serveral important webapps running on it) | 01:37 |
Mud | grantc: tried shell=/bin/bash under my ingres account | 01:39 |
Mud | but didnt helped | 01:39 |
Mud | the strange part is, that I have a 'administrator' account (it can the permission to sudo) and that one is working perfectly | 01:40 |
grantc | I cannot remember when but from a particular Ubuntu release sh became symlinked to dash and not bash | 01:40 |
grantc | @googe ubuntu sh as dash | 01:40 |
ii_log | grantc: Error: "googe" is not a valid command. | 01:40 |
grantc | @google ubuntu sh as dash | 01:40 |
ii_log | grantc: DashAsBinSh - Ubuntu Wiki: <https://wiki.ubuntu.com/DashAsBinSh>; Dash as /bin/sh : Ubuntu: <https://launchpad.net/ubuntu/+spec/dash-as-bin-sh>; [ubuntu/karmic] dash 0.5.5.1-2ubuntu1 (Accepted): <https://lists.ubuntu.com/archives/karmic-changes/2009-April/000181.html>; Idea #2225: "Make /bin/sh = bash (solves zillions of issues ...: <http://brainstorm.ubuntu.com/idea/2225/>; install.sh failing at (1 more message) | 01:40 |
Mud | ke ke :) | 01:40 |
Mud | [10:43:29] <grawity> Mud: chsh -s /bin/bash theusername did fix the problem | 01:46 |
Mud | @ grantc | 01:48 |
ii_log | Mud: Error: "grantc" is not a valid command. | 01:48 |
grantc | that's one way to change the shell | 01:49 |
grantc | you can reset the OS so that the default shell is bash not dash as well | 01:49 |
Mud | ke ke :) | 01:51 |
Mud | grantc: I will google a bit :) | 02:00 |
Mud | hehe | 02:00 |
Mud | grantc: first hit | 02:00 |
Mud | http://linuxwave.blogspot.com/2009/03/changing-default-shell-in-ubuntu.html | 02:00 |
*** Dejan has joined #ingres | 02:04 | |
Dejan | hello everyone | 02:04 |
Mud | hi | 02:05 |
Mud | sup/ | 02:05 |
Mud | ? | 02:05 |
Dejan | work work work | 02:05 |
Mud | :) | 02:05 |
Mud | me too here :/ | 02:05 |
Mud | fixing little issues | 02:05 |
Mud | etc | 02:05 |
Mud | need to document a lot | 02:06 |
Dejan | i am finalising a large class built around JTable... | 02:07 |
Dejan | which basically gives me ability to filter content in various ways | 02:07 |
Dejan | in a fashion similar to Excel's pivot table feature | 02:07 |
Mud | hehe I am not a ingres user :P I am using ingres only for some little ingres query on a remote machine :P | 02:09 |
Mud | whats Jtable? | 02:09 |
Mud | like a mysql table? | 02:09 |
Mud | or something like a php class :) | 02:09 |
Dejan | it is a Java table widget (GUI stuff) | 02:18 |
Mud | hmm | 02:19 |
Mud | ok | 02:19 |
*** Adross has quit IRC | 02:53 | |
*** FrankW has joined #ingres | 04:13 | |
*** Gerhard has quit IRC | 04:17 | |
*** Gerhard has joined #ingres | 04:47 | |
Gerhard | Hi all | 04:47 |
grantc | morning | 04:48 |
*** zxiiro has quit IRC | 04:50 | |
Gerhard | I'd like to see a networked version of the command "relocatedb db1 -new_database=db" | 04:50 |
Gerhard | like "relocatedb db1 -new_database=another_server::db2" | 04:51 |
grantc | :) | 04:51 |
Gerhard | In MySQL you can pipeline mysqldump's output into an ssh session --> network copying a db in just one command line... | 04:54 |
grantc | that's hardly relocating a database... but still | 05:01 |
Gerhard | Yes, I know that relocatedb has some other usages but db copying is my favorite one | 05:02 |
Gerhard | Let's say you have a developer PC with between 10 and 20 DBs migrating to a new PC can be a PITA with unload / reload... | 05:08 |
grantc | sure - there's no easy solution short of shutting down the server and copying across the data location ... | 05:12 |
*** cthibert has joined #ingres | 05:31 | |
Gerhard | grantc: you mean directly copying II_DATABASE location of source server into II_DATABASE location of target server? | 05:39 |
grantc | yup - assuming the locations are the same etc.. | 05:39 |
grantc | still not as clean as the mysql soln | 05:39 |
*** zxiiro has joined #ingres | 05:42 | |
*** ChanServ sets mode: +v zxiiro | 05:42 | |
Gerhard | Has nobody ever thought about a mysqldump style utility for Ingres? I mean exporting data into a text file that consists only of SQL statements... | 05:59 |
*** rossand has joined #ingres | 06:01 | |
*** ChanServ sets mode: +o rossand | 06:01 | |
grantc | I've not thought of it - although it would be an interesting project for a sprint or some such event... | 06:09 |
*** atrofast has joined #ingres | 06:14 | |
*** DarylM has joined #ingres | 06:22 | |
Dejan | Gerhard: that would be a huge thing | 06:33 |
Dejan | Gerhard: PS. Ingres does not (yet) have bulk inserts | 06:33 |
Dejan | so that dump would contain maaaaany INSERTS | 06:33 |
Dejan | i mean, multiple inserts | 06:34 |
*** Alex| has quit IRC | 06:41 | |
*** cthibert has left #ingres | 07:02 | |
*** cthibert has joined #ingres | 07:05 | |
*** mull has joined #ingres | 07:14 | |
*** Mud|game has joined #ingres | 07:20 | |
Gerhard | Dejan: yes, I know that dump file would be large, one insert into... statement for each row, like in MySQL. | 07:21 |
*** grantc has quit IRC | 07:22 | |
*** grantc has joined #ingres | 07:22 | |
*** ChanServ sets mode: +o grantc | 07:22 | |
Dejan | It would be great if Redmine could be configured to use Ingres | 07:26 |
Dejan | if Redmine was not a Ruby-based project, I might do the Ingres support myself... :D | 07:27 |
*** Gerhard has quit IRC | 07:29 | |
grantc | feel free to try out the latest RoR incantation for Ingres - I've not tried it with Redmine so I would be interested in any feedback | 07:31 |
*** Mud has quit IRC | 07:31 | |
*** FrankW has quit IRC | 07:44 | |
DarylM | Speaking of Ruby, doesn't the activerecord adapter require a primary key definition? | 07:46 |
*** dyki has quit IRC | 07:47 | |
*** dyki has joined #ingres | 07:48 | |
grantc | as it stands right now yes it does and will do going forward, although there is a client that is not using a PK constraint | 07:49 |
DarylM | activerecord seems to have a set_primary_key method | 07:50 |
grantc | so you can set the name, from reading the source, much the same way you can override the tablename | 07:53 |
*** zxiiro has quit IRC | 07:53 | |
*** zxiiro has joined #ingres | 07:54 | |
*** ccsidiot has joined #ingres | 07:54 | |
*** ChanServ sets mode: +v zxiiro | 07:54 | |
*** bonro011 has quit IRC | 08:20 | |
*** bonro01 has joined #ingres | 08:20 | |
*** Mud|game has quit IRC | 08:20 | |
*** Mud has joined #ingres | 08:44 | |
*** atrofast has quit IRC | 08:46 | |
*** atrofast has joined #ingres | 08:47 | |
*** dyki has quit IRC | 09:25 | |
*** dyki has joined #ingres | 09:28 | |
ccsidiot | Hey everyone, I was trying to make sense to myself to the TODO parts error messages in adupoint.c | 09:44 |
ccsidiot | I boiled down that the function GEOSWKBWriter_write_r returns null definitely when the handle that we passed in is null when a thread-safe library is used | 09:46 |
ccsidiot | So I think I need to add 1 more error checking to the code other than modifying error messages, is that okay? | 09:47 |
ccsidiot | :) | 09:47 |
ccsidiot | I'm not sure am I supposed to just improving the meaning of error messages or actually do the modification to the code base | 09:48 |
*** FrankW has joined #ingres | 09:52 | |
*** grantc has quit IRC | 10:19 | |
*** ccsidiot has left #ingres | 10:36 | |
*** thiagomz has joined #ingres | 10:43 | |
*** clach04 has joined #ingres | 10:44 | |
*** thiagomz has quit IRC | 10:59 | |
*** rossand1 has joined #ingres | 12:46 | |
*** cthibert has left #ingres | 13:02 | |
*** rossand has quit IRC | 13:02 | |
*** rossand1 has quit IRC | 13:04 | |
*** Mud has quit IRC | 13:05 | |
*** rossand has joined #ingres | 13:23 | |
*** ChanServ sets mode: +o rossand | 13:23 | |
*** zxiiro has quit IRC | 13:40 | |
*** zxiiro has joined #ingres | 14:26 | |
*** ChanServ sets mode: +v zxiiro | 14:26 | |
*** atrofast has quit IRC | 15:13 | |
*** mull has quit IRC | 15:35 | |
*** SaraDanaher has joined #ingres | 16:56 | |
SaraDanaher | hi everyone, | 16:58 |
SaraDanaher | i am installing Drupal and i got an error during install site | 16:59 |
SaraDanaher | this the error Parse error: syntax error, unexpected '{' in /var/www/html/drupal/includes/menu.inc on line 315 Warning: query: UPDATE sessions SET uid = 0, cache = 0, hostname = '127.0.0.1', session = '', timestamp = 1258857616 WHERE sid = 'fc338c25d707262c88ddc741990890c1' in /var/www/html/drupal/includes/database.ingres.inc on line 280 | 16:59 |
SaraDanaher | sorry i copyed the error | 17:01 |
SaraDanaher | here is the error again | 17:01 |
SaraDanaher | * user warning: line 1, Syntax error on ')'. The correct syntax is: OPEN CURSORID CURSOR FOR fullselect [FOR [DIRECT | DEFERRED] UPDATE OF column {, ... }] [FOR READONLY] query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC OFFSET 0 FETCH NEXT 1 ROWS ONLY in /var/www/html/drupal/includes/menu.inc on line 315. | 17:01 |
*** SaraDanaher has quit IRC | 17:07 | |
*** rossand has quit IRC | 17:20 | |
*** zxiiro has quit IRC | 18:47 | |
*** zxiiro has joined #ingres | 18:48 | |
*** ChanServ sets mode: +v zxiiro | 18:48 | |
*** cytrinox_ has joined #ingres | 19:21 | |
*** cytrinox has quit IRC | 19:36 | |
*** cytrinox_ is now known as cytrinox | 19:36 | |
*** zxiiro has quit IRC | 20:18 | |
*** zxiiro has joined #ingres | 20:19 | |
*** ChanServ sets mode: +v zxiiro | 20:19 | |
*** zxiiro has quit IRC | 21:02 | |
*** zxiiro has joined #ingres | 21:02 | |
*** ChanServ sets mode: +v zxiiro | 21:02 | |
*** FrankW has quit IRC | 22:26 | |
*** bonro011 has joined #ingres | 22:47 | |
*** grantc has joined #ingres | 22:52 | |
*** ChanServ sets mode: +o grantc | 22:52 | |
*** bonro01 has quit IRC | 22:53 | |
*** Mud has joined #ingres | 23:29 | |
Mud | morning all | 23:29 |
*** ii_log` has joined #ingres | 23:48 | |
*** ii_log has quit IRC | 23:49 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!