/srv/irclogs.ubuntu.com/2016/08/23/#ubuntu-server.txt

macskayhey when trying to point a domain to a nameserver of my server. how can i find out what my nameserver is and where to point it to?00:12
tsimonq2 /o00:12
tsimonq2whoops00:12
patdk-lapmacskay, there is no way to do that00:26
patdk-lapyou have to know what it is to find it out00:26
macskaypatdk-lap: So I basically ask support.00:26
patdk-lapof whoever is running your nameservers00:26
macskayYeah alright, I'll do that. Thanls00:27
sikunwhat would be the proper way of syncing files between servers? I'm working on setting up a "HA" webserver00:45
sikunthe MySQL database is simple, I have two servers in a Master > Slave replication setup00:48
RoyKsikun: try a mariadb galera cluster00:54
patdk-lapheh, a mysql HA is NOT simple at all :)00:57
RoyKpatdk-lap: mariadb galera looks rather neat00:57
patdk-lapyes, it has large drawbacks, but it does solve a lot of issues00:58
RoyKpatdk-lap: and with a couple of haproxy machines in front with pacemaker, it should do well00:58
sikunRoyK, I was actually just reading on MariaDB00:59
sikunwondering how many servers in total I'll need to have it fully HA01:00
RoyKsikun: development of mysql has ceased a lot since Oracle took over01:00
RoyKsikun: four01:00
RoyKsikun: two mariadb servers, two haproxy servers01:00
patdk-laphmm? there have been lots of development on mysql 5.701:01
sikunI'll just need to get an additional server then01:01
RoyKsikun: you may be able to just use two with some black magick01:01
RoyKsikun: just use VMs01:01
sikunI will once I get the virtualization environment running01:01
RoyKsikun: we have around 300 servers at work - less than 10% of those are physical if you don't count the vm hosts01:02
sikunsame, at work our VMware cluster has 200 or so VMs01:02
sikunbut god it is so freaking slow01:02
sikunsuch poor design when it was configured01:02
sikunas a personal preference I use Hyper-V01:03
* RoyK slaps sikun with an old, Swedish herring01:04
sikunlol01:04
sikunI know, I'm an outcast at work for being a Hyper-V supporter, but I've had no issues with my prior setup, it performed fantastic.01:05
patdk-lapI always had funky tcp connection issues with hyper-v01:05
patdk-laptcp session would establish, but data wouldn't flow01:05
sikunwhich version though01:05
sikun2k12R2?01:05
patdk-lap200801:05
sikunyep01:05
patdk-lapso hyper-v went out, and esxi came in01:05
sikunEVERY single person that dislikes Hyper-V says they had issues on 2k801:06
RoyKI guess it's a wee difference between having a few VMs on hyper-v compared to 200 VMs on vmware01:06
sikunso did I but it has become so much better01:06
patdk-lapI have 7 esxi hosts, with 800+ vm's on them01:06
patdk-lapthey run great01:06
RoyKsikun: storage and memory is usually the bottlenecks01:07
RoyKs/\<is\>/are01:07
lamontthat part where virt-viewer keeps taking focus from everywhere when new output appears on the screen... how do I make it stop being so antisocial?01:07
sikunI've been up to 40 VMs on a single Hyper-V host01:07
patdk-laplamont, what do you mean focus?01:07
sikunand still every VM performed amazingly01:07
patdk-laplast I knew, you couldn't change focus on terminal01:07
lamontI mean that the window that I'm trying to type in keeps losing focus to the console window in virt-viewer01:08
RoyKsikun: did they do anything useful? what sort of storage?01:08
patdk-laplamont, what are you talking about windows?01:08
patdk-lapthere are no windows01:08
lamontpatdk-lap: one terminal window, one virt-viewer window, all of them under unity01:08
patdk-lapunity?01:08
sikunRoyK, web servers, database servers, offsite backup VMs, a whole bunch of random crap01:08
patdk-lapthere is no unity in ubuntu-server01:08
sikunRoyK, the storage was a mix of SSD/SAS01:09
lamontpatdk-lap: nm01:09
RoyKsikun: we're getting a new SAN this year, budget ~$500k, perhaps a bit more - hope it has tiered storage - using equallogic now and it sucks rather badly01:10
sikunha, we're TRYING to get approval for a new SAN01:10
sikunwe're down to 1.8TB free space01:10
RoyKouch01:11
sikunalso equallogic and yes, they do suck01:11
RoyKwe'll probably need half a peta or thereabouts01:11
RoyKperhaps a bit less01:11
sikunand we only have a budget of $50k01:11
RoyKyou won't even get a 100TiB shelf from dell/supermicro for that price01:12
sikunoh, i know01:12
RoyKwe have two 100TiB (net storage) shelves that are supposed to stripe data across01:12
RoyKbut then - when one of them shows 100% utilisation and the other 60% you know something is wrong somewhere01:12
RoyKand of course there's no logs01:13
RoyKexcept those encrypted ones you can mail to Dell01:13
sikunI found three 36TB SANs for $250001:13
sikunwell NAS storage not SAN01:14
RoyKI went to Limerick on this how-to-understand-storage thing (about Compellent) with Dell and asked what it would take to get access to those logs and was told 'nay - won't happen'01:14
sikunEMC Isilon IQ336000X01:14
RoyKyeah, you said so01:14
RoyKhopefully you can use 'standard' drives with that too01:15
RoyKthat is, those without the EMC firmware01:15
sikunyeah, hopefully01:15
RoyKlast I checked, EMC didn't make drives01:15
sikunlol.. gotta love equals with that pain in the ass bs firmware crap01:15
sikun1TB 7.2K 3.5" SATA Hard Drives01:16
sikunlooks like standard drives01:16
RoyKwe got a new EQL shelf in house - cost a small fortune - checked the drive type and it was the exact same as http://paste.debian.net/791038/01:18
RoyKonly diff between the EQL thing and the zfs-based thing I made was that it cost a lot more (that is, it's got double controllers, but then, failover on EQL rather sucks anyway)01:19
sikunhmm.. these nodes have both infiniband and 10GBe01:19
sikuner.. 10GbE01:19
RoyKwe don't use infiniband - yet - but we have 10Gbps all over01:20
sikunthat's something we're starting to implement01:20
RoyKwe have two separate connections to uninett.no (university network) both on 10G01:21
DexDeadlywhats the quickest way to share a directory on my 16.04 LTS server so that I can write to it from my windows 10 machine04:53
DexDeadly??04:53
=== tomtom52 is now known as crazyhorse18
* jmpp greets!06:56
jmppI'm getting the following for a mysql package afer running apt-show-version -u un Ubuntu 1406:57
jmppmysql-server:amd64/trusty *manually* upgradeable from 5.6.30-1ubuntu14.04 to 5.6.32-1ubuntu14.0406:57
jmppemphasis on manually from apt itself, not me06:57
jmppand no matter what I do, apt-get install with --upgrade-only, --reinstall, or even apt-mark auto on that package and all its dependencies (which are also marked the same)...06:58
jmppI just cannot remove that marker and upgrade the package06:58
jmppall my upgrade attempts pretend as if the installed version is the latest, which it clearly isn't06:58
jmppany tips on how I can knock some sense into apt-get? thanks in advance!06:58
=== Thorn__ is now known as Thorn
=== hateball_ is now known as hateball
=== hateball is now known as Guest62070
=== Deliants is now known as Deliant
=== hateball_ is now known as hateball
=== hateball is now known as Guest69163
=== hateball_ is now known as hateball
spartan2276_How can I get Apache2 SSL server to accept non ssl. As of now I'm getting a 400 Bad Request error. So all I want is for apache to let me use http and https at the same time.09:33
spartan2276_Anyone?09:54
ducassei've noticed a weird thing with an lxc container on 16.04. inside the container 'free -m' reports 350mb used, while lxc-info reports "memory use" as 25gb. for other containers the numbers match, and the host is clearly not using >25gb. what could cause this?10:04
=== _degorenko|afk is now known as degorenko
samba35"A start job is running for raise network interfaces (2 minutes of 5 mins 1 sec)" i am getting this error on 16.04.110:27
DanawarHi Ubuntu server i have a software raid is it possible to revert this so it is no longer in a raid?11:29
RoyKDanawar: do you mean split it up into separate disks?11:34
DanawarWe want to move a server into virtual environment and i have been told P2V is not possible with the software raid so i was wondering if it would be possible to dump the raid onto one harddrive and then P2V it.11:35
RoyKDanawar: the problem is more than that - the p2v shite from vmware doesn't support lvm either11:37
RoyKDanawar: how many drives in what sort of raid?11:38
RoyKDanawar: often I find it easier to just setup a new vm, configure it and rsync the data over11:39
DanawarIs there a way i can find that out as i have not been told!11:39
RoyKjust try to p2v another machine with lvm on the root11:40
RoyKDanawar: didn't work last I tried11:43
kpettitAny of you guys do 2 factor authentication stuff for SSH and/or Apache?  Seems like tons of solutions out there so trying to see which one makes the most sense12:53
kpettitI've got SSH Key + Local passwd auth going now.  But that's as far as I've got.12:54
ikoniawhat sort of thing are you looking for12:54
ikoniapeople don't seem to bother with 2fa/mfa on ssh as the hassle outweighs the usability12:55
kpettitBasically trying to make PCI compliance happy.  Which means "something you have" and "something you know"12:55
ikoniawhat PCI standard12:55
kpettitikonia: I totally agree.12:55
ikoniaI've always passed PCI without 2fa on ssh12:55
kpettitBut it's a required thing I have to do12:55
ikoniakpettit: are you using LDAP ?12:56
kpettitkey with password doesn't count apparently with SSH.12:56
kpettitno.  This is mainly for cloud web servers.12:56
ikoniainteresting, I've hit government secret PCI and government confidential PCI (in a public cloud) without 2fa on the SSH session12:57
ikoniaas long as you have audit points it's never been flagged12:57
kpettitsome of the PCI stuff is stupid.12:57
ikoniait is - but most of it is negotiable if you can show a replacement control or process or an impact to functionality12:57
kpettitI've got SSH locked hard.  Adding 2 factor on it increases complexity and really doesn't protect much.  Espically for only a few users.12:58
ikoniaeg: auditing and/or HBAC normally makes ssh access a breeze to comply12:58
kpettitHBAC?12:58
kpettitFrom what I understand on PCI, there is a ASV (Approved Scanning Vendor) and they basically go through the PCI stuff and say if your good or not.  And I keep being told what i have on ssh isn't good enough.  I think my ghetoo solution of using both Key and local passwd password works good though.  Complies with the sonmething you have and something you know thing12:59
kpettitBut not sure the way to go with Apache.12:59
ikoniaHBAC (host based accounting)13:00
kpettitAh.  I'm getting up to speed on all the terms and stuff with PCI.13:01
kpettitSome of it is great I think, and some of it is pretty useless.  guess we take the good with the bad13:02
kpettitAny ideas with apache?13:02
samba35if i do not get linux drivers for wifi card and if i use ndiswrapper do i get same result of hardware or feature/performace is degraded ?13:11
xnoxsamba35, your ISP connection is probably still slower than any wifi speed you get, so in practice it's irrelevant, as long as you are happy with it.13:18
xnoxalso impossible to know =) you are using a foreign blob, thus there is no baseline.13:18
samba35i am using kodi and want to use dlna server for hd movie or  even normal movie also stuck after some time13:20
coreycbhello jamespage beisner, keystone 2:9.0.2-0ubuntu2~cloud0 is ready to promote to mitaka-updates13:28
jamespagecoreycb, looking now13:29
jamespagecoreycb, done13:30
coreycbjamespage, thanks13:32
coreycbjamespage, beisner, aodh 2.0.2-0ubuntu1~cloud0, ceilometer 1:6.1.3-0ubuntu1~cloud0, and openstack-trove 1:5.1.0-0ubuntu1~cloud0 are ready to promote to mitaka-updates13:44
jamespagecoreycb,  on it13:45
=== JanC is now known as Guest58470
=== JanC_ is now known as JanC
jamespagecoreycb, done14:19
jamespagecoreycb, am I ok to push out the qemu security regression as well?14:19
jamespagecoreycb, oh its not the regression14:20
* jamespage looks again14:20
lunaphytei have an nfs server, configured and in active use, yet i don't see port 2049 listed in lsof -nPi.  is that weird?  or is there just something i don14:28
lunaphyte*i don't understand?14:28
coreycbjamespage, looks like qemu needs to be promoted to mitaka-proposed and tested14:28
jamespagecoreycb, yeah just promoted the followup fix for the regression14:29
coreycbjamespage, thanks14:29
jamespagelets hold qemu from updates for now and do in one hiut14:29
lunaphyteadditionally, when writing a file via nfs, i can see the file actively growing in the filesystem, but don't see the file listed in the output of lsof either.14:29
lunaphytehow can i learn why this is?14:29
penguinerHi, I have a question. I am running apache2 on ubuntu 16. If I do apt-get update && apt-get upgrade will it update apache2 to the latest version?14:55
Picipenguiner: the latest version in the repos.  You can do apt-get update and then apt-cache policy apache2  to see the version you have and any candidate versions.14:58
penguinerThanks Pici.15:00
penguinerI assume this means I have the latest installed?15:00
penguiner  Installed: 2.4.18-2ubuntu3.115:01
penguiner  Candidate: 2.4.18-2ubuntu3.115:01
naccpenguiner: yes, that is the latest available (per your last apt update) -- rmadison indicates the same for 16.0416:02
penguinerThanks nacc!16:03
naccpenguiner: np16:04
=== Guest25180 is now known as med_
=== med_ is now known as medberry
=== medberry is now known as med_
dr4c4nhey, I'm running ubuntu 16.04 and just recently with LAMP package installed during original installation, if I try to apt-get upgrade, I get a dpkg error with mysql-server, is anyone else having this issue?17:09
dr4c4nubuntu server*17:10
RoyKdr4c4n: please pastebin the output from that17:16
RoyK!pastebin | dr4c4n17:16
ubottudr4c4n: For 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.17:17
=== InfoTest1 is now known as InfoTest
dr4c4nRoyK: the output from what?17:24
dr4c4nRoyK: I didn't try to copy anything multiline, I just wrote that question above, and forgot to include ubuntu server so I put ubuntu server *17:26
RoyKdr4c4n: - I get a dpkg error with mysql-server, is anyone else having this issue?17:26
RoyKdr4c4n: for anyone to be able to help you, we or they need to see what sort of error message you got17:27
dr4c4nRoyK: okay perfect. will do now.17:27
=== sarnold_ is now known as sarnold
dr4c4nRoyK: I will redo installation and same setup options: just so you know I've done the regular 16.04 ubuntu server installation with ssh and LAMP17:32
UssatI just finished 4 servers with LAMP stacks and ssh, no issues17:32
RoyKjust try to do an apt-get install -f17:33
RoyKit should give you sufficient information17:33
dr4c4nwhen I tried that on the old vm, it said dpkg lock (which means in use because I had to ctrl-z) to stop the installation as it was stuck17:34
RoyKfg17:34
RoyKthen stop dpkg in a better way17:35
Ussat^^17:35
Ussator just let the lock finish17:35
dr4c4nwell this way I will reproduce the exact error message I was getting to start with, as I was trying several methods of uninstalling / reinstalling mysql, and they were all not working..17:36
RoyKUssat: it won't finish if he suspended the job with ctrl+z17:37
Ussatah yea, if he suspended it17:37
RoyKdr4c4n: killall -9 dpkg apt-get # perhaps17:38
dr4c4nRoyK: just finished installation, running from scratch, apt-get update, then apt-get upgrade <-- this is where it has failed once on me today, and will send pastebin in moment.17:39
dr4c4n_RoyK:http://paste.ubuntu.com/23082612/17:49
RoyKdr4c4n_: perhaps try mariadb instead - mysql is rather out in the cold now17:50
Ussatis it ? I just instaled mysql on 4 servers....17:50
Ussatmaria is a drop in replacement isnt it ?17:50
dr4c4n_Ussat: I had no problems installing it as of yesterday17:51
dr4c4n_Ussat, RoyK: I have been putting mysql on multiple vms, then when I tried to create a new vm today with the LAMP on, this is the error I'm getting17:51
dr4c4n_I can't really try a different database as my requirements include mysql17:52
dr4c4n_I mean, this is right after a fresh installation on a new vm, and I've performed it twice17:55
dr4c4n_same issue17:55
dr4c4n_should I post something to ubuntu forums?17:56
dr4c4n_Is there something wrong with my installation media?17:57
jgedr4c4n_: all of the stuff I'm seeing by searching that error happens during an upgrade, not a fresh install.. have you tried doing this: https://askubuntu.com/questions/760724/16-04-upgrade-broke-mysql-server (first answer)17:59
dr4c4n_jge: that's what I mean, I freshly install the server, and run apt-get update, then apt-get upgrade, and this is what happens.18:01
dr4c4n_an apt-get upgrade shouldn't break the server18:02
dr4c4n_and trying what they suggested on that link, just makes mysql hang during reinstall at a different point18:03
jgedr4c4n_: what version of ubuntu server are you on? also, what's the full command you're using to install18:10
dr4c4n_jge: I'm running 16.04, I'm installing the SSH and LAMP packages during the installation18:12
dr4c4n_jge: all I'm trying to do is an apt-get update followed by apt-get upgrade18:12
dr4c4n_jge: I'm running it in a vm if that makes a difference?18:14
UssatI literally just finished what yure doing on a new VM with no issues......what is the exact command youre useing18:15
jgedr4c4n_: I would just remove mysql-server, perform the upgrade then install it again (sudo apt-get remove mysq-server&&sudo apt-get autoremove)18:17
Ussator just use mariadb it seems18:17
Ussatwhich seems to be a drop in replacement18:18
=== degorenko is now known as _degorenko|afk
dr4c4n_so is mariadb going to be included in LAMP from now on?18:19
UssatI dont know what you mean, included, I installed apache, php, mariadb18:20
dr4c4n_Ussat: well during the installation, there are default package suites that you can install during installation18:20
Ussatsure, I never go that route, I always install minimum, then choose what I need18:21
dr4c4n_Ussat: ah, ok18:21
UssatI have custom build scripts I use for different server purposes18:22
dr4c4n_jge: another error18:22
jgemind sharing the error..18:23
Ussataneother reason I dont use the "pre-packaged" defaults18:24
UssatI would remove everything the "LAMP" pakage installed and install them individual packages manually18:26
dr4c4n_jge: sorry I have to type it all out18:26
dr4c4n_http://paste.ubuntu.com/23082727/18:26
tomreyndr4c4n_: you should show the output of: apt-cache policy; apt-get -f install; apt-get update18:27
Ussatmysql_upgrade: Got error: 1045: Access denied for user 'debian-sys-maint'@'localhost' (using password: YES) while connecting to the MySQL server18:27
UssatTHAT is your issue18:27
jgenot pre-packaged, ubuntu allows you to select packages manually during install just saves you a few steps after install18:27
tomreyndr4c4n_: ignore what i asked for, the issue is clear.18:28
dr4c4n_so what I'm learning from this is to install the packages individually instead of the prepackaged versions18:29
jgedr4c4n_: why are you upgrading, I suggested to remove mysql then do a system upgrade and reinstalling after.18:29
Ussatdr4c4n_, no, thats not the issue at all in this case18:29
Ussatsee what I pasted above18:29
dr4c4n_Ussat: I realize that the mysql isn't allowing a connection which means the server probably isn't stopping which is why it's not uninstalling18:30
Ussator upgrading, which, is why its erroring out18:30
dr4c4n_jge: I usually run apt-get update and then apt-get upgrade right after I finish installation18:31
Ussat...18:31
Ussatif you stop the database, I bet the upgrade goes fine18:34
dr4c4n_Ussat: trying that now18:36
=== iberezovskiy is now known as iberezovskiy|off
Ussathmm...wonder how that went18:47
dr4c4nUssat:19:04
dr4c4nstill working on it19:04
dr4c4nI can't purge mysql-server19:14
dr4c4nbecause it still gives me the same error about access denied for user debian-sys-maint19:15
dr4c4nfudge it19:15
dr4c4nnew install19:15
dr4c4nUssat: I'm also downloading the latest install media19:20
=== skeezix-hf is now known as Ofir
=== Ofir is now known as skeezix-hf
jgejoin #hipchat20:02
=== keithzg_ is now known as keithzg
rabbitdewI have a remote server that was set up with the partitions mounted to the wrong  drive. I need to rsync the root directory with a different partition. The only ways I  know are in recovery mode or from livecd, but How can I do this on a remote server?22:44
FManTropyxPostfix is running with backwards-compatible default settings, but my host is not processing incoming emails - I fixed the outbound problem, just set the hostname properly: seems it overrides mailname23:51
=== Deliants is now known as Deliant

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