/srv/irclogs.ubuntu.com/2013/02/08/#ubuntu-server.txt

=== wedgwood is now known as wedgwood_away
talntidI have a multihomed machine (2 NIC's, 2 valid gateways, on different networks) and I am having trouble making it so the machine can send/recieve traffic on both interfaces flawlessly. Is this not possible?00:29
talntidif I use the default settings, sometimes it goes out over eth0, sometimes over eth1. I want the machine to send its traffic out over whatever interface it recieves it from - and in the case it is initializing its own traffic, just send it out over eth0.00:31
sarnoldtalntid: perhaps the LARTC website will be useful: http://lartc.org/00:31
sarnoldtalntid: here we go: http://lartc.org/lartc.html#LARTC.RPDB.MULTIPLE-LINKS00:34
=== justizin_ is now known as justizin
drag0niusanyone had troubles loading config on 12.04?02:14
qman__!anyone | drag0nius02:14
ubottudrag0nius: A high percentage of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? See also !details, !gq, and !poll.02:14
drag0niusSHOW config_file; points to right file02:15
drag0niusbut even though listen_addresses are set to '*' in the file 'SHOW listen_addresses;' prints localhost02:15
qman__what software are you referring to?02:16
drag0niuspostgresql9.102:17
drag0niusnetstat -tlnp shows postgres on 127.0.0.1:543202:17
drag0niusbut connections are not allowed02:17
sarnolddo you need to do anything to reload the config?02:18
qman__normal service restart/reload02:18
drag0niusyeah i tried restarting/reloading/stopping -> starting02:19
drag0niusnothing works02:19
sarnoldlogs?02:19
drag0niusthere is nothing02:20
drag0niushmm02:21
drag0nius'incomplete startup packet'02:21
drag0niushttp://wklej.org/hash/7da7e6e01e8/02:22
drag0niuscould not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "192.168.1.1" and accepting TCP/IP connections on port 5432?  thats whole error02:25
drag0niusi even tried putting 0.0.0.0/0 trust in ph_hba.conf02:27
drag0niusnothing seems to work02:27
sarnolddrag0nius: maybe try listen_addresses 127.0.0.1,192.168.1.102:27
drag0niusi don't think it loads that config file at all02:28
drag0niuspsql still shows localhost02:29
sarnolddrag0nius: strace -f -o /tmp/pgsql service postgresql restart02:29
sarnolddrag0nius: find out for certain what config files it reads :) damned blunt hammer, but..02:29
drag0niuswhat am i supposed to search file for?02:32
qman__my first guess would be that there's a syntax error in it causing it to be ignored02:33
qman__but I don't know02:34
drag0nius3936  faccessat(AT_FDCWD, "/etc/init/postgresql.conf", R_OK) = -1 ENOENT (No such file or directory)02:34
drag0niusthat?02:34
qman__I'm not intimately familiar with how postgres handes its config files02:34
qman__that's upstart02:34
drag0niusthen there is 3936  stat("/etc/postgresql/9.1/main/postgresql.conf", {st_mode=S_IFREG|0644, st_size=19259, ...}) = 002:34
drag0niusi guess that 'SHOW listen_addresses;' should display right value to start with02:36
drag0niusmaybe let's just try restarting machine02:42
=== pcarrier_ is now known as pcarrier
koolhead17hi all07:51
=== donza_ is now known as donza
=== yofel_ is now known as yofel
elfrannei am doing so developing to parse some website but the amount of data and their servers are quite slow, is there a way to do some sort of forced proxy to cache the content ?09:08
lifelessyou could use a proxy yourself :) - such as squid09:14
mah454Hello09:26
mah454I want to run Clud Computing .09:26
mah454OpenQRM or OpenStack ?09:26
mah454what choice is better ?09:27
koolhead17melmoth: hola10:16
melmothhola koolhead1710:16
=== dijit is now known as sanders
=== sanders is now known as dijit
=== wedgwood_away is now known as wedgwood
=== railsraider_ is now known as railsraider
BerndtHey, I am trying to install a wow server, and I am stuck on a step on this guide where I am to install databases. It has to do with mySQL which I have no experience of dealing with, and I just don't understand what I am supposed to do. I have installed a mySQL server on my server computer, and I have downloaded the .sql files, but I don't know how to install them... :S14:37
BerndtThe guide I am following is http://collab.kpsn.org/display/tc/How-to_Linux, I am on the step "INSTALLING THE DATABASES"14:37
melmothBerndt, looks like you have to create database in mysql, a user, grant privileges for this user on this database14:40
melmothand then inject the sql dump in this database14:40
BerndtI would like to learn to use mysql but I don't have any clue how to do that. I have tried creating databases but I have no clue where to start.. Any tips on how I can learn to do that?14:41
TuxLofnormalizing14:42
melmothhttp://webcheatsheet.com/SQL/mysql_backup_restore.php14:42
melmoththis show how to create backups sql file (i bet this is the kind of file you have) and how to restore them14:42
melmothhttp://www.debuntu.org/how-to-create-a-mysql-database-and-set-privileges-to-a-user/14:43
melmothand this on how to create a db and some user14:43
=== tmclaugh2work is now known as tmclaugh[work]1
=== tmclaugh[work]1 is now known as tmclaugh[work]-
=== kentb-out is now known as kentb
hallynjamespage: fancy reviewing a qemu upload?15:01
hallynjamespage: oh, nm.  I fear in this case it'll just waste your time.15:02
hallynDaviey: can you update the qemu-kvm listing in the server seed to be qemu-system-$arch?15:06
hallyn(we have: qemu-system-x86, qemu-system-ppc, qemu-system-arm, qemu-system-sparc, qemu-system-misc, qemu-system-mips)15:07
Davieyhallyn: do you want to propose a merge proposal?15:13
hallynDaviey: for which?15:16
hallynfor the server seed?  I didn't realize there ws a package/source for that15:17
hallynbe happy to though15:17
hallynd'oh15:26
hallynstgraber: Daviey: qemu is not in the server set yet?15:26
hallynI don't have upload rights15:26
Davieyugh15:28
stgraberhallyn: let me look into that :)15:29
stgraberbecause it should be so we need to fix that15:29
hallynDaviey: oh since i didn't see you there yesterday, you can relive it:  https://wiki.ubuntu.com/LxcUsernsIrcChat15:29
hallynstgraber: thanks15:29
stgraberstgraber@castiana:~/data/code/ubuntu-archive-tools$ ./edit-acl add -P ubuntu-server -s qemu -S raring15:29
Davieyhallyn: i thought you had PPU for qemu anyway :>15:29
stgraberAdded:15:29
stgraberqemu15:29
Davieyhallyn: I look forward to reliving15:30
=== matsubara is now known as matsubara-lunch
hallynstgraber: thx15:34
hallynDaviey: for qemu-kvm, but not qemu15:35
Davieyah!15:39
hallynroaksoax: hey, could I get you to sync netcf from debian experimental to raring?15:39
Davieyhallyn: so you probably want to s/qemu-kvm/qemu-NEW-BINARIES/ in virt-host seed ?15:40
hallynDaviey: well per infinity's comment last night, i assume something like qemu-system-x86 [ i386 amd64 ] \n qemu-system-ppc [ ppc ] etc15:42
hallynbut yeah15:42
hallynDaviey: I'll do a mp.  should I assing you, or leave it blank?15:44
hallynheh, how does one test that :)15:44
hallynare powerpc, i386 and amd64 the only ones we officially support in server seed?15:45
Davieyhallyn: you can germinate yourself.. but generally JFDI15:49
Davieyhallyn: yes15:49
Davieyhallyn: I will happily review + merge it15:49
hallynDaviey: are you trying to get me in trouble with the local law?  my attempts to test my server seed change have led me to "Cannabis Seeds Germination Troubleshooting Guide"16:18
Davieyhallyn: why do you think they call it high level management ?16:19
hallynDaviey: ok, anyway this has to wait until the new pkgs are published, so i'll do mp on monday - thanks, ttyl16:24
Davieysuper16:26
Davieythanks16:27
Davieyhallyn: actually, if you could do it later today... that would mean that next ISO would be undersized..16:27
=== matsubara-lunch is now known as matsubara
hatakehy how to fix this http://dpaste.com/915775/16:33
hallynDaviey: but i can't, qemu-system-x86 doesn't exist yet16:38
hallyni'll see how quickly it builds16:38
hallynwait, did it already build?  wow16:40
hatakehy how to fix this http://dpaste.com/915775/ ?16:40
hallynResolving terrrtertetetertertertertertertertertertretrtbh (terrrtertetetertertertertertertertertertretrtbh)... failed: Name or service not known.   wow16:41
hallyndns problems?16:42
hatakeno dns fine16:44
hallynroaksoax: ping16:54
roaksoaxhallyn: pong16:55
hatakeeror http://dpaste.com/915863/16:57
hallynroaksoax: hey, do you mind syncing netcf from debian experimental into raring?16:57
roaksoaxhallyn: netcf (1:0.2.3-1) experimental; urgency=low ?16:58
hallynroaksoax: yup16:58
roaksoaxhallyn: done: syncpackage: Request succeeded; you should get an e-mail once it is processed. :)16:58
hallynroaksoax: thanks!16:59
hallynnow to wait for the qemu fallout.  i've got a hair patch to review meanwhile, bbl17:00
Techdude1011hi all, I am having a problem with my time server - Server dropped: strata too high17:48
Techdude1011any help would be greatly appreciated17:49
sarnoldTechdude1011: going strictly by that error message here, I wonder if the machine you had set as your time source is too many hops away from a strata 0 time server (say, a GPS radio or something)18:01
Techdude1011sarnold:only behind a single router18:03
Techdude1011stratum keeps showing up as 16 for some reason18:03
sarnoldTechdude1011: hehe, sorry, not those hops.. getting time from machines that got their time from machines that got their time from .. all the way down.18:03
sarnoldthough 16 makes me wonder if your upstream time source is missing altogether? 16 is a magical number..18:04
Techdude1011sorted :) it was apparmor18:04
sarnoldah!18:05
sarnoldTechdude1011: please file a bug if it is too-tight policy :D18:05
Techdude1011think it's just down to lack of knowledge on my part18:05
Techdude1011thanks for the help btw18:08
sarnoldTechdude1011: my pleasure :)18:13
MACscrhow do i update my nameservers in resolve.conf? Ive read that i need to change them in /etc/resolvconf/resolv.conf.d/tail, but im really sure how to then get those to apply18:24
sarnoldMACscr: it ought to happen the next time resolvconf regenerates your config -- say, next dhcp lease or something18:28
sarnoldMACscr: feel free to make the same changes to /etc/resolv.conf if you don't want to wait or turn networking on and off again18:28
sarnold(yes, they'll be thrown away, but you made the same edits in the 'tail' file, so they'll be replaced :)18:29
hallynsarnold: without trying, doesnt 'restart reslvconf' regenerate immediately?18:49
sarnoldhallyn: dunno? :)18:50
sarnoldhallyn: if so, that'd be way easier...18:50
hallyn(test)  yup18:50
sarnoldyay thanks :)18:50
sweetteaMACscr: you can specify nameservers in the interfaces file18:57
jkyleI'm trying to install the lvm2 package on 12.04, it throws this error: lvm2 : Depends: watershed (>= 2) but it is not installable19:41
escottplease dont crosspost19:51
jkylesure thing, seemed kinda dead. I'm not even seeing a watershed package in my cache19:52
escottjkyle, thats part of what makes the crossposting worse... someone will leave the window on the dead channel open and start answering something that was already answered in the other channel 30 minutes ago19:53
pmatulisjkyle: works fine here.  something might be messed up with your source files (/etc/apt)19:54
escott!info watershed19:54
ubottuwatershed (source: watershed): reduce superfluous executions of idempotent command. In component main, is extra. Version 6build1 (quantal), package size 11 kB, installed size 60 kB19:54
jkyleyeah, I'm poking around in there19:54
jkyleI found it on the package search for precise19:54
escott!info watershed precise19:55
ubottuwatershed (source: watershed): reduce superfluous executions of idempotent command. In component main, is extra. Version 6 (precise), package size 11 kB, installed size 60 kB19:55
escottjkyle, certainly should be there. make sure you arent pinning by accident19:55
escott!pinning19:55
ubottupinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto19:55
escottor holding for that matter "dpkg -l "watershed"19:56
jkylefresh install: https://gist.github.com/jameskyle/474151319:56
jkylebasically the first reboot after install19:56
jkyledpkg -l => un  watershed                                            <none>19:57
escottjkyle, perhaps your apt mirror is out of sync and has an update to the lvm2 package but not the corresponding watershed package19:58
jkylewell, odd thing is apt-cache search watershed doesn't find a watershed package. Let me point my sources.list somewhere else (currently pointing to us.archive.ubuntu.com)19:59
melteri'm installing 12.10, and it's failing on "configuring apt"; is there a way to work around this?20:03
jkyleswitched to the mirror.anl.gov site, same error20:03
melteri've tried a dvd and a flash drive, so it's not the medium20:03
melter"An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: Configure the package manager"20:04
jkylewatershed is part of ubuntu core, really weird that it's not even in my apt cache20:18
gumaI was wondering is there is a way to create user 'suser' with nologon (I got that) and setup so users from specific group can 'su - suser' with no password?20:25
jck77a root user with no password isn't really smart20:29
RoyKguma: man visudo20:31
RoyKor sudo20:31
RoyKguma: it's not very smart, though, as jck77 said20:31
RoyKguma: %somegroup ALL=(ALL:ALL) NOPASSWD:ALL20:32
RoyKwill do it20:32
RoyKbut then, if someone gets in with that group membership, you're fucked20:33
gumaRoyK: I do not want this user be root20:33
RoyKthen use specific sudo access20:34
RoyKit's in the manual20:34
gumaI want to have common accoutn that you can't ssh to and people from "group can su to it and run specific software20:34
RoyKthat's easy with sudo20:34
RoyKjust rtfm20:34
gumaRoyK: ok RTFM20:34
RoyKman sudo or google it20:35
sarthorHI, .pl files are downloading instead of opening via mozilla, while on chrome that is opening as text. HElp please, I Installed sql-ledger on my ubuntu-server.21:24
escottsarthor, when you crosspost please note it in the channel you are leaving21:28
sarthorescott: Sorry I am unable to understand, Can you please write in a bit easy english. Sorry friend.21:31
kirklandsmoser: utlemming: Okay, I've just launched several Ubuntu 12.04.1 instances in AWS, and on my first login to a virgin system, I'm getting "can't create socket: No space left on device"21:57
utlemmingkirkl;and: ami id?21:57
utlemminger, kirkland: ^21:58
utlemmingregion?21:58
kirklandutlemming: us-east-1d, hang on, might be user error....21:58
kirklandutlemming: smoser: okay, false alarm, script kept logging me into the same instance where I'm seeing that problem21:59
kirklandutlemming: that error is strange, though, as they is plenty of space left on all devices21:59
Davieygrowroot failed?21:59
utlemmingkirkland: can I take a peak?22:00
kirklandutlemming: sure, what's your lpid?22:00
utlemmingkirkland: utlemming22:00
kirkland$ ssh-import-id utlemming22:01
kirklandmktemp: failed to create file via template `/tmp/tmp.XXXXXXXXXX': No space left on device22:01
kirkland:-)22:01
utlemmingkirkland: are you playing with overlayfs?22:01
kirklandutlemming: nope22:01
kirklandutlemming: one sec, let me get you in there22:02
kirklandutlemming: ssh ubuntu@ec2-23-22-241-88.compute-1.amazonaws.com22:02
* utlemming is in22:03
utlemmingkirkland: wierd. mtab isn't populated...and its refusing to populate22:05
kirklandutlemming: this is a fresh boot--i've rebooted several times now22:06
Davieykirkland: what was the user-data?22:08
kirklandDaviey: nothing passed whatever amazon loads by default when launching from the web interface22:09
utlemmingkirkland: this is really odd...I've never seen an instance behave like this22:09
kirklandutlemming: me neither22:10
utlemmingkirlkand: out...can you paste a console log?22:14
kirklandutlemming: yeah...one sec22:18
kirklandutlemming: http://paste.ubuntu.com/1626918/22:19
utlemmingkirkland: nothing obvious...22:20
kirklandutlemming: hmf22:21
* Daviey bets ir's just broken infrastructure 22:23
kirklandutlemming: okay, I'm just going to STONITH this instance22:27
kirklandutlemming: as i have a copy of it22:27
ianrossiHi there, I'm configuring Juju with a local install of Openstack (devstack) in a VM and I'm getting an error I can't get past.22:27
ianrossiIs there anybody there that can help with Juju configs?22:28
utlemmingkirkland: that's what I would do22:28
kirklandutlemming: thanks22:28
ianrossiHere is my environments.yaml sanitized http://pastie.org/609878222:30
ianrossiThe error I'm getting is "2013-02-08 17:30:16,292 ERROR 'object-store'"22:30
ianrossiLooking for someone on the juju team, anybody there?22:36
sarnoldianrossi: a few folks in #juju or #juju-dev, depending upon your needs..22:38
ianrossiThanks sarnold22:52
grufftechHey folks.  So i've ran into a bit of a dumb issue.    Brand new Ubuntu Server 12.04 LTS virtual machine, updated fully, trying to get PHP-gd bundled installed.   http://pastebin.com/wyu1c2ZC  are my commands so far. Modified debian/rules accordingly, (http://pastebin.com/devs1DD2)   and the compile fails shortly after creating "its own mysql database"23:45
hallynDaviey: https://code.launchpad.net/~serge-hallyn/ubuntu-seeds/ubuntu.raring/+merge/14749123:45
grufftechReally confused as to why "apt-get build-dep php5" doesn't ACTUALLY get all the PHP5 dependancies, as well, but that's a side issue23:45
hallynDaviey: i couldn't assign you because it claimed you didn't have the rights to read the original branch23:45
sarnoldgrufftech: since the builds are done in chroots with very minimal default packages, it really _should_ list all the build deps..23:47
grufftechsarnold: I would think so as well.  I mean it's a bare bones install of Ubuntu Server 12.04 LTS, and i can't do something simple like recompile...  i'm missing something.23:49
grufftechI'm compiling again, so i'll have the exact error here in 4-5 minutes.23:50
maxbgrufftech: I don't know that much about GD, but is there some reason why 'apt-get install php5-gd' doesn't supply what you need?23:55
Davieyhallyn: merged with comment on MP for your review.23:56
Davieythanks23:56
grufftechmaxb: unfortunately ubuntu doesn't package php-gd with the version of gd that is typically packaged with php; therefore a rather large list of functionality missing from the ubuntu-packaged version.23:59
maxbah23:59

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