/srv/irclogs.ubuntu.com/2010/03/19/#ubuntu-server.txt

caseyshas anyone installed and used postfix?00:06
jetoleme00:08
jetolewhy? This isn't the #postfix room00:08
=== erichammond1 is now known as erichammond
lamontjetole: it often is the postfix room, though. :-(01:15
* jetole shrugs01:25
jetoleanyone know where I can find the docs for a program called in-target that exists only in the install cd?01:25
jetoleyou can ignore my in-target question. It's a shell script01:31
=== alex88_ is now known as alex88
=== luis__lopez is now known as luis_lopez
xorlhey anyone ever experience an issue with the apache2 binding to www-data even when specifying another User in the conf? (and completely ignoring ENVVAR (statically defining it in the config)04:39
twbxorl: which config file are you trying to override it in?04:49
twbI imagine the right place is /etc/default/apache204:49
xorltwb: in the httpd.conf itself05:17
xorlI think it has to do with the prefork mpm05:17
xorlbut I am not sure where the forking is calling the user that's not defined anywhere anymore05:18
xorltwb: so I changed User/Group in the httpd.conf, and in envvars05:19
xorleven though it's not required anymore05:23
xorland sorry I meant apache2.conf*05:23
jetoledoes anyone know where the machines domain name is stored?06:01
jetolenevermind, it's stored in /etc/hosts06:04
twbIf there *is* a domain, yes. :-)06:11
twbIf you preseed domain= in your d-i, you get a hosts entry without an FQDN06:12
xorlhmmm06:17
twbFSVO d-i = sid's d-i as at last week06:18
twbYMMV, etc.06:18
=== FireCrotch is now known as a
=== a is now known as FireCrotch
=== th0mz_ is now known as th0mz
SmokeyDHey everyone, I want to setup a fileserver for a small office with 4 people working there with ubuntu server OS.07:47
SmokeyDWould a mini atx box with an intel atom chipset be enough for this?07:47
SmokeyDintel atom processor I mean07:47
SmokeyDwith 2 sata disks in raid07:48
persiaSmokeyD: It depends on usage.  Unless you're doing a huge amount of file transfer, that should be more than adequate.07:48
SmokeyDno, we are just four self employed people doing standard office stuff. No video work or stuff like that.07:49
=== Jeeves__ is now known as Jeeves_
twbA MIPS system is adequate for a NAS08:03
persiatwb: Not one that runs Ubuntu :)08:03
twbpersia: could install it n a loongson08:04
persia(last I saw the mips port was still at toolchain-level, and I'm not sure it's gotten much attention over the past year or so)08:04
twboh, right08:04
cjwatsonIs it possible to get KVM to use USB passthrough and, crucially, boot from the USB-passthrough hard disk?09:43
twbcjwatson: you can cheat in at least one way:09:44
cjwatsoni.e. I'm currently using  sudo kvm -m 512 -usb -usbdevice host:VENDOR:DEVICE  where VENDOR:DEVICE identifies my external USB-connected hard disk, and would like to get the virtual machine to boot from that hard disk; by default it doesn't seem to be among KVM's boot devices09:44
twbqemu -hda /dev/uba09:44
persiatwb: Yes, but then kvm doesn't see it as USB, which can be important.09:44
twbhence "cheat"09:45
cjwatsonas it happens that might be OK in this narrow case09:45
cjwatsongood enough for finishing an install test, at least :-)  Thanks!09:46
cjwatsonI wouldn't mind knowing if it's possible with -usbdevice anyway, but no longer a blocker09:47
=== jpds_ is now known as jpds
twbI'm afraid I've never done USB, it's too "desktopy"10:15
twbThere' #qemu and probably a #kvm, but IME they're full of crackheads10:15
twbYou might get lucky10:16
DavieyI have no idea if the standard bios supports booting from USB.10:41
TeTeTttx: any tests that should be done on UEC Lucid at the moment? I have fired up my one front end/one node controller cloud and have some time at hand10:46
ttxTeTeT: nothing specific10:47
twbDaviey: good point10:48
twbYou might be able to use -kernel gpxe or unetbootin to bootstrap a USB device that way10:49
stefanlsdAnyone experienced this with a virsh create domain.xml  (error: internal error cannot parse QEMU version number in '')11:07
=== ogra_ is now known as ogra
=== samferry is now known as Guest66070
ttxkirkland, smoser: ping me when you have 5 minutes12:21
smoserttx, here now.12:44
ttxsmoser: will ping you back in ~10min12:46
ttxon a call right now12:46
smoserk12:46
ttxsmoser: pm?12:59
smoseryeah13:00
jaypurwhere is the no-ip folder at ubuntu-serveR?13:02
Picijaypur: folder? Can you rephrase your question?13:07
jaypurPici, sorry just woke up13:08
jaypuri wanna see the files of no-ip... and see if i can edit it.... where can i find it?13:08
Picijaypur: see dpkg -L no-ip  (or noip2, depending on what version of Ubuntu you're using)13:10
jaypurjust a sec13:11
jaypurPici, lol it says it's not installed both of them, but i installed13:15
jaypurlol13:15
zulttx: 3.4.6 still has the debconf use of unitilized error13:22
zulbug #54186913:22
ttxbug 54186913:22
ttxbeh13:23
mickster04that makes four of us!13:23
Picihrm13:23
mickster04oops13:23
ryanakcaCould someone help me figure out why MySQL won't start? http://ryanak.ca/~ryan/mysql-install-log13:23
ttxzul: yes, dupe of bug 52251413:24
Picisoren: ping, looks like uvirtbot is MIA.13:24
ttxzul: that one was never really fixed13:24
ttxzul: the proposed patch just doesn't do it13:25
zulmaybe open up a bug in debian?13:26
zulryanakca: maybe "[ERROR] /usr/sbin/mysqld: Can't find file: './mysql/user.frm' (errno: 13)" ?13:26
ryanakcazul: Aye, and what should I do about that?13:26
zulryanakca: fix your mysql tables, check google13:27
ryanakcazul: OK. Should this be an issue on a fresh install?13:28
zulryanakca: it shouldnt but i never seen that before on  a fresh install13:28
ryanakcazul: Everything I'm finding requires me to connect to MySQL... which I can't do if it won't start13:34
zulryanakca: you can try re-installing mysql13:35
ryanakcazul: I've tried purging and reinstalling13:36
Jeeves_That doesn't work.13:36
Jeeves_Purge13:36
Jeeves_You have no data at all that can be lost?13:36
ryanakcaJeeves_: None whatsoever. It's a fresh install13:37
Jeeves_ok13:37
Jeeves_apt-get remove --purge mysql(or-so)13:37
Jeeves_rm -rf /var/lib/mysql13:37
Jeeves_rm -rf /var/run/mysqld13:38
Jeeves_rm -rf /var/log/mysql*13:38
Jeeves_That remove everything there is to be for mysql13:38
Jeeves_Than apt-get install mysql again13:38
jaypurPici, it's noip213:39
jaypuri wrote it wrong sorry13:39
ryanakcaJeeves_: I can get rid of /etc/mysql* too?13:40
Jeeves_ryanakca: Yes, that one too. Although that should be empty after a purge13:41
ryanakcaJeeves_: Hmmm... decided to leave it13:41
ryanakcaJeeves_: Same thing, http://ryanak.ca/~ryan/mysql213:44
ttxzul: i'll dupe it13:45
Jeeves_ryanakca: Did you change the location of the mysql data in the config?13:46
ryanakcaJeeves_: I haven't touched any config files13:46
=== jbernard_ is now known as jbernard
Jeeves_what does "grep datadir /etc/mysql/my.cnf" say?13:47
ryanakcagrep: /etc/mysql/my.cnf: No such file or directory13:49
ryanakcalemme reinstall mysql-common13:49
Jeeves_:)13:51
ryanakcaOh, bravo: tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      7546/mysqld13:56
ryanakcaMany thanks :)13:56
Jeeves_:)13:56
zulttx: ping when you get a second can you have a look at the patch at https://bugs.edge.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/50698514:01
zulttx: i would really like to get that fixed for beta2 if possible14:02
ttxzul: reading the comment, it doesn't appear to be sufficient ? Maybe ask soren about this ?14:13
zulk14:13
zulsoren: ping14:13
jcastrokirkland: http://lifehacker.com/5496679/testdrive-virtualizes-brand+new-ubuntu-builds-for-easy-testing14:15
jcastrokirkland: Ars and Lifehacker in one week!14:15
kirklandjcastro: nice :-)14:21
kirklandjcastro: i haven't seen the ars article yet14:21
jcastrohttp://arstechnica.com/open-source/news/2010/03/ubuntu-prerelease-testing-made-easy-with-testdrive.ars14:24
=== dendrobates is now known as dendro-afk
PupenoDo you set the hostname of a machine to 127.0.0.1 or to one of the public ips in a server in /etc/hosts ?14:38
=== dendro-afk is now known as dendrobates
sherrPupeno: A hostname is a "name" so do not use an IP address like 127.0.0.1. You can add a name (hostname) to the public IP if you want - and associate that interface with the chosen name.15:07
Pupenosherr: recently it happened to me that hostname was xen2, and /etc/hosts only contained 127.0.0.1 localhost, so sudo complained about xen2 not found and hostname -f failed miserably. If I assign xen2 to 8.8.8.8 instead of 127.0.0.1; wouldn't I have similar failures if the public key of that machine changes?15:09
zulttx: https://bugs.edge.launchpad.net/ubuntu/+source/bacula/+bug/51527415:16
ttxzul: ok, removing milestone until this gets accepted15:20
_rubenPupeno: you running google's public recursive dns server? if not, i dont see why you'd use 8.8.8.8 as ip address15:27
hggdhmathiaz: how can I go on the UEC testing blueprint (tests on B1 candidate)?15:32
hggdhmathiaz: as I understood you yesterday, the test rig is not running beta115:33
mathiazhggdh: well - it's running what's the latest from the archive15:33
mathiazhggdh: what needs to be done is to install from the *iso*15:33
mathiazhggdh: on tamarind, you can see in the topologie.yaml file that you can select the media to install from15:34
mathiazhggdh: one of the example is to set a url for an iso15:34
mathiazhggdh: you can set the url to the iso candidates from cdimages15:34
hggdhmathiaz: OK. Any specific topol to be used?15:34
mathiazhggdh: all of the topologies need to be tested15:35
mathiazhggdh: so start by updating the iso rule, then update the installer-media reference in the yaml file15:35
mathiazhggdh: and then ./set_topo.py lucid-amd64-topo115:35
ttxmathiaz: have 5 minutes ?15:36
mathiazttx: I hope so!15:36
ttxmathiaz: see pm15:37
hggdhmathiaz: roger wilco15:37
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
Ziderhow can I make the fs-mounting initscript wait until cryptdisk is finished?15:57
Pupeno_ruben: it was an example obviously.16:01
=== robbiew_ is now known as robbiew
_rubenPupeno: then use example ip addresses (192.0.2.0/24 is reserved for that) :) not existing ones16:05
Pupeno_ruben: ok, I'll try to remember it the next time, so nobody gets confused about my examples, but I probably won't.16:08
_rubenPupeno: the "problem" with 8.8.8.8 as a "random example" is that it's a quite "known" existing ip address, being google's open resolver :)16:09
Pupeno_ruben: ok.16:10
_rubenok, enough nitpicking for today .. time to head home .. weeeekend16:10
=== dendro-afk is now known as dendrobates
grepFuHi can anyone help me with this : http://pastebin.com/mzfHRJnK16:39
persiagrepFu: Unless you are tying to do something special, try purging dovecot-common dovecot-imapd and dovecot-pop3d before running the install again16:40
grepFuI did, it outputs similar errors again.16:41
persiaAfter purge?  How did you purge?16:41
grepFusudo apt-get purge16:41
grepFuhttp://pastebin.com/rhLKJWjk16:42
grepFuif I do the install again, i get the same errors as before, bit of a looping problem.16:42
grepFuCan't uninstall, can't install...16:42
persiapurge really ought to forget that you intentionally deleted the config files.16:43
grepFuWas following this - https://help.ubuntu.com/community/Postfix16:43
persiaMaybe hunt through and purge *all* the dovecot stuff you have installed, and reinstall?16:43
grepFuIt wasn't working, and is pretty hard to follow so decided to start again, and follow my official server book instead.16:43
grepFuSo did apt-get remove on the apt-get installs16:44
grepFuand reinstalled PostFix and then tried to do DoveCot, and this is what happened ;(16:44
persiaSomehow it believes you manually deleted some configuration files.16:44
grepFuCan I not just put them back in, so it'll shut up and reinstall?16:44
persiaYou could.  Do you know what they contain?16:45
persiaAlso, unless you manage to put back the *exact* files, it won't automatically update them on upgrade.16:45
grepFuno idea16:45
grepFuI just want to fresh install the package.16:46
smosermathiaz, fyi, you're elite yaml skilzz were helpful to me. https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/541907/comments/316:47
persiapurge + install is supposed to do that.  Report a bug against the package.16:47
smoserthank you for a.) suggesting use of yaml b.) showimg me about aliases (./topologies.yaml)16:47
mathiazsmoser: yeah - yaml is an awesome language for configuration IMO16:47
mathiazsmoser: it just has the right syntax for doing good configuration16:48
grepFudamn.. ok thanks for the help16:48
mathiazsmoser: but isn't a full blown langage16:48
mathiazsmoser: I really like the references16:48
smoseryeah. #include missing.16:48
mathiazsmoser: right - includes are missing16:48
grepFuthe bug system is a bit wierd16:50
mathiazsmoser: is ami-ad09e6c4 the beta1 EMI?16:52
mathiazsmoser: *AMI*16:52
smoseryes.16:53
smoserus-east-1 ami-ad09e6c4 ubuntu-images-milestone/ubuntu-lucid-10.04-beta1-i386-server-2010031716:53
mathiazsmoser: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=310216:53
mathiazsmoser: ^^ still list 9.10 in the AMI manifest16:54
smoserfixing16:54
smoser:)16:54
mathiazsmoser: I haven't checked the other web page though16:55
bogeyd6needs moar uec16:55
grepFumanaged to fix it myself16:56
grepFu:D16:56
grepFuMade the folder /etc/dovecot16:56
grepFuthen made the 3 conf files (as blank)16:56
grepFuthen purged, then reinstalled.16:56
persiaAh.  So the purge wasn't completing because the directory was missing?  Please file a bug : it should be smarter than that.16:57
grepFuok16:57
grepFuThanks again for your help, wouldn't have figured it out otherwise... 2 hours of my life I won't get back, loggin the bug now.16:58
smosermathiaz, its fixed now.. i actually think you might have had a cache or something . but it does your's show 20100117 in the manifest path ?16:58
smoser(before reloading)16:58
mathiazsmoser: ubuntu-images-milestone-us/ubuntu-lucid-9.10-beta1-i386-server-201003XX.manifest.xml16:59
persiagrepFu: Thanks for figuring out the real reason : had me stumped.  Let's hope that gets fixed before someone else gets stuck.16:59
mathiazsmoser: ^^ this is what  AMI Manifest showed16:59
smoserhm.. oh well. it shoudl b good now.17:00
smoserthanks, mathiaz also noticed the '9.10' in there and fixed that.17:00
mathiazsmoser: are you using a template to generate the content?17:01
mathiazsmoser: or is it manual?17:01
mathiazsmoser: (ie the process of creating the amazon entry)17:01
smoserwell, mostly manual. but i bzr it.17:01
smoseryou have to edit a form . in aws to update it.17:02
smoserwith lots of fields, so its easy to miss one even if you have the correct data in front of you.17:02
mathiazsmoser: the security uses a similar workflow to publish USN IIRC17:02
mathiazsmoser: well - kind of similar17:02
mathiazsmoser: IIRC they use a template to generate the text and then copy'n'paste into the ubuntu.com website17:03
mathiazsmoser: it may not apply to the AWS website though17:03
mathiazsmoser: especially if there are multiple fields involved17:03
smoseryeah. i've just not gotten to generating the content.17:03
smoserhttps://code.launchpad.net/~smoser/ubuntu-on-ec2/ami-pages is the branch17:04
smosermathiaz, if you wanted to, i'd take a patch to modify AWS web pages programmatically.17:16
smosersince you don't have anything else to do17:16
smoser:)17:16
mathiazsmoser: :)17:16
mathiazsmoser: ETA: 22nd March 301017:16
smosersweet.17:17
hggdhmathiaz: with a schedulling policy of greedy one one NC should have 2 instances (following the test), right?17:30
mathiazhggdh: I think so17:31
hggdhmathiaz: I do not see it (at least, I think so). Can you check dempedak?17:31
mathiazhggdh: http://paste.ubuntu.com/397914/17:41
mathiazhggdh: seems like the test is failing17:41
MTecknologywhat's that thing people liketo use to manage their servers from teh web?17:51
bogeyd6webmin17:52
Hypnozssh17:57
Hypnoz;)17:57
leniostechnically, ssh is not web17:58
leniosbut i guess no one cares17:59
HypnozI care that ssh is not web lenios. I care a lot. And frankly I've been losing sleep over it lately, I haven't shaved or showered or gone to work in days contemplating the wide reaching and deep impacting ramifications of that very statement.18:02
lenios:)18:02
leniosanyway, some people can't tell the difference between google and internet18:03
Hypnozwait until they have chromeos18:05
hggdhmathiaz: bug 542075 opened18:10
=== maxb_ is now known as maxb
madcat1990I have a problem with my ubuntu server18:59
madcat1990I am using version 9.10, have in it  Dhcp server, apache server, mysql, iptables to NAT the school's internet to other pcs on the network (conected to the server through a switch)18:59
madcat1990the computer I'm using is a dell server18:59
madcat1990uses a Single Core XEON Processor by intel19:00
madcat1990running at 2Ghz, and 1GB of ram19:00
madcat1990problem is, everyday19:00
madcat1990it hangs, completelly19:00
madcat1990any sugestions?19:00
Hypnozwhat time is it hanging, look through files in /var/log for things happening at that time19:03
sherrmadcat1990: Nothing in /var/log/syslog?19:04
sherrmadcat1990: Can you put a serial console on it? Might display an error.19:05
madcat1990hmm19:05
madcat1990will check that log then19:05
madcat1990let me take note19:05
madcat1990thanks, after I see it19:08
madcat1990i will be back19:08
=== Airells is now known as airells
VSpikeHow can I prevent a dynamic interface updating from updating /etc/resolv.conf while still getting other IP info from DHCP?19:55
geneticx_wrkHello everyone. I would like to achieve auto-login using ssh to another server but no luck. I have copied the public key to the remote server but I still get prompted for a password, any help?19:58
VSpikegeneticx_wrk: I always find this to be the best guide by far http://sial.org/howto/openssh/publickey-auth/20:00
VSpikegeneticx_wrk: have you tried running ssh -vvv20:01
VSpikegeneticx_wrk: ime the problems is usually one of permissions :)20:01
VSpikeif any of the files are too weak on permissions, the ssh client or server will ignore them20:02
geneticx_wrkVSpike: this is what my ssh -vvv looks like http://pastebin.com/9fHniHPL but still can't figure it out20:05
VSpikegeneticx_wrk: you're doing it as root?20:07
geneticx_wrkyup20:08
VSpikeso does /root/.ssh/id_rsa exist?20:09
VSpikeor /root/.ssh/id_dsa20:10
geneticx_wrkVSpike: only known_hosts20:12
VSpikegeneticx_wrk: then I don't think you've correctly set things up.  Try following the procedure on the link I gave. You just need to do stuff under "Public Key Setup".  Ignore the stuff about ssh-agent for now.20:15
geneticx_wrk_VSpike: Ok I will, but when it asks to copy the contents of id_rsa.pub >> authorized_keys .. in ubuntu i have known_hosts so should I create another file called authorized_keys or just append it to known_hosts?20:20
VSpikegeneticx_wrk_: known_hosts is definitely the wrong file20:22
VSpikegeneticx_wrk_: the command it says is cat ~/id_rsa.pub >> ~/.ssh/authorized_keys20:23
VSpikeThat will do the right thing20:23
VSpikeIt will create the file if it doesn't exist20:23
geneticx_wrk_VSpike: ok, hummm..now I'm wondering what the purpose of the known_hosts file is in ubuntu and how it's used with ssh20:27
VSpikeknown_hosts records hostnames and ip addresses against certs20:27
VSpikeYOu know the message when you ssh somewhere for the first time that says "are you sure this what you think it is? yes/no"20:28
VSpikeWhen you say yes, the machine gets added to the list20:28
VSpikeif the cert ever changes, ssh will quit with a warning that someone is maybe doing something nasty20:28
geneticx_wrk_ah yes, you are correct20:28
geneticx_wrk_geez brain fart20:29
VSpikeif it does that and you want to remove the cert and start again (i.e. you know everything is OK), a good tip rather than editing the filed direct is to use ssh-keygen -R <hostname or IP>20:30
geneticx_wrk_VSpike: have you ever used ssh-copy-id instead?20:31
VSpikenope, not come across it20:32
VSpikeah neat.. looks handy20:32
VSpikeI kept meaning to put all the stuff from that site into a script :)20:32
VSpikeLooks like someone got there first20:33
=== Maletor_ is now known as Maletor
geneticx_wrk_VSpike: hehe..yeah20:33
geneticx_wrk_VSpike: my intended plan is to use rsync and auto-login to the source machine20:38
neurostimhi, I have a problem for install proftpd-mysql, I can't install it with apt-get so with dpgk & the .deb, I had a depedency problem21:08
sherrneurostim: why not use apt-get? what's the problem?21:10
neurostimE: Aucun paquet ne correspond au paquet proftpd-mysql21:11
neurostim* no package found21:11
leniosneurostim, try proftpd-mod-mysql21:13
neurostimlenios : thx21:13
neurostimlenios : It's worked great :-D21:14
leniosaptitude search proftpd* :)21:15
neurostimlenios : thx too ;)21:16
VSpikeHow can I prevent a dynamic interface updating from updating /etc/resolv.conf while still getting other IP info from DHCP?21:21
VSpikeaha.. figured it out21:32
lullabudVSpike: what's the solution?21:44
=== erichammond1 is now known as erichammond
VSpikelullabud: add 'supersede domain-name-servers 127.0.0.1;' to /etc/dhcp3/dhclient.conf ... in my case, inside 'interface "eth0" { ... }' although that's not required23:11
lullabudvery handy.  i was expecting something more along the lines of /etc/resolve.d, which seems to be the direction most things are going.23:12
VSpikelullabud: yeah.. another way would have been a post-up command or script to just overwrite /etc/resolv.conf but that would have been more kludgy23:17

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