/srv/irclogs.ubuntu.com/2014/08/11/#ubuntu-server.txt

chriysis it worth to protect something else than ssh using fail2ban01:11
chriys?01:11
chriyshey guys I got this error when I try to log in ssh Write failed: Broken pipe02:35
=== CripperZ- is now known as cripperz
chriysdoes someone has an idea on how to fix that error. I get it when I try to log in ssh /bin/bash: No such file or directory connection xx.xx.xx.xx closed03:36
axisyswhats the recommended way to fix the *** glibc detected *** ... munmap_chunk(): invalid pointer: 0x00007fb46a278460 *** ?04:46
axisysssh to remote host fails, apt-get update fails .. on 10.04.4 LTS04:47
axisysits failing since AUg 504:50
axisysAug 504:50
axisys2014-08-05 06:28:47 status installed libc6-dev 2.11.1-0ubuntu7.1404:50
=== MikaT_ is now known as MikaT
chriysI'm back I disable the chroot jails. does someone has a link for chroot jail that also allow ssh an sftp login ?04:57
=== arrrghhhAWAY is now known as arrrghhh
FrEaKmAn_hi all07:42
FrEaKmAn_every week I want to backup for files (tar them) and delete them07:43
FrEaKmAn_my idea was to use cron to call a script to handle everything07:43
FrEaKmAn_I can easily specify which folder to backup, but while it's doing it, the folder changes07:43
FrEaKmAn_what would be the best way to delete only the files that I put into archive?07:44
FrEaKmAn_to delete only files where date created < date of script run?07:44
FrEaKmAn_or to somehow get a list from tar and delete those files?07:45
=== ewook_ is now known as ewook
=== arrrghhh is now known as arrrghhhAWAY
=== JanC_ is now known as JanC
kklimondaFrEaKmAn_: you can get a list of files from tar, or move the files to be backed into another dolder and do backong up from there08:27
=== rvba` is now known as rvba
DarkStar1Morning all08:47
lordievadero/08:48
DarkStar1I need help as to finding out whether or not I have fixed the issue of my smtp relay HELO-ing as localhost.local domain, as it doesn't receive andy emails and just sends how can I test this?08:48
miceikentelnet08:51
DarkStar1miceiken: according to CBL TELNET will not show the banner08:52
miceikenhm08:53
DarkStar1brb08:53
gnaddelHi there, I have a problem with a cifs mount on ubuntu server 14.04: I want to add a samba share to /etc/fstab, however I get "mount error: cifs filesystem not supported by the system". I have cifs-utils installed.10:52
cwhy1gnaddel: have you tried it again following a reboot?10:58
gnaddelcwhy1: Yes, tried a reboot10:59
=== CripperZ- is now known as cripperz
cwhy1gnaddel: run 'dpkg -l cifs-utils'11:05
cwhy1what output do you get?11:05
gnaddelcwhy1: http://pastebin.com/HdcMYQ1i11:06
gnaddelthe fstab entry is as follows: //winfs-uni.top.gwdg.de/MYUSER$ /home/localuser/GWDG-P/ cifs credentials=/home/localuser/.smbcredentials 0 011:11
ogra_gnaddel, try adding cifs to /etc/modules for a test11:16
ogra_and check in proc/filesystems if it is supported after loading the module11:17
gnaddelok, rebooting11:18
gnaddelogra_: Doesn't seem to work: http://pastebin.com/5M75kCdV11:21
ogra_this is weird ... also that you dont have anything in /etc/modules by default11:22
ogra_lp and rtc shoul still be in there i think11:22
lifelessI certainly have lp and rtc; though why anyone needs lp these days...11:24
ogra_well, you cant auto-load it for some reason ... so to use it it must be there ... even if only a fraction does actually use it11:24
gnaddelIt's a pretty vanilla 14.04 server installation, the only things I added so far are fail2ban, auto-updates and some python stuff11:26
gnaddeland I don't think it would be a non-standard setup either (It's a VPS from 1&1, German hoster)11:26
ogra_oh, you didnt tell its a VPS11:28
ogra_might be that they use a kernel that doesnt even have cifs as module11:29
gnaddelThey call it Ubuntu Server 14.04 LTS minimal system11:31
ogra_well, check "uname -a"11:43
ogra_(and also see if /lib/modules has the coressponding modules there)11:44
NivexarrrghhhAWAY: good morning. bets on if/when the upgrader goes live today?12:37
coreycbjamespage, zul:  keystone is ready for review - https://code.launchpad.net/~corey.bryant/keystone/2014.1.2/+merge/23029012:39
jamespagecoreycb, ack12:40
=== ^rcaskey is now known as nodejs
jamespagecoreycb, working through your branches now btw13:06
jamespagecoreycb, I'll upload anything that is OK13:07
coreycbjamespage, great, thanks13:07
Abhijithow can i tell preseed to delete all the existing lvm. delete everything.13:09
jamespagecoreycb, does our MRE cover trove yet?13:24
coreycbjamespage, I'm not sure - where can I check?13:24
jamespagecoreycb, MRE wiki page13:25
coreycbjamespage, looking13:25
=== cripperz is now known as CripperZ-
coreycbjamespage, I don't see trove here - https://wiki.ubuntu.com/StableReleaseUpdates/MicroReleaseExceptions13:27
jamespagecoreycb, OK _ well drop that from the update then13:27
coreycbjamespage, ok13:27
jamespagecoreycb, we don't have an effect test strategy13:27
jamespagecoreycb, horizon and ceilometer uploaded13:37
jamespagecoreycb, for future reference, if you need to sync in the archive version of the package to the branch, make sure you pull in the changelog entries in full13:41
jamespagenova - > 1:2014.1.1-0ubuntu213:41
jamespagefor example13:41
jamespagerather than amending your changelog entry to include that ones patch13:41
coreycbjamespage, ok13:41
coreycbjamespage, want me to update those?13:41
jamespagecoreycb, no worries - I've done neutron and nova13:42
coreycbjamespage, ok13:42
jamespagecoreycb, if any other ones need updating please do13:42
coreycbjamespage, looks like cinder's the only other one that needs the changelog fixed, so I'll go  ahead and do that13:46
jamespagecoreycb, awesome13:49
jamespagecoreycb, zul, gnuoy, ++ : just in case you had not noticed but PPA builds are now much faster - scalingstack is taking care of them so they are running ontop of OpenStack under full KVM; queue is virtually 0 and they are faster than my SSD quad core....13:51
gnuoyGo team IS!13:54
coreycbjamespage, very nice!13:54
coreycbjamespage, cinder is update13:54
coreycbupdated13:54
=== Solution-X|AFK is now known as Solution-X
jamespagecoreycb, glance and cinder uploaded14:16
jamespagecoreycb, ditto nova14:17
=== CripperZ- is now known as cripperz
jamespagecoreycb, having severe deja-vu - waiting for keystone to finish building!14:26
coreycbjamespage, lol14:26
coreycbjamespage, there's some sort of db issue with heat that I'm trying to figure out14:28
jamespagecoreycb, ack14:28
jamespagecoreycb, neutron uploaded14:41
jamespagecoreycb, and keystone15:04
jamespagecoreycb, the complete set is here - https://launchpad.net/~james-page/+archive/ubuntu/icehouse/+packages15:05
jamespageas well15:05
coreycbjamespage, ack, thanks a lot.  just waiting on me for heat now.15:05
jamespagecoreycb, ack15:05
bitfuryanyone built GRE tunnels between two ubuntu servers behind NAT?15:10
bitfuryI set up a tunnel but not sure if they're are up or not15:10
bitfuryI do 'ip tunnel' and it's empty15:11
bitfuryso I guess they're not up, is this a good way of checking?15:11
chriysHi all, I'm running ubuntu 14.04 but for some reason I can't manage to change DocumentRoot in apache 215:18
Picichriys: Are you modifying the file for your site?15:18
Piciin /etc/apache2/sites-enabled/ ?15:18
PiciAnd if so, what isn't working?15:19
coreycbjamespage, do we want trove here with it not being on the MRE list?  https://launchpad.net/~james-page/+archive/ubuntu/icehouse/+packages15:20
chriysPici: I want to change the location of the website. Instead of /var/www/ I want /home/myuser/html15:21
jamespagecoreycb, meh15:26
=== cripperz is now known as CripperZ-
coreycbjamespage, maybe it doesn't much matter15:29
bitfuryanyone might know why my GRE tunnel between two ubuntu servers is not working?15:33
jamespagecoreycb, if you fancy some MIR practice after sorting out heat - https://bugs.launchpad.net/ubuntu/+source/python-pysnmp4/+bug/134986815:40
uvirtbotLaunchpad bug 1349868 in python-pysnmp4-mibs "[MIR] new build dependencies for ceilometer" [Undecided,Incomplete]15:40
coreycbjamespage, sure I'll work on that15:43
jamespagecoreycb, thanks :-)15:43
=== arrrghhhAWAY is now known as arrrghhh
arrrghhhNivex, :/  I can try to ping the folks who were talking about it in -devel, I just hate sounding desperate.  I just wonder what is needed, if they need help with additional testing or something...16:28
=== Lcawte|Away is now known as Lcawte
=== Ursinha is now known as Ursinha-afk
arrrghhhNivex, check the page now :)16:42
arrrghhhhttp://changelogs.ubuntu.com/meta-release-lts16:42
Nivexhuzzah!16:42
Nivexroot@atlantis:~# do-release-upgrade -c16:42
NivexChecking for a new Ubuntu release16:42
NivexNew release '14.04.1 LTS' available.16:42
Nivexsounds like I get some lunch and start my upgrade16:43
arrrghhhI pinged the guy in -devel and he was like "concidentally I just did that" hehe16:43
arrrghhhexcept he spelled it correctly.  coincidentally*16:43
Nivexand coincidentally I had just hit reload when you said to :)16:43
arrrghhhand all is right in the world of 'buntu16:45
=== dosaboy_ is now known as dosaboy
Nivexand here we go!17:22
=== Ursinha-afk is now known as Ursinha
zartoosh__HI is there a linux utility to re-read uefi boot efivars which are displayed by efibootmgr -v ? thx17:48
hallynjamespage: smoser: any objection to http://paste.ubuntu.com/8019264/ ?18:04
smoserhallyn, the string 'qemu-system-x86' is that relevant ?18:05
smoserqemu-system-x86.modprobe. ie, is that arch specific ? does this matter elsewhere ? i suspect not.18:05
catphishi have a system where "init" is extremely busy, using 100% cpu a lot of the time, is there a way i can find out what it's doing?18:05
smoserhallyn, the only suggestion i hav is:18:06
smoser rmmod kvm_intel && modprobe kvm_intel || true18:07
hallynsmoser: yes, it is only on x86, however there isn't currently a postinst for qemu-system-x86, so i didn't want to add it.18:07
smoserthat way you dont modprobe if rmmod failed18:07
hallynsmoser: will do, thx18:07
smoserand maybe just comment that yes, this could fail.18:07
hallynsmoser: if you think it's cleaner to add a x86 postinst, i'll do it, this just seemed less likely to be messe dup by the likes of me18:07
smoserif kvm was being used)18:07
rberghello. I have a first boot script run in rc.local that in some cases asks a question, when it asks I see the question but I cannot see anything I type into the bash read.. does anybody know why?18:08
hallyngood point - i was actually only thinking of in a container18:08
hallynsmoser: feh, maybe i should check the value of /sys/modules/kvm_intel/parameters/nested18:08
hallyni think i'll add that check, to redue the amount of module load/unloading18:08
smoseryeah. that'd be good too18:10
smoserhallyn, isn't there some util to say : am-i-in-a-container ?18:11
smoseri thoguht there was one18:11
hallynsmoser: there is, but i'd rather not have kvm depend on that,18:11
hallynbc there are other ways to fail in the same way18:12
smoserok18:12
smoserhallyn, you didn't come up with any magic to allow me to use upstart in a non-network-namespaced container, di dyou ?18:13
hallynsmoser: I'm afraid not.  upstart is just not designed that way.  I'd simply recommend bridging eth0 and putting hte container on that bridge18:16
hallynsmoser: use systemd? :)18:17
smoserthanks18:17
hallynsmoser: so this again is for running maas or the openstack network daemon in a container?18:21
hallynsmoser: so i'm going with http://paste.ubuntu.com/8019402/ for qemu18:22
smoseryeah, thats waht it was.18:22
smoseryour answer is really ok.18:22
hallynsmoser: I really hate it18:23
smoserhaving non-network namespace seemd just so perfect.18:23
smoseras i could basically run the container as an "application".18:23
smoserand clean it easily.18:23
hallynbut then abstract sockets have pained me since i was first taught about them 10 years ago ("yo umoron, you'r enot handling these")18:23
rbergto answer my own question stty can re-enable echo18:25
toyotapieDoes everyone around here run a dns caching server on each of their servers?18:38
arrrghhhtoyotapie, I think everyone uses their servers in whatever way they see fit... if you have a question, feel free to ask :)18:42
toyotapieMy server was slowed to a halt because the first dns server in resolv.conf was offline, I am looking for a solution where a local dns cacher will check if servers are alive and route dns requests accordingly, that way it eliminates the delays trying to reach backup servers.18:46
patdk-wktoyotapie, pdns-recursor does this by default18:47
patdk-wkothers, I dunno18:48
patdk-wkyou can also modify your resolv.conf to help18:48
patdk-wktimout and attempts18:48
patdk-wkthe idea there, set a really low timeout, but attempt multible times18:48
patdk-wkso you request it from basically all your nameservers, and the 2nd or 3rd attempt will get the results18:49
patdk-wkdefault is 5seconds18:49
patdk-wkand use rotate18:49
sarnoldpdns++18:50
patdk-wkI still need to look into how unbound does it18:50
toyotapiepdns is different from pdns++ ?18:51
sarnoldtoyotapie: heh, no, that's just a shorthand for "I also like pdns" :)18:54
toyotapieOK ;)18:54
toyotapieI use pdns for my ns servers, but not the recursive server.18:54
toyotapieMaybe I should use pdns as a recursive server, I was still using the old trusty bind for recursive lookups18:55
toyotapieis it a good idea to setup a single pdns instance as a public authoritative server for my domain and at the same time the recursive dns server for my servers ?18:55
patdk-wkdo what?18:56
patdk-wkpdns is a server only18:56
patdk-wkpdns-recursor is a recursive server only18:56
toyotapieAh ok18:56
toyotapiethanks18:56
toyotapiegiven my success with pdns, I will try pdns-recursor18:57
toyotapiethanks guy18:57
toyotapieguys*18:57
=== Lcawte is now known as Lcawte|Away
=== msx is now known as Yezabel
catphishwould it be save to remove /etc/init/network-interface.conf if i don't have any hotswap network interfaces, or is this necessary for normal boot time network config?19:14
catphishi guess it executes the ifup so probably not19:14
Aisondamn, I just killed my system19:23
AisonI did a chown -R on /var mistakenly19:24
Aisonnothing works19:24
=== Yezabel is now known as Yezalel
=== Yezalel is now known as Guest99110
TJ-Aison: boot to a live ISO or the server rescue option, then use a script to read the correct ownership from a good system and apply it to that broken one19:30
lordievaderFrom the live iso for example ;)19:40
TJ-Aison: this works with the broken FS mounted at $TARGET (remove the "echo" inside the loop to have it actually do the chown rather than print it): "TARGET=/target; while read inode b perm qty user group size month day time name; do [ -e "${TARGET}$name" ] && echo chown $user:$group "${TARGET}$name"; done < <(sudo find /var -type d -ls)"19:40
TJ-Aison: You might want to modify that since it only targets directories, and also won't operate on directories that aren't in the reference system. You could sort the result of the find by path-length first, and apply permissions using -R from the shortest path to the longest19:41
=== Lcawte|Away is now known as Lcawte
zartoosh__HI using ubuntu 14.04 I got this error: BUG: Bad page map in process sshd  pte:01000000 pmd:23ed32067   what this means? thx19:47
zartoosh__TJ- hi have a question on uefi. I have installed grub on  a usb disk. that creates an entry that I can display through efibootmgr -v, but when i reboot sometimes I do not see that entry could be an issue with UEFI implementation? thx20:09
TJ-zartoosh__: That sounds like the firmware isn't reading the USB device correctly/in-time, and so suppresses the boot-menu entry because the device isn't there20:10
TJ-zartoosh__: If the mobo has an EFI shell you could explore from there20:11
=== Ursinha is now known as Ursinha-afk
zartoosh__zartoosh__, It does have uefi shell but it does not see the entry at all, It can see the uefi entry from hardisk but not the one created through grub-install ?20:12
AisonTJ-, i've got the var directory now from my bacula backup20:17
zartoosh__TJ-,  this is how I install the grub, please let me know if you see anything wrong: http://paste.ubuntu.com/8020251/      thx20:17
AisonTJ-, so maybe it is possible to copy over just the rights?20:17
TJ-Aison: Sure, use a modification of what I posted20:22
AisonTJ-, just working on that :D20:23
TJ-zartoosh__: looks OK... but I'm a bit tired right now not thinking clearly, so don't rely on me :)20:23
zartoosh__TJ-,  thanks ping you tomorrow thanks20:28
hallynhm, ipxe currently doesn't build in utopic20:39
hallynIt fails because20:39
hallynISOLINUX_BIN=/usr/lib/syslinux/isolinux.bin bash util/geniso bin/ipxe.iso bin/ipxe.lkr20:39
hallynwhile that happens in trusty ^ , in utopic ISOLINUX_BIN is empty20:40
hallynhm, looks like syslinux-common needs to be added as an explicit build-dep now20:41
hallynyeah syslinux used to depend on syslinux-common, now it recommends it20:42
=== Ursinha-afk is now known as Ursinha
=== Guest99110 is now known as msx
hallynsmoser: wtf - default utopic ec2 image doesn't have bridging enabled?22:17
=== Lcawte is now known as Lcawte|Away

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