[00:00] we want only those with package names which start "linux-image-4" [00:00] AND which are "ii" in the first column, too [00:00] that is no more than 2 packages really [00:00] look at lines 19 and 20 [00:01] so linux-signed-generic? [00:01] description is generic signed kernel [00:01] dos "linux-signed-generic" start with "linux-image-4" ? [00:01] *does [00:02] no, ok, but does that start like that i have many lines [00:02] i supose coz i updated online [00:02] i'm looking at http://paste.ubuntu.com/p/Rwy7xwd5xz/ all the time [00:03] and there you have only lines 19 and 20 where there is a package named something which starts "linux-image-4" [00:03] AND where it's 'ii' in the first column [00:03] ok got it [00:03] great :) [00:03] linux-image-4.15.0-30-generic 4.15.0-30.32 amd64 [00:03] that i need on boot? [00:04] yes, we also want the other one, just to be safe [00:04] ok, in case i need to rollback last update [00:04] i guess [00:04] so obviously 'ii' means installed, the o'un' ones are not installed [00:05] this is not precise, in fact these two letters have separate meaninigs as indicated on top of this list [00:05] but this is not relevant now [00:05] so what we need to do now is to reinstall these two packages [00:06] sudo apt install --reinstall linux-image-4.15.0-29-generic linux-image-4.15.0-30 [00:06] sudo apt-get install [00:06] lol going for [00:06] sudo apt install --reinstall linux-image-4.15.0-29-generic linux-image-4.15.0-30-generic [00:06] ^ this actually [00:06] and maybe we'll need the ones without --generic, too,checking [00:07] no this will be enough [00:07] downloading [00:09] done with errors, no groub founded [00:09] i pastebin output [00:10] https://paste.ubuntu.com/p/WC4fXcVM88/ [00:10] i can read no grub found [00:11] i can read "no grub directory found" [00:12] indeed, this didnt go as i expected [00:12] remember that the installer moved grub to the second drive [00:12] as we didnt spected [00:12] maybe that gives u the hint [00:12] but it makes sense, with /boot we also deleted /boot/grub, and that's the root cause of these errors. [00:13] let's just: sudo mkdir /boot/grub [00:13] this just created this directory [00:14] done [00:15] maybe we should reinstall grub2 as well [00:15] all those packages are: sudo apt install --reinstall grub-pc grub-pc-bin grub2-common grub-gfxpayload-lists grub-common [00:17] installing^ [00:17] i still run into errors ther,e and so will you [00:18] yep [00:19] complains on the procesing the linux-image-4..... [00:21] sorry, got us into a bit of a delicate situation there [00:22] hehe dont worry [00:22] my main focus was to learn and you are teaching me so much [00:22] nevertheless is ubuntu mistake not yours [00:22] my pc works and everithing is working [00:23] only ubuntu server suck a bit yet hehe [00:24] wendico: i'm looking into fixing this, just give me a biut of time [00:24] maybe i just install a pirated windows like everybody until ubuntu can make a proper instaler hehe [00:24] of course no worries [00:24] i love that u are helping me [00:24] well there is always the alternate installer in case you want things to work [00:24] not really, im not so much in a hurry [00:25] i mean for next time [00:25] i have a whole week [00:25] to have my server running [00:25] if not, back to windows, what can i do [00:26] i use ubuntu desktop since version 6 with no problem, my windows server finally died today so i decided to give it a try to ubuntu server [00:26] anyways is just a 8 pc network with no domain [00:27] i thought was the best scenario to start learning [00:28] i really do not like pirated windows but im my country no money for those kinds of licences hehe [00:29] i can even leave the server on if you want to continue help me tomorrow, i dont care about light either [00:29] im scared we cannot shutdown without grub and boot or we may have to start over [00:30] and right now the server is up un running [00:32] wendico: okay, so i think we need to: sudo apt purge grub-legacy-ec2 [00:33] done [00:33] then: sudo apt -f install [00:34] and then show the output of this and the previous commands, please [00:34] paste manually to https://paste.ubuntu.com [00:35] first command -- > https://paste.ubuntu.com/p/73HBTdTzKG/ [00:36] for apt-f install ---> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [00:36] lets fix your locales [00:37] sudo dpkg-reconfigure locales [00:38] make sure that "en_US.UTF-8 UTF-8" and your native locale are selected [00:38] your native locale seems to be "es_ES.UTF-8 UTF-8" [00:39] then choose which one should be default. personally, i prefer the english one [00:39] wendico: ^ [00:40] done [00:40] i need es for native coz of keyboard so different [00:41] now let's add a secondary bios_grub partition (we have one on sdc1 already, now we add one on sda1): sudo parted /dev/sda toggle 1 bios_grub [00:41] if not i cant - / or | or even &, i dont find them in other locales [00:41] sure makes sense [00:41] although display locale is about output, not about keyboard input [00:42] but you can reconfigure this later with the same command if you wish to [00:42] done sudo parted with sugestion: You may need to update /etc/fstab [00:42] sudo dpkg-reconfigure grub-pc [00:43] we make sure grub is installed on both sda1 and sdc1 now, in these 1MB bios_grub partition [00:43] leave the first two prompts as they are [00:44] done and verified i have 2 grubs [00:44] on the thrid proipt where you can select disks to install to, select /dev/sda and /dev/sdc [00:44] but i see one inconsistency [00:44] ntfs? irrelevant [00:44] the filesystem on my new grub shows ntfs [00:44] yeps [00:44] that was hehe [00:45] let me know when you'te done with grub [00:45] and show me its output AFTER the prompts [00:45] like when its done [00:45] no outputs and only 2 prompts [00:46] doesnt ask me where to install [00:46] but it did install where it wasnt installed [00:46] how do you know? [00:46] was the second prompt about this? [00:47] i do again to read prompt but was about adding commands [00:48] linux command line that can be empty, second prompt parameters that can [00:48] be empty [00:48] then exits program [00:48] ok, then we do this: sudo apt purge grub-pc [00:49] then: sudo apt install grub-pc [00:50] tell me whether it prompted you during the last command. [00:50] and how many prompts [00:50] yes [00:50] now i got a prompt [00:50] ask me where to install [00:51] i have my 4 drives independent [00:51] sda and sdc [00:51] but i have 2 raids also where i can install [00:51] on the boot raid and on the server raid [00:51] so where i install, on the disk, or on the group for boot? [00:52] or everywhere? :) [00:52] see above [00:52] you dont want grub itself on the raid [00:53] ok, so in each disk, are you sure i dont want it in the /boot array? [00:53] it needs to go either into the MBR, if we had MBR partition tables on those disks, or onthe the bios_grub partition, which we have, since we have GPT partitionned disks [00:53] i am sure [00:54] done with no errors and succesfull echo [00:54] installed in both disk [00:54] selecting sda and sdc there resulted in grub being written to /dev/sda1 and /dev/sdc1 [00:54] those are the 1MB bios_grub partitions [00:55] so thats how we want it [00:55] btw the ntfs flag also gone [00:55] right [00:55] so let's see what's in /boot/ [00:55] ls -la /boot [00:55] ls -la /boot/grub/ [00:55] and pastebinit [00:56] https://paste.ubuntu.com/p/PfThQgJ2Df/ [00:57] looks fine to me, reboot [00:57] ok,im going for, wish me luck :) [00:58] * tomreyn crosses figers [00:58] booting [00:58] :-D [00:58] like, really, and stuff? [00:59] let me log in hehe [00:59] omgomgomg! [00:59] logged on ssh [00:59] yeah [00:59] did you reset the boot order in bios btw? [01:00] you should do that if you havent [01:00] no, let me check, im gonna shutdown and put bios normal order [01:00] sure [01:00] it would be nice to end up with the small SSDs as sda and sdb [01:01] those with the bios_grub partitions on them [01:03] you can run "sudo lsblk" or "sudo parted -ls" to confirm this is the case [01:03] nice, took long to shutdown [01:04] but i fixed bios to correct order so 0 and 1 are the small disk and 2 and 3 the big [01:04] is booting [01:04] hmm this probably means somehting is not right then [01:04] (if it took long to shutdown) [01:04] yes, took longer than expected [01:04] but boots faster than expected aswell [01:05] as long AS it boots i'm ok with the fast boo [01:05] t [01:05] were there lines in red when it was shutting down? [01:06] (you can always reboot more if you feel like it ;- ) [01:07] mmm strange though [01:07] linux shows always same order [01:07] let me paste bin [01:08] http://paste.ubuntu.com/p/tXxCwzhPgp/ [01:08] i dont know why sdb shows before [01:08] i belive i must have connected to the wrong sata port [01:09] should i be able to swap the sata ports on the 2nd and 3rd disk? [01:09] and ubuntu will boot again? [01:09] yes you can do so [01:10] im goonna try to get what u mean, and also to see for any shutdown errors [01:10] ubuntu will boot, thanks to uuids [01:10] gonna go shutdown on the machine instead of ssh to look for error, bb asap [01:10] ok [01:12] lol, sudo shutdown gives 8 min time [01:12] how can i force now please [01:12] :) [01:12] ah no, wrong time [01:12] now shutdown correctrly and fast [01:12] change sata cables and boot again [01:16] maybe it said it was waiting for somethiing and would wait up to 8 minutes? [01:17] or maybe you ran "shutdown" instead off "shutdown now" or "poweroff" [01:17] solved [01:17] http://paste.ubuntu.com/p/pq2sw9d9Xq/ [01:17] good job! [01:18] may i ask u last question? [01:18] of course [01:18] why i see on that last pastebin [01:18] 2 times 2GB partition [01:18] on each disk i dont get it [01:18] let me underline what i mean [01:19] you can tell me th line numbers [01:19] ─sda2 8:2 0 2G 0 part [01:19] │ └─md126 9:126 0 2G 0 raid1 /boot [01:19] 6,7 + 12,13 ? [01:19] exactly [01:19] that i dont get [01:19] so sda2 is a partition, which is roughly 2 GB in size [01:19] is not that i care waste 2gb is that i dont understand [01:20] on top of this partition, we have created an md device, which is roughly 2 GB in size [01:20] ahhhh [01:20] ok i get it now [01:20] you're not wasting anything [01:20] its all in use [01:20] thank you very much very much [01:20] ':) [01:20] if anytime i can do something for you... [01:21] i'm happy, thank you [01:21] even come to couchsurfing to spain you are invited [01:21] hehe thanks [01:21] u just teached me a bunch [01:21] i also trained byself [01:21] *myself [01:21] and server boots and reboots awesome [01:22] and we found some more bugs in this %§"&%" installer [01:22] heheh right [01:22] whic hi need yet to report [01:22] i guess ubuntu people are recording this to improve, are they? [01:23] record what, the chat? [01:23] i though so [01:23] i doubt anyone will spend the time to read all of this :) [01:23] i though maybe canonical or something would read here to improve software [01:23] though apparetly someone had followed us for some time [01:23] they read the bug trackers [01:23] im to naive [01:23] but some developers are here, too, thats right [01:24] but its not their business hours now [01:24] o, right so, should i write something for the ubuntu group? should i explain the problems i have in a bug report somwhere? [01:25] during the day oyu could maybe get some help here with complex server issues. and generic ubuntu support questions you can get help with in #uubntu [01:25] i dont care to help after being helped so much [01:25] but this is all volunteer work [01:25] oh i see [01:25] how wonderfull voluntiers then [01:25] i will file bugs shortly, you are welcome to review and add to them if you feel like it. [01:26] (but i dont expect this from you) [01:26] ok, for example, even the boot usb dont work correctrly [01:26] what do you mean there? [01:26] stays on a boot loop error thing [01:26] and i have to hit TAB [01:26] that's not usually so [01:26] in order to boot the ubuntu server to install on my usb [01:27] i used 3 pendrives and 2 downloads [01:27] always same problem when boot on usb [01:27] mabye you have a bad pendrive, or a bad download, or both [01:27] oh ok [01:27] just hit tab [01:27] then i can write live [01:27] then works [01:27] if not, no boot [01:28] hmm, i'm not sure what this is, haven't seen this [01:28] i found solution online first page, let me point u to the problem i found [01:30] here finally [01:30] https://askubuntu.com/questions/67780/not-a-com32r-image-error-when-trying-to-install-from-a-usb-key [01:31] this happends all the time i try to boot from the usb we just made our server run [01:32] shows the com32r error on a loop until i hit TAB [01:32] i suspect that's actually a bug in your bios there [01:33] ohhh ok, can be, is a very old bios [01:34] i will try the boot in my office computer tomorrow to make sure [01:34] hmm, or maybe it was the utuility you used to write the iso to the usb [01:34] but have sense [01:34] which utility were you using? [01:34] i used ubuntu desktop built in utility [01:35] the "start up disk creator" [01:35] on which uubntu release? [01:36] this utility is also known as "usb-creator-gtk". it was buggy in some past ubuntu releases, i think in 14.04. [01:36] 14.04 [01:36] :) [01:36] lol [01:36] ok [01:37] now i understand [01:37] you can always use "etcher" from http://etcher.io [01:37] but my old laptop have compatibility issues with more modern [01:37] it works pretty well, and on all major operating syste4ms [01:37] downloading [01:38] everytime i go over ubuntu 14 on this laptop i have many hardware problems [01:38] thats why im stuk here yet hehe [01:38] maybe that's something to look into tomorrow then ;) [01:38] hehe, i prefer to learn on my new server [01:38] try to get the bios updated if you dont have the latest versions [01:39] but thank you [01:39] welcome ;) [01:39] i dont think i should try to fix this laptop haha look at it [01:39] is it falling apart all by itself? [01:39] yes haha, i was goona pastebin but no need [01:39] has not even keys allready [01:40] jajajaja [01:40] is one of those laptops nobody knows how can work haha [01:40] its difficult to know if it doesnt have keys [01:40] i have to plug keyboard hehe [01:41] but many othre problems [01:41] dont bother about [01:41] at least i can talk here is mainly fot what i use it [01:41] is my tool to be connected while solving the other computers hehe [01:42] yes its good to have something liek this [01:42] if this server make it work correctly im gonna get a pc as gift [01:42] finally an up to date pc [01:43] good luck there. [01:43] i dont even have virtualization technology on mines [01:43] i will get it [01:43] i dont want to bother u more [01:43] i should be studing now to configure my new server as router, proxy, firewall and nas [01:44] you should, and i'll be filing those bug reports now, but wioll be back later. bye bye, in case you'll leave in the meantime! [01:44] i can do all that in windows server, so i hope i can do it here [01:44] ok, thanks for all [01:44] you're still welcome ;) [03:35] Hello! I can't finish installing Ubuntu 18.04.1 Server by ubuntu-18.04.1-live-server-amd64.iso [03:35] Somebody's here? [03:36] a few hundred somebodies :) [03:36] Emmanuel_Chanel: you need to give more info than "I can't finish installing". Also this tends to be a less active time of day for the channel so you need some patience before you get a response [03:37] sarnold: and you have a summons for your opinion :P [03:37] hey teward :) [03:38] (don't ask why i'm even awake right now, I should be in bed >.>) [03:38] (been a long week and i'm tired but blah) [03:38] Oops... [03:39] I mispasted. Correctly, ubuntu-18.04.1-server-amd64.iso [03:39] same problem: not enough details. explain where it hangs on installing, what errors it provides if any, etc. [03:40] And partman doesn't progress at "47%" [03:40] teward: Right. So I try additional explanation. [03:40] sorry i'm impatient when i'm tired :P [03:40] How long do I have to wait for the progress? [03:41] And if I deleted the partitions, the installer progresses to Software Selection part. But the loop occurred. And unprogress occurred again. [03:42] It repeats 0% - 12% [03:42] teward: Well, your word helps me a lot. I'm very tired and I can't name the detail without the situation that nobody asks me. [03:43] i'm probably going to have to head off within a few minutes so not sure how much help I can be :P [03:43] insomnia might finally go away at any moment :| [03:46] teward: ugh. insomnia sucks :( [03:46] sarnold: indeed it does. and i didn't sleep well last night either, so insomnia on top of being extremely tired is not the best combo [03:46] Emmanuel_Chanel: maybe swap to another virtual console and check dmesg, or log messages.. [03:55] Is the iso on jigdo updated from the torrent's? [03:56] The partman's stop is for scanning partions of the HDDs. [03:56] The loop on the software selection, I don't find the answer. [04:38] good morning [04:40] Heya. === krytarik is now known as Guest76866 [06:01] Good morning === zoli is now known as Guest58977 [06:12] Hello, when I pxe boot ubuntu-server 18.04.1 and trying to install it in Virtualbox, installation fails [06:26] morning, maybe there is any way to make system to wait until systemd service is started and then continue to boot? [06:39] Can't we boot a GPT system HDD on Ubuntu 18.04? [06:53] Hello, when I pxe boot ubuntu-server 18.04.1 and trying to install it in Virtualbox, installation fails, check out this screenshot: https://i.imgur.com/1pIIDxx.png [07:07] Emmanuel_Chanel: yes [07:24] MAAS install also fails [07:45] Can't we boot a GPT system HDD from BIOS on Ubuntu 18.04? [07:45] Sorry for my lack of the words. === miguel_ is now known as Guest87066 [10:43] good morning [10:43] Emmanuel_Chanel: yes you can [10:44] Emmanuel_Chanel: have you checked the md5sum of the iso you downloaded? [10:44] Oh, not really. [10:45] Someone says that Ubuntu 18.04 disables us to boot a GPT disks from BIOS. So I asked. [10:46] Thanks for answering me. [10:51] I'm not sure what "boot gpt disk from bios" means, though [10:52] I mean, I don't know that it is a special case (gpt disk booting) [10:52] it boots fine in legacy mode, and uefi mode [13:07] Emmanuel_Chanel: what you say might be related to this bug? #1786384 [13:07] bug 1786384 [13:07] bug 1786384 in subiquity "Boot failure with BIOS /bios_grub with multiple disks" [Undecided,New] https://launchpad.net/bugs/1786384 [13:08] Maybe. I don't really know. [13:09] ok, i guess we can't tell without more info. [15:01] cpaelzer: rbasak do you remember if debian has a problem with having ssl-cert (snakeoil certs) as a depends in a package? [15:01] it's one of the deltas we have [15:01] and one of the reasons their squid dep8 tests are failing. They adopted our tests, but didn't adopt that bit in the package [15:01] which I can submit to them, but whenever I hear ssl.*debian, I think openssl, and licensing issues [15:04] I'm not sure if Debian does snakeoil? Or did they implement it later, but differently? [15:04] the package is the same, and it installed the certificates where apache expected them [15:05] went from this: [15:05] Aug 10 14:58:48 autopkgtest-lxd-xprozj apachectl[2817]: SSLCertificateFile: file '/etc/ssl/certs/ssl-cert-snakeoil.pem' does not exist or is empty [15:05] to [15:05] Active: active (running) since Fri 2018-08-10 15:00:53 UTC; 3s ago [15:05] I'm not sure then. [15:05] all I had to do was apt install ssl-cert [15:05] Perhaps they'll take it now. [15:05] * rbasak wonders how snakeoil interacts with certbot [15:05] then use certbot/letsencrypt instead [15:05] certbot still needs user interaction [15:06] (and we're working on improving UX on Ubuntu, but certbot in the archive is still a poor experience right now) [15:06] (improving _certbot_ UX on Ubuntu) [15:06] So it can't deprecate snakeoil completely. Hence snakeoil is still useful. [15:07] It'd be nice to get snakeoil well integrated with certbot though. [15:07] Providing a self-signed cert to start, but a very smooth UX to get it to letsencrypt-issued one. [15:07] I could add it just to the dep8 depends for now [15:07] and poke them if they would take it as a depends of the package [15:07] Perhaps a Recommends? [15:07] would still be a delta [15:07] we have it as a depends [15:07] I'm still going to look over that in detail [15:08] what it means for squid to have ssl-cert [15:08] having it as a depends in d/t/control would be a no-op for us, and would make the tests pass for debian [15:11] OK [15:13] ahasenack: dovecot changed to snakeoil in 1:2.2.31-1 [15:13] ahasenack: so it does exist and is used in Debian [15:13] as in, the ssl-cert package? [15:14] Depends: ssl-cert [15:14] ahasenack: yes [15:15] cool [15:18] ahasenack: FYI https://salsa.debian.org/debian/dovecot/commit/05d3d0f [15:20] thx [15:31] anyone know a place where I can discuss about HP hardware raid controller? I need to convert a raid1 (2 600G disks) into a raid10 (2 600G and 2 2TB) using hpssacli [17:37] i just did another installation on a uefi VM with two sata storages, using the server live installer. the installation log contains the output of "grub-install --usage" four times. should i be worried? [17:38] tomreyn: can you paste them somewhere? [17:38] example screenshot http://i.imgur.com/Gz48c29.png [17:38] that doesn't look right [17:38] i asusme th einstallation log will be preserved at /var/log/install on the target system? [17:39] tomreyn: yes [17:39] ah, wait [17:39] I don't know [17:39] it did boot at least [17:39] that's good :) [17:39] if the logs are still there, would you mind opening a bug and attaching them? [17:39] tomreyn: https://bugs.launchpad.net/subiquity/+filebug [17:39] i forgot to zero the drives beforehand, it's possible that grub was already installed. [17:40] sure, will be happy to [17:40] there have been such bugs in the installer where it didn't zero the drives [17:40] we have seen that with zfs and raid [17:40] thanks tomreyn [17:40] it's raid + lvm [17:41] I assume you are using a VM to test it first? [17:42] yes, it's a VM (as i wrote above) [17:43] http://paste.ubuntu.com/p/7RGXrzJsSW is the log [17:45] ahasenack: i'm not sure what the bug report should be about, since this time it actually seems to have done what i configured in the installer. [17:46] geez, is it really calling "grub-install --help"? [17:46] I suggest the bug be about that ^ [17:47] i would have assumed grub-install returns the --usage output because un unknown option or incorrect syntax was passed [17:47] there seem to be some debugging messages in there [17:47] you didn't add any, while troubleshooting something? [17:47] look at lines [17:47] 2300, [17:47] and 2327 [17:48] i did not spawn a shell / switched tty's from the installer [17:48] mwhudson: around? [17:48] might be too early still [17:49] and the log is a direct pastebinit from the booted system [17:49] then file away [18:04] bug 1786525 [18:04] bug 1786525 in subiquity "Dumps "grub-install --help" output to curtin-install.log" [Undecided,New] https://launchpad.net/bugs/1786525 [18:04] * tomreyn bbl [18:08] thanks [18:35] basic quesiton: i have a directory /backups and have my home directory: /home/jak i want create a link permanently on: /home/jak/backups how to? [20:37] ahasenack: looks like it's on purpose [21:11] hello [21:16] Well I'm stumped by netplan, I basically just copied the example from https://netplan.io/examples#dhcp-and-static-addressing for the right values for a static address for the server on my network and now the interface isn't even coming up. [21:22] keithzg: netplan apply ? [21:24] roaksoax: Yeah I was doing that and then the interface just wouldn't come up. I *just* noticed the problem though: I'd typo'd the random (well, not random, but random to an unknowing human!) numbers in the ethernet adapter name, whoops! [21:24] I still reserve a bit of dislike for netplan though since it apparently hates tabs :P [21:24] has anyone in here managed to get psensor-server to run as a manually created service without it shutting down instantly on Ubuntu 16.04? [21:25] keithzg: ha :) I quite like netplan :) [21:26] roaksoax: Other than YAML's distasteful prohibition against tabs and that it didn't really make clear that I was trying to apply rules to a nonexistent device, it *does* seem pretty neat so far. [21:27] * keithzg was half-tempted originally to just use /etc/network/interfaces anyways, but it's always fun to learn new things, particularly if they're not unnecessarily complicated; and netplan does seem nicely simple in most ways. [21:28] nvm I think I have it figured out guys [21:29] havenstance: what was it? [21:29] sarnold, didn't specify the end command [21:30] wrote a script to just pkill it, haven't tested yet as I'm still rewriting the service, will report back in a few if I managed to get it working [21:30] I hope there's a better way than just pkill.. [21:31] if it were any other program in the world I'd worry about it, but since it's just monitoring temps I installed it simply for the GUI so I could watch system temps on the server from my desktop lol [21:31] aha :) [21:31] unfortunately the program doesn't include a start script or an end script [21:31] yeah I can see that [21:32] I'll probably write a tutorial after this to help anyone else who comes across the issue, and hopefully the community can help correct my terrible coding lol I'm not at all a vet, I've used ubuntu for years, but mostly just to play around, only recently have I really gotten into building things to make it do what I want [21:32] and frankly seeing how easy it is, Microsoft can keep windows lol [21:33] :D [21:43] sarnold, it's working now [21:43] woot [21:45] is there a place to write a tutorial for this? cuz I feel like someone in the community would benefit from knowing what I just did lol [21:46] you could pop up a new page on the wiki, or perhaps ask a question and then immediately answer it on askubuntu [22:05] mwhudson: So apparently "/RAIDs/RAID-1/My awesome RAID-1 (fresh and shiny)" is not a valid md device name according to mdadm (but it is according to curtin / 18.04.1 live server installer). [22:05] is it worth it to file more bugs about similar issues or should i wait until there is a version which does basic input validation? [22:10] while it might sound differently, i dont mean to blame you personally, or any developer, i'm just disappointed by the overall result of how bleak what was chosen to be the default installer for 18.04, and still for 18.04.1, looks altogether. [22:18] tomreyn, have you found other fields that fail? [22:30] powersj: i haven't verified, this, yet [22:30] hello there, finally im ready to continue learning ubuntu server. My server is installed and running and i am connected with my desktop on ssh, but... [22:30] here are my accepted inputs http://i.imgur.com/ZgmorAs.png http://i.imgur.com/RYK8dmI.png [22:31] pretty [22:31] im an old windows server user, i will like to have a small talk on posibilities and realities of nowdays, know what my server can do by default, etc [22:31] powersj: ^ i assume the VG and LV name would also have failed [22:31] if anyone would like to have a talk with me about this server things on my mind, i read a lot but questions solve to slow reading [22:32] i would like to know what i want to learn before i learn it i mean, because i really want to learn, i dont just want to ask you the commands to make my server a router for example [22:33] wendico: have you found 'apt-cache search' and 'apt-cache show' yet? [22:33] may i just drop questions here?, maybe is offtopic, someone want to privete me about server services now days on private, im fast typer and learner [22:36] apt-cache show shows no packages found, but giving me that command means i cant explain myself im sorry, english third language [22:36] im limited on the amount of info i can learn coz im old, nevertheless i want to be able to run an ubuntu server with basics services. im expert runing windows domains, could someone have a talk to me [22:37] so i can explain what services i want to run then can lead me to the path of commands i should master [22:37] i have no mind to be an expert [22:37] wendico: do you know https://help.ubuntu.com/lts/serverguide/ ? [22:37] yes but it is for dumb people [22:38] i read 4 pages to learn sudo [22:38] i would love to someone spend sometime with me so i ask straight questions and learn just what i need [22:38] wendico: Onlt 4 pages!!?? Wow, I/m still learning it after 15 years! [22:38] s/Onlt/Only/ [22:38] hmm, i think i would find it useful if i was new. [22:39] at least im sincerily accepting i have not the capacity to learn it all [22:39] nevertheless i installed my server on software raid and running on ssh and is my first try, of course guided here [22:39] there's no need to 'lern it all', no one can. but you can focus on one task / problem at a time. [22:39] (ty tomreyn) [22:40] so im sure, instead of just teach me full task of each problem at a time [22:40] and there actually is a lot of documentation out there which can help [22:40] i could explain all services in one time i want to be able lto manage [22:40] and then u answer me in one line wich commands i have to master [22:40] could that be posible? [22:41] i can suggest softwares for functionality you want to configure [22:41] if that's what you're asking [22:41] thank you you just got me, so let me repeat the correct straight question [22:41] i'm not going to be able to spend another night with you today, i'm afraid [22:41] of course thats why [22:41] ubuntu ships 62000 packages [22:42] there's no way to summarize all that qauickly [22:42] that's why I asked if you've seen apt-cache search [22:42] it lets you find which thousand packages might be relevant to your interest [22:42] so i have an ubuntu server running out of the box and i just want to use it as gateway, router, firewall, proxy and nass [22:42] and then apt-cache show to show you information on each in turn, so you can decide which packages to try [22:42] wendico: would it help you to see a program that is designed to manage most of the server packages and exposes the settings in logical groupings? [22:43] what commands should i start learning to master configure networks, routes, firewall rules, proxy cache and files access [22:43] wendico: For your gateway/router/firewall I'd recommend shorewall, which presents a HTML based GUI to organise things, which helps understand how everything fits together as well as the individual 'power' settings [22:43] or that is good for me to, what "software" gui could help me achive those jobs [22:44] tj, yes a program to manage server packages also help please [22:45] wendico: for a much wider view I'd recommend the related projects webmin, usermin, and virtualmin. They aren't packaged in Ubuntu but you can get debian packages from the upstream source. [22:45] going into learning shorewalll [22:45] i allready started learning iwconfig and ifconfig [22:45] skip ifconfig, learn iproute2 instead [22:45] thank you, noted, ifconfig deleted [22:45] unfortunately lartc.org is down :( [22:45] here's a mirror .. probably old :( https://www.tldp.org/HOWTO/Adv-Routing-HOWTO/ [22:46] learn netfilter, iptables [22:46] wow you are all so helpfull, im glad i could express myself, u are really helping me [22:46] i dont want like yesterday tomreyn guiding me 2 hours [22:46] now u got me and my limits [22:46] thanks all for the support [22:47] wendico: I strongly recommend avoiding webmin, usermin, and virtualmin, etc. most of the time those front-end things are terrible code quality and security problems [22:47] wendico: take a look at squid for your proxy/cache needs [22:48] wendico: and NAS .. that's a big topic. samba is the SMB-compatible server, but you could also just use nfs and skip that giant headache [22:48] i second that shorewall is a good choice for gateway/router/firewall. since you run 18.04.1 server, you can use netplan to configure your network interfaces. [22:49] tomreyn: noted on my notepad, studing to achieve it [22:50] sarnold: squid noted, avoiding bla bla bla noted [22:51] sarnold, thats what i though, all my clients gonna be windows, so i will just nas ntfs [22:51] noted down [22:51] wendico: ah. then squid. :) [22:51] sigh. [22:51] samba [22:52] uuh did you just recommend webmin and usermin, TJ? i wouldnt dare to, think they break more than they help. and they prevent you from learning. [22:52] wendico: if you want a prox/cache for many Debian/Ubuntu PCs on the same network fetching packages only once via the Internet, then sharing them locally, look at squid-deb-proxy and squid-deb-proxy-client [22:52] tomreyn: not so, that's been false for over 10 years [22:52] maybe coz he though i want fast and unestable, i noted sarnold recomendation thought [22:52] tomreyn: I've used them extensively and they've not broken anything, including release upgrades [22:53] i want limited but stable even though slower [22:53] tomreyn: there was some hiccups around 2004-5 since then they've been very stable [22:54] TJ-: hmm, ok, i have not used them for a long time, and only short when i did. it just feels wrong to use a webinterface to handle file system ACLs etc. but maybe i should revisit it some day. [22:54] ok, i like pros opinions and since i got a new used spare hardware i will test the webmin and all that in a second test enviroment [22:54] just in case im not able to learn to do it without those tools [22:54] writtinng it down [22:55] TJ-, I like webmin to a point, I just think the first thing a hacker is gonna look for is an open port 10000 because then your only protected by the complexity of your password at that point [22:55] tomreyn: that is not something it focuses on at all, [22:55] so as long as you use the webgui in your local network and don't open that port to the outside world I'd recommend webmin [22:55] 2003/4/5 is probably when i last used those. [22:56] but if I were doing an all in one network server I might recommend Zentyal over webmin. [22:56] btw, with proper configuration and a wifi network card, this ubuntu server can my my wifi gateway for the cellphone clients, cant it? [22:56] but it's purely based on user preference at that point, cuz some people prefer CLI, some people prefer webmin, some people prefer zentyal [22:57] i didnt know but i allready istalled a 300mb wifi card, i asummed for sure [22:57] My point with webmin and friends is to learn the relationships of all the settings of many packages in a consistent way. It presents them in logical groups but still writes the underlying config files according to the way the projects require, so you can do things in the GUI that are quite complex, then look at what settings get changed/created in the underlying config files [22:58] exactly tj, thats why i noted it and i will do it in parallel in the test server [22:58] so i can use gui to make changes, look at them, and then not use gui on production server [22:58] TJ-, like I said I can get behind webmin, and any forks thereof, as well as zentyal in that regard, Zentyal is what taught me a majority of what I know of CLI just by doing what you said, run the options and read the logs [22:58] is a good tip [22:59] Same goes for Shorewall [22:59] Many people only want to configure a package once; don't have the time or inclination to want to become experts in each project, just feel they've got it about right without unintended consequences [23:00] TJ-, I agree with that, I used to work for a guy who used webmin on an old ubuntu server, I spent more time troubleshooting his mistakes than I ever did doing anything else [23:00] maybe the first thing to focus on should actually be backups [23:01] backups... ummm... [23:01] tomreyn, that is the best advice for anyone new, I can't tell you how many times I've broken my system screwing up one line in a config file [23:01] i actually do have backups always of everithing multiple times [23:01] but actually i spent lot of time a week doing so [23:01] it's boring and sometimes a bit annoying but it's something you'll just postpone later since there'll always be something better to do. [23:01] absolutely, like I said can't tell you how many installs I've fragged by not doing it lol [23:01] auto back ups will be so cool for me [23:02] One example where I still find it easier to use the HTML UI is Virtualmin's management of postgrey, the postfix grelist add-on for preventing spam. When I need to add exceptions I can never recall the correct format or files to edit - it makes it trivial and prevents me making mistakes [23:02] TJ u are right im on that school, im very old computers invented when i could buy one, and i have always been so lazy [23:02] Version control over /etc/ is a very useful thing too [23:02] i loved linux [23:02] but just click is so easy.... [23:03] i becamed lazy [23:03] but the people that program those uis are not the experts and their ui option sends wrong command [23:03] ooops [23:03] anyone in here use 18.04 server yet? [23:03] that didnt hapend old times [23:04] if there where a ui, the ui always worked [23:04] I started with Linux servers in the late 1990s when it was hell to figure stuff out so maybe I'm biased due to that because these HTML UIs taught me so much and gave me confidence and insights I wouldn't have gained by editing the raw config files, or reading the (often) poor documentation [23:04] havenstance: Yes, all my stuff went to 18.04 during the beta [23:04] TJ-, I can't disagree with you on that, like I said, I learned a ton from using HTML stuff as well [23:05] TJ-, does it have the same annoying feature Debian Stretch has where if you input a root password it doesn't install sudo? [23:05] I never set a root password :) [23:05] i did just the opposite way, since emule was legal in my country, i always could find the code written for what i needed [23:05] even for hacking [23:05] cain, abel.... [23:06] no command send [23:06] just 3 clicks [23:06] TJ-, I won't after that fiasco ever again lol, but does it ask for said root password on install like stretch did? [23:06] now im garbage in nowdays computers hahaha [23:06] TJ-, nvm I'll just do a VM and check it out :) [23:07] havenstance: I've never seen Ubuntu do that ever! I didn't realise Debian did! [23:07] havenstance: then again many of my deployments are from 'cloud' (hate that word!) images, or debootstrap [23:07] TJ-, updated Jessie to Stretch for a buddy of mine, and we fought that thing for like 3 and a half hours to try and get sudo working [23:07] Jessie had sudo by default tho [23:08] eventually I talked him into scrapping Debian and going with Ubuntu and he's surprisingly even doing better than I do in CLI most times lol [23:10] for me tho it's only recently been about the last year or so that I've even experimented with scripting things and actually getting under the hood of Ubuntu, and I must say it's been enjoyable [23:10] I'll tell you something I take extreme issue with for several core server packages. Freaking out and refusing to work if their /etc/ directories are set g+w! I mean, what gives? I want to allocate admin groups who can edit without needing root rights in any way. There's no security hole. sudo breaks, ssh will refuse to start, and several others I forget now [23:10] The entire point of groups/ACLs is to allow non-root managemeent [23:12] I've recently hacked on vagrant-libvirt/vagrant-mutate to do som deploymnet/orchestration testing locally using QEMU/KVM and that's been 'fun', got those issues fixed and now Ansible is thwawting me :) [23:12] lol I have to say I've found that if you have the patience to work thru it line by line, most times Linux tells you why it's b0rked [23:12] lol [23:14] yeah, I was demoing to some Windows users at a charity I volunteer for, all the logging Linux does as it boots for example, and in /var/log/ - these were just 'users' who pilot Word and Excel, and they fell in love with Linux immediately - especially the speed and power of the shell for piping output to filter results. I was amazed how they responded; was expecting them to have eyes glazing over. [23:15] As a result I am developing a plan to completely replace Windows throughout with Ubuntu [23:16] The way their eyes popped when I Alt+Fx-ed between the consoles to demonstrate the multi-user nature was a sight to behold :) [23:27] TJ-: try to do that with windows logs ;) [23:27] `sudo apt-cache show`says E: no packages found. I understood sarnold that command should show thousand of available packges, what did i miss? [23:27] wendico: a package :) try apt-cache show bash [23:28] Yeah, personally I gravitated towards Linux ages ago because I always manage to find myself with computers going terribly wrong, and at least with Linux I could reasonably find out what and why and fix it, whereas Windows is often just a confusing mess with a black box in the middle . . . [23:29] Hrmm drat, I was hoping to switch from MySQL to MariaDB at work here, but the version in the 18.04 repos is still too old to upgrade from the MySQL version we were using on 16.04, and MariaDB's own repos for 10.3 give unmet dependency errors :( [23:29] apt-cache show bash shows basic info and that i have minimal install, maybe is that i have really no package yet hehe [23:31] iptables work as sugested to learn but netfilter also says command not found [23:31] RoyK: I was dealing with the company that manages the Windows AD server last 2 days; 1stly they couldn't add a PC to the network because the local Admin password doesn't work (so I booted it from my Ubuntu USB flash and ran chntpwd on it!) and they can't figure out why DHCP leases for new devices on the Wifi don't get issued for 3 hours. So far its not occurred to them to read the Event Logs :) [23:31] wendico: netfilter is a whole framework for firewalling, packet manipulation, etc.. there's a lot more to it than one command ;) [23:32] keithzg: hrm, I'm surprised about the unmet deps on their repos.. are you sure you picked *ubuntu* and not *debian* repos? [23:32] TJ-: rotfl [23:32] sarnold: Uhhh it's Friday and I was literally typing into the wrong terminal whoooops [23:32] keithzg: oh! :) [23:33] sarnold: ty, noted down, and last question, UFW command has never been mentioned here but is installed by default, is that a replacement for netfilter or iptables? [23:33] wendico: no; ufw is a simple front-end for iptables that's supposed to be easy for easy situations [23:34] wendico: to make 'apt-cache show' work you need to 'apt update' first. also there's an installer bug which we did not fix last night https://launchpad.net/bugs/1783129 [23:34] Launchpad bug 1783129 in subiquity "Only "main" component enabled after install" [High,Confirmed] [23:35] thank you, so if i could really master iptables, that would be enought for firewall and routing then not need netfilter or shorewall? [23:36] this is correct, but it can have a somewhat steep learning curve, depending on where you come from. [23:36] iptables is built on netfilter; knowing how netfilter works would be helpful [23:36] if ufw works for you, then you can skip shorewall, but I doubt ufw will work for you [23:37] i just used the commands to enable ufw and enable just ssh trafic and seems worked on default installed server [23:37] yes, that should work great :) but NAT or routing may be more than it is prepared to handle [23:37] nevertheless i need more control, is not ennough, so i go into iptables [23:37] exactly [23:38] ufw works fine for simple port blocking, but not for routing with multiple interfaces and different policies. [23:38] i will install downgraded virtual machine to check on netfilter and delete [23:38] and i will install a simple one disk server to test all the other tools [23:41] now really last question, is samba installed by default and the squid-deb-proxy is worth if i only have one ubuntu client? [23:42] samba shouldn't be installed by default [23:42] and squid-deb-proxy is probably not worth it for just one machine; unless you're building packages on that machine.. [23:43] and for normal proxy-cache services, i think im missing that answer, if i decide to master iptables and not use shorewall or similar, what packages should i master for internet proxy cache services? [23:45] just plain 'squid' for proxy cache [23:45] thank you [23:45] squid-deb-proxy is pre-configured to accept the huge objects and long lifetimes that debian packages usually have [23:47] ^that is no suggest to disable it since i wont have ubuntu clientes? [23:47] no=to ^ [23:47] yeah [23:47] ty, [23:47] squid-deb-proxy wouldn't provide you with much benefit if you've only got the one machine, and it'll add another 30 seconds to every single reboot [23:48] thats what i though, im the only brave enought to use ubuntu, all other 6 clients are windows [23:48] I *love* it on my laptop, since I build packages there, it really helps -- even though I've got a local archive mirror in the basement, it's still only connected over a gigabit network, and having most of the packages locally already makes those go *way* faster [23:48] and i have a good line and a total of 7 clients plus cellphones, is actually ridiculous for experts like u haha [23:50] Hey, I'm attempting to install ubuntu server on a machine and I'm having some trouble. [23:51] It ends up posting "Could not delete variable: No such file or directory" to stderr int he end. [23:52] Any idea why this might be happening on ubuntu server 18.04.1? [23:52] do you have any other context on screen? [23:53] in isolation I'm not sure what that would be [23:53] Unfortunately I rebooted before I came here to maybe check if it was a hard drive issue. [23:54] I can give more details after I try again. === keithzg_ is now known as keithzg