[00:00] <matt____> sommer: btw, i'm simply wondering, after installing the lamp server hardy 8.04 disk server thing, do i need to do anything to mysql to make it "compatible" with jdbc?
[00:00] <matt____> sommer: i've setup a remote user for mysql, and i've even logged into if from this machine...
[00:00] <matt____> sommer: is there something better than openoffice i could use to connect?
[00:00] <sommer> matt____: yeppers, you'll need the libmysql-java package, and a jvm, but there might be one by default
[00:01] <matt____> sommer: jvm?
[00:01] <matt____> sommer: like sun-java-***
[00:01] <sommer> matt____: what are you trying to do?  what's your end goal?
[00:01] <sommer> matt____: yep jvm == java virtual machine
[00:01] <matt____> sommer: you know, that may be one thing that i've not did...that will work. but just wondering...which sun-java should i install?
[00:02] <matt____> a jre? a jdk? version 5 or 6? they make it so confusing
[00:02] <sommer> matt____: whichever one meets your needs... I'd probably go with 6
[00:02] <sommer> are you developing something?
[00:02] <matt____> 6 jde or jdk?
[00:02] <matt____> sommer: umm...i don't think so
[00:02] <matt____> sommer: my end goal is to setup a simple contacts database...
[00:03] <sommer> matt____: mmmm... if you're looking for simple then why java?
[00:03] <matt____> sommer: well..by simple, i mean using mysql...so that i can access it remotely via ssh
[00:05] <sommer> matt____: ah, but why do you want to use java?  I only ask because you don't seem to know much about it
[00:05] <sommer> matt____: for a simpler solution I'd suggest python, perl, ruby, etc
[00:05] <matt____> sommer: i know nothing of it...i just want to be able to connect open office base to mysql, and jdbc and odbc are the only two options, i believe...
[00:07] <sommer> oh, now I see... have you searched linuxjournal.com or linux.com?  I believe one, or both, of those sites have a guide for setting that up
[00:07] <jiqiren> matt____: did you try this: http://dba.openoffice.org/FAQ/specific.html#connectmysql
[00:07] <sommer> matt____: I've only setup mysql and java for a developers perspective
[00:07] <matt____> sommer: i've found (and used) about 4 of them. But openoffice keeps giving me problems...
[00:07] <matt____> sommer: jiqiren i'm wondering...on the server end, do i have to do something to mysql to make it compatible with jdbc?
[00:08] <sommer> jiqiren: bonus, thanks for the link
[00:08] <jiqiren> matt____: no, it is the driver that is jdbc, it will communicate with mysql using mysql-lingo
[00:09] <matt____> jiqiren: so a default mysql server is compatible with jdbc, correct? because the driver talks in mysql. gotcha. so it is something i am doing wrong...
[00:09] <matt____> sommer: jiqiren that link, i've seen it, but i don't know about one thing. let me try it, and then i'll tell you
[00:09] <jiqiren> mysql server doesn't understand jdbc, that's why you need the driver
[00:11] <matt____> jiqiren: so i need jdbc on the server?
[00:11] <matt____> jiqiren: libmysql-java?
[00:12] <jiqiren> no, the driver is what openoffice will use to talk to mysql, openoffice only talks ODBC or JDBC, so you get a driver that will in turn talk to mysql
[00:12] <jiqiren> mysql has this driver available for free as a .jar
[00:13] <matt____> jiqiren: yes, that is the same as libmysql-java i believe, it installs that java, but i am using the jar...
[00:13] <jiqiren> http://dev.mysql.com/downloads/connector/j/5.1.html (also has a library... but openoffice just wants the .jar)
[00:14] <matt____> jiqiren: already got that
[00:14] <matt____> using the jar
[00:14] <matt____> in oo
[00:14] <jiqiren> matt____: ok, then you should be good
[00:15] <matt____> jiqiren: when i try to connect oo to mysql, i get "unexpected exception during query"
[00:16] <jiqiren> either java is misconfigured on your box - or the driver is throwing an exception (like it is getting access denied)
[00:16] <jiqiren> what is the exception?
[00:16] <matt____> *unexpected exception encountered during query. that's all i get
[00:16] <nasa> Hi, I am trying to setup a raid sever.  I am using a highpoint rocketraid 2320 pci express card.  I have that all setup and have a JBOD drive setup.  Syslog shows the device, but I can't get fdisk, parted, or gparted to see it
[00:16] <jiqiren> you need to find where that is logged - or turn on logging somehow
[00:16] <nasa> What am I missing?
[00:17] <matt____> jiqiren: ok...here something is...
[00:17] <jiqiren> nasa: why would you setup a raid as jbod?
[00:17] <matt____> "the connection to the data source "New Database6" (open office save file thing) could not be established. Access denied for user 'matt'@'192.168.1.102' (using password:YES)
[00:18] <jiqiren> ok, so you have some mysql access problems - that is the exception
[00:19] <matt____> jiqiren: but...i can log into mysql remotely from this client, i JUST did this... mysql -u matt -h 192.168.1.250 -p
[00:19] <jiqiren> on the command line, try "mysql -h 192.168.1.102 -u matt -p "New Database6"
[00:19] <nasa> jiqiren: I have a 2nd raid setup (previously done) which is 4 drives setup as a raid 5.  This drive (only a single one) is a TB drive.
[00:20] <jiqiren> on the commandline you are just connecting to mysql without using a DB
[00:20] <matt____> jiqiren: umm..won't work...the New Database thing is the thing that open office saves so that you can open it up and access the database on the server without having to retype all the info
[00:20] <jiqiren> I bet jdbc is trying to connect to a DB that doesn't exist - or you don't have access to
[00:21] <jiqiren> like try mysql -h 192.168.1.102 -u matt -p mysql
[00:22] <matt____> jiqiren: the database i'm trying to connect to is BOOKS, and i just logged into mysql as matt and use BOOKS worked
[00:22] <matt____> jiqiren: well.. use BOOKS;
[00:22] <jiqiren> ok, is openoffice aware of BOOKS as the DB to connect to?
[00:22] <matt____> jiqiren: yes..it asks for it...
[00:22] <jiqiren> so something is getting dropped by oo
[00:23] <matt____> jiqiren: mind explaining the difference between the jdk and jre?
[00:23] <jiqiren> jdk is jre+dev tools
[00:23] <matt____> java develepmont kit and java runtime environment?
[00:23] <matt____> so would i need to jre?
[00:23] <matt____> 6? lettme install that on my client, i'm not sure what's installed now, but something is...
[00:23] <jiqiren> they are both the same, you need 1 of them for running jars
[00:24] <matt____> jiqiren: ok...so i've already got that installed..but do i need that installed on the server as well?
[00:24] <jiqiren> no the server doesn't care about java at all
[00:24] <nasa> I am keeping the 1tb a JBOD until I can aquire some more closely matched drives
[00:25] <matt____> jiqiren: hmmm...ok.
[00:25] <matt____> lettme try to connect oo to mysql db
[00:25] <jiqiren> nasa: ah ok, so you can't access the 1 disk that is jbod?
[00:26] <matt____> jiqiren: its weird, it is telling me that access is denied...
[00:26] <nasa> jiqiren: correct
[00:27] <matt____> and sometimes it tells me the exception error
[00:27] <jiqiren> matt____: i don't understand that if it works fine from the commandline - maybe the password is getting dropped? or you mistyped it when setting it up in OO?
[00:28] <matt____> jiqiren: nope, i type it everytime in oo and cli. cli always works, surely i don't type it wrong everytime in oo?
[00:28] <jiqiren> nasa: is this jbod disk on the same raid card as the existing raid5?
[00:28] <jiqiren> matt____: have you tried restarting oo? maybe the drive likes to cache things - even when broken?
[00:29] <matt____> jiqiren: do you know of any other "database" type things like openoffice and access that are opensource that perhaps i could try?
[00:29] <matt____> jiqiren: i restart oo everytime i try...
[00:29] <jiqiren> matt____: I'm going to try setting up a OO connection real quick... hold on
[00:30] <nasa> jiqiren: yes
[00:30] <jiqiren> matt____: crap, I don't have oo - i'm on a mac
[00:30] <matt____> jiqiren: alright...but lettme ask you this: i notice that the java connector is like version 5.1.6...would it make a difference between jre 5 or jre 6?
[00:30] <matt____> jiqiren: hmm...you've got the equivalent, right?
[00:31] <jiqiren> matt____: i have plenty of DB's but don't have oo
[00:31] <jiqiren> I have neooffice
[00:31] <matt____> but yeahh...the jre 5 or 6 question...?
[00:31] <matt____> jiqiren: alright...but lettme ask you this: i notice that the java connector is like version 5.1.6...would it make a difference between jre 5 or jre 6?
[00:34] <jiqiren> matt____: I don't know, have to look at the docs for the driver
[00:34] <matt____> jiqiren: i'll uninstall 6 and try 5...
[00:36] <matt____> jiqiren: btw, i don't need to use openoffice, anything that will alow me to paste into tables will work for now...
[00:36] <jiqiren> i don't know what you mean by past into tables
[00:36] <jiqiren> s/past/paste
[00:38] <matt____> jiqiren: paste...umm...edit tables by typing into them...instead of using the cli to edit tables...
[00:39] <jiqiren> matt____: ah... well, I think there are some db gui tools that can help you with that
[00:39] <matt____> jiqiren: i downloaded something from sun..but i can't figure out how to run it
[00:39] <matt____> gui tools
[00:39] <matt____> jiqiren: and openoffice would do it, right?
[00:39] <jiqiren> but it sounds like you really want to be using a spreadsheet
[00:40] <matt____> jiqiren: umm...sorta. I want to spreadsheet i've got into a database...
[00:40] <matt____> lots of records..
[00:40] <matt____> *want the spreadsheet
[00:47] <matt____> jiqiren: ??
[00:47] <jiqiren> matt____: i just got neooffice to work fine with mysql
[00:48] <matt____> jiqiren: hmm...ok...
[00:48] <jiqiren> using the java jdbc driver
[00:48] <matt____> jiqiren: in openoffice, when connecting to a database, i hate the option of "mysql THEN selecting jdbc within that, OR just jdbc upfront..
[00:48] <jiqiren> I do mysql
[00:48] <matt____> *have
[00:49] <jiqiren> then select jdbc
[00:49] <matt____> that is what i've been trying...
[00:49] <jiqiren> have you tried "test" db and then no user/password?
[00:49] <matt____> jiqiren: no, didn't know it existed... :(
[00:50] <jiqiren> oh btw
[00:50] <jiqiren> are you running mysql on the same machine as OO?
[00:50] <matt____> jiqiren: no
[00:50] <jiqiren> ah - then test db won't work
[00:51] <matt____> jiqiren: well...sorta.not sure what you mean.
[00:51] <matt____>  i installed me some sorta client thing...not sure if that means anything.
[00:51] <jiqiren> are you running mysql on the same computer as mysql is running?
[00:51] <jiqiren> errr
[00:51] <jiqiren> openoffice
[00:52] <matt____> jiqiren: hmm
[00:52] <jiqiren> if so, you should use "localhost" for the hostname
[00:52] <matt____> jiqiren: here is something interesting..i can test the driver for jdbc...and it says "the jdbc driver could NOT be loaded"
[00:52] <matt____> i overlooked "not" The many times i tested it..
[00:53] <jiqiren> matt____: did you do the steps on http://dba.openoffice.org/FAQ/specific.html#connectmysql ?
[00:53] <jiqiren> where you add the jar file to oo?
[00:53] <matt____> jiqiren: i did that..but lettme try "again"
[00:54] <matt____> while installing sun-java6-jre, i noticed that there is a sun-javadb-client
[00:54] <matt____> just wonders*
[00:57] <matt____> jiqiren: default port should work, right?
[00:57] <jiqiren> ye
[00:57] <matt____> jiqiren: btw, this time i got a really weird error
[00:58] <matt____> jiqiren: ....
[00:58] <nasa> btw: gparted does see the raid 5 array just fine....
[00:59] <matt____> jiqiren: *wonders if i can send jiqiren the screenshot of the error over irc...
[01:00] <matt____> jiqiren: how can i send a file over irc?
[01:00] <jiqiren> nasa: but you don't see the jbod disk? sometimes jbod disks need to be marked "export" in the bios
[01:00] <andrew-2> im having trouble installing live usb with ubuntu. the command is ;cp -aR casper disctree dists install pool preseed .disk /mnt/usb_disc. it returns with ;cp: cannot stat `disctree': No such file or directory . does anyone know what i may be doing wrong?
[01:01] <jiqiren> nasa: I mean in the raid-card bios
[01:01] <jiqiren> matt____: dcc
[01:01] <matt____> usage? in irssi
[01:01] <matt____> you get anything?
[01:02] <matt____> "/dcc jiqiren /path is what i tried
[01:02] <jiqiren> i didn't get a request
[01:03] <andrew-2> any one a guru at live usb installs?
[01:03] <matt____> jiqiren: know how to use dcc?
[01:03] <jiqiren> jiqiren: of course! :)
[01:03] <matt____> jiqiren: then tell me!
[01:03] <matt____> :)
[01:04] <jiqiren> i don't use irssi.
[01:04] <matt____> oh, ok
[01:04] <matt____> do you know of how to use it using cli?
[01:04] <matt____> instead of fancy buttons?
[01:04] <jiqiren> i like nice friendly gui irc
[01:05] <matt____> jiqiren: ok..i know how...watch this
[01:05] <jiqiren> commandline is for doing real work - like DB!
[01:05] <matt____> you get a request?
[01:05] <nasa> jiqiren: I get a bunch of messages about the JBOD in my syslog file -- I just can't do anything to mount it, fdisk it, or use parted...
[01:06] <jiqiren> no, I'm natted twice so I bet it won't work
[01:06] <matt____> anything jiqiren ?
[01:06] <nasa> from syslog:  scsi 0:0:1:0: Direct-Access     HPT      DISK_0_1         4.00 PQ: 0 ANSI: 0
[01:06] <jiqiren> matt____: nope, sorry
[01:06] <matt____> jiqiren: ok..hold on
[01:06] <nasa>  sd 0:0:1:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[01:07] <jiqiren> nasa: but when you try to access sdb you get a io error?
[01:07] <nasa> sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[01:07] <nasa> jiqiren: no, I can't even access it....
[01:07] <jiqiren> nasa: no /dev/sdb exists?
[01:08] <matt____> jiqiren: HTTP, for when all else fails! http://linuxhack3r.com/Images/snapshot2.png
[01:08] <nasa> it exists, but when I try to fdisk it I get "Unable to open /dev/sdb"
[01:08] <jiqiren> matt____: looks like java hell, that is beyond me - i'm just a dba
[01:09] <nasa> gparted && parted does not  find sdb at all
[01:09] <jiqiren> nasa: are you using lvm by any chance for your raid5?
[01:09] <matt____> jiqiren: i hate java, who needs it? lol
[01:09] <matt____> jiqiren: so any experience with linux and odbc?
[01:09] <nasa> No, not yet (I plan to move stuff from the raid 5 onto the JBOD, so I can setup LVM on it)
[01:10] <jiqiren> matt____: I have years of LAMP stack experience
[01:10] <jiqiren> nasa: are you using labels in /etc/fstab ?
[01:11] <matt____> jiqiren: LAMP....i installed that the other day..it's nice. but how about odbc?????????????
[01:11] <jiqiren> matt____: nope
[01:11] <matt____> jiqiren: lol
[01:11] <jiqiren> matt____: very minimal
[01:12] <nasa> labels?  I haven't added anything to fstab
[01:12] <matt____> jiqiren: i'm going to give it a try...perhaps i'll tell you if it works or not. thanks for the help, not once did you tell me to RTFM
[01:12] <jiqiren> nasa: so in your /etc/fstab, do you have LABEL=/ / .... ?
[01:13] <jiqiren> nasa: I'm wondering if your sda/sdb swapped after you added the jbod disk
[01:13] <nasa> No
[01:13] <nasa> however, I do have this line in syslog...
[01:14] <nasa> sd 0:0:1:0: Attached scsi generic sg1 type 0
[01:14] <matt____> jiqiren: default port? 3306?
[01:14] <jiqiren> nasa: hmmm that is weird
[01:14] <jiqiren> matt____: yep
[01:14] <nasa> and a bunch of errors for fd0:  "end_request: I/O error, dev fd0, sector 0"
[01:15] <nasa> I don't have a floppy drive at all
[01:16] <jiqiren> nasa: what does this give you: lshw -businfo -C disk
[01:18] <jiqiren> nasa: this might be better: lshw -businfo |grep scsi
[01:18] <matt____> jiqiren: it works. i have tried setting up odbc before, but i clicked the usr button instead of the system button.
[01:18] <nasa> scsi@0:0.0.0      /dev/sda   disk        959GB DISK_0_0
[01:19] <matt____> jiqiren: so now...it works..looks like odbc is simpler than java stuff
[01:19] <nasa> scsi@0:0.1.0      /dev/sdb   disk        DISK_0_1
[01:19] <nasa> ide@0.0           /dev/hda   disk        60GB ST360021A
[01:19] <nasa> strange....  sdb doesn't have a size associated with it
[01:19] <jiqiren> so sda is your raid5
[01:20] <matt____> jiqiren: even though now...in the mysql table, column host and name etc,  all i have is <object> instead of actual values...
[01:20] <nasa> Yeah
[01:20] <jiqiren> matt____: sounds like a oo thing. :)
[01:20] <matt____> jiqiren: perhaps. perhaps indeed. i think i'll create another database and try some stuff.
[01:21] <jiqiren> nasa: yea i don't get that
[01:29] <nasa> 0 512-byte hardware sectors (0 MB)  -- from syslog.....
[01:29] <jiqiren> nasa: see if you can export the disk in some other way with calling it a jbod - maybe the card isn't doing somethign right
[01:36] <matt_____> jiqiren: do you know the whole "show where =" stuff?
[01:37] <matt_____> jiqiren: mind showing me an example of one with the database and table format ?
[01:45] <matt_____> jiqiren: the contents of my database are going to be slightly confidential and sensitive...
[01:45] <matt_____> jiqiren: so if i encrpt a directory with truecrypt, and mount it, ie the database dir, will this work? securely i mean..
[02:42] <osmosis> any help with this?  http://dpaste.com/48066/
[03:53] <jackfruit> uhm guys , i changed the host name and now sudo is borked, any suggestion ? it's a remote box :/
[03:59] <jackfruit> anyone ?
[03:59] <jackfruit> :(
[05:15] <nealmcb> jackfruit: perhaps this will help https://bugs.edge.launchpad.net/ubuntu/+source/hostname/+bug/113778
[05:26] <nealmcb> fixed in hardy-proposed - thanks pitti!!
[08:11] <stiv2k> hello I am having trouble forwarding my mysql over ssh
[08:53] <jackfruit> nealmcb: so basically my box is hosed until i can get to it ?
[08:54] <jackfruit> :(
[08:55] <jackfruit> a major pita just because of  a wronged /etc/hosts file
[09:05] <jackfruit> nealmcb: is there a way to fix it w/o having to physically access the machine ?
[09:06] <_ruben> havent read the bugreports, but im afraid it involves booting in recovery mode?
[09:10] <jackfruit> yes
[09:10] <jackfruit> one way to fix it
[09:10] <jackfruit> i wonder, how far out of the network does sudo go ?
[09:10] <jackfruit> does it do a full DNS lookup ?
[09:11] <jackfruit> or does it just look in /etc/hosts
[09:12] <jackfruit> can't sudo w/o right host, and can't change hostname w/o sudo
[09:12] <jackfruit> lol
[09:14] <jackfruit> after this i'm gonna enable root with a random pass and sticky it somewhere
[09:14] <jackfruit> hahahaha
[09:16] <Deeps> sudo -s wont let you get a root shell?
[09:16] <Deeps> i've found sudo complain about unable to lookup hostname, but never actually stop me from getting my root shell
[09:17] <jackfruit> nope
[09:17] <Deeps> wow, haha, that's pretty piss poor
[09:17] <jackfruit> Deeps: it's so stupid
[09:18] <jackfruit> and i feel stupid too
[09:18] <jackfruit> one guy in the bug report said it right
[09:19] <jackfruit> it shouldn't do the lookup at all since by default sudoers works for ALL
[09:20] <_ruben> i always have a local mta, thus wont be affected by this bug :)
[09:21] <jackfruit> seriously after this i'm gonna enable root with  a 100 digit random string and stash it on my local machine
[09:21] <jackfruit> lol
[09:21] <jackfruit> i've never missed it more than now :(
[09:23] <Deeps> heh, on my local machines, i enable no password su auth to root for wheel group
[09:27] <jackfruit> i'm gonna do that from now on with every machine, root + a default useraccount stashed away like backdoor
[09:27] <jackfruit> lol
[13:39] <fromport> aptt
[13:39] <fromport> ouch , ww
[15:35] <nealmcb> jackfruit: I think in the bug report I referenced said that for one person it worked to try sudo over and over - see 2 references to Pat72's comment.  seems odd - may not be the same bug, but maybe worth a shot
[15:39] <jackfruit> nealmcb: i got it worked out
[15:39] <jackfruit> ended up changing the a record for the wrong hostname to 127.0.1.1
[15:39] <jackfruit> =)
[15:39] <jackfruit> saved me 2 hours of driving
[15:41] <nealmcb> jackfruit: excellent!  you mean you changed it on the dns server which that box used, elsewhere in your network?
[15:41] <jackfruit> yes
[15:41] <jackfruit> i happened to use a fqdn hostname
[15:41] <nealmcb> could you add that to the main bug report?
[15:42] <nealmcb> (bug 32906)
[15:44] <jackfruit> nealmcb: hostname shouldn't be fqdn should it ?
[15:44] <jackfruit> now come to think of it
[15:44]  * delcoyote hi
[15:46] <nealmcb> jackfruit: I usually set it up as fqdn, and put that in /etc/hosts
[15:54] <jackfruit> nealmcb: ok i added the comment
[15:54] <nealmcb> :-)
[16:14] <xeorex_> Hi
[16:14] <xeorex_> Is it possible to make a xubuntu server that will boot itself during the night (via the Bios, that's possible), wake on line other Windows workstations attached to the network, do a backup of selected files (do I need to login into Administrator for this?), shut down the Windows systems when finished, keep track in a log files, shut the server down when all processes are completed?
[16:14] <xeorex_> Query me if you know please
[16:17] <xeorex_> xubuntu or ubuntu server
[16:19] <Deeps> simple script run at runtime
[16:20] <Deeps> shove it in /etc/init.d and update-rc.d to make it run on startup
[16:21] <xeorex_> Is it for me Deeps?
[16:21] <Deeps> yep
[16:22] <xeorex_> So it's possible. Will I need to login as an Administrator on the Windows systems from the Ubuntu server? Will I need Samba?
[16:22] <Deeps> you'll probably need a tool to do the WOL event, then a delay to wait for the machines to boot
[16:22] <nealmcb> xeorex_: or put it the script in /etc/rc.local
[16:23] <Deeps> moounting the filestores using samba would probably be a good idea
[16:23] <nealmcb> (i.e. call the script from there....)
[16:23] <Deeps> rsync (or any other tool) to backup the relevant files from the mounted shares
[16:23] <Deeps> another tool to issue the shutdown commands to the windows machines when backup operation's complete
[16:24] <Deeps> have all output redirected to a file ( >> /var/log/script/time.log 2>>&1)
[16:24] <Deeps> and then shutdown -h now at the end of the script
[16:25] <Deeps> it's certainly doable, but you're gonna need to work out the process doing it manually first, before you try scripting it
[16:25] <xeorex_> Thanks a lot, you just boosted my confidence in this project
[16:25] <Deeps> and yeha, you could just call it from rc.local instead of making an init script + using update-rc.d
[16:26] <Deeps> although i think rc.local is called in single user (recovery mode) too, which you probably wouldn't want
[16:26] <Deeps> you might find it makes more sense to have it as a cronjob rather than a boottime job
[16:26] <Deeps> and/or have it check the time before running
[16:26] <Deeps> otherwise every time you  boot it'll run
[16:26] <Deeps> which may not be desired behaviour
[16:26] <Deeps> good luck!
[16:26]  * Deeps heads out
[16:26] <xeorex_> Thanks again
[16:28] <nealmcb> Deeps: rc.local "This script is executed at the end of each multiuser runlevel"
[16:28] <nealmcb> but I agree, you won't *always* want it to be run even multiuser
[16:29] <xeorex_> What you call "mounting the filestores", you mean "mounting the windows ntfs partition"?
[16:32] <nealmcb> sounds right
[16:48] <xeorex_> Would you go for Ubuntu or Xubuntu for this task?
[16:49] <xeorex_> Yep, Ubuntu server will do. There is no Xubuntu-server.
[17:02] <jcastro> soren: ping
[17:04] <xeorex_> Will a ubuntu-server 8.04 x64 run properly on a Dell Precision 360? How could I check this?
[17:24] <vanberge> i'm a windows server guy - trying to learn a little about what cool things ubuntu server edition can do.  anyone have ideas?  (i.e. i just installed eBox)  just looking for suggestions, thanks in advance
[17:26] <xeorex_> Yeah, I am working on a server to backup nightly data from Windows networked workstations switching on the Windows client by WoL and switching them off when processes are done. That's a suggestion
[17:31] <vanberge> i was thinking of centralizing my files too... like i have documents on 1 computer, pictures on another... music and videos on a third.  is there a way in ubuntu server i can do that?
[17:32] <vanberge> i guess i could use samba and just do a windows file share
[17:32] <xeorex_> You mean a File Server?
[17:32] <Nafallo> NFS?
[17:32] <xeorex_> Sure you will find plenty of How To if you Google it
[17:32] <vanberge> Nafallo, can winbloze clients connect to NFS ?
[17:32] <vanberge> i was considering that
[17:32] <Nafallo> ah. you had those as well...
[17:33] <vanberge> i have 1
[17:33] <vanberge> that my wife won't let me get rid of
[17:33] <Nafallo> I'm not at all into Windows myself, so can't answer that.
[17:33] <vanberge> lol... me neither
[17:33] <Nafallo> have you considered changing wife? ;-)
[17:33]  * Nafallo hides
[17:33] <vanberge> lmao...
[17:34] <vanberge> not as of now
[17:34] <vanberge> i will talk her into at least letting me dual boot it
[17:34] <vanberge> then i can use ubuntu, she can use vista
[17:34] <Nafallo> anyway. samba would probably be the best option for you then :-
[17:34] <Nafallo> )
[17:34] <Nafallo> OR!
[17:34] <Nafallo> you could run NFS and she would have no access to the media :-)
[17:35] <Nafallo> that might get her to switch over? ;-)
[17:35] <xeorex_> Vista, Oh dear. I got the fastest Laptop possible and Vista was still crawling on it. I have to admit I didn't that the Boost system of Vista put itself in place before uninstalling it.
[17:36] <vanberge> i spend a good week removing bloat
[17:36] <vanberge> it was using 1.6 gigs of ram just running
[17:36] <vanberge> i have that down to 600 megs ish
[17:36] <xeorex_> I have 4 Gigs on this laptop. I think Vista needs more.
[17:40] <vanberge> holy cow... they got one thing right on vista
[17:40] <vanberge> Services for UNIX has been renamed "Subsystem for UNIX-based Applications," and is included with the Enterprise and Ultimate editions of Vista. Network File System (NFS) client support is also included.
[17:40] <vanberge> Nafallo, looks like NFS is an option
[17:41] <Nafallo> :-)
[17:42] <xeorex_> you could possible get a small linux installed on the computer and get Vista and Ubuntu running under vmware? Would that works? It would then be easy to do backup/images of each system.
[17:45] <vanberge> well, atm my wife is in a 'dont touch this computer' mode
[17:45] <xeorex_> install a virus
[17:45] <vanberge> she wants to at least have 1 computer that i dont 'mess with'
[17:45] <vanberge> lol
[17:47] <xeorex_> that why vmware would be good for you. You can mess as much as you want.
[17:47] <xeorex_> But it's quiet slow to use vmware under windows.
[17:48] <xeorex_> since you get a GUI working under another GUI (20% resources lost)
[18:39] <vanberge> Nafallo, you still around?
[18:39] <Nafallo> yes
[18:39] <vanberge> i got nfs working - thought id bounce a question off you... do you know NFS ?
[18:39] <vanberge> i can mount it but its read only.. i want to do it read/write
[18:40] <Nafallo> have used it before, but not in the last few years. do you have the same ids on both machines?
[18:41] <Nafallo> I would check the permissions and see if that gives any more info
[18:41] <vanberge> i believe so... and my export file has:  /nfs/shared *(rw,sync,no_root_squash,sno_subtree_check)
[18:43] <vanberge> nvm... apparently works now
[18:43] <vanberge> lol
[18:44] <vanberge> now i just have to figure out my fstab so it mounts at boot every time
[18:46] <ere4si> vanberge: 192.168.0.2:/media/wd20g/movies /filet nfs soft,rsize=8192,wsize=8192,timeo=14,intr  - is my nfs mount in fstab
[18:47] <vanberge> ere4si, /filet is necessary?
[18:47] <vanberge> ere4si, also, does moutning it this way put an icon on the desktop for the mount?
[18:48] <ere4si> vanberge: just what I called the mount point - the previous was /files
[18:48] <ere4si> vanberge: no
[18:48] <vanberge> ok..
[18:48] <ere4si> vanberge: I made an icon on my dock for them
[18:49] <ere4si> vanberge: you need to make a file to mount it to - I called mine filet
[18:50] <ere4si> on the other comp the file I wanted to mount was /media/wd20g/movies
[18:51] <vanberge> i have a /home/username/nfs for the mountpoint... i just wanted to make sure it didnt put an icon on the desktop.  it does put one there do it manually
[18:51] <ere4si> manually to get a desktop icon
[18:53] <vanberge> ok... im gonna try now
[18:53] <vanberge> thanks!
[19:03] <vanberge> ere4si, that worked perfectly... it mounted automatically
[19:03] <vanberge> however, it did put an icon on my desktop. :-(  anyone know of a way to take that off?
[19:03] <ere4si> vanberge: great:)
[19:04] <ere4si> vanberge: I never get the icon - try gconf-editor  aps- nauatilus
[19:04] <ere4si> *apps
[19:05] <ere4si> bugger me - nautilus -apps
[19:05] <vanberge> good call
[19:05] <vanberge> 'show mounted volumes' is checked
[19:05] <ere4si> got it wrong again....apps-nautilus
[19:06] <ere4si> uncheck it for no icon
[19:06] <vanberge> roger that... got it
[19:06] <vanberge> that's awesome...  thanks man
[19:07] <ere4si> np
[19:10] <AtomicSpark> !kerby
[19:11] <ere4si> !info kerby
[19:11] <AtomicSpark> it exists in ubuntu-offtopic
[19:12] <ere4si> spelling right?
[19:13] <AtomicSpark> no. haha.
[19:13] <AtomicSpark> !kirby
[19:13] <AtomicSpark> -_-
[19:14] <ere4si> hehe
[19:14] <ere4si> I tried that in a /msg ubottu
[19:14] <LeChacal> ok i have a drive that i cant remember/not totally sure where it came from but it has a LVM file system on it and i cant seem to mount i have gone through the normal lvm2 stuff i did search vgscan and lvscan dosnt find it and yes i loaded the dm-mod so i am wondering if there is away to tell if there is anything really on there because it might be empty and i just need to do a lvcreate/pvcreate or if there is data on there if i d
[19:15] <AtomicSpark> is it encrypted?
[19:16] <LeChacal> AtomicSpark: like i said i dont know much about the drive i just found it in our web server the other day when i did a 'fdisk -l'
[19:16] <LeChacal> AtomicSpark: is there a way to tell if it is encrypted?
[19:17] <AtomicSpark> no idea. i haven't explored lvm much. just used it. they need a better guide on how to use it if you set it up during install, not after. so basically howt o manage lvm volumes.
[19:18] <LeChacal> yes i have tried reading the man files and google on lvm and didnt come up with much help
[19:18] <ere4si> !lvm
[19:19]  * AtomicSpark bookmarks
[19:21] <AtomicSpark> hmm. it's sortof outdated. just mentions lvm1 commands and ext2
[19:22] <LeChacal> i have actuly read through all that when i was working with another LVM drive that i found. i another guy just took over maintance on a web/mail server and beowulf cluster and the last guy was not so nice to leave notes so we have to just explore stuff
[19:24] <akuma55> whats up ppl
[19:24] <ere4si> if the point of encryption is to make it hard to access and you have to access an encrypted drive then...
[19:24] <AtomicSpark> when you mount it, it should ask for the passphrase
[19:24] <ere4si> send the other bloke money
[19:25] <AtomicSpark> take him to small claims court! lol
[19:25] <ere4si> hehe
[19:25] <LeChacal> what if he dont want money? haha
[19:26] <ere4si> LeChacal: is the patition mounted?
[19:26] <ere4si> *partition
[19:27] <LeChacal> ere4si: i cant get it to mount i cant actuly find it (with vg/lvscan) for that matter the only reason i know it is there is because i see it in fdisk and i physically see it in the box
[19:29] <ere4si> LeChacal: fdisk -l will list it with a /dev folder - then mount -v /dev/folder should get some output?
[19:30] <AtomicSpark> maybe it's just a volume and hasn't been formatted with any file system? could be a mistake. how big is it?
[19:31] <ere4si> df -h
[19:33] <LeChacal> well fdisk says it is pretty close to 40GB but since it isnt mount 'df' dosnt tell me anything about it and the error that when i just try to mount it normally is  unknown filesystem type 'LVM2_member'
[19:34] <LeChacal> i cant find the volume group name, which i know is what i need to mount a lvm partition
[19:35] <ere4si> time to send cash or beers to the other bloke
[19:36] <LeChacal> that could be easyer said then done with this guy
[19:36] <LeChacal> but thanks for the help, i just hope there isnt anything important on the drive
[19:37] <ere4si> if everything works as it should leave it for a while then consider it free space
[19:38] <LeChacal> yea i might just look at the hex of the drive and see if there is anything on it, if there isnt i am pulling and putting it in the cluster with non lvm filesystem
[19:38] <LeChacal> lvm is a really pain the behind
[19:39] <ere4si> nothing in /etc/fstab about it/
[19:39] <ere4si> *?
[19:39] <LeChacal> nope i look there
[19:39] <ere4si> k
[19:39] <ere4si> good luck
[19:39] <LeChacal> thank you
[19:42] <dramr4ever> i need (linuxfirewall IDS Bandwidth control web caching is that possible with linux
[19:42] <domare> questions..   im lost.    When i have HH server up & running.     Can i run VMware on top?
[19:42] <dramr4ever> ubuntu linux
[19:42] <domare> or should i try to get a server running on desktop verson of HH
[19:43] <dramr4ever>  i need (linuxfirewall IDS Bandwidth control web caching is that possible with ubuntu linux )
[19:43] <dramr4ever> if please any body can help
[19:44] <domare> i know those things are possible.  i do not know how though
[19:44] <LeChacal> dramr4ever: for the firewall part i would look at a firewall vesrion of linux and look at them for your other stuff because a lot of them have that kind of stuff
[20:00] <torkel_> I just ran 'aptitude install slapd' and now it's running 'Reloading AppArmor profiles'... and it has said that for a very long time.
[20:00] <torkel_> What should I do? =)
[20:01] <ere4si> how long has it been?
[20:04] <torkel_> long
[20:04] <torkel_> an hour
[20:05] <torkel_>   702 root      20   0 10996 4824  936 R  100  0.2  52:03.76 apparmor_parser
[20:05] <torkel_>   702 root      20   0 10996 4824  936 R  100  0.2  52:03.76 apparmor_parser
[20:05] <ere4si> that does seem long - on dialup by any chance?
[20:05] <torkel_> 702 root      20   0 10996 4824  936 R  100  0.2  52:15.76 apparmor_parser
[20:05] <torkel_> nope
[20:06] <torkel_> it seems like it froze
[20:12] <ere4si> less than a min by what you posted there
[20:13] <torkel_> 52:15
[20:14] <torkel_> it's from 'top'
[20:14] <torkel_> invoke-rc.d apparmor restart also freeze, either with usr.sbin.mysql or slapd
[20:16] <ere4si> can't offer more - maybe someone else an chime in
[20:17] <ere4si> *can
[20:17] <sommer> torkel_: are there any error messages in /var/log/syslog or /var/log/daemon.log when you try to start slapd?
[20:19] <torkel_> sommer: don't think so, but I'm unable to check atm. It is a remote server and I just lost the connection while I did 'invoke-rc.d apparmor restart' :)
[20:20] <torkel_> up again in a couple of minutes... if it doesn't freeze on apparmor startup
[20:23] <torkel_> sommer, no error messages on openldap in the logfiles
[20:23] <torkel_> sommer: it is apparmor that is freezing
[20:26] <sommer> torkel_: are there any specific errors?
[20:29] <torkel_> sommer, let me check the logfiles once more
[20:30] <torkel_> syslog:May  3 21:13:06 renzor kernel: [1912596.398432] BUG: soft lockup - CPU#0 stuck for 11s! [apparmor_parser:702]
[20:30] <torkel_> syslog:May  3 21:13:06 renzor kernel: [1912596.398511] Pid: 702, comm: apparmor_parser Not tainted 2.6.24-12-server #1
[20:32] <sommer> torkel_: is the cupsd profile in enforce mode?  sudo apparmor_status will tell you
[20:33] <akuma55> if i woukd like to learn networking and how to work a server is ubuntu good for a start
[20:33] <akuma55> ?
[20:34] <sommer> akuma55: as good as any I'd say
[20:34] <torkel_> sommer: apparmor_status returns many zeros
[20:34] <sommer> torkel_: are you running hardy?
[20:34] <torkel_> yeah
[20:35] <sommer> torkel_: can you pastebin the apparmor_status output?
[20:35] <akuma55> sommer: so you think it wold be a good idea to start with ubuntu instead of feora or redhat
[20:35] <torkel_> sommer: ok
[20:36] <torkel_> sommer: I haven't touched apparmor yet, only some packages that have done something with it I guess.
[20:36] <sommer> akuma55: sure, I like ubuntu better :-)... but really the distro isn't quite as important as the service you're trying to learn
[20:36] <sommer> torkel_: gotcha, that's why it seems strange to me that apparmor is causing problems
[20:36] <torkel_> sommer, which pastebin?
[20:36] <sommer> torkel_: was your system upgraded from gutsy, or a new install?
[20:37] <sommer> !pastebin
[20:37] <sommer> should work :)
[20:37] <torkel_> sommer, new install.. upgraded from the release candidates
[20:37] <akuma55> i know i wont to learn the hard way butsome time the hard way nobody like to get me support help?
[20:37] <akuma55> .
[20:38] <torkel_> http://paste.ubuntu.com/9803/
[20:38] <sommer> akuma55: from my experience it's best to learn the cli, and if you have a specific question people are willing to help
[20:38] <sommer> torkel_: looking
[20:38] <akuma55> cli?
[20:38] <sommer> torkel_: ah, try "sudo apparmor_status"
[20:38] <sommer> akuma55: command line interface
[20:39] <akuma55> oh ok
[20:39] <akuma55> kool
[20:39] <torkel_> sommer, same output
[20:39] <akuma55> did not know
[20:39] <akuma55> as cli
[20:39] <sommer> torkel_: do you have profile files in /etc/apparmor.d ?
[20:40] <torkel_> sommer, i moved usr.sbin.mysqld and slapd out of /etc/apparmor.d before the reboot... a bit troublesome if that should lock up again :-)
[20:40] <torkel_> remote server
[20:40] <sommer> torkel_: did you restart apparmor after moving them?
[20:41] <torkel_> sommer: invoke-rc.d froze.. but I didn't loose connectivity. Then I tried moving usr.sbin.slapd out first and restart it... same problem. Then I did move usr.sbin.mysqld out and I lost connection
[20:42] <torkel_> won't do more errorresolving before I'm at the location physically myself :)
[20:43] <ere4si> akuma55: you can install desktop ubuntu and run server from that while you learn
[20:43] <sommer> torkel_: ah, I'd suggest reading the apparmor section in the serverguide: https://help.ubuntu.com/8.04/serverguide/C/apparmor.html
[20:44] <sommer> torkel_: I'd try moving the profiles back, then placing apparmor into complain mode
[20:44] <sommer> torkel_: I've never tried simply moving the profile files, so I'm not sure what effect that has
[20:44] <torkel_> sommer, thanks will do! After I'm finished reading this openldap documentation. I haven't checked apparmor yet, but it seemed similar to something openbsd had/has
[20:44] <sommer> I'd think it wouldn't be a big deal though
[20:45] <torkel_> sommer: something that profiled applications and a set of rules you could build out of that profile... some sort of
[20:45] <sommer> torkel_: sort of, it's a mandator access control security app
[20:45] <sommer> similar to selinux, but not quite the same... as I understand it
[20:46] <torkel_> a bit simpler and therefor more effective
[20:46] <sommer> basically it keeps daemons that are profiled from accessing directories and files that it shouldn't
[20:46] <sommer> torkel_: yep :)
[20:46] <sommer> but one disadvantage is that if you're learning a new app it's one more thing to troubleshoot, heh
[20:47] <torkel_> true, you can allways start with not so tight rules and tighten  them as time goes on
[20:48] <torkel_> selinux seems to complicated for my taste, to much hassle. AppArmor looks good enough and maintainable
[20:48] <sommer> yeppers, plus once you've learned the app and apparmor it's probably better for the long run
[20:50] <torkel_> but first openldap! :) trying to get postfix, courier, apache, trac and zope all authenticating against the same tree
[20:52] <sommer> there's a pretty basic openldap section in the ubuntu serverguide, and I'd recommend the ldap sys admin book from oreilly
[20:52] <torkel_> got one from packt publishing, mastering openldap
[20:53] <sommer> torkel_: heh, was just going to mention that one :-)... that's a great book as well
[20:53] <sommer> more updated than oreilly's
[20:53] <torkel_> each time I visit openldap I h ave to find documentation, will try to learn it  better this time :D
[20:54] <sommer> I found that once you get your configs down, and learn the cli utilities it's not too bad
[20:54] <sommer> also very usefull to know a scripting language perl, python, etc and how to manipulate ldap entries using scripts
[21:19] <torkel_> sommer: know of any documentation on how to structure your ldap database? addressbook, dns, email, etc..
[21:24] <sommer> torkel_: aside from those books not really, but I think the default schemas in /etc/ldap/schemas will give you those attributes
[21:24] <sommer> in my production ldap server I use the samba and sendmail schemas also, but you may not need those
[21:24] <torkel_> sommer: I'll figure it out then :) Was more think like best practices or something similar. Will try to store as much information as possible in the database.
[21:25] <sommer> torkel_: ah, for mine I put similar accounts into ou's... ou=faculty ou=students ou=computers etc
[21:26] <sommer> but as long as your objects have the attributes you need, you should be good to go
[21:56] <kettlepot> hi
[21:56] <kettlepot> can anyone reccomend me some free xwindow software to use with my ubuntu server?
[21:56] <kettlepot> i'd like to have access to the gui every now and then when i remote in
[21:57] <ere4si> I like fluxbox - it's light
[21:57] <Deeps> on windows, xming
[21:57] <Deeps> on linux, xorg
[21:58] <gouki> I think he wants remote connection.
[21:58] <Deeps> alternatively, use vncserver + vnc
[21:59] <kettlepot> actually i am probably using the wrong word :) In work I'd use exceed on solaris
[21:59] <kettlepot> which is listed as xwindows
[21:59] <Deeps> xming
[22:00] <kettlepot> great, thanks:)
[23:22] <AtomicSpark> so when i installed the server this time, i put a random un-routable domain (.local) in when it asked for it. i'm curious, is it really necessary to set up dns on the server if you're only using it in a workgroup environment? my network is a mix of linux and windows clients and they just use the server as a samba file share.