/srv/irclogs.ubuntu.com/2011/01/01/#ubuntu-server.txt

NafalloSlyboots: kvm-ok will tell00:02
Slybootsheh00:02
Slyboots"NO! your system does not support KVM extensions"00:02
SlybootsCrap :P00:03
RoyKhappy new year :)00:07
GaduI have my live cam stream up and running on my website, is there a way I can add my mic to it?00:08
Gadupreferably in a way that doesn't cause them to be completely out of sync00:09
SlybootsHappy new year all00:09
GaduHappy New Year Slyboots XD00:10
rdw200169Gadu: you may enjoy this: http://diveintohtml5.org/video.html00:30
tux_1234567hi02:14
tux_1234567how do i run php under a different user?02:14
Nafallothere is something called suphp. that's about as much details I have though02:15
tux_1234567would running php in a su'ed shell script be any good?02:17
tux_1234567byebyefn02:19
Slybootsfucking ubuntu.. grr02:22
SlybootsIs there a way ot see..um..02:22
SlybootsWhat my disk usage is like?02:22
SlybootsSort of like Top? but for Disk/Network utilization?02:22
Nafalloiotop?02:23
SlybootsIs there just a freaking top program for everything?02:23
SlybootsHmm..02:25
Slyboots30M/sec read02:25
SlybootsWhich is.. smbf02:25
SlybootsSeems slow02:25
SlybootsIts hard to know what sort of speed I *should* be expecting though02:28
SlybootsI mean.. GigE is about what? 125M/Sec02:30
SlybootsA 7200RPM is what.. half that?02:31
SlybootsOkay this doesnt really addup02:39
SlybootsHdparm states it can read from the disk at about 75MB/sec02:40
SlybootsIts GigE networking02:40
SlybootsSo whyt does the laptop trasfer files at 20/30M/sec02:40
pmatulisSlyboots: compose yourself02:43
SlybootsHm02:43
SlybootsSorry; Im just trying to work out why Im getitng so much (apparent) performance loss on my NAS)02:47
pmatulisSlyboots: i've never met anyone who was happy with their i/o02:48
Slybootshehe; But it seems a lot slower than what i should be getting.. 20M/sec over Samba..02:50
pmatulisSlyboots: try some other protocol and compare02:51
SlybootsAYe; Been trying to get nfs to work but.. meh.. thats another story02:52
vorian7/04:20
=== deegee_ is now known as deegee
milliganMorning. 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:35
RoyKmilligan: hardly an ubuntu server question, but have you tried to change channel?08:55
milligan"but forcing the channel to the most lone one (1) didn't make any noticable difference" :)09:01
gobbeg or n wlan?09:03
milliganIt's set to run b/g or n09:11
gobbeok09:12
gobbehave you tried connection with another computer?09:12
milligannot at the moment .. this computer has been working fine before though.09:13
gobbeseems to be either broken wlan-router or just bad network coverage due walls etc09:13
milligantried booting this computer as well.09:13
milliganthe router is about 0,5 meter away from me, with absolutely nothing in between us :)09:13
milliganand the router is brand new .. got it for me father in law for xmas09:13
milliganperhaps it would help setting it to n only.. ? Or would I maybe render the network useless to older machines then ?09:15
gobbewell, can you move your computer more away from router, wlan's signal can be poor if you sit too close to router09:15
gobbewell, if you change it to n only it gives you better signal, less noise09:15
gobbeand ofcourse, if your old computer doesn't support n, you cannot use it09:15
milliganWhat's CTS mdoe?09:17
milliganAnd are long or short preambles best ?09:17
milliganLocked it to channel 1 again and made some tweaking to the encrpytion method .. seems better now09:33
RoyKhi 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:55
gobbei would use openvpn10:56
RoyKok10:57
RoyKerm.. any idea where to find a howto on that?10:59
gobbegoogle?-)11:00
gobbehttps://help.ubuntu.com/community/OpenVPN11:00
RoyKthanks11:00
shaggy2I 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 no12:43
shaggy2reference to this error12:43
shaggy2I 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 no12:50
shaggy2reference to this error12:50
gobbeyou should contact craetor of that perl script13:16
shaggy2gobbe: 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, hopfully13:37
shaggy2do you know the command to rename a file, I need to change the file awstats.conf to sample.stat13:39
RoyKmv13:39
gobbemv awstats.conf sample.stat13:39
shaggy2thank you13:40
shaggy2I 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 nano13:57
gobbecrontab -e13:59
gobbeopens file13:59
shaggy2thank 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 not14:43
qman__shaggy2, use apt-cache search15:08
shaggy2hello 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 else15:47
shaggy2do 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 file15:49
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/69626215:56
ProcikÏðèâåò16:54
ProcikÍóæåí ñîâåò16:55
Procik×åì ëó÷øå ëîãèðîâàòü òðàôèê?16:55
Procikïðîáîâàë ipcad, íå ïîíðàâèëñÿ, ðåñóðñîâ ìíîãî æð¸ò16:56
Procikonly english?16:58
compdocyes16:58
compdocwell, for most16:58
compdocfor me :)16:58
guntbert!en | Procik17:01
ubottuProcik: The #ubuntu, #kubuntu and #xubuntu channels are English only. For a complete list of channels in other languages, please visit https://wiki.ubuntu.com/IRC/ChannelList17:01
guntbert!ua | Procik17:02
Procikthanks17:03
guntbertProcik: try #ubuntu-ua too17:03
=== tschundeee_ is now known as tschundeee
* Slyboots gets fed up17:21
SlybootsAlright; Anyone have any notion how to get "Xrender" working in VNC? (Using vnc4server)17:22
SlybootsTrying 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 over17:22
Slybootsfixmexrender:XRender_AlphaBlend Unable to AlphaBlend without Xrender17:23
SlybootsBut I can find bugger all usful online about getting this to work correctly17:23
gobbesteam has nothing to do with servers18:07
Slybootsi know; but thats incedental18:08
SlybootsIts VNC :P18:08
Slyboots.. on ubuntu server18:08
Slyboots:D18:08
gobbeit's not same thing18:10
gobbetho18:10
Error404NotFoundany ideas of whats going on here: http://pastebin.com/MixsmQ1M18:54
RoyKseems like your mysql server is in desperate need for being replaced with a postgresql server :P18:58
Error404NotFoundRoyK, nope, was apparmor's fault19:05
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.0419:23
dob_and if it's important: I am using GPT.19:24
gobbedid you create raid on running system or in installation?19:30
dob_i tried both19:33
gobbehttps://help.ubuntu.com/community/Installation/SoftwareRAID19:33
dob_There is no hint about that problem....19:35
gobbewell, did you do it like that document tells you to do?19:38
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:41
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
RoyKwhat does GPT have to do with MD?19:42
RoyKjust use the disk devices19:43
RoyKno need to partition them19:43
RoyKsda,sdb...19:45
=== squishy is now known as SquishyNotHere
dob_I want my system partitions in a raid1 configuration and only my data partitions in raid519:48
RoyKon the same drives?19:48
dob_yes19:48
RoyKbad idea imho19:48
RoyKget some old 20GB ATA drives for the root19:49
RoyKuse new stuff for the data19:49
RoyKa couple of usb pen drives will work well for the root19:49
dob_I ony have 4 sata ports 3 for my drives and 1 for DVD. So i can't add another hdd.19:49
dob_okay, i will try with USB. Is the boot time slow with USB?19:50
RoyKdoesn't matter much - how often do you reboot?19:50
RoyKusb pen drives will probaly work as fast as your spinning ones for that use19:51
RoyKalso, a new sata controller will probably cost you $50 or less :P19:52
dob_but i need the only pci-e slot i have for another card....19:54
RoyKjust use a pen drive for the root19:54
RoyKor two19:55
dob_Yes, i am currently installing on the pen drive. Hope it will work! Should i add swapspace on the pendrive?19:57
dob_And i will have to do a normal installation no special pen drive stuff or something else, right?20:01
dob_pen drive installation is really slow an i was reading that the boot time is about 60 seconds or more20:07
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 drives20:20
RoyKdob_: it doesn't matter much - once the system has booted, everything will be in ram20:22
gobbedob_: well, it works like it should20:22
* RoyK would recommend something like openindiana and zfs for data storage, though20:22
gobbeyea20:22
gobbezfs is amazing for data storage20:23
* RoyK has a couple of 100TB systems running on openindiana20: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
gobbeno20:23
gobbeit's only possible to boot from raid120:23
gobbewhen using software-raid20:23
RoyKhttp://pastebin.com/p3ids68M20:24
RoyKdob_: if this is a storage machine, please consider using something with native zfs - it rocks20:25
RoyKif it's a general purpose machine, openindiana and the likes will be harder to manage than ubuntu20: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
RoyKic20:26
RoyKthen perhaps zfs fuse20:26
RoyKit's quite bad on write performance, but good on reads20:27
RoyKapt-get install zfs-fuse20:27
dob_i worked with opensolaris for a storage system20:27
RoyKok20:27
dob_wasn't there any native implementation?20:27
dob_I heared about that...20:27
RoyKthere's one in the works, but I guess it takes some months for it to finish20:27
RoyKbut recent zfs-fuse should be quite good for read performance20:28
RoyKalbeit a bit low on the writes20:28
gobbeRoyK: but it doesn't support all zfs features20:28
gobbelike snapshots20:29
RoyKhuh? I'm quite sure it does20:29
dob_https://github.com/behlendorf/zfs/20:29
gobbeRoyK: at least it didn't support snapshot etc earlier when i tried it20:31
gobbei'm not sure do they have implemented them yet20:31
gobbethere's issues with zfs and linux, because zfs's license isn't good enough for linux kernel20:31
* RoyK checks20:31
RoyKwith zfs in userspace, there's no problem20:31
dob_what about btrfs?20:32
RoyKnot stable20:34
RoyKbtw, zfs snapshots work with ubuntu 10.1020:34
RoyKjust tested20:34
gobbeok20:34
gobbeso they have implemented it20:34
gobbegreat20:34
gobbe:)20:34
RoyKdob_: using btrfs in production is playing with matches and gazoline20:44
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:47
dob_Can i grow/resize the md2 partition without lvm?20:48
RoyKzfs fuse is quite stable20:48
RoyKno20:48
RoyKdon't think so20:48
RoyKboot time shouldn't be a problem - how often do you really boot the system? after bootup, most of the stuff is cached in ram20:49
dob_with zfs fuse i can create a raid-Z?20:49
RoyKyes20:49
RoyKzpool create mypool raidz somedev anotherdev ....20:49
dob_i am booting very often20:50
RoyKwhy?20:50
dob_the system is going to S3 if not used.20:50
RoyKthe important thing is data access, not boot times20:50
RoyKs3?20:51
dob_suspend mode20:52
dob_it's a home server, media, video, streaming system20:53
RoyKthat doesn't mean it's being rebooted20:53
dob_the system is turned off, everything will be removed from RAM20:53
RoyKplease try zfs - see how it works20:54
dob_okay, thank u, i will try that!!!20:54
RoyKzpool create somepool raidz2 sda sdb sdc20:54
RoyKsomething like that20:54
RoyKerm - or raidz20:54
RoyKraidz2 is double parity20:55
dob_zpool create somepool raidz2 sda5 sdb5 sdc5 should also work, right?20:55
dob_erm raidz20:55
RoyKit should, yes, but aren't you booting on an usb stick?20:55
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:56
dob_i will try both solutions....20:57
dob_thank u!20:57
RoyKperformance is what you need for data, not system20:57
RoyKthe system will boot up quite quickly on usb20:57
RoyKand using whole drives will help you move the system to something new when that's needed20:58
RoyKimho Never mix system and data drives20:58
dob_okay, i will try that. Thanks a lot!21:03
RoyKdob_: also, if you find zfs-fuse to be too slow, keeping the data drives alone is still a good thing, even with md or lvm21:05
_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 drives21:33
pmatulis_Techie_: first question, are you using LVM?21:57
_Techie_pmatulis, no21:59
_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 be22:00
RoyK_Techie_: with lvm it's possible, not without it22:03
_Techie_also, what are the extents of ext2, how large can a single partition be, and what are the limits on file size?22:04
gobbe_Techie_: http://en.wikipedia.org/wiki/Ext222:07
_Techie_tyvm gobbe22:07
RoyKmy little souvenirs from my last trip to iceland http://karlsbakk.net/xray.png22:09
gobbewhat 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 =P22:10
* RoyK did notice22:12

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!