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