/srv/irclogs.ubuntu.com/2009/03/14/#ubuntu-server.txt

=== vorian is now known as MadMule
=== MadMule is now known as vorian
docta_vhow can i tell if a gpg secret key is encrypted or not?00:20
JanCsee if you can use it without passphrase?00:24
docta_vyeah i actually just thought of that00:25
docta_vthanks00:25
docta_vheh00:25
=== vorian is now known as evil[v]
=== evil[v] is now known as evilv
=== evilv is now known as vorian
photonhow 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
ScottKphoton: grep [your string] *03:17
photonScottK, thanks03:19
ScottKphoton: That'll give you a pretty verbose output.  You can man grep for more knobs to turn to refine it.03:20
giovani2we all love the grep knobs03:21
ScottKI like piping through a series of greps to get what I want.03:22
DavidCrafthow do I set up an LVM encrypted system with a separate unencrypted boot partition?03:28
giovani2DavidCraft: your /boot partition should not be LVM03:50
giovani2you can do this all during install time03:50
giovani2just create a normal boot partition, then create the LVM PVs with the left over space03:50
giovani2and put your logical volumes in there03:51
twbIt 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
giovani2grub doesn't support multiple VGs yet does it?04:14
giovani2guess I could just try it in a virtual machine04:16
twbgiovani2: sorry, I don't know.04:57
twbgiovani2: IME most of the problem is install-grub, not in grub itself.04:57
twbi.e. auto-detecting what modules to include in the MBR04:57
uvirtbotNew bug: #342580 in samba (main) "smbcontrol reports Segmentation fault" [Undecided,Fix released] https://launchpad.net/bugs/34258008:15
uvirtbotNew bug: #298680 in samba (main) "samba restart broken in intrepid" [Undecided,Incomplete] https://launchpad.net/bugs/29868008:36
psteynSilly 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
cemcpsteyn: try file <binary_file>08:49
psteyn./usr/bin/gcc-4.2: ELF 64-bit LSB executable, x86-64,08:51
psteyncool :]08:51
psteynthanks08:51
psteynthe 64bit default ubuntu server install will detect more than 2gb of ram right?08:51
Jeeves_yes08:55
psteynthanks..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 ~2gb08:57
psteyngonna reinstall with a fresh 64bit latest install (sure I could fix the problem otherwise, but id rather just try this)08:58
psteynbut for interest sake, what else can I look at?  to debug this?08:58
psteyncurrent installed kernel: 2.6.24-23-server #1 SMP Mon Jan 26 01:36:05 UTC 2009 x86_64 GNU/Linux08:59
Deepsthe 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
psteynso 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
Deepsas for where it's going wrong, i'd suggest running memcheck when booting from the cd09:01
Deepsand seeing what that reports09:01
Deepsmemtest even09:01
psteynOk, good idea, thanks09:01
Deepsas yeah, it sounds like you may have some faulty ram09:01
psteynyeah...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/m27b65e7c09:18
DeepsBulleT--: line21 is the key09:44
DeepsEBox.pm seems to be missing from the paths listed, which is where perl normally looks for inclusions09:44
BulleT--I installed ebox.. but it's not running.09:44
Deepsdomas: do it! :D09:44
BulleT--I mean... it's runing on the server... but in my browser it doesen't.09:45
Deepsi have no idea what what you just said means09:46
Deepsbut that error is being generated by a cronjob on the machine running ebox09:46
Deeps#09:46
Deeps/etc/cron.hourly/99purgeEBoxLogs09:46
Deepsthat cronjob09:46
Deepslines 24+25 related to another different cronjob that's also failing09:47
BulleT--I resolved that issue.09:47
BulleT--I have another one...09:48
* Deeps engages mind reading powers09: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
Deepscheck apache logs09:50
Deeps/var/log/apache/access.log and /var/log/apache/error.log09:50
Deepsand possibly others to09:50
Deepso09:50
Deepsmight be apache2 instead of apache in that path09:50
BulleT--Oh my god.09:51
BulleT--http:////pastebin.com/f6d3adc0309:51
BulleT--Sorry09:51
BulleT--http://pastebin.com/f6d3adc0309:51
Deepsmost relevant line there appears to be 1609:52
Deepswith the 40409:52
BulleT--http://pastebin.com/f689ae909:52
Deepsagain, only relevant line there appers to be the last one too09:52
Deepslogs are time + date stamped09:52
Deepsstuff from friday isn't particularl relevant if you're encountering the error right now ;)09:53
Deepsgood 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 ebox09:53
Deepsyou'll see the hits in both immediately, and see what error is occuring, if any09:54
Deepsand can then try to debug09:54
Deepsby looks of things, you've got an alias for /eBox pointing to data in /var/www/hub/vhcp/ebox09:54
Deepsbut there's nothing there09:55
BulleT--Nothing it's happening.09:55
domashehehee, my 'iostat' manual is already #5 on google for 'iostat'09:55
domasgot there in few hours09:55
Deepsfuse4bsd.creo.hu?09:56
Deepsi lie, there's not an alias for /eBox since /eBox 404'd09:57
Deepsand the error was generated 20mins later09:57
Deepsgl, bbl09:58
psteynI 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
psteynwould do a mysqldump but dont have a spare drive / spare space..10:33
mrwesMy server has 2 processes running and like 59 sleeping -- why does it say almost all of my 2gb of RAM is used?10:35
domaspsteyn: you can use existing directory, if  you don't wipe it out accidently10:35
mrwesMem:   1945428k total,  1915644k used,    29784k free,    72272k buffers10:35
mrwesSwap:   975232k total,      188k used,   975044k free,  1764352k cached10:35
domasmrwes: see "cached"10:35
psteyndomas: 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
psteynthat shouldnt wipe out right?10:36
mrwesdomas, 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
lexhy..10:56
lexhi10:56
lexi need heelp please10:56
nivansonhi, 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 ip11:47
nivansoncan anybody help me out?11:47
simplexionivanson: same thing,execpt you put iface br0 inet dhcp11:48
nivansonok i will try thanks!11:48
nivansonshould my network/interfaces have the eth0 lines?11:48
simplexionivanson: wait  a sec, i cehck my interfaces11:49
simplexionivanson: i have , auto eth0 , auto eth1, auto br0, and then i have "iface br0 inet static"11:50
nivansonis your bridge a bridge between eth0 and eth1?11:52
simplexionivanson: yeah.11:53
nivansonsimplexio: i think i got it working now, thanks alot :)11:53
dazmanHi. Anyone running Ubuntu-Server in ESXi?12:02
=== asac_ is now known as asac
=== twb` is now known as twb
lexhola13:26
lexhi13:31
nivansoni am getting really really bad performance on my virtual server (kvm)... how can i see if the virtual server is hardware accelerated?13:48
nivansonusing kvm as in the docs13:48
Nafallo egrep '(vmx|svm)' /proc/cpuinfo13:48
nivansonyes i have support but can the server be set to not be hardware accelerated somehow? i think i might have missed some configuration somewhere13:52
nivansonbecouse the performance is really lousy... especially on read write13:53
simplexionivanson: how much top shows  %wait ?13:55
nivanson0.213:58
simplexiowell then best quess its that kvm is just slow13:59
nivansonit seems to only get really slow when there is read/write involved13:59
nivansoncpu load is low13:59
giovani2cpu load will be high when the i/o is being maxed out, unless you're at the max of your i/o bandwidth -- not likely13:59
simplexioim 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 slow14:00
simplexiolike vmware was, then i changed to vbox and install time on VS2005 went from 10H to 30min14:00
nivansonyou see, i am doing an rsync to the virtual machine from a third machine, while doing this it gets extremely slow14:00
simplexiorsync is slow14:01
nivansoni guess i will have to see what happens when the real load (webserver) starts then14:02
nivansonthanks!14:02
simplexioi got only 20M over 1G ethernet when i synced data dires over nfs mount, just plain cp hit 40M per second14:02
nivansonthe 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 now14:03
nivansoni stop the rsync and it gets fast14:03
nivansonstill i cannot see the load on top... it shows almost idle14:03
* Nafallo usually gets ~13MB/s on his guests14:04
nivansonhow can i benchmark i/o like you did nafallo?14:04
Nafallonivanson: wget? ;-)14:04
simplexioi didnt know hat kvm is that slow..14:04
nivansonhehe true true14:05
Nafallosimplexio: it isn't :-)14:05
simplexionivanson: bonnie++ if ists linux14:05
nivansonsimplexio: i think i might have an error in my config somewhere cuz this is rediculous14:05
nivansonsimplexio: ok thx14:05
simplexioactually im intrested difference between native vs kvm speed14:06
simplexionivanson: so if you test it, feel free to paste result to me14:06
lexfail2ban14:10
nivansonresults: http://pastebin.com/m6e89ca8114:19
nivanson(host machine and virtual machine)14:19
nivansoni did a small test just for measure14:19
nivansonresults tell me i have good i/o even on virtual machine, maybe problem was in my network14:20
simplexioyeah.. some problem in bridge configuration or something14:21
nivansonsimplexio: it seems like that, i think i go by some internet route even though my pcs are in the same network14:22
nivansonmaking my ssh (that SHOULD be quick) very slow14:22
simplexionivanson: you could ry play with mtu and txqueuelen14:23
gabrieltomatePlease, my VINO dont work. Anybody know how i have to do?14:23
simplexionivanson: http://ubuntuforums.org/showthread.php?t=74437814:25
nivansonsimplexio: thanks!14:27
simplexionivanson: it seems that 10M nic is default for guests. or attleast has been14:27
nivansonyeah, but that is fine becouse im on a slower connection anyway14:27
nivanson3mbit/s upstreams :S14:28
simplexio:)14:29
nivansonand 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 here14:30
simplexionivanson: well traceroute should tell you that14:30
nivansoni am reading up on traceroute atm, i just dont know how to use it14:31
simplexiotraceroute targetip, and if it shopw more than two lines data goes wrong way14:31
nivansonoh that was easy xD14:32
nivanson17 steps :)14:32
nivansonhahahaha this suxx14:32
simplexio:) yeah.. you configured route wrong14:32
nivansonyeah14:33
nivansontraceroute to the ip holding the servers is only 1 ste14:33
nivansonp14:33
simplexioroute add guestIp br0 could help if i recall syntax right14:33
nivansonso i will have to take a look at my bridge hehe14:33
nivansonon my server holding the virtual machines?14:34
simplexioyes14:34
simplexioactually you should see only one step on host to guest and back14:36
nivansonyeah14:36
nivansoni lost my password to the host lol14:39
simplexio:D14:39
nivansoni ran a passwd earlier cancelling it by pressing ctrl+d and it said password successfully updated14:39
nivansonhaha14:39
nivansoni have terminal access to it since i can ssh with my key but i cannot change my password... this is for shit :S14:40
simplexiothats reason why i first configure root passwd.. and make another username with sudo permission14:43
nivansonxD14:47
nivansonanyway14:47
nivansoni reset my root password now using rescue cp so np14:47
nivansonok 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
nivansonwhat the hell, i will restart my pc14:53
nivansonthanks alot for your help simplexio :)14:53
nivansonhug14:53
nivansoni 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
nivansonrsync -avh -e ssh my.backup my_user@85.****.***.**:/folder14:58
nivansoncould it be that it somehow cached the route somewhere :/14:58
simplexioi think that 10M nic is slowing things now..15:02
nivansonsimplexio: true!15:03
nivansonit should be that15:03
nivansonyeah it is, my network is quick again!15:04
nivansonthis is lovely :)15:04
simplexioprobably alot faster now :)15:05
nivanson1000x15:05
nivansonxD15:05
ylonany developers around?17:07
trym_workI 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_workI 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
_rubenno need to treat an iscsi volume other than a physical disk really20:12
_rubens/other/different/20:13
trym_work_ruben: Ive never formatted an entire disk without paritioning it20:42
trym_workbut I take it that works then?20:43
trym_workanyone?21:14
cemctrym_work: should work without partitions too21:26
trym_workthanks :)21:41
trym_workany idea when it comes to blocksize?21:41
sparky_hello?23:21
giovani2read the title23:24
giovani2topic*23:24
giovani2just ask if you have a question23: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
giovani2this channel doesn't support guis on servers23:27
giovani2they're not going to help you administer a server23:28
giovani2but, if you want one -- you can install one23:28
sparky_well is there a web interface that could help me instead of a desktop gui?23:30
giovani2there are many ... I doubt anyone here uses them, you should really learn to use the console interface23:30
giovani2there are some good books on getting started, I'd recommend some if you're interested23:31
twbThe package gnome-system-tools provides a handful of GUIs for basic things, such as adding and removing users.23:32
twbThese GUI apps can be use ssh -X, so that X need not be installed.23:32
twbThese GUI apps can be use ssh -X, so that X need not be installed (on the server).23:33
twbThere 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 me23:34
twbsparky_: RUTE is an excellent, if dated, introduction to general Linux system administration.23:34
twb(It is also downloadable gratis.)23:34
twbFor paid-for dead-tree books, I have a general preference for anything published by ORA (O'Reilly).23:35
giovani2http://www.apress.com/book/view/978143021082523:35
twbApress is my second choice :-)23:36
giovani2I've read this book, it's pretty decent, and offers some good ubuntu-specific info23:36
JanCapress has some good books too23:36
giovani2and it's up-to-date23:36
giovani2to 8.04 LTS23:36
giovani2so covers upstart, etc23:36
twbsparky_: 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
twbgiovani2: sounds good.23:36
JanCthere are several free "books" for the console though23:37
giovani2some minor spelling/grammar issues, but minimal technical errors23:37
hads!ebox23:37
ubottuebox 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/eBox23:37
sommer 23:37
twbI don't like Apress' use of ragged right and humanist fonts, though :-)23:38
sparky_JanC, where are these free "books" ?23:39
JanChttp://tille.garrels.be/training/ has some books too (maybe not always 100% correct(?), but good enough for many)23:39
JanCand there are the IBM redbooks23:39
JanCand some of these books: http://www.informit.com/promotions/promotion.aspx?promo=135563 are downloadable for free too23:46

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