/srv/irclogs.ubuntu.com/2017/05/11/#ubuntu-server.txt

=== mikal_ is now known as mikal
PolarcraftDoes anyone know of a free alternative for Ubuntu that is like cPanel?05:09
YankDownUnderPolarcraft, For what...for doing individual admin of web sites, or for admin of a server itself...?05:12
PolarcraftYankDownUnder, for webhosting of sites.05:16
YankDownUnderPolarcraft, something interesting to look at: https://www.howtoforge.com/tutorial/perfect-server-ubuntu-16.04-with-apache-php-myqsl-pureftpd-bind-postfix-doveot-and-ispconfig/05:25
PolarcraftI personally don't like ispconfig.05:32
YankDownUnderFair enough. I like the price tag.05:36
sarnoldbtw, these kinds of tools are usually insanely baggy05:37
sarnoldbuggy, too05:37
sarnoldplease firewall the thing to only allow connections from your one computer05:37
sarnoldnot its own internal controls05:37
sarnoldfirewall05:37
PolarcraftEh I might just user serverpilot.05:44
Polarcrafts/user/use05:53
HanWhen I kickstart an 16.04.02 server and have "d-i clock-setup/ntp-server string george" the installer hangs at setting the time. That is, until I open a console. Then all of the sudden the installer continues.06:22
HanI can ping 'george', grepping for rdate in /var/log/syslog shows it's asking the ntp server for a date and gets one at the moment I log in on a spare console.06:22
HanWhat am I missing here?06:22
sarnoldHan: crazy. does the same hang happen if you use an ip?06:24
Hanworth a shot, just a minute06:25
lordievaderGood morning.06:26
Hansarnold, it also hangs. Log shows the same, except that I used an ip this time.06:29
sarnoldHan: heh. i'm not sure if im' happy or sad about that. :)06:30
HanI also tested the time server of course, also with rdate, works fine.06:30
Hanrdate called using NTP server 172.31.10.129\nrdate: adjust local clock by 0.105604 seconds.06:31
HanAnd the first line is a minute ahead of the second.06:31
HanSo yes... crazy06:32
sarnold.. it takes a minute to contact your ntp server?06:33
HanNot at all. using rdate from an already installed host works fine. Instant response.06:34
sarnoldHan: i'm grasping at straws. long since out of ideas. maybe https://www.freedesktop.org/software/systemd/man/systemd-analyze.html ?06:35
HanDoes the d-i installer already run systemd?06:37
sarnoldhrm. good question. I had assumed it would but that's me making an assumption..06:37
Han/lib/systemd/systemd-udevd --daemon --resolve-names=06:42
HanI count that as a no.06:42
HanWhen I manually run 'rdate george' I get 'george: servname not supported for ai_socktype'06:44
Hanwith ip the same message.06:44
Hanweird... because it doesn't fail, it hangs until I do something else.06:44
Han"rdate -u -n george" is what I should have used, but it gives the same error.06:47
=== JanC is now known as Guest55043
=== JanC_ is now known as JanC
zetherooI have Ubuntu server 16.04 here with Zabbix installed and I am trying to get the Email notifications to work - how can I test sending an email from the command line using username and password credentials?10:07
ikoniamail10:13
ikoniaor mails10:13
ikoniamailx sorry10:13
ikoniaor just telnet to the smtp servers port10:13
ikoniaand enter them as the agruments10:13
zetherooI tried 'telnet cyon.ch 465' which said it was connected .. but then it just hung there and disconnected after a little while10:14
ikoniayou have to issue commands10:16
ikoniait won't offer you prompts10:16
ikoniathats not how a mail server works10:16
zetheroook10:16
zetherooI am trying to follow this https://technet.microsoft.com/en-us/library/aa995718(v=exchg.65).aspx10:19
ndeewhat's the easiest way to have a command queue running? Something where I can put commands on to a queue.12:40
ahasenackndee: you mean like at(1)?12:40
ndeeahasenack: I always want the commands to be executed immediately, just that no two commands are executed at the same time12:41
ahasenackuse a shared lock file then12:42
ahasenackthere is a lockfile utility in the procmail package you could take a look at12:42
ezethnesthrownI can't seem to 'sudo apt-get update'13:10
ezethnesthrownI can 'ping' just fine13:10
ezethnesthrownOr maybe my DNS13:13
ezethnesthrownHang on13:13
ezethnesthrownDNS problem. My bad13:16
pos Do apport and whoopsie phone home with "telemetry"/crash data by default on xenial server?13:51
m1dnight1Guys, I've been trying to get opencl running on my ubuntu server without any luck14:11
m1dnight1I've checked the driver version on nvidia.com (304 for a 690) and then installed nvidia-304, but still, no luck with clinfo14:11
m1dnight1any tips?14:11
m1dnight1derp, i purged and removed my nvidia driver, rebooted, and now it works14:12
m1dnight1magic.14:12
m1dnight1oh wait no, its something else.14:13
m1dnight1it's NVE4, which is my CPU I guess14:13
bindinv would indicate nvidia14:14
m1dnight1how odd that it only works after I purged my drivers14:14
bindi304 is quite old14:14
bindipretty sure a newer one would work14:15
m1dnight1oh. I read that I should see what version nvidia.com gives me and use that one. hence this version14:15
m1dnight1let me check supported devices on newer drivers14:15
oerheksyou would need the 346 or higher, http://www.nvidia.com/Download/driverResults.aspx/81252/en-us14:15
bindinvidia suggests 375.66 for me?14:16
m1dnight1for a 690?14:16
bindiwhen i picked linux x64 and gtx 69014:16
bindiand that's what's in the ubuntu repos14:16
m1dnight1huh, i just retried, still suggests 30414:16
m1dnight1odd14:16
m1dnight1http://www.nvidia.com/download/driverResults.aspx/114714/en-us14:16
bindihmm 375.39 actually14:17
m1dnight1oooohhhh, I picked 6 series, and not 600 series *derp***14:17
bindilol14:17
m1dnight1that's embarrasing14:17
m1dnight1sorry guys :p14:17
m1dnight1installing 777 mb of packages, hurray!14:19
naccaaronr: i totally forgot one thing, i'm not sure if you've already uploaded the debdiffs, but dch will not dtrt for the first SRU to a release, but this should help you determine the correct version: https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Update_the_packaging14:25
greenmanspiritI am having trouble finding with google so I thought maybe you all would have a suggestion. I would like to set up Ubuntu Server to use sssd I have tried what few articles I can find and nothing works. Do any of you know someone I could talk to about this?14:54
greenmanspiritI tried using the realmd wrapper and it works very inconsistently14:57
help-im-stuckubuntu or beer15:16
compdocubuntu and beer!15:26
help-im-stuckwhy not.. i'll forget my password :$15:31
drab_help-im-stuck: here's your solution: http://s2.quickmeme.com/img/3b/3b6199912965e3e396ab0b8caa88cfc38ee558dbfe3188fe0496cbdf6bab5b30.jpg16:52
=== drab_ is now known as drab
hallynwtf.  why can't i get systemd to accept what's in /etc/domainname17:08
=== pavlushka is now known as kindthree
=== kindthree is now known as kindfour
=== kindfour is now known as pavlushka
Kyokuhow do i get to a proper terminal during 16.04 server install? i thought it was ctrl-alt-f1 but that isn't working and f2 gives me some busybox thing19:10
sarnoldtry the other f-keys?19:11
Kyokui did, no terminal to be found19:12
sarnoldtry smacking 'enter' on some of them, maybe the message 'press enter to start a shell' just didn't get printed for some reason?19:13
zerickKyoku: Why not using the "try ubuntu" option at the beginning of the installer, to load the Desktop and use the terminal. Then launch the installer from the Desktop icon.19:29
naccKyoku: alos, it's sort of frowned upon to crosspost19:31
naccbut in any case, answered in #ubuntu19:31
Kyokuzerick i was using server installer19:43
Kyokusorry about crosspost but didn't get a working answer here19:44
DammitJimhow do I find out the default version of mysql that would get installed on my Ubuntu 16.04 server?21:21
nacc!info mysql-server xenial21:21
ubottumysql-server (source: mysql-5.7): MySQL database server (metapackage depending on the latest version). In component main, is optional. Version 5.7.18-0ubuntu0.16.04.1 (xenial), package size 10 kB, installed size 180 kB21:21
naccDammitJim: --^21:21
naccDammitJim: or look at the package page (http://pad.lv/u/mysql-5.7) or use `rmadison`21:22
DammitJimthanks@21:22
DammitJimwhat would be the harm in saying: sudo apt-get install mysql-5.7-server21:23
DammitJiminstead of saying: sudo apt-get install mysql-server ?21:23
DammitJimdoes one lock you down from upgrading or something?21:23
drab_apt-cache policy $package21:23
=== drab_ is now known as drab
drabor using the simulate flag in apt install21:24
DammitJimsorry, that was mysql-server-5.721:24
DammitJimsay if in 3 years, we want to upgrade ubuntu to 1821:25
DammitJimwould that mess up mysql?21:25
drabanybody familiar with openvpn? I'm clueless about it and it seems like I can't share a client cert?21:26
DammitJimI've done openvpn21:26
drabI generated a client cert, put it on two phones/devices and if one is connected the other fails and viceversa21:26
drabbasically it seems I can't share the cert21:26
DammitJimoh21:26
drabeven tho I don't get why... if the cert validates why does it care?21:26
DammitJimI'm going to ask the annoying question of: why do you want to share it?21:27
drabthese are all my devices and21:27
drabI'm taking a trip in censorship land, I have a bunch of devices and I'm trying to set up a quick vpn that will be tore down as soon as I come back21:27
stgraberdrab: add "duplicate-cn" to your server config21:28
drabbut if it's harder to share a cert than to make new ones, no problem21:28
drabI was just wondering if I was doing something wrong21:28
DammitJimI think you need to set the duplicate-cn flag21:28
drabgot it, thanks21:28
DammitJimyeah, what stgraber said21:28
DammitJimthat's the default openvpn config... only 1 cert at a time21:28
naccDammitJim: yeah, i think you want the metapackage so that it will upgrade you across versions21:29
DammitJimdammit21:30
DammitJimI don't know why I made the mistake of specifying the version21:30
DammitJimyou see, we had ubuntu 14 and it was "required" to install mysql 5.721:30
DammitJimso, I specifically said: install 5.721:30
DammitJimthen we started building servers with Ubuntu 16 and I also specified 5.7 instead of just letting the OS pick the package21:31
DammitJimis there a way for me to change that?21:31
drabbecause generally speaking the more specific the betterm, so that things aren't changed under your feet without breakage (not that I'd expect any in this case, but the principle still applies)21:31
drabso imho it was good instinct21:31
DammitJimhhhmmmm.... I guess I need to meditate on this some more21:31
drabis there some known reason why I should not put openvpn on 443?21:32
drabtrying to make sure I don't get blocked21:32
DammitJimI have openvpn on 44321:32
drabbut don't know if being hit by https traffic or something is going to make it funky or something21:32
drabok, great21:32
DammitJimit's not a server with 100% uptime SLAs, though21:32
DammitJimnot that that matters21:32
drabyeah that's not what I'm worried about, more like what opevpn is going to do if it starts getting https traffic thrown at it21:33
drabby scanners and whatnot21:33
drabdidn't want it to crash or something21:33
naccDammitJim: there was no 5.7 in 14.0421:34
DammitJimnacc, exactly21:35
DammitJimI think they asked me to add some repos21:35
naccah21:35
DammitJimnacc, you just made me think of something21:36
DammitJimwe were actually not running 5.7, we were on 5.6 and the exact thing that drab said is what we went through21:36
DammitJimwe didn't want mysql to be upgraded21:36
DammitJimbut I think I have learned that for the same version 14, mysql wouldn't be upgraded to 5.721:36
DammitJimor for ubuntu 16, mysql wouldn't be upgrade from 5.7 to 5.821:37
DammitJimis that a safe assumption?21:37
naccDammitJim: right, major release changes are rare21:37
DammitJimblah21:37
DammitJimso, I think I'm ok21:37
DammitJimthanks guys21:37
drabstgraber: btw for openvpn in containers, it seems it's broken by default, don't know if there's a but about it or what, but since you were around I thought I'd mention21:38
drabbug*21:39
rajif I give my un/pw for someone else to login, is there an issue if I am also logged in at the same time?21:39
drabstgraber: well the systemd part is, LimitNPROC specifically21:41
ahasenacknacc: I troubleshooted a bit this bug: https://bugs.launchpad.net/ubuntu/+source/pam-mysql/+bug/1574900/comments/2722:16
ubottuLaunchpad bug 1574900 in pam-mysql (Ubuntu Yakkety) "libpam-mysql undefined symbol: make_scrambled_password" [Undecided,Fix committed]22:16
ahasenackhm, maybe I should have commented on #1574911 instead22:17
naccahasenack: thanks! i'll try and review tmrw22:17
ahasenackI don't have a solution, just an explanation22:18
drabfwiw, it seems there's problem in the do-release-upgrade from 14.04 to 16.04 related to predictable interfaces22:18
naccahasenack: ack22:18
drabinterface name changes but /etc/network/interfaces is left pointing to eth022:18
drabjust did a remote update and got locked out22:18
ahasenacknacc: I'm on PTO tomorrow, I'll catch up on monday22:20
compdocdrab, I hate when that happens22:28
naccdrab: i'm not sure there is a sane way to do that22:29
naccdrab: as the 14.04 instance hasnt' switched to systemd so can't know the predictable interface name?22:29
naccdrab: you can pass a kernel parameter to disable it, iirc22:29
drabnacc: yeah, that's what I normally do, just forgot on this host as I don't do many release-upgrades22:38
naccdrab: ack22:41
drabdammit jim is gone22:48
drabfor whatever reason the openvpn works on an android phone but not on iphone22:49
drabI mean it connects and can ping local devices, but no internet on iphone22:49
drabI take that back, iphone can only ping the gateway23:01
drabnothing else on the lan23:02

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