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