/srv/irclogs.ubuntu.com/2015/04/07/#ubuntu-server.txt

MrMurdokFor load balanced web servers can you set the PTR records the same for each?  Also, does this apply for virtual IPs?00:05
sarnoldwhat is a virtual ip?00:06
Patrickdkone that starts with 256?00:07
MrMurdokok have a good day00:07
Patrickdknot sure why they need a ptr at all00:07
Patrickdkand now we never will know00:07
sarnoldman that's gonna drive me crazy :)00:08
kemmlerIf I have a .deb that someone else created and is hosting on a custom repo, can I backport that without the .dsc or source files or am I going to need to recreate the package for the release I need?00:30
sarnoldit might work, but be careful of installing packages from unknown sources, they get to run pre and post install scripts as root.00:34
kemmlerWell I intend to go over everything very carefully before deploying. I'm just unsure about how to go about it because the toolchain is wrong so it simply won't install, i'll need to rebuild, and backportpackage seems to only want to use official repos00:36
=== markthomas|away is now known as markthomas
=== markthomas is now known as markthomas|away
=== DenBeiren is now known as zz_DenBeiren
=== kickinz1|afk is now known as kickinz1
=== zz_DenBeiren is now known as DenBeiren
tmontneyI'm having a problem.07:30
tmontneyI installed Ubuntu Server 14.04 from a flash drive, but it won't boot to the server without my flash drive.07:31
tmontneyIt's as if I installed the server to the flash drive (from the flash drive), but I know I didn't.07:31
tmontneyWithout my flash drive, all I get is a blinking underscore.07:31
tmontneyI've installed Ubuntu before with a flash drive, but never had this issue.07:32
bearfacetmontney: grub was probably installed to the flash drive07:47
tmontneyhm07:48
tmontneyhow would I reinstall it?07:48
bearface'sudo grub-install /dev/sdX'  X being the correct disk.. you can do this when booted (using the usb stick to boot into the system)07:52
tmontneyBah, now I have another problem before I can get to that.07:53
tmontneyInstalled NFS, DHCP, and TFTP then restarted the server.07:54
tmontney"Waiting for network configuration" is what I'm getting.07:54
tmontneyI know the issue is Interfaces related, but I can't get to edit it.07:55
tmontneynever mind it finally booted.07:56
tmontneyhm didn't see to wrok.08:07
tmontneyI have sda1 as EXT4 and sda5 as SWAP08:08
tmontneyI installed grub to SDA108:08
tmontneybut got "File system ext2 doesn't support embedding"08:08
tmontneyand  "embedding is not possible grub can only be installed in this setup by using blocklists"08:08
=== Lcawte|Away is now known as Lcawte
lordievaderGood morning.08:23
tmontneyStill night time for me.08:29
lordievaderInstalled grub to sda1? As in the partition rather than the disk?08:31
lordievadertmontney: ^08:33
tmontneyIt seems grub was installed to sdb08:38
tmontneymy flash drive08:38
tmontneyIf my flash drive is unplugged, grub doesn't appear and nothing happens.08:39
OpenTokixtmontney: boot on a livecd, and "repair" your ubuntu08:39
lordievadertmontney: Don't install it to a partition, install it to the disk.08:40
tmontneyRight, I wasn't intending to do that. I usually install Ubuntu from a flash drive.08:40
tmontneyFor whatever reason it installed incorrectly.08:40
tmontneyAlright I'll make a new livecd08:41
tmontneyUgh, I'm just having problem after problem. Normally things go pretty smoothly.08:43
tmontneyI have two NICs, and they show up with ifconfig -a08:43
tmontneybut they're both down despite a link light08:44
tmontneyoriginally my PCI NIC was named p5p1, but I found a way to bring back the eth naming convention08:44
OpenTokixtmontney: the p5p1 naming in persistent, ethX is not08:45
lordievader^ that, bios naming is actually quite nice.08:45
lordievaderNo longer having to mess with udev rules to get the right name.08:45
OpenTokixtmontney: Thats why they changed it - quite annoying, but unless  you have legacy scripts that use ethX naming, get used to it08:45
OpenTokixlordievader: yes08:45
OpenTokixlordievader: but when you have buggy scripts, it is quite annoying.08:46
OpenTokixlordievader: I have a script that takes "First interface from ifconfig" ;)08:46
lordievaderYeah, most things here still run with eth naming conventions.08:46
OpenTokixlordievader: and for the pX naming, lo is the first - hehe08:46
tmontneyWell I already changed it thinking it'd solve my issue lol.08:47
tmontneyregardless neither one of my NICs think they're plugged in08:47
tmontneyno matter if they're auto or static08:47
OpenTokixAnd you have firmware installed?08:48
tmontneyfirmware?08:48
tmontneydid you mean software/drivers/packages?08:48
lordievadertmontney: Don't they detect the cable or are they simply down?08:49
tmontneymy link light is on08:49
tmontneyifconfig only shows lo08:49
tmontneyifconfig -a shows eth0 eth1 and lo08:49
lordievadertmontney: What does 'ip link' say?08:50
lordievader!paste08:50
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.08:50
tmontneyeth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether (MAC ADDRESS OMITTED) brd ff:ff:ff:ff:ff:ff08:54
tmontneyeth1: <BROADCAST, MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether (MAC ADDRESS OMITTED) brd ff:ff:ff:ff:ff:ff08:54
lordievaderMeh, they are just down. 'sudo ip l s ethX up'08:54
tmontneyAw, didn't do it right sorry. http://paste.ubuntu.com/10759672/08:54
lordievaderProbably weren't configured to be brought up.08:55
tmontneyOdd.08:55
tmontneyI've installed Ubuntu Server quite a few times now and I haven't had that happen.08:56
tmontneyAlthough I never had multiple NICs.08:56
tmontneyThanks.08:56
lordievadertmontney: Check /etc/network/interfaces08:58
tmontneyOh I've been playing with that.08:58
tmontneyI'm trying to test my NFS server.08:59
tmontneyevery restart they're set to down again09:00
lordievaderAre they configured to start?09:01
tmontneydon't know09:02
tmontneythat was brilliant of me09:03
tmontneyI commented out auto eth109:04
tmontneythinking it referred to DHCP09:04
OpenTokix=)09:05
lordievaderThere you go ;)09:05
YamakasYwhich locales do we need on a server ?09:20
OpenTokixYamakasY: the once you use09:21
YamakasYso only US actually ?09:22
OpenTokixYamakasY: I have en_US, en_US.UTF-8, sv_SE and sv_SE.UTF-8 on mine, since I am swedish09:22
OpenTokixen_US and en_US.UTF-8 should be sufficient09:22
YamakasYyap, I need NL than09:22
YamakasYOpenTokix: swedish woman are nice :D09:22
lordievaderen_US.UTF-8 suffices in most cases.09:23
OpenTokixYamakasY: how is that relevant at all?09:23
YamakasYOpenTokix: you need to speak the right locale for it :)09:27
YamakasYlordievader: yap09:27
YamakasYbut I see when I reconfigure I don't get any php5-fpm errors in puppet again09:27
YamakasYweird09:27
tmontneyFigured it out.09:35
tmontneySomewhere I found iface p5p1 inet manual was the correct syntax.09:35
tmontneyJust realized it's static not manual09:35
OpenTokixmanual is another setting09:35
tmontneywhich is why I was getting an APIPA ipv6 address09:36
=== kickinz1 is now known as kickinz1|afk
Quoexlanyone alive?10:13
=== zz_DenBeiren is now known as DenBeiren
=== kickinz1|afk is now known as kickinz1
OpenTokixYes10:55
OpenTokixI might also be OpenTokix from 6th sense, and then you are dead too.10:55
rbasakstrikov: are we ready to release Juju to Vivid in bug 1416051?11:06
rbasakkickinz1: free to talk about Docker?11:08
kickinz1rbasak, yes11:09
rbasakkickinz1: please can you make the two corrections doko asked for last week?11:09
rbasakkickinz1: IIRC, one was the build-dep for powerpc(?) and the other was my mistake in the selection of gccgo in debian/rules.11:10
strikovrbasak: I think so. Curtis carried out all the necessary testing procedures. I'l' discuss it with pitty on #ubuntu-devel now. He is the right person for this, right?11:10
rbasakstrikov: yes. Also you can remove the block-proposed tag in the bug. That tag and the dep8 test failure in http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html are the two things blocking it from Vivid right now I think.11:11
kickinz1rbasak, OK, I'll do (was re-reading backlog)11:11
YamakasYhow do I test uattended auto upgrade ?11:27
OpenTokixYamakasY: What do you want to test, if it works on your system?11:27
YamakasYOpenTokix: yap11:28
OpenTokixYamakasY: to make it 100%, you need to take a snapshot of your system, upgrade and verify11:29
YamakasYOpenTokix: upgrade how ? is that not triggered ?11:29
* YamakasY doesn't get it11:29
kickinz1rbasak, sent you the new patch. Refreshed format-patch files.11:38
rbasakThanks!11:40
YamakasYI need to check if my crondayly for apt is runned11:45
OpenTokixYamakasY: check your log?11:46
YamakasYOpenTokix: I can ru it manually ?11:47
YamakasYthat apt ?11:47
OpenTokixYamakasY: yes, just take the command part from your cronline, and run it11:48
YamakasYI can just do /etc/cron.daily/apt ?11:49
* YamakasY needs to get back to cron again after years :D11:49
OpenTokixYamakasY: no, the command inside the that script11:50
YamakasYok11:51
YamakasYwhich part, that is the question... apt get update and so n just works OK11:52
OpenTokixYamakasY: I would safely assume it works11:56
YamakasYOpenTokix: I'm quite sure it doesn't as my kernels are not removed after an upgrade11:58
OpenTokixYamakasY: they never are11:59
YamakasYOpenTokix: and when I do an apt-upgrade I still get lots if packages that are installable... mhh I think only security upgrades are done11:59
lordievaderYamakasY: apt-get autoremove might do that.11:59
YamakasYlordievader: it does indeed12:00
YamakasYbut I want to have that cronned12:00
lordievaderYamakasY: No apt-get upgrade doesn't have a lot of rights, take apt-get dist-upgrade if you want something with full permissions.12:00
OpenTokixYamakasY: Ithink there is some settings for unattended12:00
YamakasYlordievader: I'm using puppet @ that part... so I'm kinda bound to it for 300 servers12:00
YamakasYOpenTokix: I have that set on 112:00
OpenTokixYamakasY: you dont want to remove kernels automatically12:01
YamakasYOpenTokix: I want to, really12:01
OpenTokixYamakasY: ok12:01
YamakasYand I want a Porsche 911 GT3 RS too!12:01
OpenTokixok12:01
YamakasYmaybe I can apt-get that12:02
YamakasYstrange12:04
YamakasYnah weird12:08
lordievader?12:11
YamakasYI just want my server to have latest packages12:13
YamakasYon cron based12:14
lordievaderYamakasY: So add that to cron?12:16
OpenTokixYamakasY: http://pastebin.com/WwdWUcGc <-- There is your script12:18
OpenTokixYamakasY: it will also break your servers down the line, but have fun =)12:18
YamakasYOpenTokix: erm, why would it ?12:20
lordievaderBecause it says yes to everything.12:20
lordievaderIn these cases you want cron to mail you the output. So you can see if apt/dpkg has broken stuff.12:21
YamakasYlordievader: oh that12:23
YamakasYI would like to hold my own configs12:23
OpenTokixYamakasY: it does12:23
OpenTokixforce-confold12:23
=== niemeyer is now known as niemeyer_
strikovrbasak: regarding slapd bug: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/110335312:40
strikovrbasak: i have debdiffs for both precise and trusty12:40
strikovrbasak: i did a research on CVE attached to the bug and came to conclusion that it was attached incorrectly12:40
strikovrbasak: this CVE is about a different thing and I have no idea why it was attached12:41
rbasakstrikov: agreed and removed.12:44
YamakasYOpenTokix: thanks tho12:45
YamakasYand lordievader12:45
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
=== bilde2910|away is now known as bilde2910
jonerswould anyone be able to give me a hand securing a folder in apache on 14.04?13:59
jonersive setup a squid proxy and configured sarg to generate reports every hour and id like to restrict access to the squid reports page using a simple username and password14:00
OpenTokixjoners: Beck.Sjukhusmorden.2015.SWEDiSH.720p.HDTV.x264-xD2V/Beck.Sjukhusmorden.2015.SWEDiSH.720p.HDTV.x264-xD2V.srt14:04
OpenTokixups =)14:04
OpenTokixjoners: https://wiki.apache.org/httpd/PasswordBasicAuth14:04
OpenTokixwrong paste =)14:04
jonersthanks for the link, tried that one but afraid im not getting anywhere with it :/14:05
jonersseems there were some changes in ubuntu's apache implimentation14:05
OpenTokixjoners: ok, what is your problem?14:05
OpenTokixjoners: I doubt it14:05
OpenTokixjoners: is your auth modules enabled?14:05
jonersyes it appears to be14:05
OpenTokixjoners: what does you error logs say?14:05
jonersafraid im a complete noob when it comes to apache14:06
jonerstwo seconds ill see if i can get a paste of them14:06
OpenTokixjoners: ok, I am not - so, what does you error logs say?14:06
jonerssorry for the delay, there are only a couple of errors in there. Most are saying "AH01615: need AuthName: /squid-reports/"14:13
jonersthe squid-reports directory is what im trying to secure14:13
jonersWould it be worth me noting what ive done in order?14:15
OpenTokixjoners: Can you pastebin your configuration where you have the authblock?14:16
OpenTokixjoners: And you have created the user, and restarted apache?14:16
jonersyes, created the user as per the guide in the link you sent over https://wiki.apache.org/httpd/PasswordBasicAuth14:16
jonerscreated the htpasswd directory and password file, added a user in there which i can see.14:17
jonersthis was the default apache2 config file14:20
jonershttp://paste.ubuntu.com/10762658/14:20
OpenTokixand the site?14:21
jonersjust getting that now14:21
jonersthis would be the default configuration file in the sites-enabled directory right?14:22
OpenTokixmight be, if you have added your block there14:23
jonersi havent added anything there yet, this is the bit im trying to do14:23
OpenTokixjoners: you can add it for the entire / if you want to14:27
=== mattgrif_ is now known as mattgriffin
joners http://paste.ubuntu.com/10762760/14:32
jonerssorry about the wait!14:32
jonersThe error i get when I restart Apache is "Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on line 41 of /etc/apache2/sites-enabled/000-default.conf: </Directory> directive missing closing '>'" which points directly to the line ive edited.14:34
jonersI cant see any missing '>' though14:34
lordievaderjoners: Does line 41 correspond with line 41 of your paste?14:39
jonersyes14:39
lordievaderAh yes, on line 41 change </Directory> to <Directory>14:40
jonersok ill give that a shot now14:40
jonerssuccess! god dam typos!14:42
jonersthank you for your help. :)14:42
mgagnehallyn: can I get an update on bug #1425619 ?14:57
hallynyes it's in comment #615:06
hallynin another week or so we'll drop the other pending SRU and then we can push the one for bug 142561915:07
hallynyup15:20
hallynwrong chan :)15:20
=== matsubara__ is now known as matsubara
=== markthomas|away is now known as markthomas
=== kickinz1 is now known as kickinz1|afk
hallynstgraber: oh.  hm.  Now so long as a container is running systemd, we know it must have lxcfs (or cgroup mounts), so libvirt can just not use cgmanager in that case right?17:47
hallynSo really, in vivid's cgmanager we can/should just drop the cgmanager usage?17:48
stgraberI'm failing to understand the question17:48
hallynwe have a custom patch in libvirt to use cgmanager for cgroup stuff, so that it can run in containers17:49
hallyni'm saying that in vivid we can drop that patch17:49
stgrabernot sure you can, lxcfs doesn't apply to the host, just to the containers17:49
stgraberso you still won't have /sys/fs/cgroup/<controller> on the host17:50
hallynwe won't?17:50
hallyndoesn't systemd mount those?17:50
stgraberoh yeah, nevermind17:50
hallynand actually i think libvirtd talks to systemd when it can for cgroup stuff17:50
stgraberso yeah, if the only use case for that patch was to be able to run libvirt inside a container, then the patch can be dropped thanks to lxcfs17:51
hallynnow if someone installs upstart in a vivid container they may have trouble,17:51
hallynthat was the only reason, yeah - for adt i think :)17:51
stgraberif it's not too much trouble, I'd probably keep it around for 15.04 and drop in 15.10 or so (certainly for 16.04)17:51
hallyncool - i *would* update it, but it would reuqire quite a few updates and doesn't seem worth the fragility17:51
stgraberso that if someone has to revert to usptream somehow it'll still work. By 15.10 we should be so dependent on systemd for the various jobs that reverting to usptart likely won't be much of an option for users17:52
hallynthe troubles are:  (1) having to deal with comounted containers, (2) having to deal with libvirt being confined to a non-/ cgroup by systemd,17:52
hallynbut juju folks might have trouble i guess17:52
stgraberhmm, I guess if someone was to deploy a compute node inside a lxc container with juju, they'd run into that problem17:53
hallyni also considered having libvirt not use cgmanager when pid 1 is systemd, but then if there are regressions in the cgmanager code we'd have trouble finding them17:53
Phibsanyone know where icehouse went? http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/18:04
Phibscertainly supported on 14.0.418:04
Phibsbut totally missing/gone18:04
sarnoldOdd_Bloke,bigjools, ^^^ see Phibs's question ..18:08
=== kickinz1|afk is now known as kickinz1
=== markthomas is now known as markthomas|away
=== ideopathic_ is now known as ideopathic
=== markthomas|away is now known as markthomas
=== bilde2910 is now known as bilde2910|away
=== bilde2910|away is now known as bilde2910
beanbagso21:10
beanbagwhat all do I need to do to add a compiled scsi module to a existing system that can't boot because the installer didn't add the module21:11
beanbagI already went into the directory on the hard drive and added the module to lib/modules21:11
beanbagdid chroot and ran depmod -a21:11
beanbagthen did mkinitramfs21:11
=== kickinz1 is now known as kickinz1|afk
=== DenBeiren is now known as zz_DenBeiren
beanbagugh21:46
beanbagI can't figure out this fucking thing21:46

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