/srv/irclogs.ubuntu.com/2018/11/03/#ubuntu-server.txt

n00beeUbuntu 16.04 repos only have PHP 7.0. Security fixes will not be available for PHP7.0 will stop on Dec 3. What is the plan? Should we Use the PPAs or is there an upgrade planned in the distro's repos?01:48
Glorfindelok, so this isnt02:35
Glorfindel*so this isn't really ubuntu server specific, but ##linux isn't much help and there isn't a nano chanel that I could find; so I'm trying to open the file ./program/configfile.properties, but I am getting the following error: [ Error reading lock file /file/path: Not enough data read ]02:36
GlorfindelI've tried deleting the file ./program/configfile.properties.swp but it does not exist. so I created one. still didn't work. deleted that one, and more of the same.02:37
rbasakn00bee: https://answers.launchpad.net/ubuntu/+source/php7.0/+question/67553503:47
kantlivelongodd kerberos error. rpc.gsssd reports WARNING: Client 'nfs/XXX.YYY.ZZZ.com@YYY.ZZZ.com' not found in Kerberos database while getting initial ticket for principal 'nfs/XXX.YYY.ZZZ.com@YYY.ZZZ.com' using keytab 'FILE:/etc/krb5.keytab'          but klist -kt /etc/krb5.keytab shows that exact entry03:55
Buoy172what mta would you recommend?15:25
ahasenackkantlivelong: I think it means it didn't find that principal on the kdc16:47
kantlivelongahasenack: its bizarre tho. a line above it says it found one. on 18.04 i have no issue :/16:48
kantlivelongfresh install, update, ad join/kerb, mount16:49
ahasenackwhat does the kdc log show?16:50
kantlivelongthe kdc is ms ad. will have to look but figured it wouldn’t be anything on that end at this point16:54
kantlivelong... being that it works fine for fedora and 18.0416:54
ahasenackif you export KRB5_TRACE=/dev/stdout, the client library will print some debugging16:54
ahasenackiirc it's KRB5_TRACE16:54
ahasenackthat has helped me in the past figuring out exactly what the client was trying to do16:55
kantlivelongoh that’s handy to know. im mobile right now but will def give that a go16:55
kantlivelongtrying to find the paste i did earlier but its too far back16:55
ahasenackyep, that's the name, just confirmed16:55
ahasenackthe other usual checks would be permissions in the keytab file, and dmesg to check if apparmor isn't denying something16:56
Buoy172I just installed postfix. Do I have to install mail too to be able to send emails?17:00
kantlivelongahasenack: https://paste.ubuntu.com/p/GZqqcGgsvk/17:02
ahasenackBuoy172: you want to send email from the command line, cron jobs, that kind of thing? Postfix is just an MTA, not a MUA. It provides /usr/sbin/sendmail that some scripts know how to use, but it's not meant to be used by actual users17:04
ahasenackkantlivelong: that's the old paste you mentioned?17:06
ahasenackkantlivelong: I see a "$" sign next to some principals that is not in the list of /etc/krb5.keytab, is that expected?17:07
kantlivelongyeah17:08
Buoy172ahasenack: so what should I do?17:08
ahasenackwindows computer names have $ at the end, or used to back in the NT days17:08
kantlivelongwhich old ones?17:08
kantlivelonger read that wrong17:08
ahasenackBuoy172: I don't know what else you want to do, or who will be using that postfix service17:09
kantlivelongahasenack: i assume you mean the fqdn principal with the $? the length is too long for a spn so i think thats just some weirfd autodetect17:09
kantlivelongbut maybe that’s it?17:10
ahasenackI mean it says it's looking for ADTESTUBUNT.XXX.YYY.ZZZ$@XXX.YYY.ZZZ17:10
ahasenackwith the $17:10
kantlivelongyeah17:10
kantlivelongits not a valid spn17:10
ahasenackyou have host/ keys for that domain, but without the $17:10
ahasenackI think17:10
ahasenackit's a long list :)17:10
kantlivelongbut im guessing thats juat some auto detection?17:11
ahasenackyou even have principals with that name17:11
kantlivelongyeah the short name is there17:11
Buoy172ahasenack: I have a website hosted on ubuntu 16.04. There's a contact-us form. That's where I need to send email from.17:11
Buoy172First I want to make it work and test by sending email from the command line. Then I know how to use php's mail()17:12
ahasenackBuoy172: then just postfix should be enough, php and "web stuff" usually knows how to call /usr/sbin/sendmail, or use localhost:2517:12
ahasenackBuoy172: ah, ok, for testing, you can install whatever provides /usr/bin/mail17:12
ahasenackI think mailx is a minimal client17:12
kantlivelongim going to have to compare that to the 18.04 box tho17:12
Buoy172ahasenack: I tried this: php -r "mail('myemail@example.com', 'Test from Ubuntu', 'howdy partner');" but I didn't receive an email17:13
Buoy172of course, I didn't use myemail@example.com, but I used a vaild email that I have17:14
ahasenackBuoy172: I'm not sure about the php syntax, but you can check /var/log/mail.log to see if postfix was even used17:14
Buoy172It seems to have been used17:15
Buoy172I'll create a paste of mail.log for you to see, and I'll replace my actual mail with XXXXX17:15
Buoy172ahasenack: https://kopy.io/Jy1CJ17:17
ahasenackBuoy172: yeah, you seem to have a firewall blocking outgoing connections to port 2517:39
ahasenackkantlivelong: what are the actors here again? you are trying this on a 16.04 nfs client, kdc is AD, and the nfs server is something else?17:40
kantlivelongahasenack: fresh install of 16.04, updates, realmd, sssd, krb5. joining ms ad (2016). nfs server is centos717:42
kantlivelongsame steps for 18.04 where it works17:42
ahasenacksssd might have been fixed in some regard17:42
ahasenackI'll play with this a bit with an ubuntu-only setup, to see which principals are involved for just nfs17:43
kantlivelongi know the credential cache had some kernel changes17:43
kantlivelongalso as a heads up. i have to use msktutil to fetch updated ticket info for the keytab17:45
kantlivelongnot sure if thats normal or not. the samba net ads util doesnt seem to do anything on either setup17:45
ahasenackrealmd is supposed to help in that regard I think18:00
ahasenackbut I remember having to create something on the windows side once, I forget the name of the thing, spn maybe?18:00
ahasenackreally want to avoid having to deal with windows again18:01
kantlivelongahasenack: 16.04 client, centos 7.x nfs server, 2016 ad18:24
kantlivelongahasenack: just have to add the nfs spns18:43
kantlivelongahasenack: i did too but openldap/samba was more of a pita and added too many variables18:43
Mr_Panhello i have a ubntu 18.04 server .  i have a service ionclean ... 46.5% CPU.  what is this ?19:13
Mr_Pando u have idea  ?  http://i.imgur.com/vRTYiQr.png19:34
Mr_Panwhat are these services ?19:34
=== elsheepo is now known as beatzz

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