[00:11] <runelind_q> bleh, looks like I can't mount a FreeBSD zfs pool on 18.04 - messing delphi spacemap or somesuch feature.
[00:12] <runelind_q> at least not in RW mode
[02:13] <law> hey all, is Cobbler available in Bionic?  I'm finding packages for Xenial, but I'll be darned if I can find them for Bionic
[02:13] <lotuspsychje> !info cobbler bionic
[02:14] <lotuspsychje> seems like not law
[02:15] <law> well shucks
[02:15] <law> I found it here - https://launchpad.net/ubuntu/bionic/amd64/cobbler/2.6.6+dfsg1-13
[02:15] <law> but it doesn't say if it's in main, universe, or multiverse
[02:16] <lotuspsychje> hmm weird
[02:16] <lotuspsychje> talk to the #ubuntu-release guys law they might know more
[02:16] <law> will do.  many thanks!
[02:37] <OerHeks> https://launchpad.net/ubuntu/bionic/amd64/cobbler
[02:37] <OerHeks> Deleted on 2018-02-26 by Steve Langasek (From Debian) ROM; no time for this package, nobody adopting, RC buggy; Debian bug #889099
[02:37] <OerHeks> obsolete
[02:38] <OerHeks> so build it from github https://cobbler.github.io/
[02:39] <OerHeks> hmmm 2017 https://github.com/cobbler/cobbler/releases/tag/v2.8.2
[02:40] <OerHeks> oops
[02:40] <OerHeks> https://github.com/cobbler/cobbler/releases/tag/v2.8.4
[02:42] <law> yup, going through that whole process now
[04:45] <cryptodan_mobile> I'd like to say that ubuntu server 18.04 runs nice on hp ml350p
[13:54] <siavoshkc> Hi. In apache2 config. I need to put my python venv path for python-home parameter. In my venv there are a few directories like bin and lib. The pth should be to its root or some other directory inner?
[13:57] <blackflow> siavoshkc: the venv root
[14:04] <siavoshkc> blackflow: I thought maybe it should be site-packages
[14:05] <blackflow> nope. https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html
[14:08] <blackflow> siavoshkc: and for more info to understand how PYTHONHOME env works (to which mod_wsgi's python-home translates), see this: https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHOME
[14:09] <siavoshkc> alright. thanks
[14:15] <siavoshkc> authorized_submit_users = !root, static:all
[14:15] <siavoshkc> I saw that^ in postfix config. Is it normal to block root here?
[14:19] <siavoshkc> It seems to be causing fatal errors in journalctl
[14:22] <blackflow> it's not
[14:22] <blackflow> in fact, if anyone could/should sendmail, it's root.
[14:52] <siavoshkc> blackflow: now it can
[14:55] <siavoshkc> https://termbin.com/pnbv https://termbin.com/2r0d
[15:04] <siavoshkc> Although I changed the config of apache2 to use a venv it seems it is still using the global python env^
[15:25] <talx> hey
[15:25] <talx> do you get anaconda.cfg
[15:25] <talx> after installing ubuntu ?
[16:45] <zzlatev> Hi guys
[16:45] <zzlatev> I have a problem with one package
[16:45] <zzlatev> I try to install tvheadend from official repo
[16:45] <zzlatev> but I get this error:
[16:46] <zzlatev> unable to fetch some archives maybe run apt-get update or try with fix-missing
[16:48] <lotuspsychje> zzlatev: can you pasetbin your issues please, volunteers can think along better
[16:48] <lotuspsychje> *pastebin
[17:02] <zzlatev> lotuspsychje: I paste my issue
[17:02] <zzlatev>  unable to fetch some archives maybe run apt-get update or try with fix-missing
[17:03] <lotuspsychje> !pastebinit
[17:04] <zzlatev> apt-get install tvheadend | pastebinit ?
[17:04] <zzlatev> lotuspsychje:
[17:04] <lotuspsychje> yes
[17:04] <lotuspsychje> sudo
[17:15] <zzlatev> lotuspsychje: http://paste.ubuntu.com/p/qFcypZQc8B/
[17:17] <lotuspsychje> !info tvheadend trusty
[17:19] <zzlatev> so I can't install tvh on 14
[17:19] <lotuspsychje> zzlatev: does apt-cache search tvheadend show anything usefull?
[17:19] <OerHeks> zzlatev, you seem to have updates held back, run apt full-upgrade ?
[17:20] <OerHeks> always start with an updated system, when installing something
[17:20] <lotuspsychje> +1
[17:21] <zzlatev> what do you mean start with an update-system
[17:21] <zzlatev> I should update the system when I try to install any package?
[17:21] <Deihmos> What is the recommended backup software?
[17:21] <OerHeks> zzlatev, normally one would do that, yes, *before* installing something
[17:22] <Deihmos> Is there anything similar to acronis on windows
[17:22] <zzlatev> OerHeks: OK
[17:22] <OerHeks> Deihmos, backup as in cloning the system? or just data?
[17:23] <Deihmos> Cloning in case I want to do a full restore
[17:24] <OerHeks> live server iso, and DD the partitions to an empty drive is one solution
[17:25] <siavoshkc> supervisor.service: Failed at step EXEC spawning /usr/bin/supervisord: No such file or directory
[17:25] <lotuspsychje> rsync & clonezilla are also liked by many
[17:26] <siavoshkc> But I am seeing the file there
[17:27] <blackflow> siavoshkc: why would you even want to run supervisord under the supervising systemd to begin with? :)
[17:30] <siavoshkc> blackflow: I am not sure what you mean. But I think you mean it is systemd's job to supervise and it will do that better than supervisord. So why on earth I am try to run it as a daemon by systemd
[17:31] <blackflow> siavoshkc: yes, that's what I mean :)
[17:32] <siavoshkc> You see I didn't config this server. Somebody else did and now I am trying to fix errors reported by sudo journalctl -xe
[17:33] <blackflow> siavoshkc: what errors, "No such file" that you mentioned before?
[17:34] <siavoshkc> Yes, that is one of the errors. Another one was that the root didnt have postfix access right
[17:35] <blackflow> siavoshkc: so do you need help with any of them in particular?
[17:35] <siavoshkc> Fixed the access problem by editing postfix config. Now I need help for this one.
[17:36] <blackflow> siavoshkc: can you pastebin the entire .service unit file? that error tends to be misleading in some cases, eg. when sandboxing is used
[17:38] <siavoshkc> blackflow: Where can I find it?
[17:40] <blackflow> siavoshkc: systemctl cat supervisor.service
[17:41] <siavoshkc> https://termbin.com/w648
[17:43] <blackflow> siavoshkc: what about   journalctl -U supservisor.service -n 50
[17:43] <blackflow> (sans typos of course :) )
[17:43] <siavoshkc> And there are to conf files for it.  siavosh @ kamanacademy.ir: ls /etc/supervisor/conf.d/*.conf /etc/supervisor/conf.d/laravel-worker.conf  /etc/supervisor/conf.d/statsd.conf
[17:44] <siavoshkc> Failed to parse timestamp: supervisord.service
[17:45] <blackflow> can you pastebin the output of that journalctl command? the whole log context is important
[17:45] <blackflow> I'm assuming last 50 lines are relevant, feel free to adjust if that's not the case
[17:50] <siavoshkc> blackflow: https://termbin.com/lztx
[17:52] <blackflow> siavoshkc: my bad, use -u and not -U  (I'm working with psql at this very moment and it uses -U, so finger memory did it....)
[17:54] <siavoshkc> lol https://termbin.com/jotx
[17:58] <blackflow> siavoshkc: is python installed?
[17:58] <blackflow> python2
[18:00] <siavoshkc> Well. At least it was!
[18:00] <siavoshkc> Now it is missing. That one is my doing
[18:00] <blackflow> that's the problem. the "No such file" error comes from the supervisord shebang line that invokes python
[18:00] <siavoshkc> I think I mistakenly removed it from update-alternatives
[18:01] <blackflow> siavoshkc: altered default python command?
[18:05] <siavoshkc> blackflow: Yes I did. Fixed it :-))))
[18:05]  * lotuspsychje prepares a python cookie :p
[18:06] <blackflow> siavoshkc: yeah. :) PEP-394 .... NEVER alter the version of `python` command. by established technical standards (the said PEP), `python` is always supposed to be python 2.x.
[18:06] <blackflow> (except in virtualenvs where the only installed python3.x may have `python` symlink)
[18:07] <siavoshkc> Yes according to that I removed alternatives. but i should have only removed python3s. I did it altoghether
[18:08] <super_koza> I have installed Ubuntu Server 18.04
[18:09] <super_koza> After setting up a couple of things, I did apt update, apt upgrade.
[18:09] <super_koza> The PC upgraded itself and now on booting, the new GRUB option gives me kernel panic and doesn't boot up.
[18:10] <super_koza> The old one is still working fine.
[18:10] <super_koza> What should I do?
[18:10] <lotuspsychje> wich kernel is that failing super_koza
[18:11] <super_koza> Just a sec
[18:12] <super_koza> 4.15.0-45
[18:12] <siavoshkc> blackflow: Thank you
[18:12] <super_koza> 4.15.0-29 still works
[18:13] <lotuspsychje> super_koza: is it possible to paste the error line kernel panic to the channel? volunteers can take a look for you
[18:17] <super_koza> I can try to take a photo of the screen and paste it here
[18:17] <blackflow> siavoshkc: you're welcome
[18:19] <super_koza> lotuspsychje: here it is
[18:19] <super_koza> https://drive.google.com/file/d/1mOY8fsnFvhPXR-8JjBAgq7Dkw4R1HF1W/view?usp=sharing
[18:23] <tomreyn> super_koza: what's the hardware?
[18:24] <tomreyn> which installer did you use?
[18:24] <tomreyn> (iso image file)
[18:24] <super_koza> I used the old installer
[18:25] <super_koza> I think this one: ubuntu-18.04.1-server-amd64.iso
[18:27] <tomreyn> super_koza: so, which hardware? can you look for a firmware upgrade, too?
[18:27] <super_koza> Lenovo X201t
[18:29] <tomreyn> hmm so not actually a server. but of course the default kernel image should be working fine.
[18:31] <tomreyn> super_koza: can you upload your previous boots' log and post it here? this would do it for you (except for pasting the url): journalctl -b -1 | nc termbin.com 9999
[18:45] <super_koza> Oh no
[18:45] <super_koza> sorry
[18:45] <super_koza> it is a server
[18:46] <super_koza> I just snatched the iso name of the ubuntu website
[18:46] <super_koza> to show that it is not a live iso
[18:46] <tomreyn> super_koza: i mean it's not actually server hardware
[18:47] <tomreyn> ubuntu-18.04.1-server-amd64.iso is indeed a server installer (the alternative one, based on debian installer), so this could have been correct.
[18:48] <super_koza> Oh, that is true
[18:52] <tomreyn> super_koza: you should still not be running into this issue, so if you like posting the journal i'd be happy to review it
[18:54] <super_koza> Just a second
[18:56] <super_koza> tomreyn: https://termbin.com/jhrf
[18:56] <super_koza> here it is :)
[18:57] <tomreyn> super_koza: hmm, do the timestamps of when your boots were logged, as per "journalctl --list-boots | tail" then suggest that the 4.15.0-45 boot wasn't logged?
[18:58] <super_koza> I booted with 4.15.0-29
[18:58] <super_koza> let me see what I get with that command
[18:59] <super_koza> https://termbin.com/j9ih
[19:00] <tomreyn> super_koza: journalctl | grep -F ' kernel: Linux version' | tail | nc termbin.com 9999
[19:01] <super_koza> https://termbin.com/1r2f
[19:01] <super_koza> I can't get inst 0-45 at all
[19:01] <super_koza> *into
[19:03] <tomreyn> i see
[19:03] <tomreyn> super_koza: is the intel graphics the only graphics chipset on this system, or is there something else, such as nvidia
[19:04] <super_koza> No, there is only iGPU on the board
[19:05] <tomreyn> !recovery | are you able to boot to recovery, super_koza
[19:05] <tomreyn> on -45, that is.
[19:07] <super_koza> Nope, can't do that
[19:08] <super_koza> Kernel panic - not syncing: VFS: Unable to mount root fs on unkown-block(0,0)
[19:08] <tomreyn> hmm unknown block? interesting.
[19:08] <super_koza> What are my options here?
[19:09] <tomreyn> do you have lvm, disk encryption raid etc?
[19:09] <super_koza> Can I remove this kernel, or should I reinstall everything as I was just setting up the PC.
[19:09] <super_koza> Nope, I have nothing
[19:09] <tomreyn> may i repost the photo you uploaded to googleyou could purge the -45 kernel image and reinstall it
[19:09] <tomreyn> i meant to write: you could purge the -45 kernel image and reinstall it
[19:10] <tomreyn> also: may i repost the photo you uploaded to google to imgur.com ?
[19:10] <super_koza> sure thing, I don't believe that photo has any sensitive data
[19:11] <tomreyn> https://i.imgur.com/hjM0syR.jpg
[19:13] <super_koza> Notice the line in the middle... :D
[19:13] <tomreyn> i did ;)
[19:14] <tomreyn> i'll have a shpwer, bbl. but please post if you have more findings
[19:14] <tomreyn> *shOwer ;)
[19:31] <_Trullo> I installed Ubuntu Server and then ubuntu-desktop. trying to set static ip. but when I go into network settings, wired is not there.. only VPN and Proxy..
[19:31] <_Trullo> network is working fine, I have done updates and stuff, so nothing wrong with the connection, it's just not there..
[19:39] <gislaved> meh I need to find a sane way to deply all my certs from my CA proxy without having half of them failing on renewal
[20:00] <siavoshkc> OK. We have django website and apache2 on Xenial. I created a python3 venv and configured apache2 to use it. I am trying to use wsgi_mod in damon mode. Accessing website causes an error log to be written down in server log.
[20:03] <tomreyn> _Trullo: is your ethernet interface actually detected and a driver loaded, though? lspci -knnv | nc termbin.com 9999
[20:03] <blackflow> siavoshkc: you need an application server like wsgi for that
[20:04] <siavoshkc> blackflow: mod_wsgi apache module does that
[20:04] <siavoshkc> It will interface between django and apache2
[20:04] <tomreyn> you mioght want to post the error log
[20:26] <siavoshkc> tomreyn: https://termbin.com/3zxp
[20:28] <tomreyn> siavoshkc: first hit on web search: https://stackoverflow.com/questions/6454564/target-wsgi-script-cannot-be-loaded-as-python-module
[20:31] <siavoshkc> tomreyn: yes I did. I installed wsgi_mod for python3 based on that thread.
[20:32] <siavoshkc> also sudo chmod a+x django.wsgi
[20:33] <siavoshkc> also changed python3 from global mode to venv mode
[20:34] <tomreyn> django.wsgi? this log suggests that kamanquest/wsgi.py was called
[20:35] <tomreyn> maybe this is a question for #django really (not sure this channel exists, but you could check)
[20:49] <siavoshkc> I think the solution lies here https://modwsgi.readthedocs.io