/srv/irclogs.ubuntu.com/2014/05/30/#ubuntu-server.txt

=== Joe_knock is now known as Joe_knock_afk
=== Joe_knock_afk is now known as Joe_knock
zombu2anyone awake?01:58
__dan__yeah i am02:09
__dan__seems to be full of channels all with 400 idlers in, this network02:09
__dan__wouldnt take it personally :) hehe02:09
zombu2heh maybe you can help me out02:10
zombu2i am trying to bond 2 nics02:10
zombu2i setup the bond interface but it seems to have trouble with the cards02:12
zombu2one is always disabled and the other one only works in single mode02:12
__dan__ooo i havent done that in a while, and if i remember correctly, the method of doing it changed since i last attempted it (debian etch i think)02:12
zombu2well i m loosing hair over it lol02:12
zombu2very limited info available02:13
jerrcszombu2: Which mode are you using for bonding?02:13
zombu2i am trying to use mode 402:13
zombu2802.3ad02:13
jerrcsOk, sorry.. I don't know anything about that.02:15
__dan__thats the aggregation one isnt it?02:15
jerrcsit appears so, yes02:15
zombu2yes you need a managed switch for that02:15
zombu2either way i have tried it with all modes02:15
zombu2i would be happy with roundrobin-rr for now02:15
__dan__I take it you've seen this: https://help.ubuntu.com/community/UbuntuBonding02:16
jerrcszombu2: why roundrobin-rr?02:16
jerrcszombu2: What are you trying to accomplish?02:16
zombu2end goal is to combine 2 nics for more speed02:17
jerrcsgood luck.02:17
zombu2roundrobin would be a start02:17
jerrcsit doesn't quite work like that02:17
jerrcsit's not necessarily going to get you more speed, that is.02:18
__dan__i thought it would, if you had a compatible switch02:18
zombu2i m trying to get it to work anyways for learning sake02:18
zombu2but i m stuck02:18
zombu2during boot it says waiting additional 60 seconds02:19
__dan__might be waiting for DHCP02:19
zombu2waiting additional 60 seconds for network configurtation02:19
__dan__have you been through that URL I posted above?02:19
zombu2yes02:19
jerrcsI guess your results may vary.02:19
zombu2thats what i used to set it up02:19
__dan__are you on dhcp or static ip?02:20
zombu2for some reason eth0 gets renamed during boot to em102:20
zombu2static02:20
jerrcsChange udev.02:20
zombu2how02:20
jerrcsYou can rename it back to eth0, there's a file in /etc/udev/rules.d/ that has all of the interface listings02:21
__dan__how odd, i would expect to see em1 on freebsd haha02:21
jerrcsWait, which version of Ubuntu?02:21
zombu2server 14.0402:21
jerrcsok02:21
zombu2funny thing is only eth1 shows in rules.d02:21
zombu2using lshw i can see the second card is there but disabled02:22
jerrcsI don't have the file on mine.. but yeah, find the NIC that matches up with the mac address and name it accordingly02:22
zombu2i tried that too02:22
zombu2i added the mac and name to rules.d still no dice02:23
zombu2deleting the file and let it be recreated on boot only writes eth102:23
__dan__if you're just testing, might be worth grabbing a coffee while you flatten and reinstall it :)02:23
__dan__make sure each nic is working first02:23
jerrcsactually, that's a bit weird. my 14.04 doesn't have the 70-persistent-net.rules02:23
jerrcsmy 12.04 does, however02:24
zombu2wierd02:24
zombu2reinstall is not an option for now since it got about 3tb of data on the raid02:24
__dan__on the same partition??02:25
__dan__like, as root and all that02:25
zombu2no md002:25
zombu2boot drive is a different hdd02:25
zombu2md0 is a mount02:25
jerrcsI think he was asking about your partition layout - whether or not / is the filesystem with the 3tb of data02:25
zombu2but i m afraid i cannot reassemble the mdadm device02:26
jerrcsAh, ok02:26
zombu2no it is not02:26
__dan__ahhh i see what you mean02:26
__dan__yeah if you dont have a backup then maybe best not to risk it02:26
zombu2the md0 is mounted in /media02:26
zombu2yeah keeping a 3tb backup around is kinda hard to do02:27
zombu2i m low on space as it is lol02:27
zombu2now back to preventing udev from renaming the nic02:27
__dan__so what does ifconfig or ip link show, what interfaces does it think it has?02:27
__dan__eth0, em1 ?02:28
zombu2ifconfig -a shows em1 eth0 bond0 regular ifconfig just shows bond0 and loopback02:28
zombu2lshw always tells me that em1 is disabled02:29
__dan__how about ethtool?02:29
jerrcsok, maybe you can just pastebin /etc/network/interfaces and then the output of "ip addr"02:29
jerrcsjust to see what you're working with here02:29
__dan__ya good call02:29
zombu2i have to revert the bonding changes kinda ghard to paste it without net lol02:29
zombu2give me about 5 mins02:29
__dan__lol ya02:30
jerrcswell02:30
zombu2i just comment em out02:30
jerrcsyou can always manually assign an IP to the interface w/o rebooting02:30
jerrcsifconfig eth0 192.168.1.14/2402:30
jerrcsroute add default gw 192.168.1.102:30
jerrcsetc etc02:30
zombu2brb02:30
jerrcsor em1, whatever it may be02:30
jerrcsalright02:30
__dan__not sure about that tbh, i got the implication that eth0 and em1 were both down02:31
__dan__<zombu2> ifconfig -a shows em1 eth0 bond0 regular ifconfig just shows bond0 and loopback02:31
jerrcsYeah, I think it will help to see the "ip addr"02:31
* __dan__ nods02:31
zombu2http://pastebin.com/kKBFvFEv02:35
zombu2next coming up02:36
zombu2http://pastebin.com/zKxe74Vg02:37
zombu2http://pastebin.com/pgZSnFzS02:38
zombu2http://pastebin.com/dKAXE2rx02:38
zombu2http://pastebin.com/P4d2w3ym02:39
zombu2http://pastebin.com/VvATViyu02:40
zombu2that should be all02:40
zombu2at least what i can think off02:41
__dan__yeah you seem to be missing a line in your udev rules for the other nic02:42
zombu2yes02:43
zombu2seems so02:43
__dan__although not sure if that would be an issue anyway02:43
__dan__can you confirm if both nics are working independently?02:43
zombu2but it does not create it and even after deleting the rule and recreating it it s not there02:43
zombu2they are02:43
zombu2i pulled em out and tested both in another machine02:44
__dan__well, i mean can you assign an ip address to em1 and have it behave02:44
zombu2i can try real quick02:44
zombu21 sec02:44
__dan__im just trying to round down the problem mate02:44
__dan__to be honest this kind of thing isnt my strong suit02:44
zombu2yeah i understand02:46
zombu2no problem02:46
zombu2i m pulling my hair out as well lol02:46
__dan__yeah we've all been there :/ haha02:46
__dan__if it's any consolation, a friend of mine did this with 4 cards and im almost sure they were intel02:47
__dan__think the switches may have been extreme networks02:47
__dan__and that was with debian lenny i think02:47
__dan__you could also check that the kernel module is being loaded with lsmod02:48
zombu2all the cards are intel02:48
zombu2same ones too02:48
__dan__yeah whatever you can say about intel they make good wired nics02:48
zombu2in my other home server i run a 4 port intel server card02:49
zombu2and it seems as soon as i assign an ip to em1 and activate it i get the waiting for newtwork config02:49
__dan__used to have a few of those at a place i worked at, real nice kit02:49
zombu2seems the card is not behaving02:49
zombu2yeah the 4 port is great02:49
zombu2i got that one running roundrobin for now since i can t seem to get 802.3ad to run on linux mint lol02:50
zombu2but thats another story02:50
__dan__yeah one problem at a time fella :)02:50
zombu2yep lol i m glad rr works on that one lol02:51
__dan__almost 4am here so i might have to abandon you shortly02:51
zombu2seems there s an issue with the em1 not behaving02:51
__dan__yeah its not a good sign02:51
zombu2yeah np not like the problem is going away lol02:51
zombu24am damn where you at europe?02:51
__dan__haha to be honest if i were in your shoes i would be considering swapping the boot drive for a spare, disconnecting the raid array and reinstalling ubuntu fresh02:52
zombu2i might try that next02:52
__dan__then make careful changes based on what you learned, see if the em1 / eth1 thing is still a problem, etc02:52
__dan__I'm in England02:52
zombu2i have the bad feeling that something is interfereing02:52
__dan__well it does seem like udev is confused which is never a good omen02:53
zombu2yeah i wonder what happened02:53
zombu2ima see if there s a bios update for the board02:53
zombu2i hate amd lol02:53
zombu2difference on those cards is one is in a 4x slot and one is in a 16x02:54
__dan__oh mate i hate them all02:54
__dan__computers suck02:54
__dan__:)02:54
zombu2lol02:54
zombu2amd stuff so far has given me nothing but grief02:55
__dan__to be honest I haven't touched any of their stuff since athlon 6402:55
__dan__although the opteron stuff was never bad02:55
zombu2yeah but i had to get one of these apu contraptions since i didn t have enough to get a intel board02:55
__dan__ahhh yeah i would be less inclined to go for one of those02:56
zombu2i wasn t either but it was either that or nothing02:56
__dan__never had an ATI chipset board but had the displeasure of working with a couple of NVidia chipset boards - convinced me that graphics card manufacturers have no business making motherboard chipsets02:56
zombu2anyways how can i make udev not rename the card02:56
zombu2lol too true02:57
__dan__well, i dont think it's renaming the card, i think it's not doing anything with it, and thats the problem02:57
zombu2dmesg says its renaming eth0 to em102:57
__dan__i would be inclined to copy the line concerning eth1 and replace it with eth0 and the details from the em1 card02:57
zombu2heh i did that too no change i think it gets ignored02:57
zombu2i tried to run the script that creates the entries manually but it always says missing $interfaces02:58
zombu2deleting the rules and rebooting creates a new one but leaves em1 out02:59
zombu2 02:59
zombu2ima stick a realtek in there and see what it does02:59
__dan__yeah i was just looking at that - /lib/udev/write_net_rules03:00
zombu2yeah it gives me the missing $interfaces error running it03:00
zombu2i assume it s either looking for eth0 or it sbroken lol03:01
zombu2i read something about putting biosdevname=0 in grub.cfg or something03:02
zombu2to prevent renames03:03
__dan__i've always just edited that file, and it's always worked03:03
zombu2yeah i tried no dice03:04
__dan__once had a centos machine where eth0 had to be a specific nic03:04
zombu2i had a fedora machine do the rename thing on me caused all kinds of issues03:04
zombu2ima go and stick a realtek in it and see03:08
zombu2i bbl03:08
__dan__well good luck mate i tinkered with write_udev_rules but it does the same for me03:08
__dan__i gotta sleep03:08
zombu2yeah np nn i be back tomorrow03:08
__dan__gn :)03:08
=== EzeQL is now known as Guest45765
zombu2hmm seems there is a problem with that 16x slot and nic cards04:11
zombu2video card works in it but nic cards get detected but do not work04:12
zombu2first time i ve seen that lol04:12
sheptardzombu2: interesting04:27
zombu2yes sheptard it is interesting i wonder if the board is defective or if it is a bios bug04:38
=== Ursinha-afk is now known as Ursinha
=== Guest45765 is now known as EzeQL
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== lazyPower is now known as lazypower-travel
Tazmainhi all, for using rsync to a mounted ftp location if I want dayly and weekly backups should I write scripts with rsync and have them in cron.07:54
sarnold"mounted ftp location" -- that kinda terrifies me. please elaborate a bit.. :)07:54
Tazmaincurlftpfs07:55
sarnoldvery terrified :)07:55
sarnoldI'm mostly confident you would hate that solution.07:56
sarnoldwhy can't you rsync directly to the remote system?07:56
Tazmainhahaha sarnold well its a local ftp to the server. and its the only backup solution they provided. Thing is I cannot figure out how to do that. The ftp needs a username and password. I have multiple directories to backup. If there is a better solution I would go with that .07:57
sarnoldTazmain: how much backup storage do they provide compared to your 'working' storage?07:58
sarnoldTazmain: probably a handful of tarballs would be better.07:59
Tazmainsarnold, they give us 50 gb . I only use about 4-7 gb08:02
Tazmain100meg connection to the ftp08:02
sarnoldTazmain: nice. probably tar cfa /path/to/backup.tar.gz /path/to/dir1 /path/to/dir2 ... -- then ftp put your /path/to/backup.tar.gz08:05
Tazmainsarnold, is that now with rsync ?08:06
sarnoldTazmain: no, I wouldn't use rsync in your configuration at all -- rsync over an ftp-fs thing would be miserable. horrible. painful.08:08
Tazmainsarnold, can't rsync backup to ftp if it needs a username and password ?08:08
Tazmainsarnold, what would you suggest doing then to make backups to ftp. I have sql,web and a repository to backup.08:11
sarnoldTazmain: i'd save tarballs of your data locally and then ftp those tarballs to your ftp site08:11
Tazmainsarnold, okay but the only issue I see with that is that the ftp site will get full , I mean I am going to do daily backups of some stuff08:12
sarnoldTazmain: sure. delete the old ones after a week or two.08:12
Tazmainso I would have to write a bash script to do that ?08:13
sarnoldTazmain: sure, or python. take your pick of languages.08:13
Tazmainalright I have one last question how to I transfer the tarball to the ftp. I mean so far I had to either mount the ftp or go ftp site.address and then follow the promts to enter username and password.08:14
sarnoldTazmain: curl can do that, see curl --upload-file -- or you could use lftp or ncftp, I think both of those have easy upload ability from a single command08:18
TazmainAwesome thank you I will try that.08:18
lordievaderGood morning.08:43
=== racedo_ is now known as racedo
Adri2000hi08:53
Adri2000is the cloud archive available for trusty yet?08:54
cfhowlett!cloud08:54
ubottuUbuntu Cloud Infrastructure is a ready to deploy Infrastructure-as-a-Service (IaaS) based on OpenStack. See https://help.ubuntu.com/community/UbuntuCloudInfrastructure for further details.08:54
Adri2000cfhowlett: is that for me?08:55
cfhowlettAdri2000 yes.  sorry but that's all I "know" about cloud08:55
sarnoldgaughen: looks like https://wiki.ubuntu.com/ServerTeam/CloudArchive could use an update now that 14.04 is released :)08:56
Adri2000http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/ only shows precise08:58
Adri2000I'd be interested in more recent icehouse packages for trusty08:58
sarnoldAdri2000: are the icehouse packages that shipped with trusty good enough for intiial testing?09:00
Adri2000sarnold: for initial testing maybe, but of course they have bugs and unfortunately some are blockers for me09:03
Adri2000like bug #1311047 which makes it impossible for people using horizon in french to launch an instance09:05
uvirtbotLaunchpad bug 1311047 in horizon/icehouse "Cannot launch instances in French (using the modal)" [High,Fix committed] https://launchpad.net/bugs/131104709:05
sarnoldwow htat looks .. ungood.09:07
Adri2000sarnold: I thought canonical was doing CI and testing of every openstack commit into ubuntu. aren't those packages available anywhere?09:10
sarnoldAdri2000: good question.09:11
sarnoldAdri2000: ooh check this out: https://launchpad.net/~openstack-ubuntu-testing/+archive/icehouse09:16
sarnoldAdri2000: note that I just found that from google. it looks useful. but I can't make any promises about whatever that might or might not be good for. :)09:16
Adri2000sarnold: perfect! well I guess the usual "this is not supported" and everything, but for my need right now (packages with recent bug fixes) it's alright09:18
Adri2000I might revert to the regular trusty-updates once the first openstack point release is uploaded there09:18
Adri2000thanks09:18
Tazmainsarnold can curl remove a file ?09:23
sarnoldTazmain: hrm. dunno. you may need a command line ftp client all the same :)09:25
Tazmainsarnold okay so if I have my backup.tar how would I in the bash script tell lftp to upload that ?09:27
sarnoldTazmain: that's the 'rm' command http://manpages.ubuntu.com/manpages/trusty/en/man1/lftp.1.html09:28
InFierno;join #centos09:31
Tazmainsarnold, have a look at this, it keeps telling no such file or directory  *.gz  http://privatepaste.com/1ebcdd774d10:01
=== niemeyer_ is now known as niemeyer
sarnoldTazmain: 'put' uploads a single file. you've given it a glob to expand, perhaps lftp doesn't do globbing for the 'put' command. it may not do globbing for the 'mput' command either..10:03
Tazmainsarnold, Awh I see I think mput wil work having a look now.10:04
Tazmainmput works :p10:05
rob_____2exit10:12
rob_____2:q10:12
sarnoldrob_____2: /quit  :)10:12
=== Lcawte|Away is now known as Lcawte
=== Ursinha is now known as Ursinha-afk
Tazmain hi all how can I make it that cron will run every second day ?11:06
andolTazmain: */211:10
mardraumTazmain: man 5 crontab11:10
Tazmainandol, thank you.11:11
=== Ursinha-afk is now known as Ursinha
=== DW-10297 is now known as Teduardo
Tazmainandol, if I want cron to run at midnight is is 0 0 ?12:52
Joe_DMTazmain 0 0 is midnight, 5 0 is 5 mins after midnight12:53
Joe_DMIf you have a few jobs to run I'd recommend seperating them by a few minutes to prevent smashing the system all at once.12:54
TazmainJoe_DM, okay cool was just wondering if it maybe took midnight as 2412:54
Joe_DMnp12:54
lkoniayou're all idiots13:16
lkonia#ubuntu offers more help13:16
Joe_DM<lkonia> Whats wrong?13:25
Joe_DM#ubuntu is spammed with desktop support13:25
sarnoldJoe_DM: that's not ikonia, that's mikey, he's an annoying troll.13:30
sarnoldJoe_DM: it's pointless to try to reason with mikey; the best approach is to quiet or ban him and move on.13:30
Joe_DMsarnold: lol, trolls, can't live with em... Can't live with em.13:33
sarnoldJoe_DM: *nod*13:33
ikoniaapologies all,13:33
sarnoldthanks ikonia :)13:34
cfhowlettikonia I wondered - but then I thought "Naw.  COULDN'T be!"13:34
Joe_DMikonia: He's just jelious becasue of your cool i13:36
ikoniaI doubt that13:36
ikoniathank you for the heads up though, normal service can be resumed13:36
=== Joe_DM is now known as lkonia
lkoniaI'm just jelious becasue of your i13:39
=== lkonia is now known as Joe_DM
=== medberry is now known as Guest13393
leetdoodIs it possible to use a DNSBL with iptables?15:02
leetdoodsomeone is attempting to spam my game via proxies (they got mad because they got banned)15:02
gaughenthanks sarnold. I had done some updating but missed some of the "next LTSes". Was trying to keep it simple since cloud archive doesn't yet apply to 14.04 since it won't have an archive until Utopic goes out.15:10
cloudmanis there a way to change server locale without rebooting but keeping current session?15:12
cloudman12.04 & 14.0415:12
cloudmandifficult one eh :)15:24
lordievadercloudman: Sourcing /etc/default/locale sets it for the current session.15:24
jrwrenleetdood: yes, it is possible, you'd have to script it yourself.15:25
cloudmanty15:25
cloudmanhave one for debian15:25
jrwrenleetdood: a cron job or something that adds iptables rules from a DNSBL zone xfer, if you can zone xfer15:25
leetdoodthank you15:25
jrwrenleetdood: also, check out emerging threats rules, they make IP tables scripts for known bad guys15:26
jrwrenhttp://rules.emergingthreats.net/15:26
leetdoodthank you!15:27
cloudmananyone care to do the script, will pay15:27
=== stoned is now known as Nyle
=== semiosis is now known as semiosis_
=== medberry is now known as Guest22285
keithzg_Hrmmmm, on my work desktop I keep getting kernel panics like https://lh3.googleusercontent.com/-4nMjWeofiio/U4isWvAbYGI/AAAAAAAAFnc/cfmJu5n4Ask/w1375-h774-no/IMG_20140530_100533864.jpg since upgrading to 14.04, even when killing lightdm and just running pure VTs...this last one appeared to happen a few hours after I left work last night.16:24
keithzg_Actually, the specific panic/fault seems to vary time to time, and often nothing at all is displayed. Meanwhile I can't seem to prove any hardware issues (memtest checks out fine, smartctl claims the main drive has no complaints, etc)16:25
semiosis_hallyn: ping re bug 129721816:27
uvirtbotLaunchpad bug 1297218 in libvirt "guest hangs after live migration due to tsc jump" [Low,New] https://launchpad.net/bugs/129721816:27
hallynsemiosis_: yeah, sorry, i don't have any specific info, other than it appears as though io requests may be being lost or something (causing qemu's io threads to hang and eventually become too numerous, outstanding io)16:34
hallynmay even only be with o_direct16:35
hallynbut it doesn't happen with other backing stores, so i figured i'd mark it against glusterfs.  <shrug>16:35
semiosis_hallyn: my hunch is that the vm hangs while gluster does some healing or integrity checking.  i'll try to get the gluster team to take a look.  i'll also update my qemu-glusterfs package for trusty in the ppa (semiosis/ubuntu-qemu-glusterfs) and ask the reporter to try with that instead of a fuse mount16:35
hallynsemiosis_: thanks.  (though to be honest the fuse mount with the easy scalability is the most interesting part of gluster to me so i'm hoping if there are any issues there they get worked out)16:37
hallyn(of course, the way i'd use it wouldn't be affected by that probably :)16:38
semiosis_the qemu-glusterfs integration just skips fuse at the top, replacing it with a C library (libgfapi) linked directly into qemu.  all the scalability & fault tolerance are the same16:39
=== Ursinha is now known as Ursinha-afk
toyotapieHello, I just installed spamassassin as a pre-queue filter. Postfix sends to port 10025 and spamassassin sends it back on port 10026. How does spamassassin know to send the email to port 10026 and not another port ? Can I change the port being used ?17:10
=== alexisb is now known as alexisb_lunch
xibalbaanyone here use btsync?18:42
=== cppCzar is now known as jreyno40
fridaynextfor the mutt users in here, anyone have a notification set up (i.e. notification center on mac) to alert you of new mail?19:51
ikonianotification center on mac for mutt? ? but you're asking in #ubuntu-server ?20:02
pmatulisyeah, try #mutt on Freenode fridaynext20:06
=== SpamapS_ is now known as SpamapS
=== RoyK^Work^ is now known as RoyK^Work
jetsaredimis there a way to get apt-cacher to cache http files that get downloaded within packages?20:51
jetsaredimeg: the webupd8 oracle java packages that retrieve the jdk during the package install20:51
jrwrenjetsaredim: nope20:55
rberg_jetsaredim: for that I would use make-jpkg and create a proper java deb20:59
=== semiosis_ is now known as semiosis
=== SJrX is now known as SJr
=== Ursinha-afk is now known as Ursinha
=== Nyle is now known as stoned
=== alexisb_lunch is now known as alexisb
=== Lcawte is now known as Lcawte|Away

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