[01:00] I am deploying a software that runs on ubuntu 12.04 and I need to install git [01:00] however apt-get can't find neither git nor git-core [01:00] what can I do? [01:03] masuberu: run "apt-cache policy git" .. it should show which repository it would install which version of the git package from [01:04] sarnold: N: Unable to locate package git [01:04] masuberu: strange. how about "apt-cache policy bash"? you've probably got that installed anyway, i wonder how it got there.. :) [01:05] http://pastebin.com/raw/WwgZe90A [01:07] masuberu: check your /etc/apt/sources.list file -- is the mirror there still valid? [01:07] sarnold: I doubt, it doesn't even do apt-get update === spammy is now known as Guest10278 [01:09] curious in the newer versions of ubuntu server i have come across when installing MAAS install region or rack . I read about the hardware requirements i know i don't have enough for those or openstack more for large data centers then for small home networks. But curious what is the difference between region or rack installs? [01:09] When would one do a region over a rack visa-versa [01:10] As i understand it these are all cloud based computing technologies [01:11] http://pastebin.com/raw/FQrFCnev [01:12] masuberu: owwwww. I have to admit I wasn't expecting this one ;) [01:12] try using a different repo location [01:12] masuberu: are there nameservers in /etc/resolv.conf ? do they work? [01:12] is the VM in question even connected to a network...? :) [01:13] /etc/apt/source.list or uses the system control center or aptitude,...etc [01:13] ups [01:13] ubuntu_: there's some description of the rack controller vs region controller here https://maas.ubuntu.com/docs/install.html [01:13] it is not resolving names ... [01:13] tarpman: ha :) good question [01:14] damn [01:14] sorry my bad [01:15] curious i know this is stupid but cloud computing seems to me like a virtual remote desktop session to many different servers. Like a hyper-v on many different servers [01:15] ubuntu_: most 'cloud' computers never have a desktop of any sort [01:16] I know there is like paas, saas ,...etc distinctions of different clould services at different layers but seems as its all like a remote app , or rdp virtual session to different servers [01:17] Right the cloud computer doesn't need a desktop just some hyper-v service base thing that clients with desktops connect to [01:18] most of the time they don't have clients with desktops connecting to them either :) [01:18] How is virtual remote desktop , remote apps,..etc anything different then what cloud is ... just cloud is using more computers but same prinicpals [01:18] they run databases or webservers or fileservers or firewalls or streaming radio stations or antivirus scanners or irc bouncers or mathematica or openmpi or ... :) [01:22] ya but at this level cloud is just like it was back in mainframe times just services on a remote computer that people could remote into uses... I get cloud makes it look pretty i guess thru web interfaces other stuff but non the less its not anything really new [01:23] the basic "gist" of "cloud" is that there's an API that you can use to get new virtual machines or new storage devices or new IP addresses and attach them around [01:23] ubuntu_: yes :) [01:23] we've returned to the days of the "computing center", hehe [01:24] except instead of a shell account on the university mainframe, it's an API endpoint that can spawn machines as users used to spawn processes... [01:25] that would be like remote desktop into a virtual machine [01:28] if that's a useful analogy for you, that's fine, but just be sure you know that most machines never run graphical programs and most never have any user interaction at all -- programs are installed and configured using tools like juju or chef or ansible, they run servers, and almost nothing ever actually interacts with humans... [01:29] I get that [01:29] What would you say grid computing and cloud computing differ... because i always confuse myself with the distinction of computing in the cloud as opposed to grid [01:30] I would say they could be pretty much the same or over lap a lot [01:30] 'grid' always feels like it runs a single program that handles jobs; jobs are distributed, run, and then collected; cloud usually installs services on virtual machines === Guest10278 is now known as spammy [03:26] teward, sarnold -b worked with setfacl. Everything looks clean again [03:27] Really it wasn't super important but I didn't want some random ACL to remain on the root of my wifes share [03:30] ya but what is cluster computing isn [03:30] t [03:31] I need to train myself to use the man command instead of --help. Thanks for the assistance [03:31] cluster nodes just mirror images of each other for load balancing and fail over [03:31] because if thats the case cluster computing is just load balancing computing not computing different services on different nodes [03:36] what i mean is to do different computing on different nodes one would have to uses more then one cluster [03:37] if i am understanding cluster computing correct... i have never need clusters all that much and the computing part never understood the term... i do understand the point to clustering for redundancy , and load balancing but for COMPUTING? [04:07] Shambles: great :) [04:07] ubuntu_: clustering is very rarely used for mirroring entire machines [04:08] wait so a node is only take pieces of software and mirroring them and the other part of the nodes can be very different [04:09] I am looking at clustering as some kind of network raid between servers called nodes [04:10] But if it can be pieces of servers that are mirror images with the rest distinct sections of server [04:14] I would think they have to be mirror nodes since how else would fail over work... if a system goes down you need a mirror node to take over? [04:14] For NLB clusters i could see nodes being not mirrors just the application being mirrored that are part of the NLB cluster ... just not sure [04:26] Unless fail over clusters can be just setup as well to just mirror sections of the whole server like a database, web server,applicaton server,..etc. But to me when i think of a cluster it is network raid for redundancy /backup and load balancing performance [04:28] you can do both; database sharding is quite common, failover is less common [04:37] fail over is like when they do network raid / mirroring the server through out the different nodes in the cluster for redundancy and uptime protection right? [04:38] And NLB is more for just mirroring sections of servers like , application ,database,..etc [04:38] if i understand you correct [04:38] and thats the most common way's data centers uses them [04:38] clustering to solve computing problems is often done with splitting the problem to blocks handed out to large numbers of nodes [04:39] seti@home is a very large geographically distributed approach in clustering [04:39] ok but then cluster computing is just say i was accessing data from a data base it may uses node1 and node2 so its just computing that splits up the same task [04:39] NLB? [04:40] network load balancing [04:41] a database cluster is usually not a computational cluster [04:42] the database cluster might have a frontend machine or any node might act as a frontend, then the data is stored in a distributed fashion but the db user doesn't need to know where, upon making a db query the db cluster finds the data and hands it to the user [04:42] what are these computational clusters your talking about .... because i can only see this type of computing between different clusters not really different computations between nodes in a particular cluster [04:43] computational clusters such as any modern supercomputer in the last oh forty or so years [04:43] check out this computational cluster :) http://www.netlib.org/utk/people/JackDongarra/PAPERS/sunway-report-2016.pdf [04:43] also seti@home and the like [04:43] anytime you see weather report the forecast is computed on a clustered machine [04:43] And curious is it possible to do iscsi clusters like SAN clustering [04:43] it is [04:44] storage clustering can use iscsi or even nfs over ip as its communication media but in real performance oriented datacenters sas is used with specialized sas switching fabrics [04:45] ok [04:45] so cluster computing is just a form of distributive computing or splitting the database files pieces on seperate servers if its NLB based cluster... but if its fail over cluster you have to kind of have mirror images on nodes [04:45] not just database [04:45] for your example [04:46] Similar for other applications [04:46] it can be block storage or filesystem level storage or .... or raw number crunching [04:46] So then how is this different then grid computing [04:46] they're not dissimilar :) [04:46] Ok just one larger then the other i guess :) [04:47] you can build your own virtual datacenter out of virtual servers that run somewhere in them clouds [04:47] And cloud computing is this just virtualized cluster computing [04:47] vagrant is one very cool tool to manage these kinds of systems [04:49] it allows you to build your system in very low performance model running on your laptop and then provision exactly similar cluster running in a paid cloud service such as amazon ec2 or azure cloud or googles services or somewhere else [04:49] nice thank you so much for clearing up my confusion on those things. I still don't get the MAAS , openstack stuff yet its supposed to be for cloud /grid but it looks similar like it could be used for clustering for the new ubuntu server installs [04:50] vagrant can also be used to distribute your software and configuration as something called "immutable servers" so that every time you make a new version of anything, you're building a brand spanking new fresh and shiny cluster [04:51] now this might not be the solution most often recommended in this channel, i'm not always following what is being said in here :) [04:51] For me when i was going thru windows 2012 r2 i got alot of the settings/how to configure stuff but me being on such a small network didn't get alot of the purpose so now i see the light with clustering / data center huge things [04:51] anyway vagrant is really cool and you can manage a system of virtual windows/linux/bsd/whatever machines with it [04:52] like a hyper-v [05:32] hyper-v is the virtual machine hypervisor much like virtualbox or xen [05:33] vagrant is the thing that lets you control hypervisors and the virtual machines in them with programmatical configuration scripts === lucas_ai__ is now known as lucas_ai === _degorenko|afk is now known as degorenko [09:41] Does anyone know how to run service upstart job from unprivileged user withous sudo? [09:42] The issue: if I even run upstart job from unprivileged user but with sudo - the daemon process is going to be run with UID 0 which means root [09:43] It may be OK, but the issue in security: is it secure to run daemons as a root? [09:43] And how to reconfigure upstart to permit service launched as a trivial user with no sudo? [09:44] Upstart cookbook doesn't give any sense to solution: I tried to run "exec start-stop-daemon --start -u myapp --exec /usr/bin/myapp start" [09:45] But I still have upstart permission denied and also kicked out from SSH connection which looks such funny [09:46] Please if someone had this issue - help me === iberezovskiy|off is now known as iberezovskiy [13:01] tyhicks: I'm reviewing a merge for cpaelzer and the Ubuntu->Ubuntu diff includes this: http://paste.ubuntu.com/21398245/ [13:01] tyhicks: do you know if this is OK please? Does apparmor/dh-apparmor require the package to drop in these directories? [13:01] I suspect it's fine, but I thought I'd check. [13:05] I can answer that [13:05] unless someone changed dh_apparmor very recently without us knowing, ntp.dirs should not have dropped those entries [13:05] tyhicks: ^ (I answered rbasak) [13:09] thanks! [13:11] jdstrand: thanks! [14:49] We have a number of users that have laptops. Those laptops are running a VM with 14.04LTS server for development purposes. We are having an issue where the user is moving from one network to another and the VM is not picking up this change "fast enough". What is the best way to detect that the network has changed and that we should get a new lease from the dhcp servers? [15:09] ctjctj: how are the VM NICs configured? Is the host doing NAT, or are you bridging through, or something else? [15:09] You could perhaps arrange to tell the VM that the cable is disconnected when the laptop is disconnected, and vice versa. [15:15] rbasak, the NICs are setup as bridged running under virtualbox for most of them (I use kvm but they don't). So all of the VMs are true internet entities within their little lan (Or if they get IPv6, so much the better) [15:18] ctjctj: my feeling is that this is best addressed at host level - by making the VM appear to have a disconnected cable at the appropriate times. I don't know to what extent virtualbox has an API-driven capability to do that though. [15:18] ctjctj: together with something like ifplugd in the guest assuming you're not using network manager. [15:20] ctjctj: alternatively using host-based NAT solves it too. [15:20] rbasak, *nods* I hear you and understand. I'm not a VB expert so I don't want to go down that path. I might just run a script every 5 minutes to do a network test to the defined router. If it fails over 5 seconds perform an ifdown eth0; sleep 15; ifup eth0 to fetch the new configurations. [15:21] ctjctj: I wonder if dhclient can be configured to attempt very frequent renewals. [15:22] That was my first hope. I can tell it, via configuration, the data at which to renew/rebind but not a "no more than 1 hour between rebinds" === deadnull is now known as _deadnull === degorenko is now known as _degorenko|afk === _deadnull is now known as deadnull === tanuki_ is now known as tanuki [19:42] Hi there, I have Ubuntu 16.04 installed on a raspberry pi, the ethernet shows up as enxb827ebd24e19. I try to create a network alias with ifconfig enxb827ebd24e19:0 192.168.88.100 but it just changes the interface IP rather than creating a second virtual interface-- any ideas? [19:44] pastebin ifconfig -a [19:45] compdoc: https://gist.github.com/xanview/5820c20c3500457be9754dfe7d3ae1e2 [22:59] hi [23:00] i get this error message [23:00] when i try to install something [23:00] dpkg: unrecoverable fatal erro, aborting: [23:00] files list file for package 'linux-headers-4.4.0-32-generic' is missing final newline [23:00] E: Sub-process /usr/bin/dpkg returned an erro code (2) [23:01] can how can fix this and thanks [23:03] thenewone: try apt-get update again [23:03] i did it 3 times [23:03] with upgrade and dist-upgrade [23:03] with reboot [23:03] check dmesg; do you have any IO errors? [23:04] and perhaps apt-get clean first [23:05] i made a script with clean autoclean remove and autoremove [23:05] sarnold, about that no error [23:06] actualy i was trying to install docker-engine and i inturpted the installation [23:06] i followed the wiki [23:06] when i tryed to install it agian [23:06] again* [23:06] didn't work [23:06] start giving this error [23:07] i think i should reinstall linux-headers ? [23:07] hi! i've got ipv6 only address now. i've made port forwarding on the router for the ip webcam. How do i access it from ipv4 address?? [23:07] and maybe delete the package from /var/cache/apt/.... [23:08] van777: nat64 [23:09] RoyK: let me google it.. [23:09] y [23:09] sorry miss window :) [23:15] RoyK: omg. nat64 is too hard to configure. it's built-in in cisco routers, i doubt about mine [23:23] van777: you might be able to get a VPS somewhere that's dual-stacked and do some nc -l port forwarding kinds of things.. [23:25] a vps is too expensive ( i've been trying digital ocean for 4 months [23:32] i might have luck with https://tunnelbroker.net [23:33] van777: crowncloud.com is rather cheap [23:34] RoyK: Thanks! [23:39] Wouldn't it be easier for me to change the ISP!! [23:41] but crownclowd cheapest plan is $4/month . not bad [23:41] a tiny little instance for $15/year too. neat. [23:42] sarnold: wow [23:43] sarnold: heh, that offer doesn't support ipv6 [23:43] awwww [23:44] they have ipv6 all the way [23:44] RoyK: not on this one https://crowncloud.net/clients/cart.php?gid=23 [23:44] oh [23:45] bad [23:45] bad boy buddy [23:45] pity, it seemed perfect :) [23:45] sarnold: I have ipv6 on my vms [23:45] from them [23:46] yeah most of their offers do, I think that's the only one that doesn't have at least an /80 [23:46] I have /80 [23:46] anyway - it's a vm, so it's ok [23:47] I just asked on #crowncloud - they are pretty good at answering there [23:47] you get good support on irc from them [23:47] that's worth its weight in gold :) heh [23:48] the weight of those bits? :D [23:48] :D [23:49] RoyK: oh while you're there, "Temproary" on https://crowncloud.net/dedicated_servers.php [23:51] oh - I only use their services for a mail server - I have a dedicated at bitraf.no that work well, albeit old [23:54] looks cool :) but perhaps not universally useful :)