[02:04] <Emmanuel_Chanel> Hello!
[07:58] <grendal_prime> hey guys
[08:00] <grendal_prime> I have a software router(actually about 50 of them now)  and i am reconfigureing them to use fault tolerant routing . Everything seems to work fine but, im going to be using a lte modem for the secondary route to my vpn concentrators.
[08:01] <grendal_prime> This all works fine on the desktop distros..they just recognize the device and make it available.  I have a feeling though that the striped down servers i use are going to not work like that.  Does anybody know what packages i need installed to make ubuntu server recognize a verizon jump pack(lte modem) connected via usb?
[09:21] <lordievader> Good morning.
[10:19] <rbasak> grendal_prime: I think modemmanager is the service that does it on the desktop. You could theoretically use that on server too, although that probably involves switching everything to use network manager.
[10:20] <rbasak> Alternatively you'll need to figure out what type of modem it is and configure it manually. pppd is probably involved.
[10:27] <ertyui> hi tehre
[10:27] <ertyui> one of my service is stopped on my ubuntu server suddently
[10:27] <ertyui> and restart suddently today
[10:28] <ertyui> how to identify how that happens ?
[10:32] <lordievader> Read the logs.
[10:33] <ertyui> from where ?
[10:34] <lordievader> You haven't really said anything specific, so any log of the application or the system log.
[10:34] <ertyui> Ubuntu 14.04.1 LTS \n \l
[10:34] <ertyui> service called assp
[10:35] <lordievader> Dig around in /var/log
[10:36] <ertyui> yes but i can't find messages
[10:37] <ertyui> on /var/log
[10:37] <lordievader> Nothing in the syslog or in the upstart log?
[10:37] <lordievader> Does assp keep its own log?
[10:37] <ertyui> upstart log ?
[10:39] <ertyui> no assp not keeping its own log
[10:40] <lordievader> Hmm.. Too bad, those are usually the best sources. And yes, upstart the init daemon in Trusty, it keeps some logs in /var/log/upstart, though logging isn't its best feature, imo.
[10:46] <ertyui> upstart is a folder instead of a file
[10:46] <ertyui> which file i have to check ?
[10:47] <lordievader> The (log)file of your service?
[10:48] <lordievader> [1] does talk about an ASSP log file... [1] http://sourceforge.net/p/assp/wiki/Getting_Started/
[10:49] <lordievader> http://sourceforge.net/p/assp/wiki/Logging/
[10:49] <lordievader> Perhaps good to set up some logging.
[10:55] <ertyui> wait
[10:55] <ertyui> ubuntu don't have its own log to track this ?
[10:56] <lordievader> To track what exactly?
[10:58] <ertyui> who stoped the service asps ?
[10:58] <ertyui> assp
[11:00] <lordievader> Well if it crashed, the systemlogs will probably contain that it stopped/crashed but probably not why. Like I said upstarts logging is quite poor.
[11:00] <lordievader> Systemd does a much better job at that, if you ask me.
[11:00] <ertyui> well
[11:00] <ertyui> as its an critical service
[11:01] <ertyui> i would like to planify a crontab in order to check the service is running or not
[11:07] <ertyui> and the question is :
[11:07] <ertyui> how to make it so ?
[11:19] <lordievader> ertyui: No monitoring available?
[11:20] <lordievader> I guess you could do a basic pgrep to ensure it is running and start it if not.
[11:26] <ertyui> can you tell me the whole line ?
[11:53] <lordievader> Err, I'd write a script for that. But I am sure you can do that yourself.
[12:05] <ertyui> wait
[12:05] <ertyui> first clarify this point
[12:05] <ertyui>  ps -aux | grep assp
[12:05] <ertyui> root      4309  1.0 57.4 1352612 584364 pts/3  Sl   11:03   1:16 perl assp.pl
[12:05] <ertyui> but  pgrep assp.pl
[12:06] <ertyui> not giving any result could you tell why  ?
[12:07] <lordievader> pgrep doesn't look for the arguments.
[12:10] <ertyui> i don't understand
[12:10] <ertyui> why i don't got the process id ?
[12:10] <ertyui> when i do pgrep assp
[12:10] <ertyui> or pgrep ass.pl ?
[12:11] <lordievader> pgrep for perl ;)
[12:12] <lordievader> Or use ps aux as a substitute.
[12:14] <ertyui> ok
[12:15] <ertyui> if i put this line : * *    * * *   root service assp restart
[12:15] <ertyui> is that enough to restart if the service down ?
[12:15] <lordievader> That restarts the service every minute.
[12:29] <ertyui> yes
[12:29] <ertyui> i know
[12:29] <ertyui> but this one not wokring
[12:38] <lordievader> Cron should go to the syslog though.
[13:28] <ertyui> i don't get
[14:28] <ertyui> hi there
[14:28] <ertyui> when i grep assp process from ps -ef
[14:28] <ertyui> i got this result
[14:29] <ertyui>  ps -ef | grep -v grep | grep assp
[14:29] <ertyui> avahi      402     1  0  2015 ?        00:00:21 avahi-daemon: running [asspam.local]
[14:29] <ertyui> root      4309     1  1 11:03 pts/3    00:02:38 perl assp.pl
[14:29] <ertyui> so when i need to restart assp which service i have to call
[14:29] <ertyui> assp.pl or asspam.local
[14:29] <ertyui> ??
[14:31] <lordievader> None of them are service names, what is in /etc/init.d or /etc/init?
[14:32] <lordievader> How is the service named there.
[14:32] <lordievader> By the by, 'ps -ef|grep \[a\]ssp' is easier ;)
[14:55] <ertyui>  ps -ef|grep \[a\]ssp
[14:55] <ertyui> avahi      402     1  0  2015 ?        00:00:21 avahi-daemon: running [asspam.lo
[14:55] <ertyui> root      4309     1  0 11:03 pts/3    00:02:52 perl assp.pl
[15:10] <ertyui> are you there ?
[17:50] <devster31> sensu ALL = (root) NOPASSWD:SETENV: /opt/sensu/embedded/bin/*
[17:50] <devster31> with a like like this will I enable sensu to run all commands in that directory as root?
[17:50] <devster31> *line
[19:30] <hallyn> jdstrand: hey, bug 1531564, adding read access to /sys/module/vhost/parameters/max_mem_regions for libvirt vms should be innocuous right?
[19:31] <jdstrand> hallyn: hey, yeah, that's fine
[19:31] <hallyn> thx
[19:31] <jdstrand> np
[19:31] <hallyn> smb: arges: gonna do a libvirt push for that tiny change ^ - anything else you wanted to add right now to xenial's libvirt?
[19:34] <hallyn> (too late, pushing :)
[19:34] <arges> hallyn: nope
[19:34] <nacc> rbasak: ok, so splitting by main/universe, only 14 packages in main are affected (I think)
[19:34] <arges> hallyn: o
[19:34] <arges> k
[19:34] <hallyn> thx :)
[19:35] <hallyn> i'm intending to do wily libvirt SRUs today fwiw
[19:35] <nacc> rbasak: one that i wonder about is dh-php5 ... it seems to be specifically for PHP5; there is a dh-php that is generic, and Ondřej's PPA has a newer version (but I'm not sure Debian does yet)
[19:36] <nacc> is there a way in a PPA to say that some package no longer should exist? :) (to simulate a main removal, e.g.) Or perhaps I can put some dependency in a newer version of the .deb?
[19:40] <sarnold> hallyn: if you're in the mood for libvirt srus, I saw a bug report last week asking for hugepages in trusty's libvirt apparmor profiles..
[19:40] <hallyn> sarnold: that should be there i think...  but i wason't going to do trusty today.
[19:40] <hallyn> unless they're doing trusty with systemd
[19:41] <sarnold> hallyn: iirc I saw you had a fix checked in for xenial recently..
[19:41] <sarnold> hmm
[19:41] <hallyn> yes - that was fo rsystemd
[19:41] <hallyn> debian/apparmor/libvirt-qemu:  # for access to hugepages
[19:41] <hallyn> debian/apparmor/libvirt-qemu:  owner "/run/hugepages/kvm/libvirt/qemu/**" rw,
[19:42] <hallyn> (in trusty)
[19:42] <hallyn> you do need to set KVM_HUGEPAGES=1 in the qmeu-kvm defaults file
[19:42] <hallyn> but it should work, if not it's a bug and i'll get right on it
[19:42] <sarnold> hallyn: ah I'm sorry I'm misremembering, they were using 15.04 as the host 1532007
[19:43] <hallyn> oh that one - i saw your reply and figured you'd shout if you needed something :)
[19:44] <hallyn> meh, dev/hugepages.
[19:44] <hallyn> mounting filesystems under /dev
[19:45] <hallyn> sarnold: so it's actually a request to SRU #1524737
[19:48] <hallyn> i guess the trusty-proposed package at this point should just be dropped :(  ppl reporting verification failures but not responding
[19:50] <sarnold> argh :/
[19:50] <sarnold> man that's from -august-??
[19:52] <hallyn> nc
[20:03] <rbasak> nacc: to say that some package no longer should exist> I don't think so. The only other option might be to pin apt to blacklist a package. I'm not sure how effective a simulation that would be though.
[20:06] <nacc> rbasak: ok, np -- i have some notions of what i need to test in terms of breaking updates, etc. So, I think in addition to the php5* packages being removed, we'll need to update the metapackages where they exist to not refer to php5 versions, right?
[20:46] <rbasak> nacc: right
[21:15] <samiraljohani> Hello everyone
[21:16] <samiraljohani> Does anyone know a step by step article about how I can host a website on my ubuntu-server and connect it to godaddy domain name?
[21:17] <teward> samiraljohani: there's many parts to hosting a website on your own server
[21:17] <teward> there is not one all-inclusive article
[21:17] <teward> in theory I could write one but i don't use godaddy, AND I run my own DNS - someone'd need to front me money to write it lol
[21:18] <teward> effectively, the parts you're asking about:  (1) Buying a Domain via GoDaddy; (2) Setting up the DNS to point the Domain to the server (GoDaddy); (3) Set up web server to serve the website content (Ubuntu)
[21:19] <teward> at the very very leaset
[21:19] <teward> least*
[21:19] <samiraljohani> Will you be willing to write it for me for $50 lol
[21:20] <teward> nope
[21:20]  * teward is currently in the process of securing two of his sites from a vulnerability
[21:21] <teward> in other news, though, kudos to Canonical for having Landscape send out emails in a sane manner about my stuff; no kudos to Canonical for the system nagging me three times a day
[21:21] <samiraljohani> lol Good luck
[21:21] <teward> samiraljohani: maybe when I'm done here, I'll write a step by step article, but i'm a tad busy :p
[21:22] <samiraljohani> I already have a domain name so I guess I should read about pointing the domain to the server as you suggested. Thank you
[21:22] <samiraljohani> lol Okay
[21:22] <teward> samiraljohani: yes, that's called DNS; not sure how GoDaddy does the DNS.
[21:23] <teward> samiraljohani: the other part is setting up a web server to serve your site content, but there's a billion tutorials for that
[21:23] <teward> depending on what's on the site (is it WordPress, Joomla, etc.?)
[21:25] <samiraljohani> True, I know about that part too, it's just pointing the domain issue that I'm having
[21:26] <sarnold> does godaddy host your dns for you? if so, you'll need to make sure the www record for your domain has A or AAAA entries
[21:27] <samiraljohani> Uhuh
[21:33] <teward> sarnold: i think he needs a step-by-step with screenshots.  Too bad I don't use GoDaddy for my domains or my DNS :/
[21:33] <teward> or i'd write an article for it, sort of like a guide for how to do it
[21:33] <sarnold> teward: it's good practice to read documentation :)
[21:33] <teward> indeed.
[21:34] <teward> sarnold: though, i moved past documentation - Gandi for domain registration, my own DNS servers and web servers, all Ubuntu based
[22:55] <Samir_> Thanks sarnold, and thanks gandi lol
[23:33] <sarnold> yeah, gandi++ :)