Emmanuel_Chanel | Hello! | 02:04 |
---|---|---|
=== stevenroose|BNC is now known as stevenroose | ||
=== Lumia930` is now known as Lumia930 | ||
=== jhenke_ is now known as jhenke | ||
=== Lcawte|Away is now known as Lcawte | ||
grendal_prime | hey guys | 07:58 |
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:00 |
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? | 08:01 |
lordievader | Good morning. | 09:21 |
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:19 |
rbasak | Alternatively you'll need to figure out what type of modem it is and configure it manually. pppd is probably involved. | 10:20 |
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:27 |
ertyui | how to identify how that happens ? | 10:28 |
lordievader | Read the logs. | 10:32 |
ertyui | from where ? | 10:33 |
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:34 |
lordievader | Dig around in /var/log | 10:35 |
ertyui | yes but i can't find messages | 10:36 |
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:37 |
ertyui | no assp not keeping its own log | 10:39 |
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:40 |
ertyui | upstart is a folder instead of a file | 10:46 |
ertyui | which file i have to check ? | 10:46 |
lordievader | The (log)file of your service? | 10:47 |
lordievader | [1] does talk about an ASSP log file... [1] http://sourceforge.net/p/assp/wiki/Getting_Started/ | 10:48 |
lordievader | http://sourceforge.net/p/assp/wiki/Logging/ | 10:49 |
lordievader | Perhaps good to set up some logging. | 10:49 |
ertyui | wait | 10:55 |
ertyui | ubuntu don't have its own log to track this ? | 10:55 |
lordievader | To track what exactly? | 10:56 |
ertyui | who stoped the service asps ? | 10:58 |
ertyui | assp | 10:58 |
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:00 |
ertyui | i would like to planify a crontab in order to check the service is running or not | 11:01 |
ertyui | and the question is : | 11:07 |
ertyui | how to make it so ? | 11:07 |
lordievader | ertyui: No monitoring available? | 11:19 |
lordievader | I guess you could do a basic pgrep to ensure it is running and start it if not. | 11:20 |
ertyui | can you tell me the whole line ? | 11:26 |
lordievader | Err, I'd write a script for that. But I am sure you can do that yourself. | 11:53 |
=== cpaelzer is now known as cpaelzer_afk | ||
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:05 |
ertyui | not giving any result could you tell why ? | 12:06 |
lordievader | pgrep doesn't look for the arguments. | 12:07 |
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:10 |
lordievader | pgrep for perl ;) | 12:11 |
lordievader | Or use ps aux as a substitute. | 12:12 |
ertyui | ok | 12:14 |
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:15 |
ertyui | yes | 12:29 |
ertyui | i know | 12:29 |
ertyui | but this one not wokring | 12:29 |
lordievader | Cron should go to the syslog though. | 12:38 |
=== cpaelzer_afk is now known as cpaelzer | ||
ertyui | i don't get | 13:28 |
=== med_ is now known as Guest74023 | ||
ertyui | hi there | 14:28 |
ertyui | when i grep assp process from ps -ef | 14:28 |
ertyui | i got this result | 14:28 |
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:29 |
lordievader | None of them are service names, what is in /etc/init.d or /etc/init? | 14:31 |
lordievader | How is the service named there. | 14:32 |
lordievader | By the by, 'ps -ef|grep \[a\]ssp' is easier ;) | 14:32 |
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 | 14:55 |
ertyui | are you there ? | 15:10 |
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 | 17:50 |
=== ajmitch_ is now known as ajmitch | ||
hallyn | jdstrand: hey, bug 1531564, adding read access to /sys/module/vhost/parameters/max_mem_regions for libvirt vms should be innocuous right? | 19:30 |
ubottu | bug 1531564 in libvirt (Ubuntu) "missing apparmor rule to read /sys/module/vhost/parameters/max_mem_regions" [Undecided,New] https://launchpad.net/bugs/1531564 | 19:30 |
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:31 |
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:34 |
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:35 |
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:36 |
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:40 |
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:41 |
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:42 |
hallyn | oh that one - i saw your reply and figured you'd shout if you needed something :) | 19:43 |
hallyn | meh, dev/hugepages. | 19:44 |
hallyn | mounting filesystems under /dev | 19:44 |
hallyn | sarnold: so it's actually a request to SRU #1524737 | 19:45 |
hallyn | i guess the trusty-proposed package at this point should just be dropped :( ppl reporting verification failures but not responding | 19:48 |
sarnold | argh :/ | 19:50 |
sarnold | man that's from -august-?? | 19:50 |
hallyn | nc | 19:52 |
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:03 |
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:06 |
=== Lcawte is now known as Lcawte|Away | ||
rbasak | nacc: right | 20:46 |
samiraljohani | Hello everyone | 21:15 |
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:16 |
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:17 |
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:18 |
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:19 |
teward | nope | 21:20 |
* teward is currently in the process of securing two of his sites from a vulnerability | 21:20 | |
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:21 |
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:22 |
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:23 |
samiraljohani | True, I know about that part too, it's just pointing the domain issue that I'm having | 21:25 |
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:26 |
samiraljohani | Uhuh | 21:27 |
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:33 |
teward | sarnold: though, i moved past documentation - Gandi for domain registration, my own DNS servers and web servers, all Ubuntu based | 21:34 |
=== Guest74023 is now known as med_ | ||
Samir_ | Thanks sarnold, and thanks gandi lol | 22:55 |
=== Punna is now known as Pwnna | ||
=== stevenroose_ is now known as stevenroose | ||
sarnold | yeah, gandi++ :) | 23:33 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!