[00:01] jerichowasahoax my server only has these php.ini files /etc/php/7.0/fpm/php.ini /etc/php/7.0/cli/php.ini [00:01] xinobi: well it's not using the cli one, that's for sure [00:02] xinobi: i was hoping there would be an /etc/php/7.0/apache2 as well, though, for you to double check [00:02] jerichowasahoax exactly so I believe that my php.ini has something missing [00:02] xinobi: because i'm on apache2 and that's where minei s [00:03] jerichowasahoax: no /etc/php/7.0/apache2 is not present in my system [00:10] jerichowasahoax I'll try to figure this later have a nice time ;) thank you === Noskcaj_ is now known as Noskcaj [01:03] Hello, does anybody know what could be wrong with this command? [01:03] (09:01:58 PM) mojtaba: if [ $(df /home/osmc/Movies/Cartoon/ --output=pcent | awk -F '%' 'NR=2{print $1}') -ge 80 ]; then echo "hi";fi [01:03] I don't know awk, I found this on the web. [01:03] I am going to check if a mounted drive is used more than a specific amount. [01:04] What I am getting is: -bash: [: too many arguments [01:11] mojtaba: first step is simplify, just run df /home/osmc/Movies/Cartoon/ --output=pcent [01:11] mojtaba: then, build up [01:11] dpb1: sure, thanks [01:11] but, the answer is, you are missing a closing paren (at least) [01:12] I see [01:18] brb === uplime is now known as watermelon === watermelon is now known as uplime === y0sh- is now known as y0sh [04:50] Hey I just shredded my mysql server (I uninstalled it, tried to install mariadb, it failed, can't install mysql anymore). I purged every mysql/mariadb package, removed /etc/mysql and /var/lib/mysql and tried to reinstall mysql server. It just doesn't start up with no error whatsoever :S [04:51] anything I missed? [07:37] soahccc, try apt-purge mysql* [07:38] I remember doing something similar and I think that is what I ended up doing [07:38] I mean, apt purge mysql* (no dash of course) [08:12] sikun: that could also purge some mysql-related tools which aren't part of mysql [08:13] and I guess soahccc would also want to purge everything that's part of mariadb [11:40] OpenTokix: i try to use your preseed and i am stuck because it doesn't find any root partition [11:58] nevermind, i figured that out [17:50] i added the preseed to an ubuntu iso, made it completely unattended, however proliant servers refuse to boot it [17:50] the iso works great with vms [17:50] but the proliant server refuse it [17:50] and the proliant servers do work great with normal ubuntu iso [17:50] this is very confusing [17:52] gunix: do you even get the language selection screen? any flash of the start of an install? how are you booting it? [17:52] oh and how did you add the preseed [17:53] powersj: there is no language selection screen. it is fully automated [17:53] gunix: you'll need to describe what happens more than "refuse it" :) [17:53] dpb1: it tries to boot from other sources instead of the iso [17:54] dpb1: it just completely ignored i added the iso from iLO [17:54] my first suspicion would be corrupted media [17:54] dpb1: than how does the media work on KVM vms ? [17:54] as that has happened to me more times than I count [17:55] dpb1: if it's corrupted, why does it work with kvm? it goes through the full install [17:55] same disc? [17:55] or are you using the .iso [17:55] dpb1: yes, same disc lol [17:55] dpb1: the same exact iso is working on KVM vms, but is not working in the proliant [17:55] not iso [17:55] same physical disk [17:55] what are you talking about? [17:56] are you talking about a physical CD/DVD ? [17:56] "the same exact iso is working on KVM vms" [17:56] yes, physical disc [17:56] dpb1: omg man [17:56] dpb1: you don't need to burn CDs, it's not 1999 [17:57] so you are blinking the .iso over there? [17:57] dpb1: you can add the iso to KVM VMs via virt-manager, and to iLO via web interface... in iLO you add the http address of the .iso and in virt-manager you need the .iso to be on the same server as the libvirt/qemu/kvm services [17:58] good, getting details now [17:58] dpb1: in iLO i tried to add the normal .iso (located on THE SAME web server) [17:58] so tcp connection can't be an issue [17:58] and your ilo mount of the standard ubuntu-server .iso works [17:59] yes [17:59] :( [17:59] virt-manager is awesome [17:59] compdoc: yea, i run virt-manager on my local system and connect it to the server from the DC. it's great :D [17:59] gunix: can you try another physical server? [17:59] dpb1: i tried two physical servers, but both gen9 [17:59] this are the files i change in the iso, before repackaging it: https://github.com/TommyKTheDJ/hydra/commit/2741997149d0fdcf96e5d947f32b3dab7bf49157 [18:00] this is the command I am building the iso with: [18:00] mkisofs -D -r -V "UNATTENDED_UBUNTU" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /opt/ubuntu16-desktop-unattended-install.iso /opt/ubuntuiso [18:05] ya, dunno, that looks okish to me, and clearly the kvm test case is proving your .iso isn't DOA. [18:06] yes :( [18:07] my next guess would be something EFI vs legacy [18:07] that's intentionally handwavy [18:08] i can try to switch the server to bios [18:08] but afaik the iso has some efi flags [18:11] also check for secure boot, but switching to legacy would be best as I'm willing to bet you weren't using EFI with virt-manager [18:13] dpb1: holy fuck, it's working on bios [18:14] powersj: yea, that's what i thought after dpb1 mentioned it. virt-manager can't be using efi [18:14] i need to go agian through the process of creating the dvd. must be something there that damaged efi [18:15] *creatig the .iso, not the DVD [18:15] thank you for the help, guys, i can move forward now! [18:18] gunix: good luck [19:24] .-. .-. [19:24] .-. .-. [19:24] .-. .-. [19:24] .-. .-. [19:24] .-. .-. [19:24] .-. .-. [19:24] .-. .-. [19:24] / \ / \ [19:24] / \ / \ [19:24] / \ / \ [19:24] / \ / \ [19:24] / \ / \ [19:24] / \ / \ [19:24] / \ / \ [19:24] | _ \ / _ | [19:24] | _ \ / _ | [19:24] | _ \ / _ | [19:24] | _ \ / _ | [19:25] '. '.;' ';,' .' [19:25] '. '.;' ';,' .' [19:25] '. '.;' ';,' .' [19:25] '. '.;' ';,' .' [19:25] '. '.;' ';,' .' [19:25] '. '.;' ';,' .' [19:25] '. '.;' ';,' .' === tomaw_ is now known as tomaw [19:25] './ _ _ \.' [19:25] './ _ _ \.' [19:25] './ _ _ \.' [19:25] './ _ _ \.' [19:25] './ _ _ \.' [19:25] './ _ _ \.' [19:25] './ _ _ \.' [19:25] .' a __ a '. [19:25] .' a __ a '. [19:25] .' a __ a '. [19:25] .' a __ a '. [19:25] .--'\ '-' '-' /'--. [19:25] .--'\ '-' '-' /'--. [19:25] .--'\ '-' '-' /'--. [19:25] .--'\ '-' '-' /'--. [19:25] .--'\ '-' '-' /'--. [19:25] .--'\ '-' '-' /'--. [19:25] .--'\ '-' '-' /'--. [19:25] _>.__ -- _.- `; [19:25] _>.__ -- _.- `; [19:25] _>.__ -- _.- `; [19:25] _>.__ -- _.- `; [19:25] _>.__ -- _.- `; [19:25] _>.__ -- _.- `; [19:25] _>.__ -- _.- `; [19:25] .' _ __/ _/ [19:25] .' _ __/ _/ [19:25] .' _ __/ _/ [19:25] .' _ __/ _/ [19:25] '-,.__/ _ .-. ;|_ [19:25] '-,.__/ _ .-. ;|_ [19:25] '-,.__/ _ .-. ;|_ [19:25] '-,.__/ _ .-. ;|_ [19:25] '-,.__/ _ .-. ;|_ [19:25] '-,.__/ _ .-. ;|_ [19:25] '-,.__/ _ .-. ;|_ [19:25] /` `|| _/ `\/_ \_|| `\ [19:25] /` `|| _/ `\/_ \_|| `\ [19:25] /` `|| _/ `\/_ \_|| `\ [19:25] /` `|| _/ `\/_ \_|| `\ [19:25] /` `|| _/ `\/_ \_|| `\ [19:25] /` `|| _/ `\/_ \_|| `\ [19:25] /` `|| _/ `\/_ \_|| `\ [19:25] | ||/ \-./` \ / || | [19:25] | ||/ \-./` \ / || | [19:25] | ||/ \-./` \ / || | [19:25] | ||/ \-./` \ / || | [19:26] jgs .' \ = _= _ = _= /`\ [19:26] jgs .' \ = _= _ = _= /`\ [19:26] jgs .' \ = _= _ = _= /`\ [19:26] jgs .' \ = _= _ = _= /`\ [19:26] jgs .' \ = _= _ = _= /`\ [19:26] jgs .' \ = _= _ = _= /`\ [19:26] jgs .' \ = _= _ = _= /`\ [19:26] / `-;----=--;--' \ [19:26] / `-;----=--;--' \ [19:26] / `-;----=--;--' \ [19:26] / `-;----=--;--' \ [19:26] / `-;----=--;--' \ [19:26] / `-;----=--;--' \ [19:26] / `-;----=--;--' \ [19:26] \ _.-' '. / [19:26] \ _.-' '. / [19:26] \ _.-' '. / [19:26] \ _.-' '. / [19:26] l t x d a l a g a r c i a V o l u n d m i k e - z a l A z t e c 0 3 b a l d e r s o n l e d _ i r 2 2 D e n B e i r e n _ f a t d r a g o n P e s t N e o 4 k i r k l a n d V e r y _ s l o w c o m p d o c p m a t u l i s _ _ k n e e k i F r e e j a c k k a r l t h a n e n e i l o y N i z u m z e n D i e m u z i p a t d k - l p v 1 2 a m l m e m i n e m y _ T J - b e a t z z [19:26] ltxda lagarcia Volund mike-zal Aztec03 balderson led_ir22 DenBeiren_ fatdragon Pest Neo4 kirkland Very_slow compdoc pmatulis__ kneeki Freejack karlthane neiloy Nizumzen Diemuzi patdk-lp v12aml meminemy_ TJ- beatzz Aison adac disposable2 mikal Oatmeal ptx0 mhache m_tadeu y0sh lordievader ktosiek trevor_s DalekSec Thumpxr marlinc compuguy freakyy soren_ jgornick_ tdn apw Piper-Off logan- vtapia pjdc a1berto dino82 Mercury_Vap [19:27] ....if you say so man [19:27] wtf was that ASCII bomb supposed to be anyways [19:39] ah, I'm close [19:39] some kind of mouse? [19:40] https://paste.ubuntu.com/p/rQmzKzd23d/ [19:43] my guess is an easter bunny [19:58] when you spam, at least spam right [21:15] any idea why "d-i netcfg/choose_interface select eno1" is not picking eno1 ? [21:15] i get an option to select the primary network interface [21:15] through the setup [21:18] gunix: is it actually called eno1 at that point? [21:19] let me try to screen picture it for you [21:21] nacc: https://ibb.co/muaWAS [21:22] nacc: already tryed to add it to append too: https://bpaste.net/show/90dded721504 [21:22] but no idea if i did something wrong or not [21:22] gunix: how are you serving your preseed ? [21:22] nacc: it's part of the .iso [21:23] i rebuild the iso with the preseed as part of it [21:23] gunix: ok, you might need to preseed more (iirc, it prompts unless you pressed something else) -- google for NQA preseed [21:23] you can also look at the syslog to see why it asked you a question [21:23] powersj: ah nice [21:24] it should say something like "X not answered", "asking..." or something like that [21:24] although your verbosity may need to be turned up for that [21:24] that's how we debug the ISO smoke tests when we have issues [21:24] nacc: https://help.ubuntu.com/community/Cobbler/Preseed [21:24] here he configures it probably for 1 single interface and that's why it works with no option [21:26] gunix: i'd try what powersj is saying to debug [21:26] powersj: how do i turn on verbosity ? [21:27] gunix: first take a look at 'syslog' on the system during an install and see what it says it may already have enough [21:27] powersj: ok, dropping to shell\ [21:28] how am i supposed to scroll up without less ? :D [21:29] it doesn't accept shift + pageup :D [21:30] cat syslog | grep -i net | more [21:30] ... [21:30] if you are using less you can use 'u' for up half a page and 'd' for down [21:31] the issue will be towards the very end, should be last 50 or so messages unless you have tried things since then [21:32] warning couldn't read wpasupplicant pid file, not trying to kill [21:32] info: couldn't find BOOTIF= entry in /proc/cmdline [21:33] nothing else that looks suspicious [21:35] gunix: are you seeing any messages with 'debconf' in the syslog: https://paste.ubuntu.com/p/ZJDRxhg92N/ [21:36] there would be 100s of messages if there are [21:37] it is very, very verbose [21:38] powersj: i rebooted :D [21:38] lol [21:38] i need to wait 10 mins [21:39] in either case if there are no messages you can rebuild your ISO with the following added to the append option, so instead of 'quiet' have 'DEBCONF_DEBUG=developer' [21:39] powersj: i will grep for debconf and netcfg next time [21:39] and that will make sure these messages show up [21:39] it is perfect for debugging these types of issues [21:39] it will spit out each question that is asked how it is responded to and if something comes up or a question is not answered it will be right there in syslog [21:39] powersj: how do you know this stuff? this is nowhere on the internet :D [21:40] gotta ask the right question [21:40] ;) [21:41] and because I foster the ubuntu server ISO tests I had to pick up some ISO/debconf know-how [21:41] what does foster mean? :D [21:41] nurture :) own? [21:42] yea :D [21:42] take care of [21:42] yea [21:42] you work at canonical ? [21:42] yes [21:42] nice! [21:44] not enough debconf messages /// [22:02] powersj: i have only 4 messages from debconf [22:03] all for setting up debconf/language [22:04] rbasak: dpb1: up to 58% coverage ... and i am almost finished getting actual commit-level comparison correct [22:04] (which is our hash-level testsing) [22:04] gunix: heh well then you are going to want to rebuild your ISO with that debug option [22:04] powersj: i did [22:04] hmm [22:04] powersj: now i am getting confused about the iso [22:09] powersj: yes, i was not using the right iso. great. [22:09] heh [22:09] what can i say, at least i learned something ... [22:21] powersj: do you have a moment for some mock assistance? [22:22] nacc: yeah - however rharper may be more useful :) [22:22] powersj: rharper: to ensure Git commit hashes are consistent, I want to stub out some functions that we use for generating the commit and tag messages [22:23] powersj: rharper: so I am trying to use unittest.mock.patch() as a decorator to my test function [22:23] but since this in a file that does 'import gitubuntu.importer as target', i think gitubuntu.importer has already been imported, so patching it has no effect when i'm trying to patch a module-level method [22:28] link to the file? Were you trying something like: @patch('gitubuntu.importer.method_name') [22:28] powersj: it powered through the entire install now. it's booting the system on 2 servers atm [22:29] gunix: \o/ [22:29] gunix: what did you have to fix? [22:29] nacc: powersj: dpb1: thank you for your help these days [22:29] gunix: yw [22:29] powersj: one memoent [22:29] powersj: and yes [22:29] powersj: well a lot of stuff a long the way. the last part was an error in the documentation that had the right text in the hyperlink but was pointing to the wrong link ... [22:30] gunix: so the debug messages were helpful? [22:30] powersj: rharper: http://paste.ubuntu.com/p/Snhcg9HTvR/ [22:30] powersj: so it actually said ubuntu16-preseed.iso but it was pointing to ubuntu-preseed.iso :D [22:30] powersj: lines 598/599 [22:30] powersj: it was helpful you asked me to look for the debug message. because when i configured them and they didn't show up, it was clear that i was using the wrong iso :))) [22:31] powersj: and i'm trying to use the decorator, because if i do it inline in the testmethod, it leaks to later test methods [22:31] powersj: i could use a context manager instead, i guess [22:31] just feels like it shouldn't be necessary [22:33] nacc: currently that test just fails as your return values are not set or does it even run? [22:34] powersj: it runs, but the mock has no effect [22:34] (afaict) [22:40] powersj: hold on may be PEBKAC [22:43] powersj: ok, it worked, nm [22:43] powersj: sorry! [22:43] nacc: curious what was up [22:47] powersj: i had made a typo, and so i had 6 failing tests instead of 5, the 6th was a red herring as it wasn't fully patched [22:47] s o it was showing me irrelevant, but bad data [22:47] ok :) [23:40] What's the best way to flush dns on 16.04 server?