/srv/irclogs.ubuntu.com/2017/06/20/#ubuntu-server.txt

=== Raboo_ is now known as Raboo
=== genpaku_ is now known as genpaku
=== LaserAllan is now known as Guest44099
=== oerheks_ is now known as oerheks
=== bradm_ is now known as bradm
=== rypervenche_ is now known as rypervenche
=== jelly-home is now known as jelly
=== pleia2_ is now known as pleia2
=== frickler_ is now known as frickler
=== fnordahl_ is now known as fnordahl
symbolzhaohelp,how can i install irc-server on ubuntu16.0406:58
lordievaderGood morning07:41
=== masACC is now known as maswan
=== caribou_ is now known as Caribou
=== Caribou is now known as Guest43750
=== Guest43750 is now known as caribou
cpaelzerrbasak: are you around so you could kick a import of ntp so that it picks up 1:4.2.8p10+dfsg-4 ?08:58
gheorghe_drab: what are you using kickstart/preseed for?08:59
gheorghe_i mean, there are lots of other options out there08:59
cpaelzerrbasak: I filed a bug about various broken history in ntp bug 169907909:33
cpaelzerrbasak: if anything of that comes up on the re-import you might add that there09:33
cpaelzerrbasak: e.g. if the push would cause conflicts09:33
=== ikonia_ is now known as ikonia
c4fo/10:18
c4fI've got a problem with AJAX requests [401] on Ubuntu apache2, everything is on Symfony and jquery ajax request + JWT auth and bearer. This is really odd, because everything works as charm on Windows xampp, but on Linux not. Someone something? I suppose its problem with rights or apache config. Idk really what is it and moreover backend guy too. Everything with auth is ok, url ok, i've jwt token which10:22
c4fis need to make request by ajax. Help guys :)10:22
c4fIts look like a problem with auth, but everything looks OK. GET requests works good.10:26
gheorghe_c4f: do you get any errors in /var/log/apache/error.log? i hope i got the file name right10:39
c4fgheorghe_: hmm.. I think not, but Ill check again, wait please ;)10:40
gheorghe_c4f: you can follow the error file with "tail -f" and retry the token request, to see if any error appears10:41
gheorghe_c4f: the fille location is /var/log/apache2/error.log10:42
c4fgheorghe_: yeeaa, ok, i got it :) w8 ive got to turn on appache server and etc.10:43
c4fgheorghe_: and.. nothing.. 401, to confirm that, symfony toolbar shows info about that. P.S Sorry for my english, I know its suck :)10:44
c4fgheorghe_: Log is clear, not any warrning, errors, fails and etc.10:46
c4fgheorghe_: https://pastebin.com/m5H6jCsi with tail -f10:46
c4fgheorghe_: making requests, a lot of requests10:47
gheorghe_you placed symphony in /var/www/html?10:53
gheorghe_if you did, did you also change the user that owns the files?10:53
c4fgheorghe_: ofc i have in /var/www/html10:58
c4fgheorghe_: I use commands from ubuntu apache page to recursive changing owner and group for this files10:59
c4fgheorghe_: but hmm.. on the first symfony throw me up some notices [errors] about unwriteable cache folder, but i change it. Can you give me some confirmed commands for that?11:00
=== pesari_ is now known as pesari
gheorghe_if you are using ubuntu-server? if yes, the user should be www-data11:03
gheorghe_try with chown -r www-data:www-data /path/to/cache/folder11:04
gheorghe_also check if the owner has write rights11:05
c4fhmm cache wroks well, everything works well, but request put, post, delete not.11:05
gheorghe_is delete not blocked by symphony acl?11:06
c4fI changed rights and owner for cache immediately as symfony threw me up this error11:06
c4fgheorghe_: No. :) It isnt.11:06
c4fgheorghe_: Every requests works well on Windows XAMPP, immediately after installing the project [if all is clean]11:07
c4fgheorghe_: Im confused.11:08
c4fgheorghe_: ive got an idea. I check not on localhost but on 127.0.0.1 I know is equivalent but maybe, who knows.11:09
c4fgheorghe_: tail -f on access.log file show notices about 402 error - payment required?! [what?! We don't use that now], but I think it isnt important. Now I start symfony server, maybe with that will work11:13
c4fgheorghe_: Ouu ;( On symfony server, took me notice about rights for /var/session/etc..11:20
c4fgheorghe_: Could you give commands to change rights to /var/www/html11:21
c4f?11:21
c4fgheorghe_: oo f*ck im angry about that. I think i need to makes rights from the begin on main html folder and inner. Help me please :D11:23
c4fgheorghe_: Hurraay! It works :D I remove /var/sessions and cache folder, made rights from begin with ubuntu page and i open symfony server aaaanddd its works! :D11:36
c4fgheorghe_: but know idk what helped :)11:36
c4fgheorghe_: yeaa, that was symfony server. And works well :)11:43
c4fgheorghe_: Thank you so much for you time and involve in solving my problem:)11:51
c4fgheorghe_: Ive got it go :) 2pm end of job time ;)11:52
c4fgheorghe_: thanks again and bye! :D11:52
RoyK^_keep in mind that if www-data has write access to its own files, as in scripts, php etc, things can get rather nasty if a security bug appears11:53
gheorghe_c4f: to change rights for /var/www/html, use chown11:54
gheorghe_c4f: sorry for being afk, i had something to do11:54
RoyK^_(s)he left11:58
=== maxb_ is now known as maxb
=== RoyK^_ is now known as RoyK
ahasenackrbasak: hi, good morning/afternoon, I have a question12:04
ahasenackabout https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/168938712:04
rbasakahasenack: o/12:05
ahasenackrbasak: \o12:05
cpaelzeralso reading that bug :-)12:05
ahasenackrbasak: I think that guy put the apparmor profile in enforcing mode. That's not how we ship it in X as far as I can tell12:06
ahasenackif that's the case, it's still a bug, but then I don't think it's "high"12:06
rbasakahasenack: agreed, though we should still prioritise it as an active contributor12:07
rbasak(so still server-next IMHO)12:07
ahasenackno doubt about that12:07
ahasenackI found other missing configs in that profile once I enabled it in enforcing mode12:08
ahasenackI'm grabbing sssd bugs now12:09
cpaelzerIt also is high because it essentially would be a update-regression of 156650812:09
cpaelzerone that would have set it to enforce and had it working would fail after this bug update as I ready the case12:09
ahasenackone thing to check is if it switched between enforcing and complaining in this update12:09
cpaelzerit did not12:10
ahasenackok12:10
=== Guest44099 is now known as LaserAllan
=== LaserAllan is now known as Guest32700
ahasenackcpaelzer: about opevpn, I'm thinking12:13
ahasenackcpaelzer: not all bug fixes lead to an sru12:13
ahasenackcpaelzer: so I'm inclined to track the sru as separate work12:13
ahasenackeven though it's the same bug number12:14
ahasenackbut I'm not sure12:14
gheorghe_RoyK^_ i like talking alone ^^12:14
ahasenackI dislike cards going "backwards"12:14
cpaelzerahasenack: yeah I'm totally fine with that12:19
ahasenackok, let's experiment12:19
cpaelzerahasenack: I handle most that would go back + span more than a week with multiple cards12:19
cpaelzerahasenack: yet give the card in done a matching title12:19
cpaelzerahasenack: like "artful"12:19
ahasenackright12:19
cpaelzerahasenack: and the new one a "SRU"12:19
ahasenackmove the label too12:19
cpaelzerahasenack: that way tracking and reports do not seem too silly12:19
cpaelzerack12:19
cpaelzerrbasak: could you accept the trusty task of 1593907 for me?12:20
cpaelzerit seems my upload permissions do only cover bug tasks >=xenial for some packages12:21
cpaelzerOh I see in this case ubuntu-server-dev upload permissions got only added >= xenial12:22
cpaelzerthat is why I can't ack the trusty task12:22
cpaelzerthat will also stop me from the upload then, good to check that in advance12:22
rbasakcpaelzer: done.12:35
cpaelzerthanks rbasak, if you or nacc later find some time to check and sponsor the trusty upload that would be nice12:35
cpaelzeras outlined before the teams upload permission only is >=xenial12:36
cpaelzernacc in case you are, that is bug 159390712:36
=== jdstrand_ is now known as jdstrand
ahasenackcpaelzer: new samba dep8 tests running, yay12:50
ahasenackcpaelzer: http://people.canonical.com/~ubuntu-archive/proposed-migration/artful/update_excuses.html search for 2:4.5.8+dfsg-2ubuntu212:50
cpaelzerahasenack: yeah I see them, also the skip due to lacking machine level isolation on s390 worke12:55
ahasenackcpaelzer: what do we have in s390, just lxd?12:56
cpaelzerahasenack: my usual search on -excuses is "packagename (" that way you always find the actual upload and no other reverese deps12:56
cpaelzerahasenack: yeah only containers, on armhf as well IIRC12:56
ahasenackI started like that, but there are still some tests on 2ubuntu1, the previous upload12:56
ahasenackcpaelzer: ok, then we only lose one test, the cifs one12:56
cpaelzerahasenack: s390 scalingstack is on the way to become reality, but that it is for quite a while12:56
cpaelzerahasenack: exactly that is what I wanted to check12:57
cpaelzerlooking good12:57
ahasenacknice12:57
ahasenackrbasak: could you import openvpn-auth-ldap please?13:15
rbasakack13:17
ahasenackthx13:18
rbasakRunning. It'll take a while I think.13:18
ahasenackok13:19
ahasenackis the import "atomic"?13:19
ahasenacki.e., once I can git ubuntu clone it, it's done? Or will I get bits and pieces?13:19
cpaelzerahasenack: you can clone now and git fetch later13:22
cpaelzerto get the latest bits13:22
cpaelzerahasenack: so if you have something that you can prep now and rebase to the new import alter you are good13:23
cpaelzerahasenack: or is that not yet importet at all?13:23
ahasenackit didn't exist at all13:23
cpaelzerahasenack: you can set up a loop that clones and once it worked once wait a bit and then fetch13:24
cpaelzerahasenack: not sure if the push the importer does will lock you in an atomic way13:25
cpaelzerbut poll until some clone is there + fetch should be good13:25
ahasenackrbasak: can you accept my nominations in https://bugs.launchpad.net/ubuntu/+source/openvpn-auth-ldap/+bug/1602813 please?13:31
ubottuLaunchpad bug 1602813 in openvpn-auth-ldap (Debian) "openvpn-auth-ldap causing segfault on network timeout" [Unknown,New]13:31
rbasakahasenack: done. Also, if you hadn't noticed, the import finished.13:33
ahasenackgreat²13:33
ahasenackjust in time :)13:33
ahasenack1,2Mopenvpn-auth-ldap/13:34
ahasenackthere weren't many releases13:34
=== hehehe_off is now known as hehehe
drabgheorghe_: just using preseed, no kickstart, that's why I was asking. to install all my servers and desktops, what else could be done with it?14:49
draball the basic provisioning of baremetal and kvm is done with preseed, then ansible to finish it off14:49
gheorghe_drab: AFAIK, MAAS can do a good job at that14:57
EmilienMjamespage, coreycb : when do you plan to update openstack packages to m2 in pike?15:35
jamespageEmilienM: m2 is in -proposed; needs testing so probably this week I should think16:04
EmilienMk16:04
EmilienMjamespage: don't you have a staging system where you move stuffs only when passing jobs, etc?16:05
EmilienMin RDO, we promote if jobs pass the tests, to make ci/cd16:05
jamespageEmilienM: yes thats where it is atm16:05
=== Guest32700 is now known as LaserAllan
jamespagenot promoted yet as its not passing testing :-)16:06
=== dames is now known as thedac
EmilienMok16:06
jamespagesome new packaged had to go through the ubuntu archive review process - that completed am this morning, everything should now be built and testing16:07
=== roaksoax_ is now known as roaksoax
=== Epx998- is now known as Epx998
DammitJimhow do you find out why a server is saying: *** System restart required ***18:48
Posterkernel update most likely18:49
tewardDammitJim: USUALLY it's a kernel update.  Try this command including the semicolon and the second command: echo "Packages causing reboot:"; cat /var/run/reboot-required.pkgs18:50
DammitJimI see in /var/run/reboot-required.pkgs that it has: libc6, libssl1.0.0 and dbus18:50
tewardusually for libssl it makes you reboot18:50
tewardwell sometimes*18:50
DammitJimbut I just ran dist-upgrade and autoremove like 4 hours ago18:50
DammitJimand rebooted the system18:50
DammitJimI thought I had disabled all automatic updates18:51
DammitJimso, I'm a little lost as to what happened18:51
DammitJimespecially because I'm about to roll out up to date patches on 100 servers18:51
DammitJimand I was assuming that a reboot at the end was going to do it18:51
DammitJimbut apparently not :(18:51
Posternot 100% sure but those updates could have landed between your dist-upgrade and now18:52
DammitJimtru18:52
DammitJimbut I didn't run updates after the reboot18:52
Posteryou may consider a local mirror if you need updates to be frozen at a certain time18:53
Posterwhich if you have 100 systems might be a good idea anyway18:53
Posterjust stop syncing it when it's where you want it to be18:53
DammitJimyeah, that's a plan for a project we have18:53
DammitJimPoster, that's what is driving me nuts18:53
DammitJimI don't have anything set up where automatic updates happen18:54
DammitJimmy 50unattended-upgrades is basically empty18:54
DammitJimwith the exception of the line: Unattended-Upgrade::Remove-Unused-Dependencies "true";18:54
Posternot real sure what to suggest on that one, I've kept mine enabled in just about all cases18:54
DammitJimPoster, we defined that to be a policy at our office18:54
DammitJimno automatic updates18:55
DammitJimbesides, the /boot partition gets full pretty fast18:55
Posteryeah I get it18:55
DammitJimbut then, it only has like 100M allocated to our servers18:55
Postermy / usually fills up with kernel modules18:55
naccDammitJim: why do you even have a /boot partition?18:55
tewardnacc: because they wanted one heh18:55
naccDammitJim: and that small is a bad choice anyways, that barely holds two kernels and initrds18:55
naccDammitJim: so won't let autoremove do its job18:56
DammitJimhonestly, I don't know why it's that small18:56
DammitJimactually, it's 236M18:56
DammitJimjust looked it up18:56
DammitJimI just let Ubuntu set that automatically from what I remember when I set up the partitions18:57
naccDammitJim: ah ok that's fine18:57
naccDammitJim: 100M would almost always be an issue18:57
DammitJimYeah, I could see that...18:58
miceikenHi20:08
miceikenI changed mobo, how can I "reset" ethernet device?20:09
tewardmiceiken: erm, what do you mean "reset"?20:11
miceikenWell, I no longer have internet access, which I guess is because as network card is in the new mobo, I assume it needs to be installed somehow20:11
tewardmiceiken: 16.04?20:12
miceiken17.0420:12
tewardclose enough, predictive interface naming is in play20:12
tewardmiceiken: do you have physical access to the machine?20:12
miceikenyes20:12
tewardifconfig -a20:12
tewardget the name of your ethernet card from it20:12
tewardthen adjust /etc/network/interfaces accordingly20:12
tewardto update the name of the adapter to autoconfigure and set up20:13
tewardalternatively use network manager and nmcli, but i prefer the old-school /etc/network/interfaces solution except for wifi things20:13
teward(servers included)20:13
miceikenthanks, now it works techmagus20:14
miceikenteward*20:14
miceikenquick follow up, if you dont mind. can I ask the machine to lease a certain ip?20:15
miceikendhcp router20:15
miceikenor would you do that in the router directly?20:15
tewardmiceiken: depends.  Usually I reserve the IP in the DHCP server (router, etc.) for that MAC address, *and* set it as a static IP on the machine i'm configuring.20:16
tewardthat way there's nothing that can just 'get' the address.20:16
tewardThough, in my case, *most* of my network segments are small enough I can just static IP everything20:16
tewardor they're containers on a specific host system and have 1:1 NAT'd IPs.20:16
tewardso the host node just is static IP'd for all the IPs, and reserved in DHCP as well.20:18
tewardor, outside the DHCP range, that is.20:18
tewardit really depends on your environment or setup.20:18
miceikenthanks, ill just configure it in the router20:19
tewardmiceiken: sounds good, enjoy :)20:36
Epx998Ubuntu OS sees my 6TB raid drive has 600GB - sweet21:32
dpb1Epx998: not the best.21:33
Epx998dpb1: yeah it's to be expected though.21:33
Epx998interesting i am not seeing megaraid loaded21:34
Epx998hmm keeps coming up as 600gb22:01
=== sarnold_ is now known as sarnold
=== jerichowasahoax` is now known as jerichowasahoax
=== keithzg_ is now known as keithzg
=== Epx998_ is now known as Epx998
=== help is now known as Guest65463
Guest65463hello, I am unable to install any packages, I tried install openssh-server and got the following:23:41
Guest65463Unable to correct problems, you have held broken packages.23:41
Guest65463even after running23:42
Guest65463sudo apt-get autoclean $$ apt-get clear cache23:42
Guest65463running update and upgrade did nothing to solve the problem, and nothing was upgraded, no error mesages23:42
tarpmanGuest65463: please pastebin the entire output and consider also using -o Debug::pkgProblemResolver=yes for more info23:43
Guest65463how do I use the -o?23:44
Guest65463https://thepasteb.in/p/j2hlN95AjG9hP23:45
tarpmanapt-get -o Debug::pkgProblemResolver=yes install openssh-server23:45
Guest65463https://thepasteb.in/p/j2hlN95AjG9hP23:48
Guest65463tarpman: ^^23:48
Guest65463WTF23:49
Guest65463that is not it23:49
tarpman:)23:49
Guest65463http://paste.ubuntu.com/24912520/23:49
oerhekstry full-upgrade too, i think there are packages held back23:50
Guest65463well, not my apt I was just able to install hexchat via apt install hexchat23:50
Guest65463https://thepasteb.in/p/98hR713PKMqfk23:51
Guest65463nada23:51
Guest65463I'm attempting to set up vnc through ssh23:52
tarpmannot quite understanding what I'm reading here. it's an amd64 system, but you have openssh-client:i386 installed? am I reading that correctly?23:53
tarpmanwhat do you have installed right now as far as libc6 and openssh packages?23:53
Guest65463This *was  a clean install of server with vmware and virtuabox and unity added23:54
Guest65463how do I tell which libc23:55
tarpmandpkg-query -W libc6 openssh-client23:55
tarpmanalso: unity? on a server?23:55
Guest65463libc6:amd64 2.23-0ubuntu723:56
Guest65463openssh-client 1:7.2p2-4ubuntu2.123:56
Guest65463tarpman, yeah, cause it's not really a "server" I'm using it to run a number of VM's reallyh23:56
Guest65463Suppose I should have done gnome23:56
Guest65463or lxfce23:56
tarpmanI am not skilled enough at reading pkgProblemResolver output unfortunately23:57
Guest65463shall I try removing openssh-client?23:57
tarpmanmight be worth a try. as long as it doesn't take important things with it23:57
tarpmanannoying that dpkg-query didn't say which arch is installed of that23:58
tarpmancould ask it explicitly: dpkg-query openssh-client:i38623:58
Guest65463removed tried to do full-upgrade, nothing installed23:58
Guest65463tarpman: now install openssh-server just fine ;-/23:59
tarpmanso I guess I was right23:59

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