/srv/irclogs.ubuntu.com/2010/06/07/#ubuntu-server.txt

diagomdadm is screwed from an install...00:21
t3chkommiehey guys, i need some help with the system email my server trys to email out.01:14
t3chkommiewhen i log in the server tells me i have new emails, but i have no diea how to see these, or forward them to my email account on my imap server01:15
shanezillaanyone use SSH server02:07
shanezillaCLEAR -all02:25
shanezillasoory all new to irssi02:26
shanezillasorry that is : )02:26
lukehasnoname`I wonder if Microsoft has an internal IRC server03:19
=== wieshka_ is now known as wieshka
shanezillawindows dose not supply an installed IRC client03:36
shanezillaor an IRC server03:37
myk_No, it doesn't.03:38
lukehasnoname`they just use messenger and outlook, I suppose03:41
myk_What do i need to do to have an unattended setup/installation? Is there a special instal media, or a boot argument?03:44
ccheneymy wife is now predicting she will be at the hospital within 24hr, heh04:20
unewbie1ccheney: why is that?04:28
lukehasnoname`I'm assuming baby, given the chuckle at the end04:30
uvirtbotNew bug: #590600 in libcommons-jxpath-java (main) "Please merge libcommons-jxpath-java  (1.3-3) from Debian unstable" [Undecided,New] https://launchpad.net/bugs/59060004:31
ccheneyunewbie1, baby was due on last friday but the doctor wasn't sure when it would actually come04:34
shanezilladisconnect04:34
ccheneythe doctor thought it wouldn't come until induction which was scheduled for june 1704:34
MTecknologyccheney: gettin' close then?04:53
MTecknologyccheney: I wish you the best of luck on a happy healthy baby04:53
ccheneyMTecknology, yea any day now :)04:55
MTecknologyccheney: congrats - you an ubuntu member? - if so - make sure to put that on the planet04:56
ccheneyMTecknology, yea ubuntu core dev04:56
MTecknologyccheney: heh... i shoulda known that actually :P04:56
ccheneyheh :)04:57
MTecknologynot like i haven't read email from you04:57
MTecknologyyou should grab the hostmask though - then I can know for sure jsut from a whois :P04:58
ccheneyMTecknology, yea i have one for my old nick, need to get an updated one04:58
unewbie1ccheney: is it a boy or girl?04:59
ccheneyboy05:00
unewbie1how do you know if he is not born yet? :D05:01
ccheneyultrasound :)05:01
unewbie1yeah05:01
unewbie1i didn't know until my son was born05:02
unewbie1i don't trust usg05:02
unewbie1i try kvm on ubuntu 10.04 but it's keep complaining for error pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin"05:04
unewbie1Could not initialize SDL - exiting05:04
unewbie1it's my first virtualization :D05:04
unewbie1and not work05:04
MTecknologyunewbie1: odd..05:05
MTecknologyunewbie1: do virsh list --all05:05
MTecknologyunewbie1: do you see anything listed and if so, pastebin what you see05:06
unewbie1no05:07
unewbie1i try to create my first guest os05:07
MTecknologypastebin the command you use and output05:07
unewbie1http://pastebin.com/fQuh2C1K05:09
MTecknology!kvm05:10
ubottukvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM05:10
MTecknologyunewbie1: check out this page - https://help.ubuntu.com/community/KVM/CreateGuests05:10
unewbie1ok05:10
MTecknologyunewbie1: personally - the kvm command is kind of a pain and i only use it if i'm not making an ubuntu guest05:10
unewbie1actually i dont understand virtualisation. i installed 10.04 yesterday and put a 400GB LVM partition. should i do this? :)05:14
unewbie1this partition created for the guests os05:15
MTecknologydepends what you want to achieve :P05:15
MTecknologydon't make a partition for just one guest05:15
unewbie1i made that 1 partition for 3 os05:16
unewbie1is that ok?05:16
MTecknologyya05:16
MTecknologyI have a partition that's nearly 1TB on LVM for all guests at /virt05:16
unewbie1the partition was data and i create virt folder inside05:18
unewbie1is that ok?05:18
MTecknologydepends if that's what you want05:19
MTecknologyif that's what you want - then it's ok05:19
unewbie1i don't know what i want :D05:19
unewbie1i'm new05:19
MTecknologyyou want to play with virtualization - you know that much05:20
unewbie1i only want ubuntu servers in my machine05:20
MTecknologydoing that mkes life much easier05:20
unewbie1i have few servers with no virtualisation so i wanna try05:21
MTecknologyit's fun once you get the hang of it05:21
MTecknologylibvirt is an interesting beast - your entire config is xml too05:21
unewbie1can i have web interface also? :D05:22
MTecknologyYou can.. but imo - you're much better off not doing that05:23
unewbie1why? isn't that easier?05:23
MTecknologyMy personal opinion is that you get a lot further learning to do things on cli - you're much more efficient most of the time if you can do something on cli as opposed to gui05:24
MTecknologyin the case of libvirt - if you want gui I'd say get virt-manager05:24
unewbie1can i create my guest with libvirt too?05:26
MTecknologyya05:26
MTecknologyjust need to setup your storage pools correctly05:27
unewbie1how to setup the size? here https://help.ubuntu.com/10.04/serverguide/C/libvirt.html#libvirt-virt-install, i see: -s 405:28
unewbie1what's that mean?05:28
unewbie14 GB?05:28
MTecknologyyup05:29
unewbie1i made the file with dd command earlier for 100 GB. should i put -s 100?05:30
MTecknologyya05:30
MTecknologywait05:30
MTecknologyyou want to use an existing system?05:31
MTecknology-s will be part of making a new disk05:31
unewbie1i want to use the existing05:31
MTecknologyI haven't don that ever - it's easily possible but I probably can't help you short of google05:32
unewbie1then create new disk is fine05:33
unewbie1Starting install...05:35
unewbie1Creating storage file bar 100% |=========================| 100 GB    00:0005:35
unewbie1Creating domain...                                                 0 B 00:0005:35
unewbie1Domain installation still in progress. You can reconnect to05:35
unewbie1the console to complete the installation process.05:35
MTecknology!pastebin05:35
ubottuFor posting multi-line texts into the channel, please use 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.05:35
unewbie1what is that mean?05:35
unewbie1sorry :D05:36
MTecknologyya know what i'd do.....05:36
unewbie1http://paste.ubuntu.com/445899/05:36
MTecknologymake a vm that has a single 4GB disk - then swap that disk with the one you made - then you have everything else setup05:37
unewbie1where is the guest?05:37
unewbie1dont understand05:37
MTecknologyit's in files05:37
MTecknologyvirsh list --all05:38
MTecknologydo you see anything there yet?05:38
unewbie1Id Name                 State05:38
unewbie1----------------------------------05:38
unewbie1  1 barracuda            running05:38
MTecknologyyour vm is running05:38
unewbie1and what to do then?05:39
MTecknologyssh into it05:39
unewbie1ssh? i don't even installed the os yet?05:39
unewbie1what is the ip then?05:39
MTecknologyfrom your system you can do virt-viewer -c qemu+ssh://192.168.1.4/system barracuda     where 192.168.1.4 is the host ip - not the vm05:40
unewbie1how do you know my ip? :)05:41
MTecknologycall it a good guess05:42
unewbie1i'll try05:42
unewbie1virt-viewer is not installed yet05:43
unewbie150MB to download05:44
unewbie1http://paste.ubuntu.com/445903/05:45
unewbie1error05:46
MTecknologyyou caught the part where you run this on your system, right?05:47
unewbie1dont understand05:48
MTecknologyyour system = what you're typing on now05:49
unewbie1yes05:49
unewbie1the host05:50
MTecknologyno05:50
unewbie1o05:50
MTecknologyuse another system with X05:50
unewbie1another ubuntu?05:51
MTecknologyyes05:51
unewbie1i dont have any ubuntu desktop05:51
MTecknologydid you use virt-install to make the vm?05:53
unewbie1yes05:53
MTecknologyyou're going to need to recreate the vm and build it with --add-pkg openssh-server05:54
unewbie1http://paste.ubuntu.com/445915/ that's how i create the vm05:55
MTecknologyya.. you need a desktop system in order to complete that install05:57
unewbie1i dont have desktop05:57
unewbie1any alternative?05:57
unewbie1how to recreate to vm?05:58
MTecknologyvirsh destroy barracuda && virsh undefine barracuda05:58
MTecknologylemme give you a magical command05:59
unewbie1Domain barracuda destroyed05:59
unewbie1Domain barracuda has been undefined05:59
MTecknology!enter05:59
ubottuPlease try to keep your questions/responses on one line - don't use the "Enter" key as punctuation!05:59
MTecknologyHow much ram do you wantto give it?06:00
=== jldugger is now known as pwnguin
unewbie11 GB06:00
MTecknologyhow much swap?06:01
unewbie1dont understand06:01
MTecknology!swap06:01
ubottuswap is used to move unused programs and data out of main memory to make your system faster. It can also be used as extra memory if you don't have enough. See https://help.ubuntu.com/community/SwapFaq for more info06:01
MTecknologyoh, and how many CPU's?06:01
unewbie12 GB swap and 1 cpu06:02
unewbie1the server only have 1 processsor06:02
unewbie1quad core06:02
MTecknologythat means you can give it up to 4 procs06:03
unewbie1ok, lets give it 406:03
MTecknology2GB swap is insane.. but ok06:03
unewbie1insane?06:03
unewbie1not enough?06:03
MTecknologyvery high06:04
unewbie1make it just enough06:04
unewbie1how much it should be?06:04
MTecknologyI use 256MB on all of mine06:04
blue-frogon prod servers, the higher the better06:04
unewbie1it's for production06:04
blue-frogfor desktop for people who are just playing witht their computers 256 is enough06:05
MTecknologyblue-frog: not if it's a vm - then you just start thrashing the host06:05
blue-frogah vm06:05
blue-froghum06:05
blue-frogdunno about vm. sorry fr my talkings06:05
unewbie1ok let it 25606:05
MTecknologyunewbie1: what's your full name and what do you want for a user name?06:06
MTecknologydidi for a username?06:06
MTecknologyLooks like you're from Indonesia - are there any package mirrors near there?06:08
MTecknologyunewbie1: I'm trying to rig up a command for you that you can reuse over and over and over06:12
MTecknologyyou still exist?06:12
uvirtbotNew bug: #590629 in dbconfig-common (main) "Please sync dbconfig-common 1.8.46 (main) from Debian unstable (main)." [Wishlist,New] https://launchpad.net/bugs/59062906:16
unewbie1sorry06:17
unewbie1a phone call06:17
unewbie1that's ok06:17
unewbie1let's make didi06:17
MTecknologyand full name?06:18
unewbie1supriyadi06:18
MTecknologythat's not a full name but ok06:18
unewbie1that's a fullname here :)06:18
MTecknologyyou don't have last names?06:18
unewbie1nope06:18
unewbie1that's the culture here06:19
MTecknologyodd06:19
MTecknologythere... you ready for your magic command06:19
MTecknologyhttp://pastebin.ubuntu.com/445921/06:19
MTecknologyenjoy06:19
unewbie1the longest command i've ever seen06:20
MTecknologylol... that's the trimmed version06:20
MTecknologythe one I use is MUCH longer - and if I'm adding static IP's... - but I know EXACTLY what I'm getting06:20
unewbie1is this vmbuilder should be installed first?06:21
MTecknologyya.. if you don't install the app you're trying to use you can't use it06:22
unewbie1ok06:22
unewbie1E: Couldn't find package vmbuilder06:23
MTecknology!kvm06:24
ubottukvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM06:24
MTecknologysudo aptitude install kvm libvirt-bin ubuntu-vm-builder bridge-utils06:24
unewbie1waiting for installation06:25
unewbie1how do you know everything? :D06:26
MTecknologyi don't know that much06:29
unewbie1i have to configure email?06:29
MTecknologyhm?06:29
unewbie1i got that screen here06:30
unewbie1i dont remember installing postfix06:30
unewbie1looks like postfix is coming with the aptitude06:31
unewbie1should i cancel it?06:31
MTecknologyno06:32
MTecknologydependencies06:32
unewbie1ok06:32
unewbie1and?06:32
unewbie1how can i configure this postfix?06:33
unewbie1are you sure we need this postfix?06:35
MTecknologyjust let it install with defaults06:35
unewbie1no configuration?06:36
MTecknologyno06:36
unewbie1or internet site?06:36
unewbie1or local only?06:36
MTecknologywhatever was selected by default06:37
unewbie1i don't remember :D06:37
unewbie1i played around with the cursor06:37
MTecknologyusually the default selected is the first in the list06:38
unewbie1that means no configuration06:38
unewbie1ok06:38
unewbie1is that ok?06:38
MTecknologypress enter..06:38
unewbie1ok06:39
unewbie1ok it's done06:41
unewbie1now it is the guest installation06:41
unewbie1another error message06:45
unewbie1http://pastebin.ubuntu.com/445927/06:45
unewbie1it's already exist06:45
MTecknology!enter06:45
ubottuPlease try to keep your questions/responses on one line - don't use the "Enter" key as punctuation!06:45
MTecknologydelete the existing disk image06:45
unewbie1ok06:46
unewbie1it's quiet now06:46
unewbie1is it going to take a long time?06:47
MTecknologyyup06:47
unewbie1ok06:47
MTecknologywhen it finishes it will start and you can ssh into it because openssh-server will be installed06:47
MTecknologythe timezone should be setup - and I set what I perceived to be the fastest package mirror for you06:48
unewbie1is it installing the os now?06:48
MTecknologyyes06:48
Yosihi All, I've been using Ubuntu Server as an Apache for the server for the last week, and was thing about using it for a production machine.  all my friends at work are telling me to only use RHEL or CentOS in prodcution, is ubuntu server no stabl;e enough?06:48
MTecknologyand that command i gave you - i hate vim-tiny so i removed it and installed the full vim for ya06:49
MTecknologyYosi: lol... it's a matter of flavor - I use Ubuntu on all of my production servers06:49
unewbie1i only understand nano :D06:49
unewbie1yeah me too06:50
unewbie1and yes my friend said the same thing to me06:51
Yosido i need a firewall in front of the default install?  or are all the major security ports locked by default06:51
MTecknologyI know the centos community and they're great- so the OS choice really comes down to what you like better - for me i like the amazing usability of ubuntu06:51
Yosiperformance wise, I'm assuming ubuntu is as fast as rhel or cent for apache?06:52
Yosiyes, new to linux, and ubuntu seems easier than cent06:52
MTecknologyYosi: in most linux distros there's nothing being listened to by default - I always use ufw which is amazingly easy - just makes sure nothing else is sneaking in06:52
unewbie1Yosi: me too06:53
Yosifair enough..06:53
MTecknologyI would always put a firewall in front (pfsense by choice) - that just makes routing much easier06:54
unewbie1it's my first distro actually06:54
Yosimy raid tools are made for cent/rhel etc.. from LSI (9260-8i card), but I can just configure it by the RAID bios, and apparently kernel 2.6 has the lsi drivers build in...  i just lose the management tools, but once the raid is established, i dont really need them06:54
naiad2I'm wondering if it's possible to have apparmor restrict the output of ps like the grsecurity kernel module does.  limit ps to only pids that the user owns?06:55
qman__Yosi, ubuntu server is most definitely secure by default06:56
qman__there is nothing listening on any ports on a default install06:56
MTecknologynaiad2: I highly doubt it06:56
Yosiqman__: thanks...06:56
Yosiwhat i don't understand is why, big sites like ebay etc.. have problems with DOS attacks... can't most firewalls block a DOS attack?06:57
MTecknologyno06:57
Yosican't they just block that IP from spamming them?06:58
MTecknologynope06:58
MTecknologyif you have 10GB traffic running through a 1GB pipe; you're plugged up - even if you block all that traffic - you still have to process that other 9GB06:58
qman__yes06:59
qman__the problem is DDoS07:00
qman__it comes from many IPs, all over the world07:00
qman__they run a public site, they can't just shut down all connections07:00
MTecknologythe only way to deal with it is to have more resources than your attacker07:01
qman__you can configure your firewall to dynamically slow single-poing DoS attacks, but DDoS is nearly impossible to stop that way07:01
qman__single-point*07:01
X-Sleepy-XEasy solution: Compose a fake letter where it says it's terrorists behind the attack and send it to Pentagon. They will have those hackers nuked sooner than you can say "Wake up it's a beautiful morning!"07:01
qman__the usual approach is just that, get more bandwidth, and try to find the source of the attacks07:02
X-Sleepy-X:P07:02
qman__the person running the botnet07:02
qman__and get the botnet shut down that way07:02
MTecknologyX-Sleepy-X: little offtopic for this channel07:02
Yosiback, got some water...07:02
MTecknologyI wonder if that's why it's so hard to purchase upload speed in the states...07:02
X-Sleepy-XMTecknology: Kind of, yeah. But it was my way of saying good morning. ;)07:02
MTecknologyI can get 30mbit download for cheap enough - getting >1mbit upload gets to be insane07:03
qman__the problem stateside is that the telcoms have government-backed monopolies07:03
qman__no accountability, so they are way behind on upgrading their lines and tech07:03
Yosiin Canada 20mbs fiber provisioned over E100 service is about $1400 a month07:03
qman__when my connection doesn't work the way it's supposed to, I don't have any resolution07:04
qman__there is only one ISP07:04
MTecknologyouch07:04
qman__if they don't perform, I'm SOL07:04
MTecknologyburn07:05
X-Sleepy-XI pay about 300 euros for 10/10 Mbit/s but I get about 15/30 Mbit/s.07:05
=== MTecknology is now known as MTeck-ricer
qman__US connections are the opposite07:05
qman__you pay for 10/2, and get 6/1.5 in off-hours07:05
MTeck-ricerpretty much07:05
MTeck-ricerActually.. I get what i pay for07:05
Yosii think the US is the cheapest I've seen for bw, cheaper than canada07:06
MTeck-ricerI get 15/107:06
unewbie1MTeck-ricer: installation is finish07:06
rayvtirxare these ordinary home connections07:06
MTeck-ricer$30/mo07:06
unewbie1now how to ssh?07:06
qman__business connections too07:06
rayvtirxim from uk and my upload is disproportinately slower07:06
qman__DSL and cable07:06
qman__unless you pay $300+ for a T1, you won't get your advertised speeds07:07
MTeck-ricerunewbie1: 'nmap -sP 172.16.88.0/24' - figure out which new node popped up07:07
qman__(per month)07:07
qman__at least, you can't count on getting your advertised speeds07:07
rayvtirxi get around 8 Mbit down and 512 kbits up07:07
qman__some areas are better than others07:07
MTeck-ricerI pay ~$45/mo for 15/1 on cable07:07
MTeck-ricerI get what i paid for and that makes me happy07:07
X-Sleepy-XI pay 38,58 for my connection. I get 15/30.07:07
X-Sleepy-X:)07:08
unewbie1another package to be installed07:08
Yosix-sleepy-x: where are u from?07:08
X-Sleepy-XSweden07:08
Yosinice07:08
qman__my cable is $70/mo, for 8/1.507:08
X-Sleepy-XI could order 100/10007:08
YosiI pay $60 for 8/1 at home07:08
X-Sleepy-XBut that's a bit more expensive07:08
qman__but it's only gotten that fast in the last month07:09
X-Sleepy-XI only pay for 10/10 but I get a bit more... ;)07:09
qman__I was paying the same rate for 5/512k07:09
unewbie1what am i looking for here?07:09
MTeck-ricerI switched ISP's - I was getting 1/256k07:09
MTeck-ricersame into price07:09
X-Sleepy-XThat's not good.07:10
qman__only one option here, the cable company07:10
MTeck-ricerthis new intro price lasts about 8mo longer - and after the change this new one is cheaper07:10
qman__no DSL available, satellite and cell is a joke07:10
X-Sleepy-XStart a ISP company...07:10
X-Sleepy-Xan*07:10
Yosii hope ubuntu sees my raid array..   i have 4 intel ssd's x25-m 160gb comming tomorrow... pluggin them into my lsi 9260 6 gb/s raid card and going to load ubuntu on that as my apache server...07:10
Yosiwould be fun to start a datacenter...  lol07:11
MTeck-ricerqman__: gah... theyr website is horrible too07:11
qman__Yosi, you might look into the different versions of apache available07:11
qman__the default one is a bit slower in favor of the biggest feature set07:11
qman__mpm-prefork07:11
MTeck-riceror just use nginx07:12
qman__with a system like that, you're obviously concerned with performance07:12
MTeck-ricernginx > apache | stop abusing resources07:12
qman__so try the different options out07:12
Yosithanks qman, i will check into that07:12
qman__see what works07:12
twbprefork isn't the default07:12
twbIt's only pulled in if you ask for PHP07:12
Yosiqman: exactly, I want hi IOPs.....    its apache, php and mysql07:13
qman__which you ask for if you use LAMP07:13
MTeck-ricerqman__: wow.... their website is BAD07:13
qman__charter? yeah07:13
qman__you should try using their webmail07:13
qman__it's an event07:13
qman__their DNS servers are useless too, I run my own07:13
twbbah, tasksel blows07:14
MTeck-ricerqman__: if i buy now i can get phone/email/phone for only $130/mo :P07:14
MTeck-ricerwhy not opendns?07:14
qman__opendns didn't exist at the time07:15
qman__when I set it up07:15
MTeck-ricertwb: I used to like it - but i no long er use it - not tasksel fullfills what i want anymore :P07:15
qman__so I learned BIND, and set up local DNS to address windows being completely retarded about network names07:16
qman__and just stuck with it07:16
MTeck-ricerqman__: mine - http://www.midco.net/07:16
twbI wouldn't use BIND to resolve hosts on a private network.07:16
twbdnsmasq is prettier for that07:16
unewbie1MTeck-ricer is there another way to find where is my guest os?07:16
Yosiis it faster to resolve dns on the same box as the webserver or better performance have dns handled by a seperate company?07:16
MTeck-ricerunewbie1: twb how can you figure out the ip that a guest virt instance has?07:17
qman__well, if performance is an issue, I'd just disable name resolution on the web server itself07:17
MTeck-ricers/unewbie1: twb/twb:/07:17
twbMTeck-ricer: erm, ask your virtualization infrastructure?07:18
unewbie1:D07:18
unewbie1that's me07:18
MTeck-ricertwb: if it were me i would have checked the mac against dhcp leases in the firewall :P07:19
MTeck-ricerhm..07:19
MTeck-ricerunewbie1: do you have access to your dhcp server so you can s07:19
MTeck-ricerunewbie1: do you have access to your dhcp server so you can see the dhcp leases? *07:20
Yosiqman, so u wouldn't run bind on the LAMP server...   my upstream provider that does our server colocation, has dns we've been using for now...  just wasn't sure if it would be faster to have godaddy pointed to BIND on my LAMP server or to my upstream provdider DNS then to my LAMP server without BIND07:21
qman__handling DNS requests for clients, let another server do the job07:21
qman__whether it's yours or the ISP's doesn't matter, but not on the web server07:22
qman__I thought you meant looking up names for firewalling or log viewing07:22
Yosiahhh07:22
Yosino just for the clients07:22
qman__which should be disabled on the web server, and handled in the firewall or your log viewer07:22
Yosifair enough, makes sense07:22
MTeck-ricerunewbie1: virsh dumpxml barracuda   that'll give you teh mac addy the system is using07:23
Yosigot disconnected07:25
unewbie1MTeck-ricer:http://paste.ubuntu.com/445936/07:25
uvirtbotNew bug: #590639 in apache2 (main) "apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled" [Undecided,New] https://launchpad.net/bugs/59063907:26
Yosii need a simple backup solution for ubuntu server LAMP config.. tht if it crashes its fast and simple to restore..  like an image backup07:26
MTeck-ricerunewbie1: now you have the mac addy - find the ip that is assigned to it07:27
unewbie1i don't see such mac address after nmap07:27
qman__the config is all in /etc, apache2, php, mysql07:27
MTeck-ricerunewbie1: use either your dhcp server of cli tools07:27
MTeck-ricerunewbie1: I need to head to sleep now07:27
qman__the tough part to back up is the mySQL database07:27
MTeck-ricerunewbie1: you should be able to pretty easily get the rest on your own07:27
Yosiqman - will it backup live?07:27
unewbie1ok thanks07:27
Yosimysql07:27
qman__the config, yes07:27
qman__and you can set up a slave server for mysql if yo uwant07:27
qman__which would effectively be a live backup07:28
Yosiit would be easier if i just ran ESXi on the server, then i could snapshot the drive...  but then i lose performance07:28
qman__a mysql slave server is a one-way relationship, the master updates the slave, the slave cannot update the master07:30
qman__so it would make an effective realtime backup of your database07:30
Yosiqman - interesting07:31
qman__but if the master starts spewing corrupt data, that would forward to the slave07:31
Yosibut then i need to setup anothe mysql server07:31
Yositrue..07:31
qman__so it would only be effective against failure07:31
Yosithere must be some backup software with plugins to support mysql live backup07:31
qman__however07:31
qman__you could have the slave run periodic mysqldumps07:31
qman__there probably is07:31
Yosioy, too much work07:31
qman__but I don't know much about it07:32
twbMaybe google for "mysql replication"07:34
qman__using a mysql slave with whatever backup solution you choose might also be a good idea, performance wise07:34
qman__but only if the master slave relationship takes less resources than the backup07:34
qman__something you'd have to test07:34
Yosihave u heard of this07:35
Yosihttp://www.zmanda.com/07:35
qman__mysql isn't exactly known for its scalability07:36
Yosihow does it compare against mssql?07:37
qman__in my experience, MSSQL is a joke07:37
qman__I've only ever seen it used in conjunction with other microsoft software, which requires it07:37
Yosifair enough07:38
Yosihave u had much experience with vmware?07:38
qman__only in the 1.x versions07:38
qman__I didn't care for 2.0 and haven't paid much attention to it since07:38
Yosiilike how simple it is to backup stuff in vmware with the snapshots, just don't liek the performance loss of virtualization07:39
twbPresumably you consider "simple" to mean "can be done with a mouse"07:39
Yosione file backup restorre07:40
Yosii don't mind cli, if i can backup the server live including mysql, and 1 file to restore the server07:40
qman__the problem I had with snapshots in 1.x was the fact that it had to pause operation to take them07:41
qman__they may have addressed that since, but when I was using it, that meant your server was missing for anywhere from a few seconds to a few minutes07:41
Yosiyeah in ESX 4.0, snapshots are  and can be scheduled as backups...07:42
qman__not an issue with one person tinkering on their desktop, but in a production environment, that matters07:42
Yosilive*07:42
unewbietest08:14
twbI have an 8.04 server and a bunch (say, 100) 8.04 workstations, running something along the lines of LTSP5.08:23
twbIn the last six months, I've seen seven errors of the form:08:24
twb[7254]:  WARNING: gdm_slave_session_start: User passed auth but getpwnam (p97661) failed!08:24
twbWhich is because the client can't see the LDAP server (nscd: nss_ldap: could not search LDAP server - Server is unavailable)08:24
twbWhy would the server very occasionally by inaccessible to freshly-booted workstations?  AFAICT the server isn't rebooting or restarting slapd at the time.08:25
ScottKHow's network loading?08:47
twbWell, the workstations PXE boot, then run casper, which runs a second dhclient08:49
twbI'm *pretty* sure I've scrapped NM on the workstations08:49
azteech1for some, this may be a dumb ? but, if I forget to select a server package to install, one can still access the base server, and then set up the packages after install; at least I am hoping that is the case ...08:50
kaushalhi09:51
kaushalI have issues on compiling ipp2p on Ubuntu server 10.04, can i seek help here ?09:51
twbkaushal: don't ask the same question simultaneously in multiple channels.09:53
kaushaltwb: apologies09:53
twbipp2p appears to be part of the xtables-addons-common package.09:55
kaushaltwb: Thanks09:58
kaushaltwb: when i run iptables -m ipp2p --help09:58
kaushali get iptables v1.4.4: Couldn't load match `ipp2p':/usr/local/libexec/xtables/libipt_ipp2p.so: cannot open shared object file: No such file or directory09:59
ScottKazteech: Yes.  sudo tasksel should do it.10:01
twbkaushal: did you install xtables-addons-common?10:01
kaushalyes10:01
twbThen at least one of xtables-addons-common, iptables, or the kernel is too old.10:02
twbConsider migrating to a newer release of Ubuntu.10:02
kaushaltwb: I am on 10.0410:04
twbThen file a bug against xtables-addons-common10:04
twbYou're doing something wrong, because lucid has ipp2p in that package:10:05
twbhttp://packages.ubuntu.com/lucid/amd64/xtables-addons-common/filelist10:05
twbWait, /usr/local?10:06
twbDid you compile iptables by hand?  Don't do that.10:06
kaushaltwb: ok10:08
mase_homehey guys, there is a package which has given me the option of manual configuration later. ...which i chose..however now it has marked that package as not fully installed10:13
mase_homehow can i mark it as such ?10:13
nijabaHello. Anyone seen ivoks?10:25
uvirtbotNew bug: #590704 in libcommons-jxpath-java (main) "Sync libcommons-jxpath-java 1.3-3 (main) from Debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/59070410:26
\shScottK, do you think it would be a good idea to ask Christoph Haas of http://workaround.org/ispmail/lenny <- to adjust his howto for ubuntu or should we work on a similar documentation for ISP Mail setup ?10:35
ScottK\sh: I'd talk to sommer about it.  See if he wants to support it in the server guide.10:37
kaushalhi again10:45
\shScottK, will do :)10:45
RoyKhow can I change text console resolution in lucid?11:03
kaushalScottK: hi11:10
kaushalThanks for your reply11:11
kaushalStill i have issues11:11
kaushalI did removed /usr/local/libexec/xtables11:11
kaushalwhen i ran iptables -m ipp2p --help it worked11:12
kaushalI mean it didnot worked11:12
cloakable...11:15
kaushalcloakable: are you referring to me ?11:16
cloakableno11:16
kaushalScottK: you around ?11:16
cloakablefor 10.04, kernel devs have compiled in EVERY cpufreq driver.11:16
cloakableThus resulting in my centrino laptop using acpi-cpufreq and not speedstep-centrino11:17
sanderj_Anyone have a document describing what the diffrence on VPS and IaaS is.. and the downsides of using both?11:37
kaushalchecking in again for my query ?11:38
pthsWorkAnyone know of a page that really explains the new Samba idmap system? Haven't found any that explains in a "For Dummies" style :p12:04
proxeehi... where should I go with a question about apache config on ubuntu 9.10?12:28
sorenhere, probably12:28
proxeethanks... I've got a server with a virtualhost that uses ProxyPass and ProxyPassReverse. I'm seeing lots of random traffic and it seems I've got an open proxy.12:30
proxeeI've tried following all the documentation I can find, but the problem persists.12:30
proxeeSo, I guess two questions: first, how can I check that the proxy is open/closed. And second, how to close it?12:32
proxeeAm I in the right place for these questions?12:34
spronkhi guys - any ideas on what log files I should be inspecting to find out why fsck gives me a clean report on boot, then booting stalls?12:44
sanderj_Anyone know what kinda functionality ubuntu elastic cloud have?12:46
proxeei guess i'm in the wrong place for apache/unbuntu questions... where should I go?12:46
Jeeves_proxee: Sometimes there aren't that many people online :)12:47
Jeeves_The sun doesn't light the entire earth at the same time :)12:48
proxeei see.. ok... I saw a long list... should I wait and ask my Q again later? (noob here)12:48
Jeeves_http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#access12:49
proxeeI've read the documenation... problem persists12:49
Jeeves_Then you've misinterpreted the documentation :)12:49
Jeeves_Can you paste your config on pastebin?12:50
Jeeves_!pastebin12:50
ubottuFor posting multi-line texts into the channel, please use 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.12:50
proxeeprobably, yeah12:50
proxeeok.. let me try pastebin12:50
RoyKhi all. trying to setup authentication against AD fails - seems bindpw is ignored in libnss-ldap.conf12:51
RoyKanyone here using ldap auth?12:52
proxeeJeeves_: thanks, here's the part of my apache config: http://paste.ubuntu.com/446061/12:55
proxeeJeeves_: I have a server running on a different port, and I'm using a proxy to route the traffic there12:56
proxeeI've tried a bunch of different variations, I still see tons of random requests in my other_vhosts_access.log file12:58
sanderj_I wonder what the key diffrences between a virtual private server and a IaaS, infrastructure as a service..12:58
sanderj_VPS vs. IaaS.12:58
zulmorning13:01
cloakablesanderj_: the differences between a computer and infrastructure? :)13:02
cloakableYou could probably define VPS as CaaS :)13:02
sanderj_cloakable, And the C means?13:03
Jeeves_proxee: I can't browse via your proxy13:03
cloakablesanderj_: Computer :P13:03
Jeeves_I just get the site metraspace13:03
proxeeso it's closed for you?13:03
Jeeves_as far as I can see...13:04
Jeeves_But i'm no expert on this :)13:04
failoverproxee, there is not wrong with your conf, probably you got bots trying to look for a openproxy !13:04
sanderj_cloakable, can you explain what kinda infrastructure IaaS gives me, compeard to CaaS/VPS ?13:04
proxeeyes, I see lots of junk in my log files13:05
RoyKhi all. no idea if this is the right place to ask, but trying... I'm trying to configure linux to authenticate to an MS AD server, but it seems libnss ignores binddn/bindpw and just does a 'simple' bind. this is what I see when sniffing the traffic. any idea how to force it to authenticate?13:05
cloakablesanderj_: no, because I run a home server :P13:05
proxeeJeeves_: more expert than me, for sure... how can I test whether it's open or not?13:05
spronkhow can i enter like.. an extra verbose boot mode?13:05
cloakableI provide all my infrastructure myself :)13:05
Jeeves_proxee: I'm installing scanssh now13:05
failoverRoky, i think you don't need a dn/pw at ldap conf to authenticate.13:10
RoyKfailover: you do if anonymous browsing isn't allowed, which is the case with M$ AD13:10
failovermakes sense...13:11
Jeeves_proxee: 95.142.161.84:80 <error: response code>13:11
proxeeJeeves_: ...means it's okay, or not okay? :?13:11
Jeeves_What do you see in your logs from 213.154.238.23 ?13:12
Jeeves_proxee: It looks ok13:12
proxeehard to say what's in my log from your address... the log file is growing by 10K bytes every few seconds :)13:13
proxeei have a suspicion something is still wrong... and here's why...13:15
proxeeif I telnet to the http server and enter "GET http://www.yahoo.com/ HTTP/1.1", then hit return twice, I get some HTML back from yahoo.com. That seems wrong.13:16
Jeeves_No, you get13:18
Jeeves_<p>Your browser sent a request that this server could not understand.<br />13:18
Jeeves_And if you do:13:18
Jeeves_GET / HTTP/1.113:19
Jeeves_host: www.yahoo.com13:19
proxeetrue, but I also get: <address>Apache/2.2.12 (Ubuntu) Server at www.yahoo.com Port 80</address>13:19
Jeeves_You get a redirect from location: http://www.yahoo.com/main.ssp13:19
Jeeves_Yes, that's your server, using the hostname you enter in the request13:19
Jeeves_(usecanonical, or something, in httpd.conf)13:19
proxeeoh... that's not very obvious :D13:20
proxeeok, so that's progress... is there something else I can do to keep my log files from growing like crazy as bots are hammering on the door?13:21
incorrectI need to sign up for a bunch of ubuntu VPS providers around the world, can people suggest their fav?13:22
Jeeves_proxee: Can you pastebin some loglines?13:22
proxeeincorrect: I tried gandi.net in France. They have ubuntu and a one-month refundable trial offer.13:23
proxeeJeeves_: yes, just a sec13:23
Jeeves_incorrect: You mean people supplying Ubuntu VM's/VPS's?13:23
incorrecti just wanted to know of the provider and if they used it personally13:23
incorrectthanks proxee13:24
Jeeves_incorrect: xlshosting.nl, works fine13:24
proxeeincorrect: it was real easy to set up and they answered quickly to support/billing questions13:25
proxeeJeeves_: here's some log file http://paste.ubuntu.com/446079/13:25
incorrectthanks :D i have to sign up for a ton around the world13:25
Jeeves_proxee: Those are all failing requests13:26
proxeeJeeves_: i see... how do I read that they fail?13:27
proxeeoh.. duh.. 40413:27
Jeeves_proxee: You can tell by the http response code .. :)13:27
proxeeand what's the garbage url with "\xcf\xf2" after the response code and length?13:28
proxeeI think what happened is that I had "ProxyRequests On", and some bots found my site. I figured out that was a boo boo, switched it to "Off", but the bots are still trying my site.13:34
proxeeThe log files are still growing like crazy, eventually overflowing the disk13:34
proxeeIf many requests are coming from a few addresses, is there some way I can block them and keep that from being logged?13:36
Jeeves_proxee: You might try fail2ban13:41
Jeeves_but that's kinda ugly13:41
sommermornings13:41
proxeeok... less ugly approaches?13:42
proxeeor... if I just wait, maybe they'll go away?13:42
proxee...since I no longer have an open proxy? :D13:43
ItalicBoldin a shell script, is there a way to format a command and its arguments over multiple lines?13:47
Jeeves_proxee: Probably, yes13:47
Jeeves_ItalicBold: \13:47
ItalicBoldta13:47
Jeeves_\<newline> that is :)13:47
proxeeok... I'll keep wiping the log files and hope they give up. Thanks a million for your help!!13:48
ccheneygood morning14:07
zulhey ccheney14:11
zulDaviey: can you check out #590201 for me14:15
lumaphytehi.  i have a computer that, after a reboot, suddenly is broken.  all that is displayed is  a normal fsck message for the root filesystem, after which point it simply hangs with a blinking cursor.  how can i troubleshoot this further?14:16
jdstrandnaiad2: re apparmor and pids> no, but apparmor does disallow things like ptrace and access to files in /proc, as well as any tools that use them14:21
jdstrandnaiad2: more specifically, if you have an apparmor profile for an application, you have to grant it permissions to do those things14:21
uvirtbotNew bug: #271546 in clamav (main) "[hardy] Multiple unfixed CVEs" [Undecided,Fix released] https://launchpad.net/bugs/27154614:46
nealmcblumaphyte: fscks can be very slow in lucid with ext4 - see Bug #571707 - so it could be the next fsck taking a LONG time14:47
uvirtbotLaunchpad bug 571707 in mountall "fsck progress stalls at boot, plymouthd/mountall eats CPU" [High,Fix released] https://launchpad.net/bugs/57170714:47
lumaphyteoh, hmm.14:48
lumaphytenealmcb: thanks.  i'll let it sit and see what happens.14:49
lumaphytenealmcb: oh, it's not running fsck - the filesystem is marked as clean.14:54
=== MTeck-ricer is now known as MTecknology
=== wieshka_ is now known as wieshka
spineauttx: ping15:32
ttxspineau: pong15:33
spineauttx: I need your help regarding a kvm potential issue with my cloud15:34
spineauttx: instance fails to launch with the following msg in the nc.log :15:35
ttxspineau: I'll help if I can. Daviey and hallyn may also answer ^15:35
hggdhspineau: heh. exactly about that -- what machines are running what there?15:35
hggdhspineau: i.e., who runs CLC, Walrus, CC, SC, and NCs?15:35
spineauhggdh: a frontend with CLC,W,CC,SC and a separate NC15:36
hggdhtamarillos is the frontend, then?15:37
spineauttx: libvirt: Failed to add tap interface to bridge '': No such device (code=38)15:37
spineauhggdh: yes15:37
ttxhm15:37
spineauhggdh: pricklypear the NC15:38
spineauttx: I 've looked at the eucalyptus.conf on the NC and the VNET_BRIDGE is still empty even if I write "br0"15:39
ttxspineau: is the bridge set up on the NC ?15:39
spineauttx: I wonder who is erasing this parameter15:39
spineauttx: How can I check that ?15:39
ttxifconfig should show a br0 bridge15:40
spineauttx: yes, It shows br015:40
ttxhm15:40
ttxspineau: so you change /etc/eucalyptus/eucalyptus.conf... stop eucalyptus CLEAN=115:43
ttxis the setting still there ?15:43
ttxstart eucalyptus CLEAN=115:43
ttxis the setting still there ?15:43
* spineau is doing the steps15:44
spineauttx: staring eucalyptus erases the value15:46
spineauttx: starting15:46
ttxspineau: in /etc/eucalyptus/eucalytpus.conf ? hmmm....15:46
ttxthat's bad, considering we created  /etc/eucalyptus/eucalytpus.conf.local so that euca_conf avoids changing that conffile15:47
* ttx grumbles15:47
ttxspineau: which mode are you using ? SYSTEM ?15:48
spineauttx: I talk about the eucalyptus.conf on the node15:48
spineauttx: managed-nvlan15:48
spineauttx: novlan15:48
* ttx greps in the code15:51
ttxspineau: what happens if you just do stop eucalyptus-nc / start eucalyptus-nc ?15:52
=== lumaphyte is now known as lunaphyte_
spineauttx: I've got the same result, br0 values deleted from eucalyptus.conf15:54
ttxspineau: looks like something is running euca_conf -bridge15:55
ttxbut that should not even modify /that/ file15:56
hggdhDaviey: on bug 588861 -- you reverted the UEC kernel back to lucid, and it works, or you reverted the Maverick kernel?15:56
uvirtbotLaunchpad bug 588861 in linux "Instances block in pending state, and don't start" [Undecided,New] https://launchpad.net/bugs/58886115:56
ttxspineau: just to be sure: comment out the euca_test_nc line in /etc/init/eucalyptus-nc.conf15:57
spineauttx: this NC has been rebooted 2 times and nothing (I mean a test) is running since start15:57
ttxand try restarting again15:58
spineauttx: ok15:58
ttxif that still deletes it, I suspect something would show in the logs, so please pastebin the NC logs15:59
spineauttx: value deleted16:02
* spineau 's doing several scp to pastebin16:02
ccheneyDaviey, i resubmitted the merge proposal with the fixes mathiaz mentioned16:04
spineauttx: Does the whole nc.log is needed ?16:10
spineauttx: 11 AM16:10
spineauttx: 11 mb16:10
=== mathiaz_ is now known as mathiaz
ttxspineau: I need the startup, until you see the VNET_BRIDGE being rewritten16:11
ttxI /hope/ that in th emiddle of those 11Mb it would mention that it rewrites a configuration file16:11
ttxspineau: but I'm puzzled as I see no reference in the code doing that. It's 1.6.2 / Lucid, right ?16:12
spineauttx: yes16:13
spineauttx: https://pastebin.canonical.com/33073/ for the part you wanted16:16
ttxspineau: Is this eucalyptus-nc.log on the NC ? you have the SC running on the same host ?16:18
spineauttx: log comes from the NC. the SC is part of the frontend, another machine16:18
ttxspineau: strange line mentioning the SC there, but I don't have a running local cloud to compare16:20
spineauttx: I have my own local cloud at home, what do you want to compare ?16:21
ttxwhy the logs mentions the SC16:22
Davieyccheney: Great.. only changing debian/changelog ?16:23
ttxbut the source should answer that question16:23
Davieyhggdh: Maverick install, installed the lucid kernel.. otherwise Maverick vanilla alpha 1 with updates16:24
spineauttx: I find the same SC sentence in my nc logs16:25
ttxlooks like node goes through storage.c after all16:25
d1bdoes anyone maintain xen packages?16:27
d1blike ppa16:27
ttxspineau: I'd suggest filing a bug... I never reproduced that and I don't get why the NC startup would rewrite that config file16:27
spineauttx: ok, what do I need to join with such a bug ?16:28
ZenMastaI tried to isntall some packages but got an error about not locating the files or generate a list f packages http://pastie.org/99505116:28
ttxspineau: symptoms16:30
ttxtopology16:30
ttxinstalled versions16:30
ttxJust concentrate on the startup part. You should get bridge=br0 in that vnetInit line at startup16:31
ttxsomething rewrites it before that... and I can't find the code in the NC that would do that.16:31
ttxspineau: I mean, you should get bridgedev=br016:31
spineauttx: ok, thanks a lot for your help16:31
ccheneyDaviey, yea and adding the sru info to the bugs but that wasn't part of the bzr16:33
Davieyccheney: Oh cool, you've done the SRU part aswell?16:40
ccheneyDaviey, yea, still need to do the test for the SC loopback part16:40
ccheneyDaviey, but already written up16:40
Davieyccheney: Ok, i'm just about to do a quick test of your branch here.. if it turns out dandy, i'll ack the merge..  If you do need to go afk in a hurry, we'll sort out what is left.16:41
ccheneyDaviey, do i just do a bunch of euca-create-volume for that?16:41
ccheneyDaviey, ok16:41
Davieyccheney: which bug #?16:41
ccheney58613416:42
Davieybug #58613416:42
uvirtbotLaunchpad bug 586134 in eucalyptus "SC: Maximum number of loop devices should be configurable" [High,Triaged] https://launchpad.net/bugs/58613416:42
Davieythanks uvirtbot16:42
Davieyccheney: yeah, that should test that16:42
ccheneylooks like euca-create-volume is what i need but wasn't certain if that is 'SC'16:42
ccheneyok16:42
* zul lunches16:44
ccheneyapparently this is invalid syntax, but i am not sure what i am missing16:45
ccheneyeuca-create-volume --config -z cluster1 -s 116:45
ccheneyah --config not needed16:46
ccheneyok seems to work fine for me16:47
ccheneyDaviey, once i got to 50 i started getting errors on the SC test16:51
ccheney"1. Your proposed upload exceeds the maximum allowed object size. (edu.ucsb.eucalyptus.cloud.EntityTooLargeException)"16:51
Davieyhmmmpf16:52
ccheneyi'll copy the relevant bits out of my logs17:00
bogeyd6this ubuntu desktop could do with some huge bug fixes17:08
binBASHHi, I tried to migrate a KVM machine however it doesn't work.17:10
binBASHvirsh # migrate db2 qemu+ssh://foo.bar/system17:10
binBASHError: monitor socket did not show up.: Connection refused17:10
binBASHsomeone knows what could be wrong?17:10
uvirtbotNew bug: #590843 in bind9 (main) "bind9 with dlz-mysql doesn't start at boot" [Undecided,New] https://launchpad.net/bugs/59084317:11
binBASHI'm on lucid 10.04lts17:11
bogeyd6binBASH, same17:12
bogeyd6x64 of cos17:12
binBASHyup ;)17:12
ccheneyDaviey, etienne mentioned there is a config option in web ui for reserved space for volumes17:14
ccheneyDaviey, its set to 50GB17:14
uvirtbotNew bug: #590846 in eucalyptus (main) "VNET_BRIDGE deleted from node config file after eucalyptus-nc restart" [Undecided,New] https://launchpad.net/bugs/59084617:21
ccheneyDaviey, it seems to fail later, tracking down the reason now, it failed at 194 for me, it also looks like it might eat loopback files on failure17:27
Davieyccheney: ahh.. interesting17:28
Davieyoh suck.17:28
ccheney"Your proposed upload exceeds the maximum allowed object size.17:28
ccheneycom.eucalyptus.util.EucalyptusCloudException: Your proposed upload exceeds the maximum allowed object size"17:28
ccheneywtf17:28
Davieyccheney: Okay.. i'm going to try this here also.. but personally.. blocking out at 194 doesn't sound too promising for a medium or large cloud17:29
ccheneyDaviey, i'm going to nuke all volumes and try again after verifying the sc is empty17:29
linxehHi there - how do I go about setting up SSL client certificate authentication with LDAP authorisation in Apache? I've done the certificate but, but struggling to see how to combine it with LDAP17:29
ccheneyDaviey, well on my test box i had it set to 200GB due to laptop disk limit, but i expected to hit at least 19917:30
Davieylinxeh: client side certificates?17:30
linxehDaviey: yeah; I've got full mututal certificate authentication set up at the moment17:30
linxehie, all valid client certificates can access resources, but I want to restrict it to group information stored in an LDAP server17:31
Davieylinxeh: using mod_authz_ldap?17:32
linxehthats what I was hoping to use yeah17:33
axisysafter upgrading ubuntu from 9.04 to 9.10 proftpd is not starting anymore.. it is setup to start standalone.. is it something due to upstart ?17:33
ccheneyoh no17:33
axisysneed help with starting proftpd17:33
Davieylinxeh: read http://authzldap.othello.ch/mod_authz_ldap.HOWTO ?17:34
ccheneyDaviey, i think, not 100% certain yet, but that when you create an unavailable/failed volume it does not get cleaned on euca-delete-volume17:34
Davieyccheney: *sigh*17:34
ccheneyDaviey, after deleting all volumes i still have 42 loops and 34 files in the volume dir17:35
Davieyccheney: perhaps leave it 20 mins to see if it cleans itself up17:35
linxehDaviey: that sounds like exactly what I want - thanks17:35
ccheneyDaviey, ok17:35
axisys/usr/sbin/proftpd is missing17:36
Davieylinxeh: This is not something that is documented for Ubuntu Server.. it would be awesome if you could do a write up of how you did it for the docs and or ubuntu wiki.17:36
Davieylinxeh: Would you be able to do that, as you go?17:36
Davieyccheney: I haven't read the cleanup code.. i don't know if it will do anything.. but as you've encountered, sometimes euca' has a delay on other cleanup things17:38
ccheneyDaviey, ok, yea it cleaned up most of them immediately probably the ones that were working properly17:38
bogeyd6axisys, isnt proftpd an xinetd service?17:38
axisys/usr/sbin/proftpd is missing after the upgrade.. i needed to install proftpd-basic17:39
Davieyaxisys: Would you mind raising a bug.. something hasn't happend that should have happend17:39
linxehDaviey: yeah, I'll write it up (I need to do this anyway for the company wiki)17:39
axisysbogeyd6: so installing proftpd-basic was the fix17:39
linxehDaviey: I'm pretty sure the server guide instructions for openldap are broken too17:40
axisysDaviey: asking me or linxeh ?17:40
Davieylinxeh: That is GREAT!  Really appreciated.. If you ping me, i'll certainly help point you in the direction of where to put it.17:40
linxehDaviey: some bits work, others dont17:40
Davieylinxeh: And you'll be left with the warm feeling, knowing others will be able to find their way - based on your work \o/17:40
Davieyaxisys: You, if you upgraded and proftpd isn't working as it should.. it sounds like a potential bug17:41
linxehDaviey: yeah, I've contributed things in the past (though not always as myself, if that makes sense)17:41
linxeh:)17:41
Davieylinxeh: oh aye :)17:41
dassoukialthough this is not a strictly server question, but if you have chronlogical data, how can i find where queues occured?17:42
ccheneyDaviey, i think the timeout isn't going to happen17:46
ccheneyDaviey, at least not after ~ 10m or so anyway17:47
ccheneyi'm going to reboot and see if they just go away17:47
ccheneyit shouldn't be hard to reproduce the issue if it is what i think it is17:47
Davieyccheney: agreed17:48
ccheneyok so rebooting didn't help the volumes are still all attached to loops17:50
uvirtbotNew bug: #590862 in samba (main) "nmbd not started at boot time" [Undecided,New] https://launchpad.net/bugs/59086217:51
ccheneyso it doesn't know its a volume but it registers it as one anyway17:52
ccheneygar17:52
ccheneyhmm i just noticed euca-describe-addresses that will be helpful to look at when i try to replicate the ip exhaustion issue again17:53
ccheneyDaviey, should volumes created show up under /dev/mapper ? i see where it appears to use lvm on them18:02
ccheneyit seems nothing is using them losetup lets me delete them manually18:03
sommermathiaz: had a chance to review the openldap-dit branch?18:07
mathiazsommer: not yet18:07
sommermathiaz: okay no problem18:07
axisysDaviey: ok18:08
ccheneyhow do i properly delete a volume that is not showing up in euca?18:19
ccheneyisn't it something like /etc/init.d/eucalyptus start CLEAN=1 ?18:26
kaushalwhat does ipp2p mean18:33
hggdhccheney: euca-describe-volumes does not show it?18:33
kaushalI know p2p means peer to peer18:33
kaushalwhat does ip mean in ipp2p ?18:33
ccheneyhggdh, yea18:33
ccheneyhggdh, i think i found a bug18:33
ballp2p over ip?18:33
hggdhccheney: there is bug on it already opened...18:33
ccheneyhggdh, i ended up removing the /var/lib/eucalyptus/db/storage.script18:33
ccheneyhggdh, oh do you happen to know the number?18:33
kaushalball, what does that exactly mean ?18:33
hggdhccheney: just a sec18:34
ballkaushal: It does what it says on the box.18:34
ccheneyhggdh, thanks18:34
hggdhccheney: bug 51708618:36
uvirtbotLaunchpad bug 517086 in eucalyptus "euca-create-volume fails at times with Error communicating with Storage Controller" [Medium,Incomplete] https://launchpad.net/bugs/51708618:36
kaushalball, Thanks18:36
panfistdoes ubuntu-server have any kind of network manager like the desktop edition?18:36
ccheneyhggdh, yea i bet that is at least part of the problem18:38
malchiasI am trying to setup basic email sending (not an smtp server, or relay).  I want scripts to be able to use something to send email.... can someone direct me to a tutorial on something simple, and secure?18:38
ccheneyhggdh, i don't see any error communicating when creating the volumes but that might be why they don't get deleted properly18:39
* ccheney looking into why they don't get created18:39
hggdhccheney: I think this is part of the issue -- I had a quick test some days ago on the Dell rig -- created 512 volumes, and then deleted them all18:39
hggdhccheney: I was left with 70 VGs hanging18:40
ccheneyhggdh, yea, i created 200 and only 179 were created18:40
ccheneyhggdh, before when i then removed them a lot were left behind, which may be the error communicating issue18:40
ccheneyhggdh, something else appears to be going wrong with it not letting me create the volumes initially18:40
hggdhccheney: what euca version? One of the issues I found there was OOM18:40
ccheneyhggdh, i seem to be getting an exception on vgcreate18:41
hggdhccheney: Java OutOfMemory, the Dell rig was not running 30.1, so it did not have a larger -xmms at start18:41
hggdhccheney: this is different18:41
ccheneyhggdh, i'm running the lucid update plus fixes i made for the new sru18:41
uvirtbotNew bug: #590887 in bacula "btraceback utility doesn't work" [Undecided,New] https://launchpad.net/bugs/59088718:41
hggdhccheney: what will be 30.2?18:42
hggdhor whatever18:42
ccheneyyea18:42
ccheneyhggdh, http://pastebin.ubuntu.com/446228/18:42
ccheneyhggdh, thats an example of a failed creation18:42
ccheneysee the pool-10-thread-418:43
ccheneyhggdh, is there some way to make it show what vgcreate returned?18:43
hggdhccheney: not to my knowledge. But this is indeed a different error18:44
ccheneyhggdh, ok18:44
hggdhccheney: if you still have the allocation... what happens if you run the vgcreate by hand?18:47
ccheneyit looked like it ellipsed a bit but i can try to see what happens18:47
ccheney  Volume group "vg-6E6tMQ.." successfully created18:48
ccheneyapparently the ellipse really is part of it18:48
ccheneyi didn't just run vgcreate i ran exactly the same code it tried18:49
ccheney/usr/lib/eucalyptus/euca_rootwrap vgcreate vg-6E6tMQ.. /dev/loop9318:49
ccheneywhich was what returned the above18:50
hggdhtime to see exactly what rootwrap does with stderr/stdout, I guess...18:52
ccheneyi'm deleting all volumes now to see if i can get the other bug to show up18:54
ccheneyit left 6018:54
ccheneyso far no results for grep -i "commun"18:55
ccheneyso maybe another failure case as well18:55
ccheneyhmm and it doesn't even log it didn't work18:58
ccheneythere are 40 vg's relating to the volumes still active18:58
hggdhheh. rootwrap fires off a execv18:58
sourcodeจาเอา iphoneeeeee18:59
ccheneyhggdh, it let me run losetup -d on all but a few19:00
ccheneyhggdh, which then made the vg's disappear19:00
ccheneyleft 519:00
* ccheney looking at those 5 in the log now19:00
uvirtbotNew bug: #541077 in bacula "mysql installs after bacula-mysql" [Undecided,New] https://launchpad.net/bugs/54107719:01
ccheneyhggdh, ah it also failed to lvremove later19:04
ccheneyhggdh, when i ran the same command again it works fine19:04
hggdh??19:05
hggdhthis is weird19:05
ccheneyeg: /usr/lib/eucalyptus/euca_rootwrap lvremove -f /dev/vg-qJp0gg../lv-XL682g..19:05
ccheneymaybe i should run memtest on my boxes to make sure they aren't flaky, unless you also see this problem?19:05
hggdhccheney: I do not have enough space to test :-(19:05
hggdhand the Dell rig is busy now19:06
ccheneyok19:06
uvirtbotNew bug: #590894 in bacula "bacula-director crashes when nsswitch uses wins for hosts" [Undecided,New] https://launchpad.net/bugs/59089419:07
* ccheney lunch19:10
RoyKdoes ext[234] have anything like zfs in the means of SSD buffering?19:12
ccheneyhggdh, it seems to setup them up sparse, so doesn't use any space until you actually use it19:17
hggdhccheney: yes, they are set sparse... let me try19:18
ccheneyit seemed to not take any space for 200 1GB files for me :)19:18
=== wise_cry1t is now known as wise_crypt
hggdhccheney: did you just loop creating the volumes?19:20
ccheneyhggdh, yea19:20
* hggdh wants to replay as much as possible19:20
hggdhccheney: roj19:20
ccheneyfor i in `seq 1 200` ; do euca-create-volume $i ; done19:20
ccheneyer not exactly that19:21
ccheneyfor i in `seq 1 200` ; do euca-create-volume -z cluster1 -s 1 ; done19:21
hggdhccheney: yeap, pretty much the same I am running. Oh lack of imagination... ;-)19:24
ccheneyi don't put any sleep in there, not sure if it is a timing issue if so it still needs fixing :)19:24
hggdhmine is for i in $(seq 1 200); do euca-create-volume --config=/home/ubuntu/eucarc -s 1 -z UEC-TEST1; done19:25
hggdhccheney: do you notice that euca-describe-volumes takes a long time to process?19:27
ccheneyhggdh, i don't remember if it did or not19:27
ccheneyhggdh, probably was a little slow19:27
hggdhccheney: mine time-ed at 31 secs to show 200 volumes (in a mix of created/creating/failed)19:28
ccheneyah ok, i didn't actually time it, it might have been a while i was looking in another window while running it19:29
hggdhsorry, creating/available/failed19:29
hggdh52 secs second run19:30
hggdhccheney: 70 failures, so far19:31
ccheneyok19:31
ccheneyi'll file a bug once we can reproduce it properly on your box19:31
ccheneyi just noted the issues in the sc loop bug up til now19:32
Yosihi all19:34
Yosiwhats the comman to install the latest webadmin in a fresh copy of ubuntuserver19:34
Yosicommdn*19:34
Yosicommand*19:34
Pici!webmin | Yosi19:35
ubottuYosi: webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead.19:35
Pici(there isn't one)19:35
hggdhccheney: weird. I am getting thousands of cloud-debug.log:14:32:20 ERROR [SystemUtil:pool-10-thread-5] com.eucalyptus.util.ExecutionException: ///usr/lib/eucalyptus/euca_rootwrap losetup -f19:35
Yosiahhh, darn, i tried it before and it seemed to work fine....19:35
ccheneyhggdh, do you have the 30.2 patches to allow over 32?19:35
Yosihow does ebox compare?19:36
ccheneyhggdh, https://code.launchpad.net/~ccheney/ubuntu/lucid/eucalyptus/lucid-sru/19:36
hggdhccheney: ccheney oh crap. I reinstalled, and forgot to manually set it19:36
ccheneyhggdh, ah ok :)19:36
ccheneyhggdh, the loopback part is easy to manually do19:37
hggdhccheney: yeah, will get it done now, and bounce the SC19:37
hggdhccheney: OK, done & restarted, will test again19:38
ccheneyok19:39
ccheneyyou might want to make sure the vg's are gone, etc19:39
ccheneyotherwise they seem to stick around, which i think is part of the bug :-\19:39
PiciYosi: I've never really used either of them, so I can't compare, sorry.19:40
mathiazDaviey: https://ubuntumathiaz.wordpress.com/2008/09/18/automate-ubuntu-server-iso-testing/19:41
mathiazDaviey: ^^ this is one of my blog post about my workflow19:41
zulmathiaz: hi https://code.edge.launchpad.net/~zulcss/+junk/server-sru-tracker19:43
mathiazzul: cool - thanks19:43
zulnp19:43
hggdhccheney: for reference: no volumes -- time euca-describe-volumes clocks at .15s19:45
ccheneyok19:46
hggdhI am now creating 200 vols of 1G19:47
hggdhccheney: 200 vols created, 11 failures. Looking at them now19:48
ccheneyok19:48
hggdhccheney: http://pastebin.ubuntu.com/446252/19:51
ccheneyhggdh, looks the same as mine19:52
hggdhyup19:52
ccheneyvgcreate fails for unknown reasons (or euca thinks it did anyway)19:52
hggdhyes. Now... let me see if the VG was (or was not) actually created19:52
hggdhno, it does not exist (at least as far as vgdisplay is concerned19:53
ccheneymaybe we actually found some sort of race in vgcreate19:54
hggdhyes19:56
hggdhnow, the second test -- removing all volumes19:57
=== pgraner is now known as pgraner-afk
Yosijust tried ebox and it sucks!  is there anyway to make webadmin work with server 10.0419:57
Yosi?19:57
ccheneyhggdh, i wonder if lvm fails if you are currently running another lvm command (not sure if that is what we are seeing though)19:58
hggdha race in lvm?19:59
hggdhccheney: I just tried to remove all volumes, was left with 8 vgs20:00
ccheneyyea20:00
ccheneyhggdh, and you can probably manually remove all of them using the same command that euca tried to do20:00
hggdhccheney: oh yes, nothing that a losetup -d, etc could not resolve20:01
hggdhccheney: but the point is euca-describe-volumes shows *NO* volumes20:02
hggdhand there are still 8 VG/loop/files there20:02
ccheneyhggdh, yes, it appears it knows that it failed to remove but then forgets about it in euca-describe-volume20:04
ccheneybtw if you did not remove them manually then euca would set them back up in the backend somehow after restarting but still not show them in euca-describe-volume20:05
ccheneyi noticed that when doing testing earlier20:05
ccheneyit notes that it is doing it in the log files20:05
hggdhyes. This, I think, is bug 517086 (or realted to it)20:06
uvirtbotLaunchpad bug 517086 in eucalyptus "euca-create-volume fails at times with Error communicating with Storage Controller" [Medium,Incomplete] https://launchpad.net/bugs/51708620:06
ccheneyhggdh, did you see any of the 'Error communicating' messages? i don't recall seeing them on my box20:08
hggdhlet me search20:09
hggdhno, I do not see it20:11
hggdhhum20:11
hggdhYet Another Bug?20:11
ccheneyprobably :-\20:13
ccheneyso i'll file the bug and you can add whatever you want to it, i'll note it seems similar to the other bug but doesn't appear to be the same issue20:13
ccheneyi'll file it against eucalyptus until we can figure out why lvm is causing problems20:14
ccheneybug 59092920:18
uvirtbotLaunchpad bug 590929 in eucalyptus "eucalyptus create and delete volumes sometimes fail on lvm commands" [Undecided,New] https://launchpad.net/bugs/59092920:18
ccheneyadded part about it not showing up when delete fails20:20
hggdhccheney: and I just confirmed/Medium it20:22
ccheneyok20:22
ccheneyadded it for lucid also20:22
hggdh(and subscribed mesself)20:22
ccheneyok20:24
TuxIceAnyone got an idea why this is happening? "Permission denied (publickey).". I'm thinking its a public key permissions issue, server side. My public key is copied to the server under files authorized_keys and id_rsa.pub, permissions 0600 owned by my server user. id_rsa.pub is not in my home folder on my client.20:27
TuxIcessh adam.delvecchio@server.tld -p 8022 -v produces: http://pastebin.com/SBmbycLQ20:28
Yosiis there a simple Hard Disk/SSD benchmark took that i can run from the cli in ubuntu server20:29
Yositool*20:29
sjmTuxIce: not sure right now, but using "server.tld" doesn't hide much when the information is in the pastebin :)20:42
Hypnozthis doesnt seem to work huh :(  tar -C /home/ -xvf http://10.1.1.1/pxe/net.tar20:43
qman__Yosi, hdparm -tT20:56
amstanhey guys, i'm trying to get suexec/suphp working, none of them seem to work21:02
amstando you guys know of any good guides? besides that perfect server one21:02
=== pgraner-afk is now known as pgraner
uvirtbotNew bug: #590952 in tasksel (main) "mysql-client-5.1 should depend on mysql-client-core-5.1" [Undecided,New] https://launchpad.net/bugs/59095221:06
ccheneyseems my wife's contractions just stopped happening, they were happening regularly for over 12 hours and vanished, very weird21:07
=== ng_ is now known as _ng
lifelessccheney: good luck21:11
=== _ng is now known as ng_
ccheneylifeless, thanks :) i now have no idea when we will be going to the hospital i was sure it was going to be sometime this afternoon, heh21:12
sentabihow to fix this error : http://pastebin.com/3azNXCWD21:30
amstansentabi: what are you trying to do? on what version of ubuntu?21:32
SpamapSamstan: on your suexec/suphp question .. i'd say (and I know this sucks) that its one of the worst ideas ever.. and you're better off with virtualization. :)21:34
SpamapSsentabi: I just installed bin9, same version, worked fine (on maverick)21:36
amstanSpamapS: virtualization?? are you crazy?21:36
amstanwhat i'm trying to do here is making sure none of my clients can use php to read/modify other's files21:37
amstanfor example, right now i can just use php to read the config.inc.php from another site and find out the passwords21:37
amstani have like 40 clients, with very simple sites21:37
amstanno way i'm getting 40 virtual machines21:37
=== NG_ is now known as ng_
sentabiamstan : ubuntu server 10.0421:41
sentabiinstalling bind921:41
amstanweird..21:41
amstani just installed the same thing today, do you have any special setups that might make that not work?21:41
sentabino, i dont21:41
amstansentabi: try redownloading it21:42
sentabilet me try to reinstall the OS :) thanks21:42
amstanit seems like the the init script is missing when the installer wants to execute it21:42
amstansentabi: check the cd first then21:43
SpamapSamstan: Nah its not that crazy these days. Virtualization is easy and lets you not care so much about the little things. ;)21:45
amstanSpamapS: still.. 40 VMs is not a pretty sight21:45
SpamapSamstan: maybe if you're hand rolling Xen. ;)21:45
amstanSpamapS: how much time would it take to setup such a thing?21:46
amstani only have like 2 days21:46
SpamapSamstan: should be very quick if you go with UEC .. but you'll have to devote a large swath of IPs, which you may not have. ;)21:47
amstanoh yeah.. this all needs to be done using virtual hosts21:47
amstanso... 1ip/vm is not cool21:47
SpamapSamstan: you can still do that, with a simple reverse proxy.21:47
SpamapSand that makes them portable, which is nice.. you can spawn a new instance on another machine and move it without the client knowing. ;)21:48
amstanif suphp/suexec would of been working i would of been done in 10 minutes21:48
amstanwith my current setup21:48
SpamapSyeah, I've never seen suphp/suexec work right21:48
SpamapSI've seen it "work"21:48
SpamapSbut not without a lot of duct tape21:48
amstanthere must be a way, there's tons of webhosts out there, and i really don't believe they have 1 ip per custommer21:48
SpamapSno, it works, but its a constant headache because it breaks some assumptions21:53
amstanSpamapS: oh, of course, i noticed this first hand21:53
SpamapSand you can always, very easily, run a reverse proxy to unify them all under 1 ip.21:53
amstanbut those assumptions are way less important than getting security done21:53
ccheneyhggdh, i'm not completely sure but it looks like euca_rootwrap should be causing the error if any from lvm to be displayed, it calls perror() at the end after running the command22:00
=== metcalfc_ is now known as metcalfc
hggdhccheney: I thought perror() would just return the errno22:01
ccheneyhggdh, actually hmm it seems it just prints the output of errno, which wouldn't be sufficient for this i think22:01
hggdhif any22:01
ccheneyhggdh, yea i just realized that :)22:01
ccheneyi guess i could wrap the calls with a script that logs itself22:02
hggdhccheney: I did not see anywhere where stdout/err is saved -- and the thing is execv-ed off :-(22:02
ccheneyyea22:02
ccheneyso i could move lvremove to lvremove.real and have a script log it all i think?22:02
hggdher22:02
hggdhyeah, it might work22:03
ccheneydo i need to do something to have a script return the code from the thing i am calling?22:03
* hggdh was worried on being root, but permissions should be maintained there22:03
ccheneyexit $var ?22:03
ccheneyand save $? to var while doing any processing in between?22:03
hggdhprobably easiest would be to write a small shell hack to save it to a log22:04
hggdhappend to the log22:04
ccheneyhmm its return $var for shell, exit is c22:05
ccheneyok22:05
ccheneyi'll set that up and see how it does22:05
hggdhcool. I am curious22:05
* ccheney goes to find a snack before running the test22:05
hggdhoh. Good idea. This is what is probably causing this strange feeling of emptyness on self22:06
ccheneyi didn't end up eating anything for lunch and forgot to actually do so due to my med side effect22:07
ccheneyhggdh, as its all one real binary i can catch all lvm calls with the same test22:11
ccheney:)22:11
hggdhyes!22:12
=== ng_ is now known as NG_
SpamapSanybody have a good suggestion for a really low power low footprint piece of hardware I could put in my home office to plug a couple of giant USB drives into for the purpose of running a local archive mirror?22:21
=== metcalfc__ is now known as metcalfc
qman__SpamapS, probably a netbook22:22
SpamapSinteresting.. but.. so uninspired. ;)22:22
qman__you can build an atom machine, too, but they're a lot bigger22:23
SpamapSI was thinking more like converting a wrt54g or something22:23
SpamapSyou know, something *crazy*22:23
qman__routers with USB are quite expensive22:23
qman__and finding one that works with dd-wrt is a crapshoot22:23
SpamapSI wonder if one can still find xbox's cheaply? I bet that would owrk.22:24
SpamapSbut probably not low power22:24
qman__not exactly low power22:24
qman__it's a pentium 3 system22:24
qman__but it would work22:25
qman__but they're not exactly small either22:25
qman__might as well just dumpster dive for a P3 rig and put the drives inside it22:26
ccheneygrr i messed up euca-desribe-volumes somehow22:28
ccheneymy script was a bit buggy and then i fixed it22:28
ccheneybut now euca-describe-volumes just hangs :-\22:29
* ccheney hopes rebooting will fix whatever went wrong22:30
ccheneyhggdh, ugh replacing the file is a bit more complicated than i thought22:35
ccheneyhggdh, because when you do that it messes up lvm's idea of what $0 is22:35
ccheneyhggdh, i may have to change all the symlinks to be the script22:36
hggdhccheney: ugh22:36
hggdhccheney: OTOH, this will catch all errors, and right now I am not sure where else we are failing22:37
ccheneyi don't know of way to convince lvm.real that its $0 is something else inside a script at least22:37
hggdhshift?22:37
hggdhthen call lvm.real with the rest of the arguments22:37
hggdhno22:39
ccheneyyea not sure if that will work22:39
ccheneyhmm actually it may be slightly more complicated than i thought22:40
ccheneygah22:42
ccheneystupid thing22:42
ccheneylvm vgscan won't work unless the vgscan symlink is pointing at the right binary22:42
incorrectis ebox any good?22:43
ccheneyit probably reexecs itself22:43
=== AdamDV is now known as Guest64970
* ccheney thinks to see if there is any way to hook into the calls22:45
ccheneyerg, i can't think of a way to make this work due to the crazy lvm thing :-\22:46
mjmachas anyone had much luck with installing 10.04 from a USB stick?  i've done it, but it required a lot of ugliness and beatings with a wrench.  wondering if i'm failing to see an easier way to do it.22:46
mjmac10.04 server, that is22:46
* ccheney tries one file to see if it does anything22:46
funkyHatHi, this is my smb.conf http://pastebin.com/cfELhvNe -- I've set it up to allow access to home dirs (I thought after supplying a password), but it appears I only have to have the right username on the host and I can access the corresponding ~... anyone able to spot what I've got wrong?22:47
funkyHatMy config for the "homes" share starts at line 23622:48
mjmaci did it before by extracting the ISO contents onto the USB stick and using grub1 to boot the installer...  thought i'd try grub2 and a loopback mount of the ISO.  i can boot into the installer and get things going after manually loopback-mounting the ISO in the initrd, but that's ugly22:49
hggdhccheney: all hail security ;-)22:49
hggdhthere must be a way...22:49
NG_sup guys?! how can i change an ubuntu server kernel to the latest version w/o restarting the whole system?22:49
hggdhNG_: you cannot.22:49
lifelessyou can't22:49
NG_hggdh, i'm fucked :>22:49
NG_:<22:49
lifelesswe don't generate live-patches22:49
=== NG_ is now known as ng_
hggdhNG_: you might be, but please mind your language22:49
ng_soz22:50
ng_:/22:50
keesng_: if you want, see www.ksplice.com22:50
mjmacng_: there's ksplice, but it ain't free22:51
ng_read about it on google22:51
ng_running a server w/o x22:51
ng_so not what i'm looking for, as far as i saw22:51
mjmacwhy do you need x to update the kernel?22:51
keesng_: it doesn't need x.22:51
mathiazzul: looking that the sru-report branch22:51
mathiazzul: I've generated a report:22:51
ccheneykees: do you know of any way to make a binary think its running as a different program name when running it, besides the symlink trick?22:52
mathiazzul: http://people.canonical.com/~mathiaz/report.html22:52
mathiazzul: so all the rows are in red - which is not really useful22:52
ng_kees, looking deeper into it, thanks =)22:52
keesccheney: depends on the method it looks at itself.  what is the specific issue?22:52
mathiazzul: I've updated the Spec page to outline what the output should look like22:52
keesng_: http://www.ksplice.com/pricing  ubuntu is free22:52
mathiazzul: https://wiki.ubuntu.com/ServerMaverickSruProcess#preview22:52
keesng_: (well, desktop is free, but you can try it)22:53
ccheneykees, i need to log lvm output and its being called with execv in eucalyptus, i tried using a wrapper script and moving lvm to lvm.real but that obviously wouldn't work22:53
mathiazzul: could you update the scripts to generate a page using the format outlined in the specification (under the SRU Tracking page section)?22:53
ccheneykees, lvm seems to randomly not work when i am doing volume manipulation so i need to see what exactly it says for each lvm command run22:54
keesccheney: why doesn't the lvm -> lvm.real thing work?22:54
ccheneykees, maybe i just don't know how to run lvm and have it work right?22:54
keesoh, lvm re-writes its stuff based on the calling name.22:55
* kees ponders22:55
ccheneypastebin's his script22:55
ccheneykees, http://pastebin.ubuntu.com/446318/22:55
keesccheney: doesn't euca use a wrapper to call lvm?  you could hook that?22:55
ccheneythe wrapper is a c program that calls execv directly to lvm22:55
ccheneywhen i call lvm.real in my script it loses its $0 identity as eg vgscan22:56
mjmacso, i'm guessing by the deafening silence that no one watching this channel has done server installs from USB...  :)  kinda surprised, it's so handy to install from USB when messing with stuff.  i guess i'll set up netboot.22:56
keesccheney: but it reads commands to run from /etc/euca/something.conf22:56
ccheneyand calling lvm.real with eg vgscan doesn't help22:56
keesccheney: you could change the "lvm" target to be lvm-logger and then call lvm from lvm-logger22:56
keesccheney: /etc/eucalyptus/wrappers.conf and change "/sbin/lvm" to point to your script, and have your script call /sbin/lvm22:58
ccheneykees, yea i think that will work, just need a symlink to the script for each lvm related binary call (i think)22:59
hggdhccheney: what if you mv /sbin/lvm /bin/lvm?22:59
keesccheney: (you'll have to change all them, though)22:59
hggdhforget, kees has the answer22:59
ccheneyhggdh, yea22:59
ccheneykees, yea ok, will do that seems easier than finding and implementing any alternative to that :)22:59
ascheelQuick question.  Upgraded Karmic server to Lucid server and I now can no longer boot.  No questions were ever asked regarding my boot order or fstab, so it should have ran unmodified.  Any ideas on recovery?23:00
SpamapSI just love rebuilding php5 .. 45 minutes now.. :-P23:00
ZenMastamy computer is not getting an ip, when I view ifconfig it just shows 127.0.0.1. If I try to edit /et/network/interfaces and restart it says error...no such device failed to bring up eth023:01
SpamapSZenMasta: maybe your network interface wasn't detected.23:01
SpamapSZenMasta: is this a hardwired connection?23:02
ZenMastaSpamapS well that's what I'm assuming, it is a wired connection. The thing is though, I have used live cd's and other distros on this box before without problems23:03
ZenMastabtw this is a new install of 10.0423:04
ZenMastawell maybe I shouldn't go as far and say problems in general, just not this problem23:04
funkyHathuh. browsable is spelt wrong in my smb.conf23:06
SpamapSZenMasta: how about 'grep eth0 /var/log/dmesg' ?23:07
funkyHatOr at least differently to how it is in the samba docs23:07
SpamapSZenMasta: should produce something like [    2.947822] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection23:07
ZenMastalemme try, gotta reconnect monitor to try23:08
SpamapSZenMasta: also while you're at it 'lspci | grep Ethernet'23:08
ZenMastaits running... is there supposed to be an apostrpohe after dmesg23:10
ccheneykees: cjwatson pointed me at exec -a NAME which works also :)23:10
ccheneyhggdh, see ^23:10
SpamapSZenMasta: no23:10
ZenMastaoh okay hehe23:10
ccheneyapparently its a bashism but is good enough for my hack23:11
hggdhheh23:11
SpamapSZenMasta: if it didn't show anything, then there's no driver most likely.23:11
SpamapSZenMasta: lspci should show your network card though23:11
SpamapS02:01.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)23:12
ZenMastathey both say stuff.. looks kinda standardish23:12
SpamapSsomething like that23:12
ZenMastathe first one though, grep dmesg that one says renamed eth0 to eth123:12
=== ng_ is now known as NG_
SpamapSZenMasta: ding ding ding23:13
SpamapSZenMasta: maybe try eth1? ;)23:13
ZenMastaI don't understand... shouldn't it just auto detect? I just installed so the default interfaces file says auto eth023:14
SpamapSwell does it give a reason for renaming eth0 to eth1?23:14
ZenMastalemme check again23:14
hggdhzul: on the samba apport hook all we need is *not* to open a bug if /etc/samba/smb.conf is missing, correct?23:15
mathiazhggdh: well - if /etc/samba/smb.conf is missing *and* the package has been removed (but not purged)23:16
mathiazhggdh: if the package is removed, configuration files are *not* removed23:16
mathiazhggdh: if the smb.conf file is deleted by hand, upon *reinstallation* of the package smb.conf will *not* be reinstalled23:16
ccheneystill having some weird issue but maybe reboot will fix it this time23:17
mathiazhggdh: which leads to smb not starting, which means that the package fails to install correclty and thus opens a bug23:17
ZenMastaSpamapS no reason but I edited the interfaces file to auto eth1 instead of eth0 and it has now obtained an ip23:17
ZenMastaits not showing up as an attached device on my router and I can't ssh into it yet though :/23:18
mathiazZenMasta: has the MAC address of the interface changed in between?23:18
mathiazZenMasta: if eth0 doesn't work but eth1 works then it usually means that the mac address has changed somehow23:19
ZenMastamathiaz possibly i installed it on one computer and then moved the hd to another (exactly same processor mobo ram etc23:19
hggdhmathiaz: please let me read it slowly ;-)23:19
mathiazZenMasta: see /etc/udev/rules.d/70-persistent-net.rules23:19
mathiazZenMasta: for the mapping of mac address <-> ethX23:19
mathiazZenMasta: right - the mac address is different then23:20
mathiazZenMasta: which is why the new network interface is showing up as eth123:20
ZenMastaI see. Well I've never encountered that before. I've done the hard drive switcheroo thing a couple of times and has not presented this problem before23:20
SpamapSmathiaz: I didn't know we did that.. bleh.23:22
mathiazSpamapS: yeah - I've run into that issue when cloning vms23:23
hggdhmathiaz: so, pretty much, smb.conf will *only* not exist in this scenario?23:23
keesccheney: ah!23:24
SpamapSRHEL 5 introduced it to the RH world and by 5.1 it was no longer the default behavior.23:24
SpamapSBites too many people when they do exactly as ZenMasta has done.. move the drives to another machine.23:24
SpamapSIn fact, thats a pretty standard thing to do when you've lost something on the motherboard.. move the disks to identical cold hardware and boot.23:25
hggdhmathiaz: and the solution is, also pretty much, apt-get purge samba && apt-get install samba?23:29
ZenMastaI'm still not sure it is working though. ifconfig shows an ip now, but I still can't ssh into it, nor do I see it in my router backend23:29
Yosibasic question:  how do i shutdown ubuntu server, if i use the "shutdown now" command it brings me to a recovery menu23:31
SpamapSYosi: right, you need to use shutdown -h now, or 'halt'23:34
Yosiahh... why halt?23:34
* Ng eyes NG_ suspiciously23:35
mathiazhggdh: yes23:35
hggdhmathiaz: thank you23:35
ZenMastaSpamapS is it possible that I have to configure the firewall to allow ssh? I still can't connect or see the computer on my router23:35
mathiazhggdh: make sure to get your apport hook reviewed by zul or ttx23:35
hggdhmathiaz: roger wilco23:35
SpamapSYosi: because thats how 'shutdown' works.. its shutting down the system for maintenance/whatever .. not necessarily halting it.23:36
SpamapSZenMasta: quit possible yes23:36
ZenMastaSpamapS how can I check and if its not enabled how do I do so?23:36
Yosiahh thanks!23:36
ccheneythis script was way too complicated, needed several bash specific features to make it work :-\23:41
ZenMastahmm, ssh wasn't installe.d I coulda sworn I marked it during install23:44
ccheneyhggdh, my logging is a bit messed up (i think i can fix it) but i think i see why it fails23:47
ccheney  /var/lock/lvm/P_orphans: flock failed: Resource temporarily unavailable23:47
ccheney  Can't get lock for orphan PVs23:47
* ccheney wonders if this is somehow related to the reason uec-testing doesn't hit 100%23:49
hggdhccheney: I do not believe it is why we cannot get 100% on UEC, since we were not testing volumes, and the lock -- by the name -- relates to LVM23:51
hggdhccheney: but it sounds like resource starvation23:51
ccheneyok23:52
ccheneyi think i fixed my logging i am going to run it again and see how it goes23:52
hggdhcool. If you need, I can play with it also23:52
hggdhccheney: it may be that the man page is out of date, but man 2 flock does not list this errno23:54
IPNixonhey, i've got 10.04 server installed, and i'd like to run a command at startup.  what are the steps i have to take to get a shell script to run automatically at startup?23:54
ccheneyhggdh, yea my logging might be corrupt atm23:55
ccheneyhggdh, something is returning err 523:55
panfistdoes anyone know where the dhcp server logs activity?23:55
hggdhccheney: input/output err??23:55
ccheneyhggdh, multi threaded logging into one file :)23:56
hggdhccheney: oooohhh, fun...23:57
ccheneyi think i know how to make it work or at least less likely to mix but running into an issue23:58

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