[00:53] huh, the JDK is not avalible from stock repositories on 8.04 [01:55] hey everyone...is there an alternative to putty which allows the user to see folders instead of typing in a terminal? [01:56] accol: ssh is not a file-serving protocol -- so you're probably looking to use WinSCP or something [01:57] thank you....i just need something easy for my gf [01:57] she wont learn code lol [02:01] Yeah, WinSCP or gFTP (depending on OS) will work for what you want [02:48] load averages are in percent CPU time being requested, where 1.0 is 100% of one CPU core [02:49] if you have a dual core CPU, numbers above 1.0 are acceptable, since 2.0 is the total available time [02:49] 4.0 on a quad core, etc... [02:51] you can't really judge the effectiveness of niceness by your load average, since if your CPU is idle, it will use that up with nice processes [02:51] the best way is to simply test the functions that should have high priority [06:15] has anyone here been able to use OpenLDAP for Evolution contact sharing? I've followed the guides on help.u-c and others more than once, but Evolution doesn't seem to get it. === beawesomeinstead is now known as GitHub122 === GitHub122 is now known as beawesomeinstead [08:12] IF i need to install imagemagic is that the same as imagemagick [08:13] hi there...i am installing a couple of new hard drives in my server and i want to do a raid 1, but I got the devices are already been in use (I just intalled), I delete the VG and PV that was created autonaticaly, but atill i got the error that are in use...somebody know what could be the problem? [08:56] so i was trying to recompile a pacakge and i rang #dpkg-buildpackage [08:56] and its just been going through lines and lines of code should i make it stop or just let it run [09:10] hey guys if i were to say run "#dpkg-buildpackage" and my computer was spitting out lines and lines of code [09:10] i could stop it right and delete the package it was building [09:11] no harm no foul [10:40] hello all [10:40] please how to use my ubuntu server a a VPN router? [10:40] (PPTP) [10:42] how to please [11:26] hi, can anyone suggest an autobuild system they like? [12:54] Hello everybody, maybe someone can help me. There is a strange behavior with my Samba-Server. I start copying a file (2GB) from a Windows Client in direction to the Samba-Server, the transmission rate is more than poor. While doing this, I start copying a second file (same size) and whoosh, the transmission rate jumps up to the maximum......any idea???? [13:05] hi there, i am installing a new hard drive using evms but when i try to configure with mdadm the raid tell me the drive is already been used. Somebody know how resolve this problem [13:12] > Hello everybody, maybe someone can help me. There is a strange behavior with my Samba-Server. I start copying a file (2GB) from a Windows Client in direction to the Samba-Server, the transmission rate is more than poor. While doing this, I start copying a second file (same size) and whoosh, the transmission rate jumps up to the maximum......any idea???? [13:38] helloworld32934_: hard to tell [13:40] helloworld32934_: have you done some tuning in the config? [13:40] the standard config says [13:40] # You may want to add the following on a Linux system: [13:40] # SO_RCVBUF=8192 SO_SNDBUF=8192 [13:40] Last time I tried adding those flags, it didn't really improve anything, it just made things far worse [13:41] thnks for the reply....i tried the socket options already, nothing happend... [13:43] no idea, really, and I'm using samba for rather large file servers at work [13:43] Hi guys is anyone updating the version of ebox that we have in the repo's at all? currently listed as 0.12 and current version is 1.2 and has a load of useful features now. [13:43] the funny thing is the fact, copying one file poor transmission....copying two files at the same time (two seperate tasks) fast transmission. [13:45] the speed also goes up if I copy from another workstation at the same time, both workstations are running like wild, but if one workstation finished the copy task, the copy speed of the other mashine goes down. [13:46] helloworld32934_: have you checked packet loss? [13:46] ifconfig returns some stats [13:47] no errors, no losses :-( [13:48] eth0 Link encap:Ethernet HWaddr 00:08:54:d1:04:b7 [13:48] inet addr:10.0.0.23 Bcast:10.0.0.255 Mask:255.255.255.0 [13:49] inet6 addr: fe80::208:54ff:fed1:4b7/64 Scope:Link [13:49] UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 [13:49] RX packets:1578837 errors:0 dropped:0 overruns:0 frame:0 [13:49] TX packets:1013668 errors:0 dropped:0 overruns:0 carrier:0 [13:49] collisions:0 txqueuelen:1000 [13:49] RX bytes:2033445539 (1.8 GB) TX bytes:160172823 (152.7 MB) [13:49] Interrupt:18 Base address:0xcc00 [13:49] pastebin it for fuck's sake [13:49] !pastebin | helloworld32934_ [13:49] helloworld32934_: pastebin is a service to post multiple-lined texts so you don't flood the channel. Ubuntu pastebin is at http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic [13:49] ...sorry [13:50] generally, don't paste more than 2-3 lines [13:51] even though we're talking 2009, some people are still at small termials [13:51] what version of ubuntu is this? [13:52] Ubuntu 8.04.3 LTS, kernel 2.6.24-24-server [13:55] ok [13:56] what sort of clients? [14:00] two clients are windows XP service pack 3, another two are XP service pack 2 [14:01] wierd [14:02] does the same thing happen whatever client from which you try to access it? [14:05] yes, the same thing happens no matter which machine is copying, two machine at the same time maximium throughput...only one machine poor throughput [14:06] one machine copying with one task, poor.....one machine copying two task maximum [14:07] can you try to make a wireshark dump while trying with only one box? [14:07] tshark -w somefile.pcap host ip.of.client.machine [14:08] you might have to apt-get install tshark [14:09] sorry, reading from samba to xp is fast as hell, only writing is the problem....must install tshark now...one moment [14:09] try to not send other traffic to/from that client during the test - it makes the dump easier to read [14:15] where can I find the .pcap file....capture is finished now, but where is the file??? Using first time tshark. [14:15] current directory [14:15] $PWD [14:15] . [14:16] thanks...what to do next? [14:16] gzip and upload it somewhere so I can take a look at it [14:16] or just open it with wireshark (gui stuff) on some box [14:16] wireshark exists for windows as well [14:18] ...installing wireshark for windows, one moment please [14:28] done and opened the captured file.. [14:39] I'm trying to export /media through nfs. I'm able to, but I don't see any data in there. It's as if filesystems mounted in /media aren't automatically exported. That may make sense, but it is what I want. How do I do this? [14:44] 110 42.790495 10.0.0.23 10.0.0.66 SMB NT Create AndX Response, FID: 0x0000, Error: STATUS_OBJECT_PATH_NOT_FOUND [14:46] 1946 44.899936 10.0.0.66 10.0.0.23 TCP [TCP segment of a reassembled PDU] [14:47] 2000 45.171480 10.0.0.66 10.0.0.23 TCP [TCP Out-Of-Order] [TCP segment of a reassembled PDU] [14:49] XiXaQ: if you have /media/something mounted in /media, that is, a new filesystem, that fs needs to be explicitly exported [14:50] ... [14:50] RoyK, that's what I did, as a "workaround". There is no way of automatically exporting all filesystems in /media? [14:51] RoyK, I'm configuring a home server, and I'd like to make it so that when I connect a usb stick, it's automatically available to all computers in my home. [14:52] afaik it's in the nature of nfs to export fs-wise [14:52] so, no [14:52] ok. Thanks :) [14:53] I think there is a userspace nfs server available in ubuntu [14:53] that will probably fix that [14:53] it's slower, but for a home server, it'll probably suffice [14:54] perhaps I should look into that then. [14:54] yeah [14:54] please tell if it helps - nice to know :) [14:57] I will if I find out. I may just export the filesystems manually though. It's less efficient, but.. It's not that big of a deal :) [14:57] less elegant, I meant. [14:57] perhaps use samba [14:58] I don't think so. [14:58] heh [14:58] :) [14:58] well, I am going to setup samba one of thiese days, just to have done it, but I think i'll do that in a virtual machine. [15:00] why? [15:00] it won't really interfere with the rest [15:01] I hate clutter. [15:01] it won't be [15:02] just another subdirectory under etc [15:02] a thought; how does encrypted home work with nfs exported home directories? [15:02] RoyK, I know. :) [15:02] no idea, but I think you might run into trouble [15:02] ok? [15:03] if the clients are ubuntu as well, it might work [15:03] never tried that, though [15:03] if the data is available unencrypted over the wire, what would be the point of encrypting them in the first place? [15:04] hmm? [15:04] the server would give access to the home folder, but the home folder would be decrypted on the client, I think? [15:05] unless you use kerberos auth for nfs, and the home dir is available unencrypted over nfs, the data will be available to anyone that sets his userid = your uid [15:06] why would the home dir be available unencrypted over nfs if it's encrypted? [15:06] it won't [15:06] or so I hope [15:07] but if the client side is unable to understand that encryption, you won't get much access to it [15:07] I'd use ubuntu 9.04 or something all over - that should work [15:07] right, but the clients would be ubuntu in any case. [15:07] that should work [15:07] I think [15:07] but - I've never worked with such a setup [15:07] that would be cool. I'll have to look into kerberos too. [15:08] this is on a LAN, right? [15:08] but I think kerberos is overkill for my home network. :) [15:08] yeah [15:08] yes. [15:08] with encrypted home dirs and plain nfs3, kerberos seems to be overkill [15:09] anyway - try to take a look at opensolaris :) [15:09] it's pretty cool [15:09] raidz and zfs snapshotting and that sort of stuff is non-existent on linux [15:10] think I'll stick to ubuntu for now. :) [15:10] 'cept btrfs, but that won't be stable for a while [15:10] raidz? [15:10] I've been using linux for 10+ years, and solaris amaze me [15:11] raidz/raidz2 is like raid5/raid6, only with lots of more checksumming so it can recover from far more errors than traditional raid[56] can do [15:11] also, making snapshots every now and then is quite a nice thing [15:11] oops - I deleted those files I made two hours ago - damn - backup - no - snapshot - whoo [15:12] I do almost all the work I do in virtual machines, which makes snapshots easy. [15:12] I recently discovered rdbd though. That seems nice. [15:13] wtf is rdbd? [15:14] what sort of virtualization are you using? kvm? xen? virtualbox? [15:16] btw, this raidz stuff from opensolaris has a rather neat feature - using SSDs for caching :) [15:18] I'm using kvm. And rdbd is sort of like raid over network. [15:18] raid 1 over network, I meant. [15:19] url? [15:20] drbd, I meant. :) [15:21] drbd.org [15:23] hm. zfs copy seems smarter. first create a zfs snapshot and then sync the whole thing over [15:24] just try opensolaris and some zfs stuff on a vm - I'm positive that you'll like what you see [15:25] I don't doubt it. I did experiment with opensolaris 10. But I'm quite happy with ubuntu. [15:28] whatever :) [15:30] we got an offer at work from NetApp for some high-tech storage solution, 5TB usable storage with dedup and snapshottable and so on for NOK 300k or so. Instead we're building a 20TB solution with RAID-Z2 (as in RAID6), some SSDs for caching and so on for NOK 55k [15:30] drbd seems perfect for me, since I have two servers which only need half their harddisk space. I should be able to setup drbd so that if one server dies, the other is able to immediately take over. You wouldn't get that with snapshots. [15:31] by the time btrfs stabilises, I might consider using linux for file servers [15:32] also, opensolaris has an in-kernel cifs server, which tends to speed things up a wee bit [15:33] hm... du er norsk? [15:34] yes. [15:35] name and host hinted a little at that [15:35] likewise. :) [15:35] :) [15:35] anyway - have you heard about the RAID write hole? [15:36] not that I recall. Enlighten me? :) [15:37] http://davidfrancis.blogspot.com/2008/07/raid-5-write-hole.html [15:38] zfs and btrfs addresses that quite nicely [15:38] but then, btrfs is far from mature [15:39] you're beginning to sound like my brother when he's talking about Windows. :) [15:39] bah [15:39] I use linux on 50ish boxes at work [15:40] but not for storage [15:40] we even use windows for the web servers, since we have a bunch of developers that are in love with .net [15:40] we still use linux on quite a few storage boxes, just the dedicated storage where we can get away with it is zfs [15:40] (linux storage is AFS servers and GPFS servers for instance) [15:42] there just isn't another good checksumming filessystem. [15:42] you mean, 'cept zfs? [15:42] anyway - I was talking about dedicated storage. zfs is quite good there [15:44] I just installed Ubutu server 9.04 and need some help using LVM. I need to resize the root partition and divide it into two separate partitions. Anyone know how to proceed? [15:45] Somehow it took the whole disk, although I stated just to use 40GB of the 160GB [15:45] sebrock: there are a few ways to do that, but the short answer is "backup and reinstall" [15:45] ehrm. [15:45] livecd, shrink the partition and your good to go surely? [15:46] can gparted do that? [15:46] easily? [15:46] New bug: #411045 in openldap (main) "slapd cannot get resinstalled or removed if the configuration files were lost" [Undecided,New] https://launchpad.net/bugs/411045 [15:47] is it possible to shrink a partition (ext3) without data loss? [15:47] I didn't mean partition like that. I meant logical volume [15:47] that bug sounded strange. *looking* [15:47] MMmmmmm, I can see the benefit of LVM but it just messed stuff up for me really [15:49] if I do 'lvs' it says the root partition is 40GB, 'fdisk -l' shows the whole 160GB, now I do understand the difference between the physical and logical partitions. What I need to do is take aprox 50GB of the /dev/sda disk and turn it into a /dev/sda3 [15:50] sebrock: why? [15:51] you ask why I need to partition it? Because its easier to maintain and backup [15:52] I was rather asking why you wouldn't split out the space to another logical volume. [15:52] the other partition I want to use for Apple Time Machine backup [15:52] but that depends on what the other partition would be doing. [15:53] oh. well. no idea what requirements that other thing have. [15:53] basically, I just dont want to backup the Time Machine partition, just the root [15:53] (neither if apple will read LVM or not) [15:54] no I will use AFP protocol do do that, nevermind the connection to the macs [15:54] I just want it to be easy to backup and separate the / from say /var/TIMEMACHINEBACKUP [15:55] Previously I used to backup the whole partition of raw data /dev/sda1 etc. [15:56] This will be to big if I have the time machine files on the same partition, therefore I just want an easy way to separate these. I was thinking doing it with /dev/sda1 and /dev/sda3 or whatever, but if its easier to do with LVM thats fine to [16:01] ok, can I use pvcreate to just add a partition without touching the existing root partition= [16:22] sebrock: have you made time machine work with samba? [16:26] New bug: #411059 in lsb (main) "lsb_release crashed with ImportError in () (dup-of: 383697)" [Undecided,New] https://launchpad.net/bugs/411059 [16:39] right now I am using free nas for home file server, is there a way in ubuntu server to have the hard drives spin down after say 20 min of no use [16:41] I see commands like: hdparm -S 120 /dev/sda but will I have to do that after every reboot? [16:50] android6011: /etc/rc.local :) [16:51] so put the correct hdparam command in /etc/rc.local and I'll be good to go? [17:15] !eggdrop [17:15] Sorry, I don't know anything about eggdrop [17:15] !bmotion [17:15] Sorry, I don't know anything about bmotion [17:15] !megahal [17:15] Sorry, I don't know anything about megahal [17:16] !AI [17:16] Sorry, I don't know anything about AI [17:17] im looking for a somewhat well documented eggdrop ai module ...both of the above have massive problems like missing fact.txt files..and or just dont work entirel y [17:17] something like ubottu [17:22] is there a way to symbolically link /etc/passwd to another location [17:22] when i move it i lose sudo rights [17:22] then i can't write there anymore [17:24] ln -s /etc/passwd /to/your/preferd/location && chown altusr:altusr /the/location/you/saved/the/passwd/file [17:24] *location you liked the passwd file [17:24] not a safe idea tho [17:25] *linked [17:34] drurew: yeah i think I'm going to skip it. too risky.. [17:35] i mean ...if you chowned it to your user ..then anyone who cracked you X or whatever has the -rw permission [17:36] http://www.cyberciti.biz/faq/understanding-etcpasswd-file-format/ [17:39] quizme: what you could do ...is add yourself to the root user in /etc/group meaning user:quizme would theoreticly be able to everything root can [17:39] not theoreticly [17:39] *actually [17:41] check this out :https://code.launchpad.net/ubuntu-bots [17:42] ubottu uses megahal as its AI interface ...yet it knows nothing about megahal [17:42] Error: I am only a bot, please don't think I'm intelligent :) [17:42] LOL [17:42] nice ubottu [17:43] ubottu: !megahal [17:43] Sorry, I don't know anything about megahal [17:49] * drurew `s a noob [18:23] how do you customize text-only mode? (font, size, colors) [18:27] RoyK I don't, I use netatalk/AFP with it [18:35] Hi! I think my ubuntu server got screwed up after a power failure, the power was cut to the computer and it seems I had some bad luck with the file system... [18:36] booting up lands me in the busy box, prior to that it says that it cant mount some of partitions.... lite /sys, /proc and a few more... [18:38] above the mounting errors it says "EXT-3-fs: error loading journal" so it seems like I have had som bad luck! [18:39] Can this be fixed in the busy box? Or do I need to put the HD in another computer, copy what can be saved and reinstall the server all in all? [18:40] NorthByNorthWest: you can run fsck to repair the partition. whether it will be repaired enough to allow booting is another matter. it depends on the extent of the damage. [18:41] PhotoJim: fsck dont seem to be available in the busybox... can i install it in any way? [18:43] NorthByNorthWest: what about fsck.ext3 ? [18:44] NorthByNorthWest: I thought fsck was included in there. if it isn't, you're probably looking at removing the hard disk and attaching it as a secondary drive to a working system for repair. [18:45] PhotoJim: nope, "Help" shows me the build-in commands, but theyre to many to type in here... the only commands that starts with f are "false, fbset, fdflush, fgrep" [18:46] PhotoJim: Seems like I have to do that :( [18:46] PhotoJim: weird that there are no hard drive fixing tool included in busybox... [18:47] NorthByNorthWest: I don't know if I've ever tried to run fsck from there. there are ways of having fsck in that environment, though, so you might want to investigate that on your systems once you get this one fixed. [18:48] PhotoJim: ok! thanks! [18:48] NorthByNorthWest: fixing by removing the drive is annoying but pretty doable. there are inexpensive external USB devices that will connect to almost any type of hard disk. they are indispensible for this sort of task. [18:48] NorthByNorthWest: by "almost any" I mean PATA/SATA, 2.5" or 3.5". not SCSI etc. :) [18:51] PhotoJim: Well lucky me, the drive was fitted in a bay so it was just to open and pull out... my main computer has a similar bay that I can push it into! :) [18:52] NorthByNorthWest: cool. good luck :) [18:55] PhotoJim: oh... I just remembered ont thing... how dumb of me! :P [18:55] PhotoJim: (This is a server I installed to my sisters-in-law's small company, so I dont see it much) [18:56] PhotoJim: The OS is installed in a USB memory stick!!! The harddrives are just for storage! [18:57] PhotoJim: So I hope i can do a fsck on the usb stick as well... [19:22] NorthByNorthWest: Yes. Hopefully you didn't put /var on USB. the heavy write cycles will wear out a flash drive in no time. [19:22] NorthByNorthWest: and you'll want to make sure that your swap space is on a hard disk too. [19:23] PhotoJim: good points, didnt think of that! [19:24] PhotoJim: If I get the system up and running again i should move the /var to the harddrive! [19:24] NorthByNorthWest: for sure. that might be part of your problem. [19:25] PhotoJim: Its strange though... I run "sudo fsck.ext3 -v -y -b 8193 /dev/sde1" and it finds some problems that it supposedly fix... but rerunning the exact same command finds the same errors.... [19:25] PhotoJim: trying to boot the server gives me the same old errors... [19:26] NorthByNorthWest: hmm. you might need to try copying the data to another device. [19:27] NorthByNorthWest: if the flash device is dead, it might not permit writing, which would prevent the errors from getting corrected. [19:28] Coudl I just do a simple copy of them them to another USB drive with the same fs? [19:32] NorthByNorthWest: Probably. You might need to look at the fstab to see if it mounts by device name or by UUID. the UUID will probably change. [19:32] PhotoJim: hmm... the usb drive is a 8Gb dirve but it mounts as a 255 Mb drive... sounds like its dead allready... [19:32] NorthByNorthWest: frequent writes will kill flash quickly, so it's entirely possible. [19:33] PhotoJim: darn it... :P [19:33] NorthByNorthWest: I have to run, but I stay in channel, so keep me posted. [19:34] PhotoJim: Ok... but right now Im leaning towards a reinstall on another USB drive... [19:43] i have ubuntu set up with dhcp3-server, and it assigns the ip's correctly but i cannot ping to the ip that it has just assigned. Any ideas? [19:59] i managed whole lot of servers at three different place, so i have 3 different sets of pub and priv keys. Is there a way that using config file i can define which key file to use when connecting to a specific server? [20:04] ~/.ssh/config [20:04] look into the ssh manual you'll find the right syntax [20:09] so, does anyone have a decent tutorial for setting up phpldapadmin and OpenLDAP in 9.04? [20:09] all the ones I've found are for 8.10 [20:16] do 8.10 mans not work for 9.04 apps? [20:19] !virtualbox [20:19] virtualbox is a x86 !virtualizer. A !free edition is available from the package 'virtualbox-ose'. A non-free edition is available at http://virtualbox.org for most Ubuntu releases (help in #vbox) - Setup details at https://help.ubuntu.com/community/VirtualBox [21:07] my network interface slows down dramatically after a while, specially if I have more than a little traffic. ifdown eth0 && ifup eth0 "fixes" it, but that's not good enough. Any suggestions? [21:32] XiXaQ, is it a virtual server? [21:33] is it possible to write a bash script (including the username and password as text) which automatically logs on to a telnet session? [22:58] hey i run postfix when i do mutt give me error: no such file for /var/mail/root ! i create file root in folder mail give me error : file root not a mailbox ! and i install mailutils trying to do : echo "test" | mail -s "test" root [23:44] hi! [23:44] i am not able to access packages.ubuntu.org [23:44] s/org/com/ [23:48] Yep, it appears to be down.