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

zhulwhat is the program used to install "meta packages" ?00:57
sarnoldeither apt-get install <foo>^  or tasksel00:57
zhulhuh taskel ty :)00:58
zhultasksel*00:58
zhulsarnold :  I get this error : tasksel: debconf failed to run01:01
sarnoldzhul: is that the entire error? there's not much to work with there01:02
zhulsarnold: yup it is , i tried aptitude reinstall debconf but it doesn t change a thing01:03
zhul"aptitude reinstall debconf" *01:03
sarnoldzhul: try apt-get install instead. maybe it gives better error mesages than tasksel01:04
zhulsarnold: i tried "aptitude reinstall tasksel" and it worked01:04
sarnoldzhul: sorry, I meant, try apt-get install <tasknamehere>^01:05
zhulsarnold: tasksel is now running ty01:06
zhulsarnold: it doesn't work as I expected although :)01:06
sarnoldzhul: oh?01:09
zhulsarnold : I wanted to use it to remove properly all lxc-lxd / virtual stuff but but it wasn't selected in tasksel, so I used apt-get insted01:11
sarnoldzhul: ah. if you want to remove things, indeed apt-get purge is probably a better tool :)01:15
infinitalgot a crontab job that is running at startup on 16.10 server, I had scheduled but somehow I'm stuck with my server not booting up.  eventually it just sits on a memory error.  the cron job was:  rm contents of a folder, zip files from other folder, upload to s3,  running as  a bash script, ran fine on CL, but now can't get server to boot.  any thoughts?01:36
infinitalthanks01:36
infinitallike right now it's stuck at the last line of adding files to the zip, which next line was the aws s3 upload.  have left it sitting for over an hour, and the size of the zip file should have uploaded in about 30 minutes01:37
sarnoldI'm surprised a crontab job could halt bootup01:39
sarnoldthe usual problem with crontab entries not working right is a difference in environment between a normal login shell and the cron env, 98% of the time it's PATH not being set as expected01:39
infinitalit was weird.  was having path issues with the 's3 aws' command, so was fixing that, then went to crontab -e, to check something, then it just fired off trying to run the script01:40
infinitalsarnold: right, i had the script logging out so i could see why it was running01:40
infinitalbut now just trying to figure out how to get this cronjob to stop, booted into a ubuntu 16 desktop live cd, to try and delete the scripts, but the one I moved into the /bin/local (i think) is got an X and I can't access it01:41
infinitalwhere I'm at currently with it https://usercontent.irccloud-cdn.com/file/eKdhgeAG/file%20server%20issue.png01:44
infinitalthe python stuff is from the AWS cli01:44
sarnoldah.01:46
sarnoldthe errors man, the errors.01:46
sarnold(a) looks like some disk is full. nothing works right when that happens.01:46
sarnold(b) looks like you've run it way out of memory too. That can happen when swap files fill or ..01:46
JohnMcClainI always end running out of inodes before I know what's happening.01:47
sarnoldJohnMcClain: oh that's a classic.01:47
JohnMcClain"Look, I can scrape the web!" "Wait, I still have 90% disk space..."01:47
infinitalwell it's on exsi, so I'll take it down and allocate more memory to it, as it's just on 1gb atm01:47
JohnMcClainThen I end up cronning it all away, then I cry when my DB takes 40s/query01:48
infinitaldisk space is 500GB allocated, only using about 100, probably little less01:49
infinitaldon't remember size of swap01:50
infinitali'll let this run, and see what happens.  went from 1gb to 4gb for time being01:50
infinitalbbiaf01:50
zhulshould I use / attach  a virbr0 / bridge device to my lxc container ? or rather my eth0 / physical device ?02:06
sarnoldzhul: I think this is one of the better descriptions of the networking types https://linuxcontainers.org/lxc/manpages/man5/lxc.container.conf.5.html02:13
zhulty02:15
zhulI had made a typo mistake :) lxc improvement are quite impressive lately02:21
zhulsarnold: do you know if there is any benefit to use virbr0 rather than physical interface to attach to containers ? what is the "best" / common practice ?02:23
sarnoldzhul: I'm sorry to say that I really don't udnerstand the tradeoffs well :/ I think if you pass through a physical interface you won't be ablwe to use it on the host, or any other containers02:24
sarnoldzhul: if I'm right, that might be a deal breaker, or that might be exactly what you wanted :) it's hard to guess..02:24
sarnoldzhul: and I understand that the maclan option may look nice at first, but there's no way for the host to talk to the containers. Or maybe it's no way for any container to talk to any other container or the host. it felt like a stiff penalty.02:25
zhulsarnold: well I just realized in recent Ubuntu it seems you attach rather to a network than to a network device, so my question was misleading I guess02:31
zhulsarnold: lxc network attach <network> <container> [device name]02:32
patrick_Anybody else here using Ubuntu Mate?02:36
sarnoldzhul: ah if you're doing lxd there's some more docs here https://github.com/lxc/lxd/blob/master/doc/configuration.md02:39
protnhi folks03:41
protnwhats the easiest way to back up and restore list of all installed packages and repositories keys?03:42
sarnoldprotn: dpkg --get-selections | dpkg --set-selections -- and /etc/apt/trusted*03:47
protnsarnold: and where dpkg --get-selections stores text file?03:49
protnon a new box I have to somehow tell dpkg also where the list of selections is03:50
sarnoldprotn: it just dumps it to standard output, and --set-selections reads from standard input.. save it whereveer :)03:52
protnhmm03:53
protnmaybe simply apt-clone clone foo ?03:53
protn dpkg --get-selections | dpkg --set-selections -- and /etc/apt/trusted*03:54
protndpkg: error: --set-selections takes no arguments03:54
sarnoldsorry, I shouldn't have used punctaion that's also common on the command line :)03:55
sarnoldyou can manage the package list with dpkg --get-selections and dpkg --set-selections03:55
sarnoldand you can manage the repository trust through the /etc/apt/trusted* files03:55
protnso dpkg --get-selections  and somehow save them to file and then set selections from that file?03:56
sarnoldyeah03:56
hallynhm, md127_raid1 has been running for 48 hours, at high cpu05:09
hallyndoesn't seem like a "reboot" kinda situation, but...05:09
=== BioKee is now known as Guest92156
sonu_nki am getting service unavailable for my domain..which log i need to check ?07:17
=== amoralej|off is now known as amoralej
=== Piper-Off is now known as Monthrect
CapprenticeHelp Needed: Im trying to set up an Squid Box in bridge mode using Ubuntu 16.04 with two interfaces with TPROXY. Following is the firewall conf -https://paste.ubuntu.com/23526212/ . I can see packet hits in all chains but not in the tproxy redirect chain. Can you explain what Im doing dumb? Why the traffif is not hitting SQUID at all? Any info you need on this, pls ask :) - http://imgur.com/a/dvvz09:16
cpaelzerCapprentice: sorry I see nothing obvious, the issue seems to exceed my iptables-foo09:27
Capprenticehmmm ^09:31
Capprenticecpaelzer:09:31
Capprenticethanks for looking.09:31
Capprenticeimgur.com/a/dvvzm09:43
sonu_nki am getting service unavailable for my domain09:45
sonu_nksome time some time it works09:45
=== spammy is now known as Guest48531
=== spammy is now known as Guest20989
=== spammy is now known as Guest20526
jonahhi can anyone help. I'm struggling with NUT / upsd. Although my servers share the same cabinet and UPS they are on different networks and not the same LAN. My NUT slave/client won't connect the master/server whatever I try. I can get them to work together and connect if on the same LAN but not over WAN. Can anyone please help how this can be done?11:53
=== amoralej is now known as amoralej|lunch
=== Guest20526 is now known as spammy
=== amoralej|lunch is now known as amoralej
zuljamespage: https://code.launchpad.net/~zulcss/charm-helpers/swift-ocata/+merge/31174314:31
jamespagezul, -> #openstack-charms14:44
zulsorry14:44
=== Monthrect is now known as Piper-Off
=== amoralej is now known as amoralej|off
Fieldyhello, how can I change the server that apt uses from us.archive.ubuntu.com to ca.archive.ubuntu.com ? i haven't been able to reach any of the IPs of the us one for a few days on port 80. mtr shows it falls into a black hole after 91.189.88.162 but i can manually connect to the ca. ones19:01
Fieldy"after 38.104.186.42" mispaste19:02
Fieldyah sources.list that was easy. working now :)19:04
=== amoralej|off is now known as amoralej
=== skylite_ is now known as skylite
=== amoralej is now known as amoralej|off
=== Malediction_ is now known as Malediction
=== macskay_ is now known as macskay

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