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

=== IdleOne is now known as io
=== peter is now known as Guest58367
=== arosales is now known as rosales
=== rosales is now known as arosales
=== kickinz1|afk is now known as kickinz1
=== marcoceppi is now known as rosales
=== rosales is now known as marcoceppi
=== UKn0Me is now known as allthehats
scyldHi ! I Just wonder. I have to 12.04 ubuntu servers. On first /usr/bin/w shows hostnames in FROM column. On second there is an IP address. Both servers have resolving working OK and I can resolve IP addresses with `host`. Is second server misses some packages or what? The difference is only one. First server uses bind named as dns server, the second is using dnsmasq. Please help :)08:14
scylds/I have to/I have two/08:14
scyldhah, found the answer ;)08:24
zubairahmedwould you like to share scyld?08:25
scyldSure. Entries in FROM column shown by /usr/bin/w are not resolved – I checked that using tcpdump, they are taken from /var/log/wtmp. Resolving and putting them in wtmp is done by sshd where I have `UseDNS no` on second server :)08:28
DarkStar1Morning all. I am trying to redirect all http traffic to https and have this setup http://fpaste.org/132677/04240311/08:29
DarkStar1The http still does not redirect08:29
zubairahmednevermind scyld08:30
DarkStar1I have enabled mod rewrite and can't think of what else I am missing08:30
scyldhttps://wiki.apache.org/httpd/RewriteHTTPToHTTPS08:30
scyldDarkStar1: ↑↑08:30
scyldzubairahmed: ??08:30
zubairahmedI am an idiot. scyld08:31
scyldcool08:32
scyldso bye08:32
=== chmurifree is now known as chmuri
DarkStar1didn't work08:50
=== a1berto_ is now known as a1berto
=== Guest26328 is now known as HackeMate
HackeMatehello11:26
lordievaderHey HackeMate11:32
brontosaurusrexshould there be minidlna in 14.04 ?12:09
lordievader!info minidlna12:10
ubottuPackage minidlna does not exist in trusty12:10
lordievader!info minidlna saucy12:10
ubottu'saucy' is not a valid distribution: extras, kubuntu-backports, kubuntu-experimental, kubuntu-updates, lucid, lucid-backports, lucid-proposed, partner, precise, precise-backports, precise-proposed, stable, testing, trusty, trusty-backports, trusty-proposed, unstable, utopic, utopic-backports, utopic-proposed12:10
lordievader!info minidlna precise12:10
ubottuminidlna (source: minidlna): lightweight DLNA/UPnP-AV server targeted at embedded systems. In component universe, is optional. Version 1.0.21+dfsg-1ubuntu1 (precise), package size 133 kB, installed size 343 kB12:11
brontosaurusrex!info minidlna trusty12:12
ubottuPackage minidlna does not exist in trusty12:12
lordievaderbrontosaurusrex: That's the first one ;)12:12
ogra_sudo apt-get installl devscripts; rmadison minidlna12:12
lordievader!info minidlna trusty-backports12:12
ogra_that will give you all info at once12:13
ubottuminidlna (source: minidlna): lightweight DLNA/UPnP-AV server targeted at embedded systems. In component universe, is optional. Version 1.1.2+dfsg-1~ubuntu14.04.1 (trusty-backports), package size 125 kB, installed size 468 kB12:13
ogra_so you dont need to poke the bot 100 times ;)12:13
lordievaderbrontosaurusrex: It's in trusty-backports.12:13
brontosaurusrexok12:13
lordievaderogra_: Seems like a nice tool, thanks.12:14
ogra_:)12:15
* lordievader goes and fidlle with rmadison.12:15
brontosaurusrexdo i want "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse" in sources.list ?12:15
lordievaderbrontosaurusrex: Looks about right.12:16
brontosaurusrexthanks12:16
brontosaurusrexexit12:31
=== allthehats is now known as UKn0Me
PerkolWhy php have apache in deps?13:44
jrwrenPerkol: it doesn't, libapache2-php does.13:51
jrwrenPerkol: Depends: libapache2-mod-php5 (>= 5.5.9+dfsg-1ubuntu4) | libapache2-mod-php5filter (>= 5.5.9+dfsg-1ubuntu4) | php5-cgi (>= 5.5.9+dfsg-1ubuntu4) | php5-fpm (>= 5.5.9+dfsg-1ubuntu4)13:52
jrwrenthat pipe means or, so to get php via the php5 package, you need one of those. apache, cgi or fpm13:52
jamespagezul, I pushed a minor fix to the ceilometer branch btw - missing api_paste.ini for the api daemon14:04
zuljamespage: ok cool14:04
zuljamespage: i need to see whats needed for horizon14:04
jamespagezul, ack14:08
jamespageI saw lots of xstatics coming over14:09
zuljamespage: yep14:09
=== kickinz1 is now known as kickinz1|afk
=== kickinz1|afk is now known as kickinz1
=== kickinz1|afk is now known as kickinz1
shreddingCan someone give me a hint, why logrotate gives errors of the pattern: error opening /var/www/typo3conf/ext/core/Classes/ContentProvider/Logs/1398685036.txt.5.gz: No such file or directory15:43
shreddinglogrotate is correct, the file is not there, but i thought the idea is that logrotate creates it.15:44
GeekDudeGetting this problem "sudo: add-apt-repository: command not found" when trying to add a ppa. Everyone says to install "python-software-properties" "software-properties-common", but neither is helping me16:02
jpdsGeekDude: it should be in the latter.16:04
* GeekDude tries again 16:05
GeekDudejpds: huh. Seems to have worked this time16:05
=== kickinz1 is now known as kickinz1|afk
hallynzul: could you in your copious spare time post a ping on https://bugzilla.samba.org/show_bug.cgi?id=10490  ?16:50
uvirtbotbugzilla.samba.org bug 10490 in Winbind "pam_winbind fails with kerberos method = secrets and keytab" [Normal,New]16:50
zulhallyn: not even copious anymore, but yeah16:56
hallynzul: thanks (i don't have an account on that bugzilla;  if you don't have time i can create an account to do th eping)16:57
=== TDog_ is now known as TDog
bfisher-fleigi'm looking to setup a home vpn17:08
bfisher-fleigi provisioned an old laptop with ubuntu 14.04 desktop, but it seems to hibernate17:08
bfisher-fleigwill ubuntu server remainly available barring crashes?17:09
StolenToastcan't you just turn off hibernate?17:10
zubairahmedw17:16
bfisher-fleigStolenToast thanks! I'll try that17:20
qhartmanJust started using some Trusty HVM images on ec2, and my syslog is getting flooded by messages like this: http://pastebin.com/iMbJXQdS17:38
qhartmanIs there anything to be done about that?17:38
qhartmanMy googling hasn't returned anything that seems relevant17:38
=== Lcawte|Away is now known as Lcawte
qhartmanaha, finally found this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/130400117:50
uvirtbotLaunchpad bug 1304001 in linux "xen:balloon errors in 14.04 beta" [High,Confirmed]17:50
HackeMatei am in my server using ssh and this message apears: PAM service(sshd) ignoring max retries; 5 > 318:38
HackeMatewhat is that?18:38
StolenToastI'm logged in to my server at another computer and it is preventing me from editing some files18:39
StolenToastI can't get to the computer though18:39
StolenToasthow can I kick "me" off?18:39
patdk-wkhackemate, can be ignored18:39
StolenToastkill their tty process?18:39
patdk-wkor you can fix it by limiting login attempts in ssh to 3 instead of 518:39
sarnoldStolenToast: eh? what error messages are you getting?18:40
StolenToasttrying to start byobu it tells me ERROR: [/root/.byobu] is not writable by the current user18:40
StolenToastI am the corerct user though and check the dir permissions18:41
StolenToast*checked18:41
StolenToastalso there is free space18:41
StolenToastthat's happened to me before18:41
sarnoldStolenToast: what's byobu? why does a user account need write access to something in the /root/ directory? that seems very strange18:41
StolenToast'/root' is just the "root" (root in name only) user's home directory18:42
StolenToastI thought that was how ubuntu worked18:42
StolenToastand byobu is a wrapper for tmux18:42
StolenToastadds a few features18:42
sarnoldStolenToast: well, sure /root is just root's HOME, but .. what user are you? or what permissions are on /, /root, and /root/.byobu?18:43
StolenToastmy user is root and the owner is root and it has rwxrw-rw- permissions or something similar18:44
StolenToastubuntu1204:~# ls -hal | grep .byobu18:45
StolenToastdrwxr-xr-x  2 root root 4.0K Sep 10 13:09 .byobu18:45
StolenToastubuntu1204:~# whoami18:45
StolenToastroot18:45
sarnoldStolenToast: so, if byobu is a tmux wrapper, can you then use 'byobu attach' to re-attach it?18:45
StolenToastrunning 'byobu' is equivalent to attach18:45
StolenToastyeah if I run it I get the same error18:46
sarnoldhmm. well, if another process has it open and thus keeping you from using byobu (seems odd...) then you -could- kill that other task but probably that' dalso kill whatever is running inside of it18:47
tewarddoes `apt` actually read the content of debian/ NEWS files and then notify users about the change(s) in the NEWS file when the source is a PPA?18:50
tewards/apt/apt-get/18:51
sarnoldteward: iirc apt-changelog thing reads contents from changelogs.ubuntu.com -- no idea if that server hosts PPA changelogs but it seems unlikely to me18:51
tewardsarnold: okay, that explains it...18:51
StolenToastsarnold, I can't think of anything I'd be doing to that directory18:52
StolenToastwhich is why this is kind of odd18:52
tewardsarnold: nginx in Debian synced the confs with upstream (there had been a delta) and it breaks fastcgi backends, and apt-get doesn't throw a notice18:52
tewardmaybe because it's not checking the NEWS file for each package individually and only looking at changelogs.ubuntu.com?18:52
teward(cc: rbasak)18:52
sarnoldStolenToast: try fuser /root/.byobu, that might show what's going on18:52
StolenToast'/root/.byobu:        31572c'18:53
sarnoldteward: I wouldn't expect it to, apt just orchestrates package upgrades18:53
StolenToastnot sure what that means18:53
sarnoldStolenToast: hmm, that just means process 31572 has that directory as its current working directory. shouldn't affect anything.18:54
StolenToastI can see the user who is also running byobu when I do 'w'18:55
StolenToastbyobu is designed for multiple concurrent users, though18:56
StolenToastand it's never been a problem before18:56
kirklandStolenToast: are you running byobu as root?18:57
kirklandStolenToast: how did you become the root user?18:57
StolenToastif by root you mean elevated no18:57
StolenToastroot is just the name of the default user18:57
sarnoldStolenToast: well, you could break out strace to find out -why- you're getting the error message you are, sometimes applications try to provide "friendly" messages that are less informative than the OS error codes..18:57
StolenToastnever used strace18:58
sarnoldstrace is a beast. awesome tool but a tool of last resort :)18:58
patdk-wklast? :)18:58
StolenToastdo I just strace a command?18:58
sarnoldstrace -o /tmp/output  byobu --whatever-args    -- then look in /tmp/output for what went wrong, normally start near the end of the file18:58
kirklandStolenToast: did you use sudo become root?18:58
kirklandStolenToast: if so, you need to use sudo -H18:58
sarnoldpatdk-wk: yeah, I'd rather read decent logs first :) hehe18:58
StolenToastkirkland, I am not a "root" user, just a regular user18:58
StolenToastwhich happens to be called root18:59
tewardsarnold: sounds counterintuitive due to https://bugs.launchpad.net/nginx/+bug/1366651 which is caused because Debian updated their configs and removed the delta (the NEWS entry never pops up and there's no notice about that to users upgrading).18:59
uvirtbotLaunchpad bug 1366651 in nginx "1.6.1/1.7.4 and newer breaks FastCGI" [Undecided,Won't fix]18:59
tewardsarnold: while it's not really 100% of a huge issue because PPA, it seems a little counterintuitive to not check NEWS entries and such for PPA packages...18:59
StolenToastI gotta go, thanks for the input sarnold and kirkland18:59
kirklandStolenToast: good luck18:59
sarnoldgood luck StolenToast19:00
sarnoldteward: apt doesn't care :) apt just installs packages. it never does anything about NEWS entries or anything else..19:00
tewardsarnold: what does the actual NEWS entry checks and config conflict checks (if any) in Ubuntu then?19:01
sarnoldteward: nothing19:01
sarnoldteward: the conffile handling is different but NEWS is for humans19:01
patdk-wkteward you sure? those NEWS entries are always displayed for me19:02
tewardsarnold: humans don't know data in the NEWS field unless the system poses it.  Seems a little counterintuitive that it doesn't actually show that.19:02
tewardpatdk-wk: haven't seen it yet for my updates/upgrades in any Ubuntu release with standard updates since Jaunty19:02
tewardpatdk-wk: and it doesn't appear to do it at all with PPAs19:02
sarnoldpatdk-wk: what the heck am I missing? I have no idea what you and teward are talking about :)19:02
patdk-wkbeen for me since I used ubuntu in 7.04 :)19:03
patdk-wksarnold, changelog notes19:03
tewardpatdk-wk: i think we're on two separate things, I'm on the NEWS entry in human-readable format for major change notices to the sysadmins...19:03
sarnoldpatdk-wk: and how do you see them? running apt-get changelog by hand or as part of a normal apt-get -u dist-upgrade ?19:03
teward(would be nice if changelogs're shown as part of upgrade/dist-upgrade though)19:04
patdk-wkinstall apt-listchanges19:04
patdk-wkevery apt-get upgrade/dist-upgrade will show them19:04
patdk-wkI do that on one system, and always update that system first19:04
patdk-wkthen push to the others19:04
sarnoldpatdk-wk: wow never seen that before :) thanks19:04
patdk-wk:)19:05
* patdk-wk teachs ubuntu dev about ubuntu :)19:05
patdk-wkit's highly annoying on kernel updates though :)19:05
tewardlol19:05
tewardpatdk-wk: useful on non-kernel updates, esp. where things might majorly break19:05
patdk-wkyep19:05
patdk-wkcaught that php-fpm change with it19:05
sarnoldhehe19:07
tewardwould be nice if that were included default, but... *shrugs*19:07
patdk-wkwould be nice to be a built in apt-get option :)19:09
tewardmhm19:09
patdk-wkok hmm19:10
patdk-wkam I on ip4 or ip6?19:10
patdk-wklooks like 4, so my ip6 is acting up again :(19:10
jrwrencomcast reset my ipv6 leases yesterday for the first time in months.19:14
tewardi wish Comcast would actually GIVE ME a v6 address, i've reset my modem TWICE and still haven't gotten v6 :/19:18
geniiteward: Have you done the check at http://test-ipv6.comcast.net/  ?19:20
tewardgenii: it's not a question about the cehck, it's that they aren't giving a v6 address19:21
tewardgenii: has comcast rolled out v6 everywhere yet?19:21
geniiNot sure.19:21
tewardi'll ask their support tomorrow19:21
geniiMaybe you have a crappy ipv4-only modem19:21
tewardgenii: meh, maybe, but meh19:22
=== markthomas is now known as markthomas|away
=== keithzg_ is now known as keithzg
=== Mogwai is now known as Guest68117
=== jamescarr_ is now known as jamescarr
jrwrendo you see them announcing ipv6 if you sniff ipv6 on your connection? are you running dhclient -6 ?19:40
=== _TJ_ is now known as TJ-
=== Malinux_ is now known as Malinux
xperiahi all. i would like to format a new drive with the raiser4 filesystem. how can this be done in ubuntu?20:23
geniixperia: You need the package reiser4progs  and then use mkfs.reiser4 on it20:27
xperiagenii: thanks a lot. will check it out !20:31
geniiDon't forget to partition it first.20:32
blkperlcan someone on the server team take a look at bug 1124250 NFS w/14.04 is unusable as long as this bug exists20:33
uvirtbotLaunchpad bug 1124250 in nfs-utils "Partially incorrect uid mapping with nfs4/idmapd/ldap-auth" [Undecided,Confirmed] https://launchpad.net/bugs/112425020:33
Phibsanyone know how to tell what gpg I need for an unathenticated package20:36
StolenToastwhat would make my server's fs a readonly system?20:54
StolenToastit happens sometimes20:55
PhibsStolenToast: underlying storage errors20:58
StolenToast=20:59
StolenToast=(20:59
PhibsStolenToast: is it nfs?21:01
StolenToastim not actually sure21:02
Phibs;)21:02
StolenToastit's happened before I think just a reboot fixed it21:03
Phibswell you have to find if its NFS21:03
Phibsor local21:03
StolenToastoh its local21:07
=== markthomas|away is now known as markthomas
StolenToasti guess it is preventing me from rebooting too...21:13
Phibshah21:16
Phibshaha21:16
Phibsdat hard dizk21:16
Phibshmm21:23
Phibsanyone using ubuntu-cloud stuff?21:23
=== cmagina_ is now known as cmagina
Phibsubuntu makes me cry21:34
Phibsa lot21:34
* sarnold hubs Phibs 21:35
* sarnold hugs Phibs, too21:35
sarnoldthere there buddy, it'll be alright21:35
StolenToastyeah it was some inode errors21:37
StolenToastrebooting the server and letting the checker run fixed the issue21:37
Phibsuhm21:37
Phibsthat's never good21:37
Phibssarnold: so I'm using the cloud archive21:37
Phibsif I install the cloud keyring, packages from it won't install21:37
sarnoldhey StolenToast -- check your dmesg for sata / scsi errors, they are usually pretty loud and obnoxious and you'll see them right away when there's an issue21:37
Phibsif I remove the keyring, it works....21:37
Phibsthe fuck does that work?21:37
StolenToastalright21:38
PhibsStolenToast: you also want to check smartctl21:39
Phibsyour disk is probably dying.21:39
sarnoldDaviey: ^^^ any idea what Phibs is seeing?21:39
Phibswould be interesting to figure it out21:42
Phibsmakes no sense to remove the cloud keyring :)21:42
Phibsthat repo syntax hurts my head too21:42
Phibsdeb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/icehouse main21:43
PhibsI wish ubuntu didn't do the pool/dist crap21:43
Phibsmangina!21:43
PhibsDaviey: pnig21:52
PhibsDaviey: ping*21:52
sarnoldPhibs: if Daviey isn't around, utlemming or smoser may also be able to help..21:53
Phibsutlemming: ping21:54
Phibs;021:54
torrentulL.22:28
torrentul:/ *22:28
torrentulcan anybody figure out why my shell script wont work :/ https://torrentula.se/irc.sh22:28
sarnoldtorrentul: that's an ELF file, not a shell script22:29
torrentuloh :/22:29
FFForeverHey hey. Is there an official way to install PHP 5.4 in 14.04?22:55
sarnoldFFForever: nope, I think you're on your own if you want to use php 5.422:57
FFForeversarnold, I don't /want/ to. Unfortunately my legacy app doesn't work for 5.5.22:58
sarnoldFFForever: oww :(22:59
FFForeverI know this is a long shot, but is it possible with an app like EXIM to allow open relay, and proxy the messages to a remote host vist TLS/auth credentials?23:03
FFForever(of course the server will be limited to intranet/vpn connections only)23:03
sarnoldFFForever: heh, that one is probably doable, exim is pretty flexible23:04
FFForeverLet's hope. Yet another legacy app that in this case refuses to let me a) supply a password, b) use any port besides 25.23:06
sarnoldugh23:07
sarnoldthat kind of cruft will bury us all23:07
sarnoldmy condolences :)23:07
=== Lcawte is now known as Lcawte|Away

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