=== vorian is now known as MadMule === MadMule is now known as vorian [00:20] how can i tell if a gpg secret key is encrypted or not? [00:24] see if you can use it without passphrase? [00:25] yeah i actually just thought of that [00:25] thanks [00:25] heh === vorian is now known as evil[v] === evil[v] is now known as evilv === evilv is now known as vorian [03:11] how can I search a whole directory and each file in it for a text string and find out which files have that string in them? [03:17] photon: grep [your string] * [03:19] ScottK, thanks [03:20] photon: That'll give you a pretty verbose output. You can man grep for more knobs to turn to refine it. [03:21] we all love the grep knobs [03:22] I like piping through a series of greps to get what I want. [03:28] how do I set up an LVM encrypted system with a separate unencrypted boot partition? [03:50] DavidCraft: your /boot partition should not be LVM [03:50] you can do this all during install time [03:50] just create a normal boot partition, then create the LVM PVs with the left over space [03:51] and put your logical volumes in there [04:12] It doesn't hurt to put /boot in LVM, though currently grub can't have /boot be both md RAID1'd and in LVM at the same time. [04:14] grub doesn't support multiple VGs yet does it? [04:16] guess I could just try it in a virtual machine [04:57] giovani2: sorry, I don't know. [04:57] giovani2: IME most of the problem is install-grub, not in grub itself. [04:57] i.e. auto-detecting what modules to include in the MBR [08:15] New bug: #342580 in samba (main) "smbcontrol reports Segmentation fault" [Undecided,Fix released] https://launchpad.net/bugs/342580 [08:36] New bug: #298680 in samba (main) "samba restart broken in intrepid" [Undecided,Incomplete] https://launchpad.net/bugs/298680 [08:44] Silly question, how can I tell if a distro IS 64bit currently or not? something like ldd on a file that tells me its 64bit compiled? [08:49] psteyn: try file [08:51] ./usr/bin/gcc-4.2: ELF 64-bit LSB executable, x86-64, [08:51] cool :] [08:51] thanks [08:51] the 64bit default ubuntu server install will detect more than 2gb of ram right? [08:55] yes [08:57] thanks..think something is wrong on this 64bit install then...initially installed as 64bit dapper drake...bios picks up 4gb ram, but only see ~2gb in linux. so upgraded to latest, and still only see ~2gb [08:58] gonna reinstall with a fresh 64bit latest install (sure I could fix the problem otherwise, but id rather just try this) [08:58] but for interest sake, what else can I look at? to debug this? [08:59] current installed kernel: 2.6.24-23-server #1 SMP Mon Jan 26 01:36:05 UTC 2009 x86_64 GNU/Linux [09:00] the default ubuntu server 32bit will detect more than 4gb of ram too, PAE extentions are enabled by default (in hardy, at least, i dont think that's changed in intrepid) [09:00] so if after I reinstall and I still only see 2gb ram the memory might be faulty even though the bios does report (soz, its 8gb..not 4) [09:01] as for where it's going wrong, i'd suggest running memcheck when booting from the cd [09:01] and seeing what that reports [09:01] memtest even [09:01] Ok, good idea, thanks [09:01] as yeah, it sounds like you may have some faulty ram [09:05] yeah... [09:12] * domas thinks, why this tool doesn't have ubuntu package yet: https://savannah.nongnu.org/projects/parallel/ ;-) [09:18] Can somebody please tell me what is this mail error about ebox? http://pastebin.com/m27b65e7c [09:44] BulleT--: line21 is the key [09:44] EBox.pm seems to be missing from the paths listed, which is where perl normally looks for inclusions [09:44] I installed ebox.. but it's not running. [09:44] domas: do it! :D [09:45] I mean... it's runing on the server... but in my browser it doesen't. [09:46] i have no idea what what you just said means [09:46] but that error is being generated by a cronjob on the machine running ebox [09:46] # [09:46] /etc/cron.hourly/99purgeEBoxLogs [09:46] that cronjob [09:47] lines 24+25 related to another different cronjob that's also failing [09:47] I resolved that issue. [09:48] I have another one... [09:49] * Deeps engages mind reading powers [09:49] :)) [09:50] I have ubuntu server 8.10 and somehow i managed to install ebox. It's running right now, on the server. But if I type in my browsers address bar https://myIP/ebox it's doesen't work. [09:50] check apache logs [09:50] /var/log/apache/access.log and /var/log/apache/error.log [09:50] and possibly others to [09:50] o [09:50] might be apache2 instead of apache in that path [09:51] Oh my god. [09:51] http:////pastebin.com/f6d3adc03 [09:51] Sorry [09:51] http://pastebin.com/f6d3adc03 [09:52] most relevant line there appears to be 16 [09:52] with the 404 [09:52] http://pastebin.com/f689ae9 [09:52] again, only relevant line there appers to be the last one too [09:52] logs are time + date stamped [09:53] stuff from friday isn't particularl relevant if you're encountering the error right now ;) [09:53] good way to see exactly what's occuring, is to open 2 terminals, one with tail -f access.log, one with tail -f error.log, hit enter a few times on both to clear some space, and then try to access ebox [09:54] you'll see the hits in both immediately, and see what error is occuring, if any [09:54] and can then try to debug [09:54] by looks of things, you've got an alias for /eBox pointing to data in /var/www/hub/vhcp/ebox [09:55] but there's nothing there [09:55] Nothing it's happening. [09:55] hehehee, my 'iostat' manual is already #5 on google for 'iostat' [09:55] got there in few hours [09:56] fuse4bsd.creo.hu? [09:57] i lie, there's not an alias for /eBox since /eBox 404'd [09:57] and the error was generated 20mins later [09:58] gl, bbl [10:33] I have my /var on a separate drive, and want to do a reinstall...do I still _need_ to do mysqldump or can I just point the new install's mysql to use /var/ ? itl be the same mysql version etc... [10:33] would do a mysqldump but dont have a spare drive / spare space.. [10:35] My server has 2 processes running and like 59 sleeping -- why does it say almost all of my 2gb of RAM is used? [10:35] psteyn: you can use existing directory, if you don't wipe it out accidently [10:35] Mem: 1945428k total, 1915644k used, 29784k free, 72272k buffers [10:35] Swap: 975232k total, 188k used, 975044k free, 1764352k cached [10:35] mrwes: see "cached" [10:36] domas: ok, yeah I won't mount the mysql drive (/var) until I've got the new install up and running, then ill just mount it and change mysql to use that? [10:36] that shouldnt wipe out right? [10:38] domas, so the caches memory is reserved for those sleeping processes, so it can write the data from the cache instead of the disk? [10:56] hy.. [10:56] hi [10:56] i need heelp please [11:47] hi, i need to set up a bridge on my server so i can have my virtual machines reachable outside the server. however, the bridging docs (http://doc.ubuntu.com/ubuntu/serverguide/C/network-configuration.html#bridging) is using static ip and my isp has dynamic ip [11:47] can anybody help me out? [11:48] nivanson: same thing,execpt you put iface br0 inet dhcp [11:48] ok i will try thanks! [11:48] should my network/interfaces have the eth0 lines? [11:49] nivanson: wait a sec, i cehck my interfaces [11:50] nivanson: i have , auto eth0 , auto eth1, auto br0, and then i have "iface br0 inet static" [11:52] is your bridge a bridge between eth0 and eth1? [11:53] nivanson: yeah. [11:53] simplexio: i think i got it working now, thanks alot :) [12:02] Hi. Anyone running Ubuntu-Server in ESXi? === asac_ is now known as asac === twb` is now known as twb [13:26] hola [13:31] hi [13:48] i am getting really really bad performance on my virtual server (kvm)... how can i see if the virtual server is hardware accelerated? [13:48] using kvm as in the docs [13:48] egrep '(vmx|svm)' /proc/cpuinfo [13:52] yes i have support but can the server be set to not be hardware accelerated somehow? i think i might have missed some configuration somewhere [13:53] becouse the performance is really lousy... especially on read write [13:55] nivanson: how much top shows %wait ? [13:58] 0.2 [13:59] well then best quess its that kvm is just slow [13:59] it seems to only get really slow when there is read/write involved [13:59] cpu load is low [13:59] cpu load will be high when the i/o is being maxed out, unless you're at the max of your i/o bandwidth -- not likely [14:00] im mean if there is big rw going on and %wa is huge, there is too much io traffic to hd, but if not then it is just slow [14:00] like vmware was, then i changed to vbox and install time on VS2005 went from 10H to 30min [14:00] you see, i am doing an rsync to the virtual machine from a third machine, while doing this it gets extremely slow [14:01] rsync is slow [14:02] i guess i will have to see what happens when the real load (webserver) starts then [14:02] thanks! [14:02] i got only 20M over 1G ethernet when i synced data dires over nfs mount, just plain cp hit 40M per second [14:03] the pc sending the data to the virtual machine with rsync is on wireless, so i could not possibly max out the i/o but still even locally on the server (as i have keyboard and a screen connected) commands are slow now [14:03] i stop the rsync and it gets fast [14:03] still i cannot see the load on top... it shows almost idle [14:04] * Nafallo usually gets ~13MB/s on his guests [14:04] how can i benchmark i/o like you did nafallo? [14:04] nivanson: wget? ;-) [14:04] i didnt know hat kvm is that slow.. [14:05] hehe true true [14:05] simplexio: it isn't :-) [14:05] nivanson: bonnie++ if ists linux [14:05] simplexio: i think i might have an error in my config somewhere cuz this is rediculous [14:05] simplexio: ok thx [14:06] actually im intrested difference between native vs kvm speed [14:06] nivanson: so if you test it, feel free to paste result to me [14:10] fail2ban [14:19] results: http://pastebin.com/m6e89ca81 [14:19] (host machine and virtual machine) [14:19] i did a small test just for measure [14:20] results tell me i have good i/o even on virtual machine, maybe problem was in my network [14:21] yeah.. some problem in bridge configuration or something [14:22] simplexio: it seems like that, i think i go by some internet route even though my pcs are in the same network [14:22] making my ssh (that SHOULD be quick) very slow [14:23] nivanson: you could ry play with mtu and txqueuelen [14:23] Please, my VINO dont work. Anybody know how i have to do? [14:25] nivanson: http://ubuntuforums.org/showthread.php?t=744378 [14:27] simplexio: thanks! [14:27] nivanson: it seems that 10M nic is default for guests. or attleast has been [14:27] yeah, but that is fine becouse im on a slower connection anyway [14:28] 3mbit/s upstreams :S [14:29] :) [14:30] and since my complete internet connection gets really 100% upstream loaded when i do the rsync between my laptop and my virtual server it means that it just doesnt take the shortest route here [14:30] nivanson: well traceroute should tell you that [14:31] i am reading up on traceroute atm, i just dont know how to use it [14:31] traceroute targetip, and if it shopw more than two lines data goes wrong way [14:32] oh that was easy xD [14:32] 17 steps :) [14:32] hahahaha this suxx [14:32] :) yeah.. you configured route wrong [14:33] yeah [14:33] traceroute to the ip holding the servers is only 1 ste [14:33] p [14:33] route add guestIp br0 could help if i recall syntax right [14:33] so i will have to take a look at my bridge hehe [14:34] on my server holding the virtual machines? [14:34] yes [14:36] actually you should see only one step on host to guest and back [14:36] yeah [14:39] i lost my password to the host lol [14:39] :D [14:39] i ran a passwd earlier cancelling it by pressing ctrl+d and it said password successfully updated [14:39] haha [14:40] i have terminal access to it since i can ssh with my key but i cannot change my password... this is for shit :S [14:43] thats reason why i first configure root passwd.. and make another username with sudo permission [14:47] xD [14:47] anyway [14:47] i reset my root password now using rescue cp so np [14:51] ok that route command you gave me fixed my problem with traceroute, however my rsync command is still slow, can i flush my dns? [14:53] what the hell, i will restart my pc [14:53] thanks alot for your help simplexio :) [14:53] hug [14:58] i rebooted my laptop, from it i can traceroute my virtual servers ip and get 1 route. its great! but somehow when doing my rsync it still routes through the other way... [14:58] rsync -avh -e ssh my.backup my_user@85.****.***.**:/folder [14:58] could it be that it somehow cached the route somewhere :/ [15:02] i think that 10M nic is slowing things now.. [15:03] simplexio: true! [15:03] it should be that [15:04] yeah it is, my network is quick again! [15:04] this is lovely :) [15:05] probably alot faster now :) [15:05] 1000x [15:05] xD [17:07] any developers around? [20:02] I have a raid setup with a blocksize of 64k. When I format it to ocfs2, should I use the same block size? [20:04] I have a big hw raid logical device. I created a lvm lv and made it an iscsi target. Do I need to partition this block device, or could I format it directly? [20:12] <_ruben> no need to treat an iscsi volume other than a physical disk really [20:13] <_ruben> s/other/different/ [20:42] _ruben: Ive never formatted an entire disk without paritioning it [20:43] but I take it that works then? [21:14] anyone? [21:26] trym_work: should work without partitions too [21:41] thanks :) [21:41] any idea when it comes to blocksize? [23:21] hello? [23:24] read the title [23:24] topic* [23:24] just ask if you have a question [23:27] Ok, i'm a noob to irc and ubuntu. Anyways i'm setting up a home NAS with Ubuntu server 8.04.2 and was looking for a way to install a desktop gui.. but i want one that didn't have much to it just something plain. does anyone have any suggestions on which on to use? [23:27] this channel doesn't support guis on servers [23:28] they're not going to help you administer a server [23:28] but, if you want one -- you can install one [23:30] well is there a web interface that could help me instead of a desktop gui? [23:30] there are many ... I doubt anyone here uses them, you should really learn to use the console interface [23:31] there are some good books on getting started, I'd recommend some if you're interested [23:32] The package gnome-system-tools provides a handful of GUIs for basic things, such as adding and removing users. [23:32] These GUI apps can be use ssh -X, so that X need not be installed. [23:33] These GUI apps can be use ssh -X, so that X need not be installed (on the server). [23:34] There are also packages like webmin, which try to do the same thing in a browser. In my experience, they all really, *really* suck, and will quietly destroy your entire system. [23:34] what are some of the books that would help me with the console. I would like to learn that more anyways but don't have anyone to teach me [23:34] sparky_: RUTE is an excellent, if dated, introduction to general Linux system administration. [23:34] (It is also downloadable gratis.) [23:35] For paid-for dead-tree books, I have a general preference for anything published by ORA (O'Reilly). [23:35] http://www.apress.com/book/view/9781430210825 [23:36] Apress is my second choice :-) [23:36] I've read this book, it's pretty decent, and offers some good ubuntu-specific info [23:36] apress has some good books too [23:36] and it's up-to-date [23:36] to 8.04 LTS [23:36] so covers upstart, etc [23:36] sparky_: as for getting people to teach you, I strongly suggest you get in touch with your local Linux User Group. They often have monthly meetings and such. [23:36] giovani2: sounds good. [23:37] there are several free "books" for the console though [23:37] some minor spelling/grammar issues, but minimal technical errors [23:37] !ebox [23:37] ebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox [23:37] [23:38] I don't like Apress' use of ragged right and humanist fonts, though :-) [23:39] JanC, where are these free "books" ? [23:39] http://tille.garrels.be/training/ has some books too (maybe not always 100% correct(?), but good enough for many) [23:39] and there are the IBM redbooks [23:46] and some of these books: http://www.informit.com/promotions/promotion.aspx?promo=135563 are downloadable for free too