/srv/irclogs.ubuntu.com/2019/02/10/#ubuntu-server.txt

runelind_qbleh, looks like I can't mount a FreeBSD zfs pool on 18.04 - messing delphi spacemap or somesuch feature.00:11
runelind_qat least not in RW mode00:12
lawhey all, is Cobbler available in Bionic?  I'm finding packages for Xenial, but I'll be darned if I can find them for Bionic02:13
lotuspsychje!info cobbler bionic02:13
ubottuPackage cobbler does not exist in bionic02:13
lotuspsychjeseems like not law02:14
lawwell shucks02:15
lawI found it here - https://launchpad.net/ubuntu/bionic/amd64/cobbler/2.6.6+dfsg1-1302:15
lawbut it doesn't say if it's in main, universe, or multiverse02:15
lotuspsychjehmm weird02:16
lotuspsychjetalk to the #ubuntu-release guys law they might know more02:16
lawwill do.  many thanks!02:16
OerHekshttps://launchpad.net/ubuntu/bionic/amd64/cobbler02:37
OerHeksDeleted on 2018-02-26 by Steve Langasek (From Debian) ROM; no time for this package, nobody adopting, RC buggy; Debian bug #88909902:37
ubottuDebian bug 889099 in ftp.debian.org "RM: cobbler -- ROM; no time for this package, nobody adopting, RC buggy" [Normal,Open] http://bugs.debian.org/88909902:37
OerHeksobsolete02:37
OerHeksso build it from github https://cobbler.github.io/02:38
OerHekshmmm 2017 https://github.com/cobbler/cobbler/releases/tag/v2.8.202:39
OerHeksoops02:40
OerHekshttps://github.com/cobbler/cobbler/releases/tag/v2.8.402:40
lawyup, going through that whole process now02:42
cryptodan_mobileI'd like to say that ubuntu server 18.04 runs nice on hp ml350p04:45
siavoshkcHi. 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:54
blackflowsiavoshkc: the venv root13:57
siavoshkcblackflow: I thought maybe it should be site-packages14:04
blackflownope. https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html14:05
blackflowsiavoshkc: 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-PYTHONHOME14:08
siavoshkcalright. thanks14:09
siavoshkcauthorized_submit_users = !root, static:all14:15
siavoshkcI saw that^ in postfix config. Is it normal to block root here?14:15
siavoshkcIt seems to be causing fatal errors in journalctl14:19
blackflowit's not14:22
blackflowin fact, if anyone could/should sendmail, it's root.14:22
siavoshkcblackflow: now it can14:52
siavoshkchttps://termbin.com/pnbv https://termbin.com/2r0d14:55
siavoshkcAlthough I changed the config of apache2 to use a venv it seems it is still using the global python env^15:04
talxhey15:25
talxdo you get anaconda.cfg15:25
talxafter installing ubuntu ?15:25
zzlatevHi guys16:45
zzlatevI have a problem with one package16:45
zzlatevI try to install tvheadend from official repo16:45
zzlatevbut I get this error:16:45
zzlatevunable to fetch some archives maybe run apt-get update or try with fix-missing16:46
lotuspsychjezzlatev: can you pasetbin your issues please, volunteers can think along better16:48
lotuspsychje*pastebin16:48
zzlatevlotuspsychje: I paste my issue17:02
zzlatev unable to fetch some archives maybe run apt-get update or try with fix-missing17:02
lotuspsychje!pastebinit17:03
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit17:03
zzlatevapt-get install tvheadend | pastebinit ?17:04
zzlatevlotuspsychje:17:04
lotuspsychjeyes17:04
lotuspsychjesudo17:04
=== Guest22118 is now known as hexagon
zzlatevlotuspsychje: http://paste.ubuntu.com/p/qFcypZQc8B/17:15
lotuspsychje!info tvheadend trusty17:17
ubottuPackage tvheadend does not exist in trusty17:17
zzlatevso I can't install tvh on 1417:19
lotuspsychjezzlatev: does apt-cache search tvheadend show anything usefull?17:19
OerHekszzlatev, you seem to have updates held back, run apt full-upgrade ?17:19
OerHeksalways start with an updated system, when installing something17:20
lotuspsychje+117:20
zzlatevwhat do you mean start with an update-system17:21
zzlatevI should update the system when I try to install any package?17:21
DeihmosWhat is the recommended backup software?17:21
OerHekszzlatev, normally one would do that, yes, *before* installing something17:21
DeihmosIs there anything similar to acronis on windows17:22
zzlatevOerHeks: OK17:22
OerHeksDeihmos, backup as in cloning the system? or just data?17:22
DeihmosCloning in case I want to do a full restore17:23
OerHekslive server iso, and DD the partitions to an empty drive is one solution17:24
siavoshkcsupervisor.service: Failed at step EXEC spawning /usr/bin/supervisord: No such file or directory17:25
lotuspsychjersync & clonezilla are also liked by many17:25
siavoshkcBut I am seeing the file there17:26
blackflowsiavoshkc: why would you even want to run supervisord under the supervising systemd to begin with? :)17:27
siavoshkcblackflow: 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 systemd17:30
blackflowsiavoshkc: yes, that's what I mean :)17:31
siavoshkcYou see I didn't config this server. Somebody else did and now I am trying to fix errors reported by sudo journalctl -xe17:32
blackflowsiavoshkc: what errors, "No such file" that you mentioned before?17:33
siavoshkcYes, that is one of the errors. Another one was that the root didnt have postfix access right17:34
blackflowsiavoshkc: so do you need help with any of them in particular?17:35
siavoshkcFixed the access problem by editing postfix config. Now I need help for this one.17:35
blackflowsiavoshkc: can you pastebin the entire .service unit file? that error tends to be misleading in some cases, eg. when sandboxing is used17:36
siavoshkcblackflow: Where can I find it?17:38
blackflowsiavoshkc: systemctl cat supervisor.service17:40
siavoshkchttps://termbin.com/w64817:41
blackflowsiavoshkc: what about   journalctl -U supservisor.service -n 5017:43
blackflow(sans typos of course :) )17:43
siavoshkcAnd 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.conf17:43
siavoshkcFailed to parse timestamp: supervisord.service17:44
blackflowcan you pastebin the output of that journalctl command? the whole log context is important17:45
blackflowI'm assuming last 50 lines are relevant, feel free to adjust if that's not the case17:45
siavoshkcblackflow: https://termbin.com/lztx17:50
blackflowsiavoshkc: 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:52
siavoshkclol https://termbin.com/jotx17:54
blackflowsiavoshkc: is python installed?17:58
blackflowpython217:58
siavoshkcWell. At least it was!18:00
siavoshkcNow it is missing. That one is my doing18:00
blackflowthat's the problem. the "No such file" error comes from the supervisord shebang line that invokes python18:00
siavoshkcI think I mistakenly removed it from update-alternatives18:00
blackflowsiavoshkc: altered default python command?18:01
siavoshkcblackflow: Yes I did. Fixed it :-))))18:05
* lotuspsychje prepares a python cookie :p18:05
blackflowsiavoshkc: 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:06
siavoshkcYes according to that I removed alternatives. but i should have only removed python3s. I did it altoghether18:07
super_kozaI have installed Ubuntu Server 18.0418:08
super_kozaAfter setting up a couple of things, I did apt update, apt upgrade.18:09
super_kozaThe PC upgraded itself and now on booting, the new GRUB option gives me kernel panic and doesn't boot up.18:09
super_kozaThe old one is still working fine.18:10
super_kozaWhat should I do?18:10
lotuspsychjewich kernel is that failing super_koza18:10
super_kozaJust a sec18:11
super_koza4.15.0-4518:12
siavoshkcblackflow: Thank you18:12
super_koza4.15.0-29 still works18:12
lotuspsychjesuper_koza: is it possible to paste the error line kernel panic to the channel? volunteers can take a look for you18:13
super_kozaI can try to take a photo of the screen and paste it here18:17
blackflowsiavoshkc: you're welcome18:17
super_kozalotuspsychje: here it is18:19
super_kozahttps://drive.google.com/file/d/1mOY8fsnFvhPXR-8JjBAgq7Dkw4R1HF1W/view?usp=sharing18:19
tomreynsuper_koza: what's the hardware?18:23
tomreynwhich installer did you use?18:24
tomreyn(iso image file)18:24
super_kozaI used the old installer18:24
super_kozaI think this one: ubuntu-18.04.1-server-amd64.iso18:25
tomreynsuper_koza: so, which hardware? can you look for a firmware upgrade, too?18:27
super_kozaLenovo X201t18:27
tomreynhmm so not actually a server. but of course the default kernel image should be working fine.18:29
tomreynsuper_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 999918:31
super_kozaOh no18:45
super_kozasorry18:45
super_kozait is a server18:45
super_kozaI just snatched the iso name of the ubuntu website18:46
super_kozato show that it is not a live iso18:46
tomreynsuper_koza: i mean it's not actually server hardware18:46
tomreynubuntu-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:47
super_kozaOh, that is true18:48
tomreynsuper_koza: you should still not be running into this issue, so if you like posting the journal i'd be happy to review it18:52
super_kozaJust a second18:54
super_kozatomreyn: https://termbin.com/jhrf18:56
super_kozahere it is :)18:56
tomreynsuper_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:57
super_kozaI booted with 4.15.0-2918:58
super_kozalet me see what I get with that command18:58
super_kozahttps://termbin.com/j9ih18:59
tomreynsuper_koza: journalctl | grep -F ' kernel: Linux version' | tail | nc termbin.com 999919:00
super_kozahttps://termbin.com/1r2f19:01
super_kozaI can't get inst 0-45 at all19:01
super_koza*into19:01
tomreyni see19:03
tomreynsuper_koza: is the intel graphics the only graphics chipset on this system, or is there something else, such as nvidia19:03
super_kozaNo, there is only iGPU on the board19:04
tomreyn!recovery | are you able to boot to recovery, super_koza19:05
ubottuare you able to boot to recovery, super_koza: If your system fails to boot normally, it may be useful to boot it into recovery mode. For instructions, see https://wiki.ubuntu.com/RecoveryMode19:05
tomreynon -45, that is.19:05
super_kozaNope, can't do that19:07
super_kozaKernel panic - not syncing: VFS: Unable to mount root fs on unkown-block(0,0)19:08
tomreynhmm unknown block? interesting.19:08
super_kozaWhat are my options here?19:08
tomreyndo you have lvm, disk encryption raid etc?19:09
super_kozaCan I remove this kernel, or should I reinstall everything as I was just setting up the PC.19:09
super_kozaNope, I have nothing19:09
tomreynmay i repost the photo you uploaded to googleyou could purge the -45 kernel image and reinstall it19:09
tomreyni meant to write: you could purge the -45 kernel image and reinstall it19:09
tomreynalso: may i repost the photo you uploaded to google to imgur.com ?19:10
super_kozasure thing, I don't believe that photo has any sensitive data19:10
tomreynhttps://i.imgur.com/hjM0syR.jpg19:11
super_kozaNotice the line in the middle... :D19:13
tomreyni did ;)19:13
tomreyni'll have a shpwer, bbl. but please post if you have more findings19:14
tomreyn*shOwer ;)19:14
_TrulloI 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
_Trullonetwork is working fine, I have done updates and stuff, so nothing wrong with the connection, it's just not there..19:31
gislavedmeh I need to find a sane way to deply all my certs from my CA proxy without having half of them failing on renewal19:39
siavoshkcOK. 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:00
tomreyn_Trullo: is your ethernet interface actually detected and a driver loaded, though? lspci -knnv | nc termbin.com 999920:03
blackflowsiavoshkc: you need an application server like wsgi for that20:03
siavoshkcblackflow: mod_wsgi apache module does that20:04
siavoshkcIt will interface between django and apache220:04
tomreynyou mioght want to post the error log20:04
siavoshkctomreyn: https://termbin.com/3zxp20:26
tomreynsiavoshkc: first hit on web search: https://stackoverflow.com/questions/6454564/target-wsgi-script-cannot-be-loaded-as-python-module20:28
siavoshkctomreyn: yes I did. I installed wsgi_mod for python3 based on that thread.20:31
siavoshkcalso sudo chmod a+x django.wsgi20:32
siavoshkcalso changed python3 from global mode to venv mode20:33
tomreyndjango.wsgi? this log suggests that kamanquest/wsgi.py was called20:34
tomreynmaybe this is a question for #django really (not sure this channel exists, but you could check)20:35
siavoshkcI think the solution lies here https://modwsgi.readthedocs.io20:49

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