[00:02] <Nafallo> Slyboots: kvm-ok will tell
[00:02] <Slyboots> heh
[00:02] <Slyboots> "NO! your system does not support KVM extensions"
[00:03] <Slyboots> Crap :P
[00:07] <RoyK> happy new year :)
[00:08] <Gadu> I have my live cam stream up and running on my website, is there a way I can add my mic to it?
[00:09] <Gadu> preferably in a way that doesn't cause them to be completely out of sync
[00:09] <Slyboots> Happy new year all
[00:10] <Gadu> Happy New Year Slyboots XD
[00:30] <rdw200169> Gadu: you may enjoy this: http://diveintohtml5.org/video.html
[02:14] <tux_1234567> hi
[02:14] <tux_1234567> how do i run php under a different user?
[02:15] <Nafallo> there is something called suphp. that's about as much details I have though
[02:17] <tux_1234567> would running php in a su'ed shell script be any good?
[02:19] <tux_1234567> byebyefn
[02:22] <Slyboots> fucking ubuntu.. grr
[02:22] <Slyboots> Is there a way ot see..um..
[02:22] <Slyboots> What my disk usage is like?
[02:22] <Slyboots> Sort of like Top? but for Disk/Network utilization?
[02:23] <Nafallo> iotop?
[02:23] <Slyboots> Is there just a freaking top program for everything?
[02:25] <Slyboots> Hmm..
[02:25] <Slyboots> 30M/sec read
[02:25] <Slyboots> Which is.. smbf
[02:25] <Slyboots> Seems slow
[02:28] <Slyboots> Its hard to know what sort of speed I *should* be expecting though
[02:30] <Slyboots> I mean.. GigE is about what? 125M/Sec
[02:31] <Slyboots> A 7200RPM is what.. half that?
[02:39] <Slyboots> Okay this doesnt really addup
[02:40] <Slyboots> Hdparm states it can read from the disk at about 75MB/sec
[02:40] <Slyboots> Its GigE networking
[02:40] <Slyboots> So whyt does the laptop trasfer files at 20/30M/sec
[02:43] <pmatulis> Slyboots: compose yourself
[02:43] <Slyboots> Hm
[02:47] <Slyboots> Sorry; Im just trying to work out why Im getitng so much (apparent) performance loss on my NAS)
[02:48] <pmatulis> Slyboots: i've never met anyone who was happy with their i/o
[02:50] <Slyboots> hehe; But it seems a lot slower than what i should be getting.. 20M/sec over Samba..
[02:51] <pmatulis> Slyboots: try some other protocol and compare
[02:52] <Slyboots> AYe; Been trying to get nfs to work but.. meh.. thats another story
[04:20] <vorian> 7/
[08:35] <milligan> Morning. Anyone here experienced with wifi networks? I'm having some problems at home .. I'm getting packet loss to the router, and it's working quite unstable in general. I have a D-Link DIR-615. There are about 15 wifi networks in the area, so I'm suspecting interference, but forcing the channel to the most lone one (1) didn't make any noticable difference. Any suggestions ?
[08:55] <RoyK> milligan: hardly an ubuntu server question, but have you tried to change channel?
[09:01] <milligan> "but forcing the channel to the most lone one (1) didn't make any noticable difference" :)
[09:03] <gobbe> g or n wlan?
[09:11] <milligan> It's set to run b/g or n
[09:12] <gobbe> ok
[09:12] <gobbe> have you tried connection with another computer?
[09:13] <milligan> not at the moment .. this computer has been working fine before though.
[09:13] <gobbe> seems to be either broken wlan-router or just bad network coverage due walls etc
[09:13] <milligan> tried booting this computer as well.
[09:13] <milligan> the router is about 0,5 meter away from me, with absolutely nothing in between us :)
[09:13] <milligan> and the router is brand new .. got it for me father in law for xmas
[09:15] <milligan> perhaps it would help setting it to n only.. ? Or would I maybe render the network useless to older machines then ?
[09:15] <gobbe> well, can you move your computer more away from router, wlan's signal can be poor if you sit too close to router
[09:15] <gobbe> well, if you change it to n only it gives you better signal, less noise
[09:15] <gobbe> and ofcourse, if your old computer doesn't support n, you cannot use it
[09:17] <milligan> What's CTS mdoe?
[09:17] <milligan> And are long or short preambles best ?
[09:33] <milligan> Locked it to channel 1 again and made some tweaking to the encrpytion method .. seems better now
[10:55] <RoyK> hi all. I have a private server at an ISP, and I want to setup a tunnel between my laptop and that server. server runs ubuntu 10.04.1LTS and client is OS X. Is it possible/trivial to do this with strongswan or something?
[10:56] <gobbe> i would use openvpn
[10:57] <RoyK> ok
[10:59] <RoyK> erm.. any idea where to find a howto on that?
[11:00] <gobbe> google?-)
[11:00] <gobbe> https://help.ubuntu.com/community/OpenVPN
[11:00] <RoyK> thanks
[12:43] <shaggy2> I have ubuntu 10.10 server with Apache2, I have installed and configured awstats for use on multiple domains, how ever I get th error "Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats." when I navigate to www.mydomain.net/awstats/awstats.pl, Can anyone assist me with this error? I have googled the error and found no
[12:43] <shaggy2> reference to this error
[12:50] <shaggy2> I have ubuntu 10.10 server with Apache2, I have installed and configured awstats for use on multiple domains, how ever I get th error "Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats." when I navigate to www.mydomain.net/awstats/awstats.pl, Can anyone assist me with this error? I have googled the error and found no
[12:50] <shaggy2> reference to this error
[13:16] <gobbe> you should contact craetor of that perl script
[13:37] <shaggy2> gobbe: I have searched everywhere I have e-mail awstats and still waitting reply, was hoping I might be able to find an answer sooner, and I think I have, hopfully
[13:39] <shaggy2> do you know the command to rename a file, I need to change the file awstats.conf to sample.stat
[13:39] <RoyK> mv
[13:39] <gobbe> mv awstats.conf sample.stat
[13:40] <shaggy2> thank you
[13:57] <shaggy2> I know I have done it before but I can not remember, I need to add a cron job, what is the file I need to nano
[13:59] <gobbe> crontab -e
[13:59] <gobbe> opens file
[14:43] <shaggy2> thank you and hopefully one last question I need to install geoip is it in the aptitude or do I need to do a wget from a website, I am following a tutorial however I find that apt-get is so much easier and just wondering if it is or not
[15:08] <qman__> shaggy2, use apt-cache search
[15:47] <shaggy2> hello I am installing geoip on my ubuntu 10.10 server, just got a little confused, the tutorial say's "Add the directory libGeoIP was installed in, i.e. /usr/local/lib (and that is correct) to /etc/ld.so.conf, and exclude ldconfig. my confusion comes from "include /etc/ld.so.conf.d/*.conf" is currently in the ld.so.conf and nothing else
[15:49] <shaggy2> do I just write include /usr/local/lib or do I add to that /libGeoIP.so and leave include /etc/ld.so.conf.d/*.conf in it or remove include /etc/ld.so.conf.d/*.conf and input something else to exclude the file
[15:56] <uvirtbot`> New bug: #696262 in mysql-dfsg-5.0 (universe) "package mysql-server 5.0.51a-3ubuntu5 failed to install/upgrade: dependency problems - leaving unconfigured" [Undecided,New] https://launchpad.net/bugs/696262
[16:54] <Procik> Ïðèâåò
[16:55] <Procik> Íóæåí ñîâåò
[16:55] <Procik> ×åì ëó÷øå ëîãèðîâàòü òðàôèê?
[16:56] <Procik> ïðîáîâàë ipcad, íå ïîíðàâèëñÿ, ðåñóðñîâ ìíîãî æð¸ò
[16:58] <Procik> only english?
[16:58] <compdoc> yes
[16:58] <compdoc> well, for most
[16:58] <compdoc> for me :)
[17:01] <guntbert> !en | Procik
[17:02] <guntbert> !ua | Procik
[17:03] <Procik> thanks
[17:03] <guntbert> Procik: try #ubuntu-ua too
[17:21]  * Slyboots gets fed up
[17:22] <Slyboots> Alright; Anyone have any notion how to get "Xrender" working in VNC? (Using vnc4server)
[17:22] <Slyboots> Trying to run Steam inside a Wine enviroment; but its rendering a lot of garbage and pumping the same error message into the log over and over
[17:23] <Slyboots> fixmexrender:XRender_AlphaBlend Unable to AlphaBlend without Xrender
[17:23] <Slyboots> But I can find bugger all usful online about getting this to work correctly
[18:07] <gobbe> steam has nothing to do with servers
[18:08] <Slyboots> i know; but thats incedental
[18:08] <Slyboots> Its VNC :P
[18:08] <Slyboots> .. on ubuntu server
[18:08] <Slyboots> :D
[18:10] <gobbe> it's not same thing
[18:10] <gobbe> tho
[18:54] <Error404NotFound> any ideas of whats going on here: http://pastebin.com/MixsmQ1M
[18:58] <RoyK> seems like your mysql server is in desperate need for being replaced with a postgresql server :P
[19:05] <Error404NotFound> RoyK, nope, was apparmor's fault
[19:23] <dob_> hello guys, i have BIG problems with raid and lvm. I created a raid5 with sda5 sdb5 sdc5. Then i run pvcreate /dev/md2 (my created raid). Then this appears: Wiping software RAID md superblock on After a reboot the system is not able to boot anymore. Then in mdstat there is a new array md2 which has sda sdb sdc as drives. What da hell is going on with it? I am using ubuntu 10.04
[19:24] <dob_> and if it's important: I am using GPT.
[19:30] <gobbe> did you create raid on running system or in installation?
[19:33] <dob_> i tried both
[19:33] <gobbe> https://help.ubuntu.com/community/Installation/SoftwareRAID
[19:35] <dob_> There is no hint about that problem....
[19:38] <gobbe> well, did you do it like that document tells you to do?
[19:41] <dob_> Yes i created it like that and everything works fine until i execute pvcreate /dev/md2. After that the system thinks the raid is based on physical devices not the sda5 , sdb5 and sdc5 partitions. So after coming up (after pvcreate) the whole system is killed by mdadm, cause all my partitions are overwritten by the sync.
[19:42] <dob_> i am using three 2TB WD HDD's. So i also have to use GPT as partition table format.
[19:42] <dob_> I often created raid arrays, but never had such strange problems.
[19:42] <RoyK> what does GPT have to do with MD?
[19:43] <RoyK> just use the disk devices
[19:43] <RoyK> no need to partition them
[19:45] <RoyK> sda,sdb...
[19:48] <dob_> I want my system partitions in a raid1 configuration and only my data partitions in raid5
[19:48] <RoyK> on the same drives?
[19:48] <dob_> yes
[19:48] <RoyK> bad idea imho
[19:49] <RoyK> get some old 20GB ATA drives for the root
[19:49] <RoyK> use new stuff for the data
[19:49] <RoyK> a couple of usb pen drives will work well for the root
[19:49] <dob_> I ony have 4 sata ports 3 for my drives and 1 for DVD. So i can't add another hdd.
[19:50] <dob_> okay, i will try with USB. Is the boot time slow with USB?
[19:50] <RoyK> doesn't matter much - how often do you reboot?
[19:51] <RoyK> usb pen drives will probaly work as fast as your spinning ones for that use
[19:52] <RoyK> also, a new sata controller will probably cost you $50 or less :P
[19:54] <dob_> but i need the only pci-e slot i have for another card....
[19:54] <RoyK> just use a pen drive for the root
[19:55] <RoyK> or two
[19:57] <dob_> Yes, i am currently installing on the pen drive. Hope it will work! Should i add swapspace on the pendrive?
[20:01] <dob_> And i will have to do a normal installation no special pen drive stuff or something else, right?
[20:07] <dob_> pen drive installation is really slow an i was reading that the boot time is about 60 seconds or more
[20:20] <dob_> but i still think it's a big bug that the lvm wipes my md superblock and then the system thinks the array is based on the physical drives
[20:22] <RoyK> dob_: it doesn't matter much - once the system has booted, everything will be in ram
[20:22] <gobbe> dob_: well, it works like it should
[20:22]  * RoyK would recommend something like openindiana and zfs for data storage, though
[20:22] <gobbe> yea
[20:23] <gobbe> zfs is amazing for data storage
[20:23]  * RoyK has a couple of 100TB systems running on openindiana
[20:23] <dob_> Can i create a raid5 and then place my root on it? Is it possible to boot from a software raid5?
[20:23] <gobbe> no
[20:23] <gobbe> it's only possible to boot from raid1
[20:23] <gobbe> when using software-raid
[20:24] <RoyK> http://pastebin.com/p3ids68M
[20:25] <RoyK> dob_: if this is a storage machine, please consider using something with native zfs - it rocks
[20:26] <RoyK> if it's a general purpose machine, openindiana and the likes will be harder to manage than ubuntu
[20:26] <dob_> nice, but i need linux, cause i want to create a TV-Streaming server for my homenetwork. So i need DVB devices etc.
[20:26] <RoyK> ic
[20:26] <RoyK> then perhaps zfs fuse
[20:27] <RoyK> it's quite bad on write performance, but good on reads
[20:27] <RoyK> apt-get install zfs-fuse
[20:27] <dob_> i worked with opensolaris for a storage system
[20:27] <RoyK> ok
[20:27] <dob_> wasn't there any native implementation?
[20:27] <dob_> I heared about that...
[20:27] <RoyK> there's one in the works, but I guess it takes some months for it to finish
[20:28] <RoyK> but recent zfs-fuse should be quite good for read performance
[20:28] <RoyK> albeit a bit low on the writes
[20:28] <gobbe> RoyK: but it doesn't support all zfs features
[20:29] <gobbe> like snapshots
[20:29] <RoyK> huh? I'm quite sure it does
[20:29] <dob_> https://github.com/behlendorf/zfs/
[20:31] <gobbe> RoyK: at least it didn't support snapshot etc earlier when i tried it
[20:31] <gobbe> i'm not sure do they have implemented them yet
[20:31] <gobbe> there's issues with zfs and linux, because zfs's license isn't good enough for linux kernel
[20:31]  * RoyK checks
[20:31] <RoyK> with zfs in userspace, there's no problem
[20:32] <dob_> what about btrfs?
[20:34] <RoyK> not stable
[20:34] <RoyK> btw, zfs snapshots work with ubuntu 10.10
[20:34] <RoyK> just tested
[20:34] <gobbe> ok
[20:34] <gobbe> so they have implemented it
[20:34] <gobbe> great
[20:34] <gobbe> :)
[20:44] <RoyK> dob_: using btrfs in production is playing with matches and gazoline
[20:47] <dob_> i am not sure what i should do now.... USB pen drive seems to slow for regular boot. BTRFS is unstable, ZFS with fuse looks a bit like a hack, mdadm raid5 does not work with lvm in my configuration.
[20:48] <dob_> Can i grow/resize the md2 partition without lvm?
[20:48] <RoyK> zfs fuse is quite stable
[20:48] <RoyK> no
[20:48] <RoyK> don't think so
[20:49] <RoyK> boot time shouldn't be a problem - how often do you really boot the system? after bootup, most of the stuff is cached in ram
[20:49] <dob_> with zfs fuse i can create a raid-Z?
[20:49] <RoyK> yes
[20:49] <RoyK> zpool create mypool raidz somedev anotherdev ....
[20:50] <dob_> i am booting very often
[20:50] <RoyK> why?
[20:50] <dob_> the system is going to S3 if not used.
[20:50] <RoyK> the important thing is data access, not boot times
[20:51] <RoyK> s3?
[20:52] <dob_> suspend mode
[20:53] <dob_> it's a home server, media, video, streaming system
[20:53] <RoyK> that doesn't mean it's being rebooted
[20:53] <dob_> the system is turned off, everything will be removed from RAM
[20:54] <RoyK> please try zfs - see how it works
[20:54] <dob_> okay, thank u, i will try that!!!
[20:54] <RoyK> zpool create somepool raidz2 sda sdb sdc
[20:54] <RoyK> something like that
[20:54] <RoyK> erm - or raidz
[20:55] <RoyK> raidz2 is double parity
[20:55] <dob_> zpool create somepool raidz2 sda5 sdb5 sdc5 should also work, right?
[20:55] <dob_> erm raidz
[20:55] <RoyK> it should, yes, but aren't you booting on an usb stick?
[20:56] <dob_> thinking about creating raid1 on boot and root and use zfs for my data, so i would not need to install on usb ( read performance )
[20:57] <dob_> i will try both solutions....
[20:57] <dob_> thank u!
[20:57] <RoyK> performance is what you need for data, not system
[20:57] <RoyK> the system will boot up quite quickly on usb
[20:58] <RoyK> and using whole drives will help you move the system to something new when that's needed
[20:58] <RoyK> imho Never mix system and data drives
[21:03] <dob_> okay, i will try that. Thanks a lot!
[21:05] <RoyK> dob_: also, if you find zfs-fuse to be too slow, keeping the data drives alone is still a good thing, even with md or lvm
[21:33] <_Techie_> is it possible to take a pre existing drive with data, and add a new drive and JBOD them together and expand the partition to cover the full JBOD?
[21:33] <_Techie_> or does this require backing up the data, creating the JBOD and re formatting the drives
[21:57] <pmatulis> _Techie_: first question, are you using LVM?
[21:59] <_Techie_> pmatulis, no
[22:00] <_Techie_> i would like to point out that its just an idea at the moment, i dont have an extra drive at the moment, i just want to discuss ways of doing it so i can backup data in advance if need be
[22:03] <RoyK> _Techie_: with lvm it's possible, not without it
[22:04] <_Techie_> also, what are the extents of ext2, how large can a single partition be, and what are the limits on file size?
[22:07] <gobbe> _Techie_: http://en.wikipedia.org/wiki/Ext2
[22:07] <_Techie_> tyvm gobbe
[22:09] <RoyK> my little souvenirs from my last trip to iceland http://karlsbakk.net/xray.png
[22:10] <gobbe> what did you do?-)
[22:10] <_Techie_> RoyK, just incase you hadnt noticed, you have a metal mar and a bunch of screws in your ankle =P
[22:12]  * RoyK did notice