[00:44] <oh_noes> Any idea why this sudoers file fails parsing?   http://pastebin.com/m219bba05
[00:49] <dsmith-work> oh_noes: What's the error message?
[00:49] <oh_noes> parsing error against line 15 (the hudson line)
[00:50] <Deeps> the comma, at a guess
[00:50] <Deeps> looks like you're trying to pass 2 distinct commands into a single alias
[00:51] <dsmith-work> sudoers was always scary for me.
[00:51] <Deeps> try a semi-colon or a double ampersand or double pipe (depending on desired behaviour) maybe?
[00:51] <oh_noes> well ive copied this line before from a different OS sudoers
[00:51] <oh_noes> ill try semi colon
[00:51] <dsmith-work> The man page seems to indicate that ',' should be in there.
[00:52] <Deeps> i'm probably wrong then
[00:54] <oh_noes> the problem is on the chown Cmnd_Alias line ...
[00:54] <oh_noes> if I comment it out, the sudoers works fine
[00:54] <MianoSM> why wouldn't you put the alias in the users .bashrc ?
[00:56] <MianoSM> It's not a `command` = `command` from the man page.
[00:56] <dsmith-work> oh_noes: Change chown to /bin/chown
[00:58] <dsmith-work> A commandname is a filename, a directory or a Cmnd_Alias
[00:59] <MianoSM> Cmnd_Alias CHOWN = /bin/chown
[01:00] <MianoSM> indeed
[01:00] <dsmith-work> That's it?
[01:02] <pilif12p> hi.
[01:02] <pilif12p> can i ask a question here?
[01:02] <dsmith-work> Sorry, only one question allowed, and you just asked it.
[01:03] <dsmith-work> jk ;^)
[01:03] <pilif12p> lol.
[01:03] <pilif12p> If i install Server on a Win.98 computer, will the comptuer run as a server?
[01:05] <MianoSM> Could you please clarify your question?
[01:05] <pilif12p> anyone?
[01:05] <MianoSM> You can have a windows98 computer act as a server if you so choose.
[01:05] <pilif12p> Oh.
[01:06] <Tastefull> ?question - Anyone have any experience with BOCHS? ;)
[01:06] <pilif12p> So, i want to install Ubantu Server on my win98 computer. First, Will it run as a web server, and second, which version is compatable
[01:06] <pilif12p> i had 8.8 i think, and it said the BIOS where too old.
[01:07] <MianoSM> You had 8.8 what?
[01:08] <pilif12p> desktop ubantu
[01:08] <pilif12p> let me look
[01:08] <MianoSM> No such thing.
[01:08] <MianoSM> In any event. As long as your machine meets the minimum hardware specs it should be okay.
[01:08] <MianoSM> I would advice installing a minimal server (8.10).
[01:08] <pilif12p> i mean 8.04.1
[01:09] <MianoSM> If you want a LAMP, maybe follow the "Perfect Install" minus the mail and ispconfig sections on howtoforge?
[01:09] <pilif12p> and, that said the BIOS where too old/
[01:09] <MianoSM> Is there a new bios available for you to flash?
[01:09] <pilif12p> Not sure,
[01:09] <pilif12p> I have no internet connection to it, now.
[01:09] <MianoSM> is it a dell?
[01:10] <pilif12p> No.
[01:10] <pilif12p> Its a Gateway2000
[01:10] <MianoSM> go to the manufacturers website and see if they support the machine still
[01:10] <MianoSM> gateway.com
[01:10] <MianoSM> downloads/support
[01:10] <pilif12p> there is no such thing now.
[01:15] <pilif12p> There are no BIOS flashes
[01:18] <MianoSM> okay
[01:18] <MianoSM> good luck to you?
[01:18] <JanC> what CPU has that thing?
[01:18] <pilif12p> I dont even know...
[01:18] <pilif12p> Lets put it this way.
[01:18] <MianoSM> if you were willing to attempt a desktop install, why aren't you willing to just go for the server install?
[01:19] <pilif12p> at the time i tried to install desktop, i had no intrest in servers.
[01:19] <pilif12p> Lets put it this way...
[01:19] <pilif12p> I dont do OS stuff
[01:19] <pilif12p> i do mozilla
[01:19] <pilif12p> i know little about servers, etc.
[01:19] <MianoSM> http://www.howtoforge.com/perfect-server-ubuntu8.04-lts
[01:20] <MianoSM> There you go then. ;)
[01:20] <MianoSM> I'd skip the e-mail portions, and ispconfig.
[01:20] <MianoSM> Also I wouldn't assign a passwd to root.
[01:21] <MianoSM> The requirements for the server is a CPU pushing 300mhz, you should be okay if it was win98
[01:21] <MianoSM> and 64MB of RAM, and 500MB of hdd....
[01:21] <JanC> isn't ISPConfig overkill (unless pilif12p wants to set up multiple websites for friends or such)?
[01:21] <Tastefull> ?question - Anyone have any experience with BOCHS? ;)
[01:22] <pilif12p> haha
[01:22] <pilif12p> i think i have 32 MB of ram
[01:22] <MianoSM> JanC: yes, that's why I said skip the e-mail, passwd to root, and ispconfig portions.
[01:23] <MianoSM> win98 did have lower requirements, maybe 6.06 will fit that threshold
[01:23] <JanC> Tastefull: yes, but that was somewhere last century  :P
[01:24] <MianoSM> Absolute minimum requirements Intel 486 processor 32 MB of system memory (RAM) 300 MB of disk space
[01:24] <JanC> well, I *have* run Ubuntu desktop (with GNOME) on a Pentium MMX 166 MHz laptop with 64 MiB...   ;)
[01:24] <JanC> (and *LOTS* of swap)
[01:24] <MianoSM> swap.avi ?
[01:24] <MianoSM> gross!
[01:25] <Tastefull> JanC: damn, just installed it on a Ubuntu Hardy IA64 edition.. and i have setup bios and vgabios, but it keep exitign with "quit_sim called with exit code 1", cant find any support anywhere :/
[01:26] <JanC> Tastefull: why don't you use qemu or virtualbox or kvm or ...?
[01:26] <JanC> oh, on an Itanium
[01:26] <Tastefull> JanC: wont work on IA64 (Itanium processors)
[01:26] <JanC> well, qemu should work on Itanium
[01:27] <JanC> and it's a lot faster than bochs
[01:27] <Tastefull> JanC: if you can point to where it does that i would be happy, cant find anything...
[01:29] <JanC> hm, right, the qemu site says they are still working on it (or maybe not working on it)
[01:29] <JanC> but qemu's architecture is such that it must be possible to get it working
[01:30] <Tastefull> well i'm a little n00b to linux, can do conf make make install and those apt-get things but changing it anyway is way over my head
[01:31] <JanC> you'd need to know more about IA64 architecture than about linux  ツ
[01:32] <Tastefull> and i dont :(
[01:33] <JanC> anyway, bochs never worked properly
[01:34] <Tastefull> JanC: i have ssh installed, want access to give it a try? :P
[01:35] <JanC> you'd have more luck asking that to the qemu developer (if you keep your credit card handy)   ;)
[01:36] <Tastefull> JanC: hehe yeah i'd proberly ;)
[01:36] <JanC> on http://bellard.org/qemu/status.html you can see the implementation status for guest & host CPU
[01:37] <twb> Tastefull: handing out ssh access to people on IRC is *really* stupid.
[01:37] <MianoSM> what if you netcat /bin/bash with an open port?
[01:38] <twb> MianoSM: haha
[01:38] <MianoSM> that way you can watch at least /dunno
[01:38] <Tastefull> twb: i know, but i can always turn off the box, it's right next to me and on it's own dmz zone and can reinstall it on 10 min ;)
[01:45] <zim1> hi all anyone in here use encfs?
[01:46] <JanC> zim1: yes?
[01:47] <twb> !anyone
[01:48] <zim1> JanC: kewl can you use the unencryted mount with samba?
[01:49] <JanC> I don't use samba
[01:49] <zim1> ok ty
[01:50] <JanC> but by default that can only work if you mount as the samba user
[01:50] <zim1> I can see the folder when its not mounted bat as soon as I mount it bye bye
[01:52] <JanC> fuse mounts can only be used by the user who mounted tham, unless you explicitly tell fuse to let others use them too--encfs has a mount-option for that
[01:52] <JanC> s/tham/them/
[01:53] <zim1> samba can see my files with the following permissions user:user 0700 but not mounted folders with the same :-$
[01:53] <zim1> do i have top add usr to group samba?
[01:54] <kirkland> apw: was away before, here now, what's up?
[01:55] <apw> someone was asking about crashdump support on -server, suggested they ask here
[02:04] <zim1> another q is it possible to send commands server to server vi ssh
[02:04] <Kamping_Kaiser> yes.
[02:04] <zim1> how
[02:04] <Kamping_Kaiser> man ssh.
[02:05] <zim1> I have am missing it
[02:05] <Kamping_Kaiser> have you looked at the synopsis?
[02:05] <zim1> ok will do
[02:06] <zim1> is it -O
[02:08] <zim1> got it user@host echo foo
[02:08] <zim1> ty
[02:09] <Kamping_Kaiser> wd
[02:43] <racecar56> is it possible to trick ubuntu into using a fat16 /boot partition?
[02:43] <racecar56> i need to do that for my server
[02:48] <lukehasnoname> Any generic tips on getting a USB printer seen by my server without restarting or reinstalling?
[02:48] <lukehasnoname> I'm trying to set it up as a print server
[02:49] <oh_noes> In my sudoers, why does "Cmnd_Alias CHOWN = /bin/chown" work, BUT "Cmnd_Alias CHOWN = /bin/chown -R root:root /foo/bar" doesn't work?
[02:51] <oh_noes> Says parsing error
[03:00] <Cyntek> when manually mounting a directory is it possible to mount multiple directories with one command example: [sudo mount /dev/sdb1 /movies /photos/ /music /documents
[03:00] <Cyntek> ] ?
[03:03] <Cyntek> i tried, but did not work.
[03:04] <Cyntek> "always fun to explorer"
[03:08] <steelcityjim> is it possible to watch video from files on a remote server?
[03:23] <twb> steelcityjim: yes.
[03:27] <racecar56> please i really want ubuntu server on my server i dont like windows
[03:30] <racecar56> does anyone know how to get ubuntu to use /boot as fat16?
[03:34] <twb> racecar56: that may not be technically possible.
[03:34] <twb> racecar56: probably it would involve recompiling the kernel to have FAT support built-in.
[03:34] <twb> racecar56: you might also need to replace GRUB with a bootloader that supports FAT (syslinux?), but I think GRUB Legacy does actually support FAT.
[03:35] <racecar56> :o
[03:35] <racecar56> kay
[03:36] <racecar56> is syslinux in repos?
[03:43] <ajmitch> racecar56: just why does /boot need to be on fat16?
[03:44] <twb> ajmitch: thanks, I wandered off before asking that :-)
[03:46] <racecar56> because the bios reads what its gonna boot
[03:46] <racecar56> i have to go to my laptop now and put the server's hd into the pc
[03:46] <racecar56> in other words brb
[03:47]  * ajmitch thinks there's some confusion there
[03:49] <twb> ajmitch: I reckon he actually wants WUBI
[04:03] <joejc> hi
[04:07] <edson> hi guys!
[04:07] <racecar56> hi
[04:07] <racecar56> im back
[04:07] <racecar56> sorry for the wait\
[04:10] <joejc> how do i get my server on my network?
[04:11] <racecar56> idk
[04:14] <JanC> racecar56: what do you mean by "because the bios reads what its gonna boot"?
[04:15] <racecar56> when the server boots it looks at the the drive it is about to start with
[04:15] <JanC> so?
[04:15] <racecar56> but scince that server did windows... it wants fat16 (fat32 might work also, but not tested)
[04:15] <racecar56> i am following a blog post
[04:16] <racecar56> http://samuel.thollander.net/projects/linux-on-hp-ex470/
[04:19] <joejc> can anyone help me?
[04:25] <goofey> joejc: that is an extremly vauge question
[04:25] <goofey> joejc: you might try to be more specific
[04:31] <JanC> racecar56: judging from the sources, grub supports FAT16, so it should be possible...
[04:31] <racecar56> ok so what am i going to do to get it to install /boot into a fat16?
[04:33] <JanC> it doesn't work if you format it to fat16 and then tell the installer that it should be mounted as /boot ?
[04:34] <racecar56> i tried that and it blocked me from doing it but ill try that again
[04:34] <racecar56> oh i mean yes
[04:35] <racecar56> (sorry i thought you were asking if i did it/if i could do it)
[04:37] <JanC> if it isn't possible in the installer, you can install normally, and then move the contents of /boot to the root of the FAT16 partition, fix the grub configuration files to point to the proper locations, install grub again and change fstab manually
[04:38] <JanC> (and maybe I forgot something, it's after 5am here ;) )
[04:38] <racecar56> ok...
[04:40] <^law^> heloo
[04:40] <^law^> anybody here?
[04:41] <^law^> ?
[04:43] <^law^> heloooo?
[04:43] <goofey> nobody but us mice
[04:43] <^law^> hi goofey
[04:44] <^law^> nice 2 meet u
[04:44] <^law^> i have some question
[04:44] <^law^> can u help me?
[04:45] <^law^> ?
[04:51] <goofey> first rule of IRC - don;t ask to ask, just ask
[04:51] <goofey> if someone knows the answer, they will respond
[04:52] <^law^> ok
[04:53] <^law^> i wan to install db2 udb v8 in my ubuntu server can anybody help me?
[04:54]  * goofey doesn't even know what db2 udb v8 is
[04:55] <ewook> search the repository.
[04:55] <ewook> apt-cache search
[04:55]  * ewook agrees with goofey 
[04:55] <^law^> just tyoe apt-cache search db2?
[04:55] <ewook> ya
[04:56] <^law^> db2 is like sqlserver, mysql, postgresql but it is an ibm product
[04:56] <ewook> oh... that one.. why in gods name do you want that?
[04:57] <goofey> it may not be in apt
[04:57] <ewook> doesn't look like it
[04:58] <^law^> ya can't find it
[04:58] <^law^> i already downloaded from ibm
[04:58] <goofey> i bet ibm has install instructions
[04:58] <^law^> but it is .rpm
[04:58] <goofey> ahh, well, then the question is how to convert rpm to dpkg or tgz
[04:59] <^law^> i can't find any instruction in ibm site
[04:59] <goofey> well, converting rpm to dpkg or tgz isn't specific to ibm
[04:59] <goofey> and it's a question that's a whole lot easier to answer
[04:59] <^law^> my ubuntu server doesn't have gui
[05:00] <^law^> i just wanna keep it like that
[05:00] <^law^> then how to cnvert .rpm to dpkg or tgz?
[05:01] <goofey> ok, looks like you can install rpm directly using "smart" or convert to .deb using "alien" per google
[05:02] <^law^> oh ok
[05:02] <^law^> thx guys
[05:05] <goofey> hope that helps
[05:08] <^law^> oh ya wat command that can show me  system summary ?
[05:10] <goofey> that I do not know
[05:12] <^law^> then  how  to know how many spaces is left on my harddisk
[05:12] <twb> ^law^: df -h
[05:13] <goofey> yeah, df -h
[05:13] <^law^> thx very much twb it works
[05:13] <goofey> (the -h makes the size "human" readable)  no -h for blocks
[05:14] <^law^> oh thx 4 the explanation goofey
[05:15] <goofey> anytime
[05:15] <goofey> gl
[05:20] <^law^> i have installed tomcat java server from the beginning when installing ubuntu server, then i execute java -version it shows that is not sun jdk is used but it is openjdk
[05:20] <^law^> how can i remove the openjdk n replace it wit sun jdk?
[05:46] <racecar56> ok i have a /b00t partition that is fat16 and i moved stuff from /boot to /b00t, now i want to remove /boot and change /b00t's mountpoint to /boot
[05:46] <racecar56> what do i do in fstab
[05:47] <racecar56> oh great my grub died
[05:47]  * racecar56 gets a bootdisk and attempts to fix it
[05:48] <racecar56> anyone here?
[05:49] <racecar56> hello?
[05:57] <Chipzz> racecar56: why do you want /boot on fat16? bad idea
[05:57] <racecar56> because my server requires ity
[05:57] <racecar56> *it
[05:57] <Chipzz> no it doesn't
[05:58] <twb> racecar56: that seems unlikely.
[05:58] <Chipzz> what makes you believe it does?
[05:58] <twb> racecar56: why do you think your server requires /boot on FAT16?
[05:58] <^law^> ur server requiers it?
[05:58] <racecar56> yes
[05:58] <Chipzz> no
[05:58] <Chipzz> again: why do you think that?
[05:59] <racecar56> http://samuel.thollander.net/projects/linux-on-hp-ex470/ is why
[05:59] <racecar56> im following its advice
[05:59] <twb> racecar56: that's a NAS?
[05:59] <racecar56> ?
[06:00] <Chipzz> I call bullshit
[06:00] <racecar56> ...
[06:00] <twb> network attached storage.  Basically a hard disk with a network card attached.  Since it runs Windows, I guess not.
[06:00] <Chipzz> the BIOS doesn't boot a partition, it boots the MBR
[06:00] <twb> Ah, the hardware specs are further down.
[06:00] <racecar56> then waht the heck... is blog post wrong?
[06:01] <twb> racecar56: I think it probably is.
[06:01] <racecar56> hmmm
[06:01] <twb> racecar56: it looks like a standard K8 motherboard from the lspci output.
[06:01] <Chipzz> it seems very unlikely to be correct
[06:01] <racecar56> then why the heck dosent my server seem to work (i ssh it and it no works)
[06:01] <twb> Chipzz: the author puts grub in the MBR anyway
[06:02] <Chipzz> twb: I was about to say the same thing
[06:02] <Chipzz> racecar56: like twb says, the author mentions installing grub. Grub doesn't care what your partition is, and should be able to boot of /boot ext3 or others
[06:02] <twb> racecar56: the most likely reason you can't ssh into it is because you're using the wrong network driver.
[06:03] <racecar56> but it sayd bios looks at what its booting
[06:03] <racecar56> *said
[06:03] <Chipzz> racecar56: the BIOS can't even know about the grub configuration
[06:04] <Chipzz> nor should it care
[06:04] <racecar56> it dosent
[06:04] <Chipzz> then how does the BIOS know what partition /boot is?
[06:04] <racecar56> it boots whatever it finds first, but it looks at what its booting, it only likes fatxx
[06:04] <Chipzz> you could very well have made sda2 /boot
[06:04] <Chipzz> the BIOS shouldn't are
[06:05] <Chipzz> *care
[06:05] <racecar56> it checks the file system its about to boot
[06:06] <racecar56> maybe i'll just try the basic install to whole drive thing
[06:08] <Chipzz> like me and other ppl just said, that's just dead wrong
[06:08] <Chipzz> racecar56: the BIOS doesn't boot *a filesystem*, the BIOS boots the MBR
[06:08] <Chipzz> which should contain grub
[06:08] <racecar56> currently im installing ubuntu on the whole drive now
[06:11]  * racecar56 installs lamp, openssh, and samba server packs
[06:13]  * racecar56 waits as the cd drive makes the most insane noises
[06:15] <racecar56> install is done :>
[06:17] <racecar56> ok its ready to do stuff
[06:19] <Chipzz> the author of that article looks a bit illinformed, IMO
[06:21] <racecar56> k
[06:22] <racecar56> well how do we get started? i basically want apache to host my website for me and ability to ssh the server also
[06:28] <racecar56> ...
[06:34] <racecar56> is anyone here?
[06:35] <twb> No
[06:35] <racecar56> k
[06:35] <twb> racecar56: do you have a more useful question?
[06:35] <twb> s/useful/significant/
[06:35] <racecar56> idk really but all i want to do now is get it to work on my server
[06:43] <twb> I cannot help with vague questions like that.
[06:43] <racecar56> ik
[06:44]  * racecar56 is getting an ip scanner so i can find my server's ip address
[06:44] <racecar56> cause i cant do ifconfig on server, as it has no keyboard
[06:48] <hads> nmap
[06:49] <racecar56> i use ipscan
[06:49] <racecar56> but nmap pwns too
[06:55] <racecar56> cool it works with acpi :>
[06:55] <racecar56> no more force turnoffs
[06:59] <racecar56> looks like it dosent have internet
[07:04] <racecar56> it appears my network card on server is a SiS 191 gigabit ethernet
[07:31] <Scix> I have two servers. One in production and one for testing. At the testing server BIND and DHCP works perfect. When a DHCP address is leased, the zone in bind gets updated. But at the production server, who is identical to the testingserver I'm getting this error from named: client 10.11.0.5#47428: found no private keys, unable to generate any signatures. And then from dhcpd: Unable to add forward map from lku130.skole.lk.local to 10.11.0.118: timed out
[07:32] <Scix> anyone who has a idea about why?
[07:32] <cemc> Scix: the two servers run with the same release? which one ?
[07:33] <Scix> the production and testing server is one seperated networks? I don't quite get your question.
[07:33] <cemc> which ubuntu release is installed on the servers?
[07:34] <Scix> cemc: aa, sory! It's ubuntu 8.10 server
[07:35] <cemc> and the configs are the same on both servers for bind and dhcp ?
[07:37] <Scix> yes, the one thing that is different is the rndc key
[07:39] <Scix> This is copy paste from the testing server: http://pastebin.com/d64afe621
[07:40] <Scix> And some notes
[07:41] <cemc> and the other one ?
[07:42] <Scix> is identical, exept the keys
[07:43] <cemc> and you're sure the keys you're using are correct on the prod. server?
[07:44] <Scix> yes! Named says at the beginning of the lease: signer "rndc-key" approved
[07:45] <Scix> but ise now that it also says "RRSIG/NSEC update failed: not found" < This just after "found no private keys, ..."
[08:06] <Ethosser> how do I get crontab to run as root?
[08:07] <Scix> Ethosser: sudo contab -e
[08:07] <Ethosser> hmm, if I do that it doesn't seem to run
[08:07] <Ethosser> It's fine to have multiple entries isnt it?
[08:09] <Ethosser> 30 19 * * * /home/administrator/backup.sh
[08:09] <Ethosser> 15 19 * * * mysqldump -u administrator -pxxx database > /var/www/html/db_backup/backup.sql
[08:09] <Ethosser> that's what I currently have
[08:11] <Scix> what does the logs say?
[08:11] <Ethosser> Not sure where the log is for cron tbh
[08:11] <Ethosser> ... ;(
[08:12] <Ethosser> Let me try and set it for in a minute and i'll see what it does
[08:13] <Ethosser> nothing.
[08:13] <Scix> based in the commands i bet it's to syslog or something
[08:13] <hads> You'll want a couple minutes
[08:15] <Ethosser> hmm, where is the syslog file- sorry i've never had to use it before
[08:16] <hads> /var/log/
[08:16] <Scix> open another terminal and then run "sudo tail -f /vat/log/syslog" then the crone is suposed to run. then you will get a "live feed" from the syslog :)
[08:17] <Ethosser> thanks
[08:17] <Ethosser> :)
[08:17] <^law^> guys u ever installed db2?
[08:17] <Scix> *then = when and vat = var ;)
[08:17] <hads> Not a log is logged to syslog from cron though, just the run
[08:17] <Ethosser> heh
[08:17] <Scix> Ethosser, me fixing my typos :p
[08:18] <^law^> ibm db2 v8
[08:18] <^law^> u guys ever installed it?
[08:19] <cemc> Scix: I say it's a typo or something there, can you paste the actual .conf files from bind and dhcp on the prod. server?
[08:19] <Ethosser> :D
[08:19] <Ethosser> Ok- i've got
[08:19] <Scix> cemc. Yes. Give me a few minutes :)
[08:19] <Ethosser> Feb 26 08:16:01 intranet console-kit-daemon[1521]: CRITICAL: cannot initialize libpolkit
[08:20] <Ethosser> That's straight after: Feb 26 08:16:01 intranet /USR/SBIN/CRON[1522]: (root) CMD (/home/administrator/backup.sh)
[08:21] <cemc> Ethosser: that should mean crond ran that command
[08:21] <cemc> did it run ?
[08:21] <Ethosser> NOpe, didn't see too
[08:21] <Ethosser> So it looks like it tried at 08:16 (the time I set it to run)
[08:22] <Ethosser> Yeah, I get the error for libpolkit every time I've scheduled it this morning
[08:22] <Ethosser> Infact I have that error for other cron errors as well like:
[08:23] <Ethosser> ACtually, I won't spam the room :D
[08:24] <cemc> can you try just a quick test script, that say does a cat in some random file in /tmp ?
[08:24] <cemc> and set it to run 5 minutes from now
[08:24] <cemc> and see what it does
[08:25] <Ethosser> https://bugs.launchpad.net/ubuntu/+source/policykit/+bug/275432
[08:25] <Ethosser> Apparently "apt-get install policy-kit" will fix it
[08:31] <Scix> cemc, you can se the config from the production server at http://paste.ubuntu.com/123189/
[08:39] <pteague> if eth0 is set up with 'iface eth0 inet dhcp' in /etc/network/interfaces does it need the line 'auto eth0' ?
[08:39] <kraut> moin
[08:40] <hads> yes
[08:40] <pteague> before, after, or does it matter?
[08:40] <hads> Whatever it was, man interfaces will tell you
[08:43] <pteague> ah, there we go... seems the desktops are removing the iface & auto lines for eth0 (or not adding them?) so the gui network management stuff deals with them... but this seems to be bringing them up after the attempt to mount my nfs shares >_<
[08:49] <Scix> pteagu, I had the same problem so i began to only use the interface file
[09:01] <achilles>  is there a way to apply quota to a specific directory, I'm using samba to share a folder to a group of users, but I don't want it to exceed 10G
[09:06] <simplexio> achilles: dunno. but you candefine 10G hard limit making 10G image of it, and then loop mount it under share
[09:07] <achilles> simplexio, ah .. nice idea
[09:08] <achilles> simplexio, thank you .. I'm googling
[09:08] <simplexio> achilles: as bonus you can define default umask for that dir only, and add default groups owner for it
[09:10] <simplexio> achilles: easy dd of=/dev/zero if=/some.img bs=4086 count 1000, or so (if and of could be wrong way), then make.ext3 some.img ( i think ), and then mount -o loop some.img /home/somegroups for an example
[09:11] <achilles> simplexio, but how can I extend the size in future .. I'm wondering
[09:11] <hads> Close :)
[09:12] <simplexio> achilles: maybe. depends filesystem which you choose ( google for resizing partitions on ext3/4, xfs or similiar )
[09:12] <achilles> simplexio, no I mean the dd image for a group directory
[09:14] <simplexio> achilles: yes i think. it could be easy as cat somefile >> some.img , then use some fs resisze utility
[09:14] <simplexio> achilles: i recall seeing that kind howto in somewhere, but i cant remember anymore specific data about it
[09:14] <hads> http://kev.coolcavemen.com/2007/04/how-to-grow-any-qemu-system-image/
[09:15] <hads> You're right
[09:15] <achilles> simplexio, hads   thank you very much
[09:16] <simplexio> achilles: just remeber be very carefull when extending image, one > left out makes damage
[09:17] <achilles> simplexio, oh yeah .. thank you for reminding me
[09:28] <Ethosser> guys can install apt-get install policy-kit cause any problems?
[09:31] <Scix> Ethosse: Hope not. I just did it :P
[09:31] <Ethosser> lol
[09:31] <Ethosser> I'm running LAMP with a website running
[09:32] <Ethosser> did it require a restart?
[09:33] <achilles> simplexio, don't know why I'm afraid, it's a bit critical data, is it risky to mout dd image and make it file system ?
[09:33] <simplexio> achilles: not really
[09:33] <hads> Not really risky, not the most effecient way but
[09:33] <Cyntek>  yikes, i did sudo -i  and i then created a new user account and deleted the andrew account, but now my new account is not in the sudoers file. How can i fix it?
[09:33] <hads> Boot into single user
[09:34] <Cyntek> from cdrom
[09:34] <Cyntek> ?
[09:34] <hads> From grub
[09:34] <Ethosser> Scix, on ubuntu server 8.10?
[09:35] <Cyntek> hads, okay but how do i get to grub?
[09:36] <achilles> thank you guys
[09:37] <simplexio> achilles: i find that easiest way to do, i have tryed get samba acl / nfs acls to works on my home box. it just a pain
[09:37] <achilles> simplexio, ah .. I see, no it's okay I will go for loop mount
[09:38] <Scix> Ethosse, jupp. No restart :)
[09:38] <frippz> I'm looking for tools to check the uptime of websites
[09:38] <Ethosser> So you've just run that on 8.10 server and didn't need a restart?
[09:38] <Ethosser> interesting.
[09:38] <simplexio> achilles: i think there are other options too for that image looping ( i mean other that mount -o loop, which may offer more options )
[09:39] <frippz> Pingdom exists, but costs an arm and a leg, so I might as well set up something on a server locally
[09:39] <achilles> oh yeah .. good idea .. let me check
[09:59] <Ethosser> I still can't get crontab to run
[09:59] <Ethosser> it says access denied even tho i've set it in sudo crontab -e
[09:59] <Ethosser> any ideas?
[10:05] <pteague> if you're running a script directly, does it have executable permissions?
[10:05] <Ethosser> yes, I think so
[10:05] <Ethosser> if I run the script sudo ./script.sh
[10:05] <Ethosser> it works fine
[10:06] <Ethosser> if I do ./script.sh it gets access denied halfway through the secipt
[10:06] <r34l_r00t> hello everyone...
[10:06] <pteague> then you should probably look at what point it's getting access denied & fix that part
[10:07] <Ethosser> mount: only root can do that
[10:08] <Ethosser> cp: cannot create regular file `/mnt/remotebackup/www.tgz`: Permission denied
[10:11] <pteague> ah, 2 things to check...  check to see if `sudo crontab -e` modified your crontab or root's (i.e. try `crontab -e` & see if it's listed on your crontab, if it is it's running as you & not root)
[10:12] <pteague> otherwise how are you mounting /mnt/remotebackup/ ? is it via nfs, samba, or something else?  if via samba, does the user for samba have write permissions to that remote directory
[10:14] <pteague> if nfs the uid/gid of the user or group you're trying to write as needs to match on both boxes
[10:15] <Ethosser> if I run sudo ./script.sh it works fine pteague
[10:16] <Ethosser> it's roots that is modified, sudo crontab -e and crontab -e are different
[10:21] <oCean_> pteague: any helpful clues in /var/log/cron.log ?
[10:25] <Scix> cemc, have you found anything interresting?
[10:26] <joejc> how do i share a folder and make it so anyone can read and write?
[10:28] <r34l_r00t> joejc: read from ubuntu?
[10:28] <joejc> ?
[10:29] <joejc> using samba
[10:29] <r34l_r00t> joejc: read and write from windows network (samba).?
[10:30] <joejc> windows might need to see share but wouldnt need to write
[10:30] <daniele> hello!
[10:30] <joejc> hi
[10:31] <daniele> I've a problem: ubuntu-server 8.10 don't see the external disk (usb connected)
[10:31] <daniele> I've changed also the kernel with the -generic version
[10:32] <daniele> I've also loaded usbcore, scsi_mod
[10:32] <daniele> but... nothing
[10:32] <daniele> dmesg doesn't display anything
[10:35] <daniele> has somebody an idea?
[10:36] <oCean_> daniele: do you know the hardware is ok? It shows up on another computer/os ?
[10:37] <daniele> yes, it displays also an usb-webcam
[10:38] <Scix> cemc, I deletet the K[zone].+[some_number]+[some_other_number].key/private from /etc/bind/ and then it woked :S
[10:40] <simplexio> daniele: does dmesg tell that it found usb mass storage ?
[10:40] <simplexio> daniele: it could be that those automatic scripts dont work/find it and you need to mount it by hand
[10:41] <daniele> no, dmesg says only that usbstorage is loaded
[10:42] <simplexio> daniele: no mention about your usb harddrive at all  ?
[10:42] <daniele> doesn't display the classical messages that displays when an usb drive is plugged
[10:42] <Deeps> tried a different usb port? tried a different usb drive?
[10:42] <oCean_> daniele: is usb_storage loaded?
[10:43] <daniele> yes
[10:49] <daniele> sob
[10:50] <oCean_> another related module (my final option) is sd_mod, but that's probably loaded already too?
[10:52] <cemc> Scix: heh
[10:52] <cemc> cool
[10:53] <Scix> yeah. Wired, but cool
[10:55] <daniele> sd_mod... now check it
[10:56] <daniele> yes, sd_mod is loaded
[10:56] <oCean_> daniele: ok, sorry - I'm out of options.
[10:56] <daniele> :)
[10:58] <daniele> oCean__: i don't have hal installed. is it requested?
[11:00] <daniele> I'm trying to install it...
[11:01] <oCean_> daniele: hm, not sure
[11:11] <daniele> tnx to all!
[11:11] <daniele> goodbye
[11:17] <jwstolk> Is there a way to install gettext-dev on ubuntu-server?  (I need it to compile the Vuurmuur firewall for 64-bit)
[11:21] <Yaron> Hey there guys! I need some help with classifying some bug
[11:21] <Yaron> I ran into it while installing Dapper Drake server but it still happens I guess
[11:28] <kaushal> hi
[11:53] <achilles> Guys, I got bored applying quotas to all users , do anybody has a script or something
[12:12] <jwstolk> (FIXED: should be gettext instead of gettex-dev)
[13:39] <kaushal> is there a way to find out the files contained in not yet installed package in the system ?
[13:41] <lamont> sigh
[13:57] <brettalton1> Hi everyone, does anyone know how to register a 'session' (e.g. have a program run on startup) using CLI/bash tools? I'm trying to install conky and parcellite and have them run on start up in one of my scripts. I'm thinking of a tool like 'gconftool-2' but for sessions. Thanks!
[14:37] <thefish> if i add an lvm volume and format it, is there any way apart from restarting udevd, to get the links in /dev/disk/by-uuid made for it?
[14:37] <thefish> i guess thats where lookups are done, so if i add a UUID= line to fstab, it will check there..
[15:08] <Ethos> can install gksu mess anything up? lol
[15:23] <lamont> Ethos: it's more what you do after that that matters, I expect....
[15:24] <Ethos> :D
[15:24] <Ethos> in what way?
[17:53] <Imo> hello i have ubuntu server 8.10 and i want install eBox but then i tip sudo apt-get install ebox then i get this error
[17:53] <Imo> libapache-authcookie-perl ist aber nicht installierbar
[17:53] <licorna> Hi! followed instructions in https://help.ubuntu.com/8.04/serverguide/C/libvirt.html to install a jeos, but i had to install QEMU and I want to use KVM
[17:54] <licorna> mi server has virtualization extensions (enabled in bios)
[17:54] <zul> mathiaz: ping what do you think about cluster support for samba 3.3
[17:54] <dexem> Imo, try also on #ebox
[17:55] <Imo> thanks
[17:57] <licorna> anyone with kvm experience?
[17:57] <mgolisch> nope
[17:57] <mgolisch> but whats the problem?
[17:58] <mathiaz> zul: I haven't looked at it yet
[17:58] <mathiaz> zul: and we're past FF anyway
[17:59] <mathiaz> zul: so if it's not already enabled it won't be part of jaunty
[17:59] <zul> well its already enabled in the samba-3.3 debian/rules we just have to write the MIR if we dont want it for ctdb
[17:59] <licorna> want to use kvm, not sure if it is working, because I had to install qemu
[18:02] <mgolisch> you had to install qemu?
[18:07] <mathiaz> Adri2000: the samba SRU should be uploaded today - I've already built it locally and need to do some testing now
[18:10] <dsmith-work> Doesn't kvm use qemu userland?
[18:11] <Adri2000> mathiaz: ok, excellent, thanks
[18:12] <licorna> yes, but in the docs it doesnt says that qemu is needed
[18:14] <licorna> ok, I think I'm going to investigate a little bit more
[18:14] <licorna> thanks
[18:33] <mathiaz> kirkland: do you know if it's possible to loop mount a qcow2 file to modify some files in it?
[18:33] <kirkland> mathiaz: it is!
[18:34] <mathiaz> kirkland: ohh - how do you do that?
[18:34] <kirkland> mathiaz: let me find the link
[18:35] <kirkland> mathiaz: http://en.wikibooks.org/wiki/QEMU/Images
[18:36] <kirkland> mathiaz: also, see: http://blog.dustinkirkland.com/2008/10/mounting-kvm-disk-image.html
[18:41] <mathiaz> kirkland: hm - it seems all of these links refer to raw images
[18:42] <LoveGuru> can i get ubuntu hardy 8.04 minimal installation ?
[18:42] <LoveGuru> iso
[18:44] <kirkland> mathiaz: try this http://blog.loftninjas.org/2008/10/27/mounting-kvm-qcow2-qemu-disk-images/
[18:45] <mathiaz> kirkland: thanks
[18:46] <kirkland> mathiaz: just using mount /path/to/image.img /mount/path -o loop,offset=32256 didn't work?
[18:46] <LoveGuru> can i get ubuntu hardy 8.04 minimal installation ? need netinst iso?
[18:46] <mathiaz> kirkland: hm - I didn't try that yet
[18:46] <kirkland> LoveGuru: you can do a minimal ubuntu installation, yes
[18:46] <mathiaz> kirkland: anyway - I'm not even sure I'd really need that - I think I'll stick with my lvm setup for now
[18:46] <kirkland> LoveGuru: i use mini.iso usually when i want that
[18:46] <kirkland> mathiaz: k
[18:47] <kirkland> LoveGuru: there's also an option in the cd boot menu
[18:47] <kirkland> LoveGuru: i don't remember what it is right off, but it's one of the F-keys
[18:47] <LoveGuru> kirkland: but need the minimal install iso..
[18:47] <LoveGuru> dont want to download whole 500+ mb is
[18:47] <LoveGuru> *iso
[18:48] <Deeps> LoveGuru: google ubuntu mini.iso
[18:48] <kirkland> LoveGuru: https://help.ubuntu.com/community/Installation/MinimalCD
[18:48] <kirkland> http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/installer-i386/current/images/netboot/mini.iso
[18:48] <kirkland> http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/installer-amd64/current/images/netboot/mini.iso
[18:48] <LoveGuru> Deeps: i forget about it totally  :< google is our friend :)
[18:48] <kirkland> ~10 MB apiece
[18:49] <kirkland> LoveGuru: http://people.ubuntu.com/~kirkland/search.html is even friendlier
[18:49] <LoveGuru> alright
[18:49] <LoveGuru> kirkland: thank you so much
[18:49] <kirkland> yw
[19:08] <_dbd_l12> would restoring an image of a ubuntu-server install made with partimage work on (slightly) different hardware? or is this a no-no. Other (non-raid) ways to have a quick imaging/backup system ready (for in case of hardware failure) ?
[21:10] <jahor> hello anyone with storege performance testing skills ?
[21:13] <jahor> i just want to consult my results. and if i get the feeling that i got it right i could make ubuntu related comparison of various storage possibilities in servers area
[21:13] <jahor> http://temp.jhr.cz/ikiwiki/html/KnowHowKickstarters/storage-comparison-round1/
[21:15] <maswan> jahor: ehm. wildly bogus bonnie results.
[21:16] <maswan> jahor: but then, according to the description, you use half the ram for test size? normally you'd need at least twice ram, 10-20 times is probably better
[21:16] <jahor> maswan: what i could say i understad are the dd results
[21:16] <jahor> maswan: i know
[21:17] <jahor> maswan: i thought that saying -r 4G means get rid of the ram, waste it and preform the test, but it does not ;(
[21:18] <jahor> maswan: i already know that booting with ram=XX could be nice hack to have not much system memory
[21:19] <maswan> jahor: Yeah, that works too.
[21:19] <jahor> that drives me crazy to get all the data again ;o)
[21:21] <maswan> script it and let it run overnight?
[21:22] <maswan> also, for a basic dd test, you might want to try loading more and more parallel dd:s onto the same filesystem and graph aggregate throughput.
[21:22] <maswan> both bure write, pure read, and a mix of reads and writes
[21:23] <jahor> maswan: i must say that this is my real first test so i know it has its drawbacks
[21:24] <maswan> at least one version of the arecas had this funny behaviour where when you loaded on readers, the throughput slowly dropped form 300 to 150 for the first 10 parallel ones, then suddenly dropped down to 15M/s for 12...
[21:24] <jahor> i found something like fsload or so that could simulate operaions... i dont like write hackish dd test ;o)
[21:24] <maswan> Ok, then I'll keep on the easy side, "remember to always test a working set that is big enough that you aren't measuring the cache speed"
[21:24] <jahor> maswan: ooops not nice performance degradation
[21:25] <maswan> jahor: yeah, that particular one they seem to have fixed in newer versions (even though they didn't care about us reporting weirdness at the time, so we bought 3wares then), but storage is strange and weird
[21:25] <jahor> maswan: i know. big mistake from the beginning. it could be seen on the dd test where the 256M vs 2G cache is realy visible
[21:28] <maswan> jahor: We've pretty much given up on "realistic" benchmarking, it just got too hard. We run the parallel dd stuff in different mixes and numbers, to get a "feel" for the system, and then assumes that real-world load will be "a bit" to "a lot" worse.
[21:28] <maswan> Then figure out if that's acceptable.
[21:28] <Cyntek> hi all, i am now trying to access my newly installed 300 gb hd and its directory on ubuntu-server 8.10. However, when i log in via windows xp i get an error: \\HOME\Public Folder Sharing is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have acces permissions. The network path was not found. how can i fix this?
[21:30] <Cyntek> im able to see the Public Folder Sharing in the " My Network Places " but cant log into it?
[21:31] <jahor> Cyntek: i just guess but have you enabled "window networking" or something in your network interface configuration (on windows)
[21:32] <jahor> Cyntek: ah you see it... so maybe it needs to tune /etc/samba/smb.conf
[21:32] <jahor> Cyntek: have you already had a working share ?
[21:32] <Cyntek> yes, i can see the " Public Folder Sharing " but cant log into it.
[21:33] <Cyntek> Yes.
[21:33] <Cyntek> But what i did last night, was i added a new User acct and was trying to delete the old User acct. and now i cant log into the acct.
[21:34] <Cyntek> I have set samba.conf. ill past the smb.conf.
[21:34] <Cyntek> one sec
[21:35] <jahor> maybe more interresing will be the user under which samba is running vs. the mountpoint prermissions
[21:37] <Cyntek> okay.
[21:38] <Cyntek> well for some reason the old user is still there able to log in.
[21:44] <Cyntek> jahor, im using putty, what is the command to output the url past using wgetpaste?
[21:45] <Cyntek> oh i think i know.
[21:45] <Cyntek> how to fix this.
[21:45] <jahor> Cyntek: ok then tell us the result.
[21:49] <Cyntek> well, when i edited the smb.conf i think i input the " path = /dev/sdb1 ". when it should be " path = /photos" ?
[21:50] <jahor> Cyntek: yeah that could be it... sdb1 is block device. and the path must be a path where the block device is mounted
[21:51] <Cyntek> or mounted to....so i would have create a individual tags to share the specific directories.
[21:53] <Cyntek> yep that was it.
[21:53] <Cyntek> great
[21:54] <Cyntek> however, i wanted to ask....am i not able to share just whole hard drive instead of the directories?
[21:55] <jahor> Cyntek: depends on what does "whole drive" means ;) .... all the files on it or like a block device ?
[21:55] <Cyntek> i mean the actual Hard drive it self.
[21:55] <jahor> Cyntek: if you talk about win vs ubu then it looks like the files on it
[21:56] <jahor> Cyntek: so like a block device ?
[21:56] <Cyntek> yeah.
[21:56] <jahor> Cyntek: to make a windows filesystem on it ?
[21:57] <Cyntek> if i convert the filesystem from ext3 to hpfs/ntfs, right. then it would show up as a hard drive on windows xp. right.
[21:58] <jahor> you could not convert it. you could backup it, reformat and then restore the data
[21:58] <jahor> for block level sharing with windows on the client side you could try iscsi
[21:59] <jahor> iscsi-target on the server and iscsi-intiator on the clinet (windows)
[22:00] <Cyntek> well, for now i will just stick to this until i feel more experienced in going into that direction. for now this will do fine.
[22:01] <jahor> i think so too ;o)
[22:01] <Cyntek> what are the " lost + found " folders ?
[22:02] <Cyntek> I see it in the "photos public folder sharing" .
[22:03] <jahor> Cyntek: there could be files after filesystem check if there was some problem with the filesystem.
[22:24] <Cyntek> im using Filezilla to upload from windows xp to the ubuntu-server, but the files i upload are not being saved.What am i doing wrong?
[22:28] <Cyntek> [edited] I'im using Filezilla to upload from windows xp to the ubuntu-server, but the files i upload are not being saved to the directory i am saving them in. What am i doing wrong?
[22:36] <Cyntek> explination why the files are not being saved to the directorys during the upload process via windows xp (Filezilla) to ubuntu-server (/photos) directory?
[23:04] <Cyntek> why is that everytime i transfer or upload from Local site to Remote site ( windows to ubuntu-server ) and when i create other directorys such as documents, photos, music... When the upload starts and finishes it uploads the files to all directorys onto ubuntu server?
[23:05] <Cyntek> all meaning directorys i have created on a separate 300 gb hard drive. ie: documents, music,photos,movies.
[23:06] <Cyntek> once uploaded to a single directory, it will show up in others as well.
[23:06] <Cyntek> wtf?
[23:10] <Cyntek> anyone?
[23:10] <Tastefull> ?question: i have installed Ubuntu Server and with the LAMP option. Now i need a FTPd witch is not relying on the users of the server, but has them seperately. I have tried vsftpd but cant seem to configure it to use a seperately file for users. The box should run as a Hosting solution and is there a web based tool to control the LAMP servers + FTPd (not plesk) out there?
[23:13] <johnny5> I need to script a setup, but i'm using vmware. possible?
[23:13] <johnny5> I want to deliver vmware images that upon first run ask for a hostname and username/password etc
[23:14] <johnny5> is that just make believe stuff?