/srv/irclogs.ubuntu.com/2016/11/21/#ubuntu-server.txt

jasonbbbokay new question got mailgun set up to my forums but mailgun requires my dns to authenticate which i use my IP address as the url name and server so how do i configure mailgun to shake hands with my server directly instead of domain host00:18
tewardjasonbbb: wait, so your site is *hosted* somewhere, not on a server you maintain?00:59
jasonbbbno i host my site on my desktop at my house lol01:17
jasonbbbto be completely out there01:17
jasonbbbi set up everything going by basic settings using lamp server and other installs to make my MYBB forums to work.01:17
jasonbbbthen ported and used no-ip for domain name which they would charge me $$ to do a relay so i wanna do this as free as possible.01:18
jasonbbbso my website is accessible and you can register , chat yada yada but when it comes to sending emails out to users it wont because for some reason with the gmail smtp the mysql shows error that connection was refused.01:19
jasonbbbso i dont know if it is a gmail thing or if maybe i have to configure my /etc/postfix/ configuration file to see if thats the problem01:19
tewardjasonbbb: i'd configure postfix to send to the mailgun service.  then configure your site to just use 'mail' or 'sendmail' at the computer, which will give it to postfix, which gives it off to mailgun.01:27
tewardconfiguring that, i'm not sure about01:27
jasonbbbbut mailgun requires a dns check so what would i have to do to make it shake with my server and connect01:28
jasonbbbi dont use a hostname besides my ip address and no-ip redirect01:28
tewardthat might be hard, then.  The other option is to create an account at GMail and configure Postfix to send via that account.01:30
tewardor something01:30
tewardbut mass-mail will trigger some limits in GMail likely01:30
jasonbbbi have an account with gmail for all my devices how would i set the smtp up for it01:33
jasonbbbbecause thats what im trying to do now and no luck01:33
lamontit's possible that the isp is blocking the traffic... can you connect to port 587 or port 25 on the gmail servers?02:48
cpaelzerjamespage: hi, the last libvirt update hangs on migration on a failing nova dep8 test07:29
cpaelzerjamespage: since the only libvirt "changes" in this happen to be allowing more in the apparmor profile I wonder07:30
cpaelzerjamespage: also I've seen there is a nova 15 in proposed already which happens to fail on the same thing07:31
cpaelzerjamespage: fails are in nova-compute-daemons test like at https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-zesty/zesty/amd64/n/nova/20161118_130704_51433@/log.gz07:32
cpaelzerjamespage: so before I debug - is any of that known, WIP or such a thing already?07:32
=== PaulW2U_ is now known as PaulW2U
=== amoralej|off is now known as amoralej
cpaelzerjamespage: I see somebody kicked a retest on the x86 which now worked, only ppc left09:27
cpaelzerjamespage: is anybody already working on that (the nova test fail)09:27
jamespagecpaelzer, not me - more likely zul or ddellav09:28
=== iberezovskiy|off is now known as iberezovskiy
=== _ruben_ is now known as _ruben
=== _degorenko|off is now known as degorenko
PjusurMorning good folk, is it possible to use maas as a pxeserver?11:46
=== schmidtm_ is now known as schmidtm
zulcpaelzer: yes im working on it12:12
cpaelzerzul: thanks zul - good to know12:22
=== freyes__ is now known as freyes
xperiahi all. i need to make free space on my ubuntu server running on a certified cannonical google cloud instance with 10 Giga bytes HD. How can i trim down my ubuntu server to avoid getting out of disk space. at the moment also my mysql /var/log directory use quite a lot of space nearly 50% or 5GB and i need to get rid of the old log files but dont know how. my mysql server fails to start...13:00
xperia...becouse of no disk space availble. please help me with this problem!13:00
emoraAnyone have experience sharing large disks (24Tbyte) with Samba ?13:01
coreycbddellav, fyi neutron built ok over the weekend for the uca so all good there13:06
maswanxperia: configure logrotate to be more aggressive in cleaning up old logs13:07
ddellavcoreycb awesome, good news13:19
coreycbddellav, yup13:19
=== amoralej is now known as amoralej|lunch
zulcoreycb/ddellav: someone got swift and manila?13:57
jonahhi can anyone help with UPS advice? I have a ups that failed last night and I think it is due to it not being PFC compatible... I'm looking for a powerful ups to run linux servers on that is good value and works well with NUT?13:59
ddellavzul i was about to pickup manila but you can take swift13:59
zulddellav: im working on something else can you take it13:59
ddellavzul absolutely13:59
xperiamaswan: i have configured it to be more aggresive. when you sync from a exisiting mysql server with dozens of GigaByte the log expiration settings does not help as you are not able to delete logs older than a day on aubuntu server!14:02
xperiamy ubuntu server is getting knocked down by mysql becouse mysql is too stupid to delete old non used log files while the replication ! crazy!14:03
maswanthat seems like a pretty stupid piece of software, have you tried using another database instead?14:04
xperiadoes anybody know some kind of tool to get rid of this mysql log files? i am not even able to start for the moment mysql as it fill all the disk space on my ubuntu server immediatly after ths start and shuts down!14:05
maswanI have no mysql experience14:05
ddellavxperia are you talking about the binary logs for replication or simple text logging?14:06
xperiaddellav: i am talking about the binary logs for replication yes! maswan: yeah it is really stupid. perocan server has a special configuration settings to limit the amount of log files it creates and by this controlling how much disk space is used on the server see => https://www.percona.com/doc/percona-server/5.5/flexibility/max_binlog_files.html "Maximum number of binlog files can now be...14:08
xperia...restricted in Percona Server with max_binlog_files. his variable can be used with the existing max_binlog_size variable to limit the disk usage of the binlog files." This functionality is missing in mysql and becouse of this it knocks all ubuntu servers down by filling all the disk storage ...14:08
ddellavxperia https://dev.mysql.com/doc/refman/5.5/en/replication-options-binary-log.html14:09
ddellavxperia additionally: http://serverfault.com/questions/405726/max-binlog-size-log-bin-size14:11
coreycbzul, any chance you could take a look at the liberasurecode backport failure?14:16
zulcoreycb: nope...i been working on other things14:16
xperiaddellav: thanks a lot for your tips even they are non working. the suggestion solution is to use purge bin command inside mysql but mysql breaks down when started as it fills up all the disk space! and expire days does also not help becouse the data is fetched and the disk is filled in less than a day and the minimum experation time for logs is > 1 day.14:20
ddellavcoreycb zul manila done lp:~ddellav/ubuntu/+source/manila getting test failures on swift, looking into it.14:32
=== amoralej|lunch is now known as amoralej
biniahi14:41
biniaanyone around to help with weird problem on ubuntu 16.04 server?14:41
biniai had problem with php7 not upgrading, couldnt remove it, purge... nothing14:42
biniamanaged to fix it and actually purge everything14:42
biniathen i installed same packages and thats where it gets tricky. apt-get upgrade will throw errors but that said, everyhting is working, php7.0 and all modules are working14:43
biniahttp://i.imgur.com/vAxqdli.png14:45
biniabut all the web sites work, all php modules appear to work14:46
biniawebsites14:46
ddellavbinia if you're using apache then you're likely using the apache php module so removing php wouldn't stop that from working.14:47
biniaphp module was also removed14:47
ddellavi don't know about the new php7 situation but in the old days the module was stored in the libapache2-mod-php package14:48
biniaapache was showing php errors on subsites14:48
ddellavoh you said they worked, i was confused14:48
biniasub pages even14:48
biniawebsites, subpages worked but did throw an error where php suppose do the magic14:48
biniaonce i magae dto purge everything and install fresh with apt-get14:49
biniait go weird14:49
biniabecause apt shows nothing works but it does14:49
biniai guess gonna get another server, migrate everything and reinstall this14:50
biniain centos14:50
biniaand use this server as SAN14:50
biniai do admit it was my script problem14:51
ddellavbinia according to the screenshot you posted there was an issue setting up the common package. I would focus on why that was14:51
ddellavdpkg-reconfigure php7.0-common14:51
biniasomehow it managed add user daemon requested by my dev and then it allowed to remove that user when he finished testiong :P14:51
biniadpkg-reconfigure php7.0-common14:52
biniasec14:52
biniaheh14:52
rbasakbinia: maybe just reinstall into a container? That would be much easier. "lxc launch ubuntu:xenial".14:52
biniaseriously14:52
rbasakThen you get a fresh 16.04 server to play with inside your current one.14:53
ddellav^^ good suggestion if you're app is container capable14:53
biniathe weird thing is all works as it should on websites, all modules appear to work14:53
biniaits when i do apt commands it shows it dont work14:53
biniai even reinstalled dpkg14:53
rbasakEven if it isn't (container capable), it may be a useful playground to decide how you want the system configured, then do it on bare metal at the top.14:53
ddellavtrue14:53
biniarbasak, this is 24Tb server with almost 17TB used14:54
biniacant see it migrating to a container :P14:54
ddellavbinia the issue is with configuring the package, the files are there as far as i can tell, so some things will work, it just wasn't able to create config files. It looks like it might be due to some existing config that wasn't cleaned out during a previous attempt (though it should handle that properly anyway)14:54
ddellavbinia you'd only migrate your workload to the container, it would still have access to the large drives14:55
biniafuck it, thanks for help but i think its better to get new server, migrate data and just reinstall this one14:55
rbasakbinia: you could bind mount the space you're using into the container. Then your data would only be stored once.14:55
biniayeah got ya14:55
biniahmmm14:55
biniawhat if i purge again but this time properly14:56
biniamaybe it didnt purge all configs14:56
biniai did many commands due to errors on each of them14:56
biniai didnt check did it purge, remove or whatever14:56
ddellavi would try the reconfigure command first14:57
biniatried14:57
ddellavsee what errors it kicks back and handle those14:57
biniadpkg-reconfigure php7.0-common14:57
binia/usr/sbin/dpkg-reconfigure: php7.0-common is broken or not fully installed.14:57
biniabut it works14:57
biniathats the funny part14:57
biniaso wtf14:57
ddellavthen apt-get install php7.0-common14:58
rbasak"apt-get -f install" is the general form to tell apt/dpkg to fix up broken stuff. If it fails, then you should be able to see what exactly is failing to cause that situation.14:59
ddellavthat as wel14:59
ddellav*well14:59
coreycbddellav, manila pushed/uploaded16:11
ddellavcoreycb swift is done, it builds fine in my ppa but not locally for some reason, looking into it but it should be good to go lp:~ddellav/ubuntu/+source/swift16:12
zulcoreycb/ddellav: horizon is in the pipe16:19
coreycbzul, ok i'll get it16:19
coreycbddellav, taking a look at swift, and will make sure it builds ok16:19
ddellavcoreycb thanks16:20
zulcoreycb: rebuilding keystone with keystone as a suggests then ill upload an ubuntu216:20
coreycbzul, ?16:20
zulcoreycb: damn it...pyldap as a suggests16:21
rbasaksmoser: gce-compute-image-packages is in universe but is part of the yakkety dailies on GCE. Does this seem wrong to you?16:29
rbasakShouldn't it be in main, or partner, or something?16:29
rbasakAlso, it's unseeded.16:29
smoserrbasak, i dont really know what hte policy is supposed to be on that.16:34
smoserhaving a package in partner that is in universe (inherited from debian) does not seem useful in itself.16:35
smoserand any package in the cloud image default (downloadable) should definitely be in main16:35
smoserbut i dont know what to think about CPC provided images.16:35
tewardrbasak: just to sync up with the team, i won't be at the meeting.  i've got a small snag on the merge (something about 'new' dependencies being added that shouldn't be) so I'm having to do a little more review of the code.  In any case, testable merge candidate within 2 weeks, for review and testing (I'll send on the mailing list as soon as it's available)16:46
teward(for nginx)16:47
tewardin case anyone cares or it needs to be known16:47
ndboosthey so im trying to run a git clone on ubuntu xenial and getting the error "Problem with the SSL CA cert"16:48
coreycbddellav, zul, jamespage: b-o-m should be fixed up now for ocata16:52
zulcoreycb: sweet16:52
zulwhere are the patches that we apply again?16:53
coreycbzul, https://git.launchpad.net/~ubuntu-cloud-archive/ubuntu/+source/ca-patches/16:55
=== JanC_ is now known as JanC
theGoatis there a way i can specify what interface nfs listens on?17:10
sarnoldtheGoat: it's started via the nfs-server.service systemd service file; that appears to read /run/sysconfig/nfs-utils for configuration information; that's probably populated via /etc/default/nfs-kernel-server17:22
theGoatsarnold: i am running ubuntu 12.0417:22
sarnoldtheGoat: aha, then ignore all that systemd stuff :)17:22
sarnoldtheGoat: probably /etc/default/nfs-kernel-server is still there though, look in /etc/init or /etc/init.d/ to see how the variables are used17:23
theGoatyeah i am not that much of a fan of systemd...still trying to learn it17:23
sarnoldit's not all bad but damn there's a lot of typing.17:25
RoyKtheGoat: keep in mind thta 12.04 only has a few months left - 14.04 doesn't use systemd either, and will be supported till 2019-0417:26
theGoatif i do a do-release upgrade, it will only take me to 14.04, correcT?17:28
RoyKyes17:28
theGoatcool......17:28
RoyKtheGoat: usually such an upgrade is pretty straight forward, give or take a conflict or five, but rarely anything serious17:30
theGoatthis is a pretty straight forward install i have nothing big.  i jsut did 12.04 cause i had the cd already made.17:32
sarnold:)17:32
geniiSo long as your /etc/update-manager/release-upgrades has Prompt-lts it will go 12.04->14.0417:33
geniiPromtp=lts17:33
RoyKthen it really shouldn't be much work - that is - last time I did such an upgrade, it was with a 12.04 that originally was a lubuntu something with X and all on a pair of slow HDDs, one of them 5k4rpm IIRC - so it took a few hours :(17:34
RoyKreinstalled the PoS with a fresh debian without all the desktop stuff instead... (debian being my preferred distro on servers - no - I'm not starting a distro war)17:34
=== iberezovskiy is now known as iberezovskiy|off
=== degorenko is now known as _degorenko|afk
theGoatyeah last time i didn't an upgrade, i think i had to make some changes to my apache configs, and taht was about it.17:51
sarnoldfwiw 14.04 -> 16.04 will require apache changes, and php was upgraded from 5 to 7, so be ready for that one too17:53
med_Just ran across this gem from the launchpad time machine:17:55
med_James Page (james-page) wrote on 2012-10-12:#617:55
med_I'll work on doing that as my first code contribution to OpenStack!17:55
rbasakmed_: missing text, and now I want to know!17:58
rbasakI found an ancient bug where I interacted with zul long before I was involved with Ubuntu or Canonical.17:59
med_rbasak, https://bugs.launchpad.net/ubuntu/+source/nova/+bug/106588317:59
ubottuLaunchpad bug 1065883 in nova (Ubuntu) "ceph rbd username and secret should be configured in nova-compute, not passed from nova-volume/cinder" [Undecided,Fix released]17:59
med_rbd usage in nova17:59
zulreally?17:59
zulgod i feel old17:59
med_rbasak, are you still at (C)?17:59
rbasakzul: bug 302004 :-)18:00
ubottubug 302004 in samba (Ubuntu) "Please add a samba-dev package" [Wishlist,Won't fix] https://launchpad.net/bugs/30200418:00
rbasakmed_: yes. Long time! How are you doing?18:00
med_doing well. Still working for an evil American CableTV/Internet Company18:00
med_(Charter Comms)18:01
med_been here since I left (C)18:01
zulrbasak: geez....coming up 9 years in jan18:01
coreycbzul, did you fix that nova autpkgtest?18:29
zulcoreycb: almost ;)18:29
coreycbzul, ok18:29
coreycbddellav, swift pushed/uploaded18:30
ddellav coreycb ack18:34
coreycbzul, is keystone b1 ready to upload?18:40
zulcoreycb: yeah you should be able to grab it from git18:40
coreycbzul, ok i'll upload it18:40
zulcoreycb: just about to upload nova18:42
coreycbzul, ok18:42
=== amoralej is now known as amoralej|off
zulcoreycb: just taking care of python-openstackclient18:59
Kerdkerding21:32
Kerdups, sorryy21:32
mrtAkdenizhowdy!23:39
mrtAkdenizGuys I have problem about chmod and chown..23:39
mrtAkdenizI've nginx installed and /var/www folder has chown -R myuser:www-data23:40
mrtAkdenizand chmod 755 on it23:40
mrtAkdenizbut it keep saying that problems about permissions.. I tried to add my user to www-data with "usermod -a -G www-data myuser" and changed chown to www-data:www-data but no luck23:41
mrtAkdenizthis time i can't modify these folders..23:41
sarnoldmrtAkdeniz: did you log out and log in again? or use newgrp? or sg?23:47
mrtAkdenizsarnold, i fixed the problem with "sudo chmod -R g+w /var/www/project"23:52
mrtAkdenizor w+g don't remember :(23:52
mrtAkdenizthanks!23:52
sarnoldI never figured out the symbolic modes, hehe23:53

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