[00:06] <vacho> grep -r 'pattern_to_match' directory_to_search
[00:06] <vacho> I am using that command, but I want it to just list the files, and not output the file content.
[00:15] <sarnold> vacho: grep -rl is probably what you want
[00:23] <aleksandrdvorkin> if i want to install the mysql the mysql dev.mysql.com/ gives options which one is good for Ubuntu Linix-generic(glibc2.12)(x86,64 bit) tart or just generic Linux(x86,64-bit) Tar i am using x86 system
[00:25] <sarnold> glibc 2.12 is probably pretty ancient; the other build may be newer. what does that version provide that the version in the archive doesn't have?
[00:25] <gry> aleksandrdvorkin: does https://dev.mysql.com/downloads/repo/apt/ work for you?
[00:27] <aleksandrdvorkin> gry to install that package i do apt install packagename?
[00:30] <gry> dpkg -i
[00:33] <aleksandrdvorkin> so sudo dpkg -i /PATH/Version-specific-packagename.dev is the path where the package is located or where it will be isntalled
[00:35] <gry> it will grab it from there, but install somewhere else
[00:35] <aleksandrdvorkin> does it matter where it will install
[00:36] <eraserpencil> would someone help me debug my pythonpath settings, i need python 2.7 on my 16.04 install, and have lots of trouble getting virtualenvs working. might have messed up my pythonpath settings along the way
[00:44] <Bashing-om> !info python xenial | eraserpencil
[00:46] <vacho> sarnold: thanks friend!
[00:46] <sarnold> vacho: you're welcome :)
[01:02] <eraserpencil> just not sure why sudo apt install python3-pip goes into /usr/local/lib/python2.7/dist-packages
[01:06] <aleksandrdvorkin> another question if i have a tar.gz package to install do i do tar packagename?/
[01:07] <eraserpencil> tar -xzvf
[01:07] <eraserpencil>  tar -xzvf packagename
[01:07] <aleksandrdvorkin> ok new that
[01:07] <sarnold> I like to do a tar tf first to make sure that it isn't going to unpack to silly places
[01:07] <aleksandrdvorkin> i am trying to install the php
[01:08] <aleksandrdvorkin> so where should i untar it
[01:08] <aleksandrdvorkin> unpack it
[01:09] <aleksandrdvorkin> by default it will be downloaded to /home/aleksandrdvorkin/Downloads
[01:09] <aleksandrdvorkin> so if i tar -xzvf php.tar.gz it will be in the Downloads dir
[01:09] <aleksandrdvorkin> installed
[01:09] <sarnold> it'll depend upon your current working directory
[01:10] <aleksandrdvorkin> what do you mean by working directory
[01:10] <aleksandrdvorkin> i rarely install packages i install using sudo apt install
[01:10] <sarnold> type "pwd" -- that'll report your current working directory
[01:11] <aleksandrdvorkin> pwd -- returns /home/aleksandrdvorkin/Downloads
[01:11] <marijuana> ubutnu packages are .debs.  not .tar.gz
[01:11] <aleksandrdvorkin> ok
[01:11] <marijuana> you either have source or some binaries that you'll need to put into the appropriate places
[01:11] <sarnold> marijuana: aleksandrdvorkin's got a php application for setting up a web store, it's not packaged in ubuntu
[01:18] <OerHeks> zen-cart ?
[01:18] <OerHeks> easy howto .. https://hostadvice.com/how-to/how-to-install-and-configure-zen-cart-on-an-ubuntu-18-04-vps-or-dedicated-server/
[01:20] <aleksandrdvorkin> and again the question on how to removed the locks off all the files in a directory what would be the command
[01:20] <aleksandrdvorkin> sudo chmod -r 755 /*
[01:20] <aleksandrdvorkin> ?
[01:20] <OerHeks> lock on files in /var/www/ ??? then apache is running, no?
[01:21] <aleksandrdvorkin> yes
[01:21] <aleksandrdvorkin> but the Webstore server setup complains
[01:22] <aleksandrdvorkin> Main /includes/configure.php file either does not exist  is not readable or is not writable
[01:23] <sarnold> aleksandrdvorkin: what do you mean by "locks"?
[01:23] <aleksandrdvorkin> so i checked the /var/www/html and all the folders are with locks on them even though i renamed the dis-config.php to config.php it still gives out the above mentioned complaint
[01:23] <aleksandrdvorkin> well in GUI it shows locks on folder
[01:23] <sarnold> what does it mean for a "folder" to be "with lock"?
[01:24] <aleksandrdvorkin> i guess it permissions are for root only to be accessible
[01:24] <aleksandrdvorkin> and?
[01:25] <aleksandrdvorkin> and /or for the folder cannot be written to
[01:25] <aleksandrdvorkin> or smth like that
[01:25] <sarnold> aha, guis are usually not able to convey well what permissions and owners look like
[01:25] <sarnold> ls -l is usually a better choice
[01:26] <aleksandrdvorkin> ls -l the directories are all owned by root
[01:27] <sarnold> so if you want to put your application in root-owned directories, and the application provided an installer, you probably want to run the installer as root
[01:29] <aleksandrdvorkin> i have the entire contents of the webstore server files in my /var/www/html
[01:30] <aleksandrdvorkin> but localhost/zc_install/index.php Complaints
[01:30] <aleksandrdvorkin> System inspection page
[01:30] <aleksandrdvorkin> some problems that need to fixxing before continuing
[01:31] <aleksandrdvorkin> Main /includes/configure.php file either doesnt not exist or is not readable or is not writable
[01:31] <aleksandrdvorkin> i therefore after rading the Implementation changed the name of the dis-config.php to config.php
[01:32] <Ascavasaion> Howcome sudo arm-scan -I enp0s25 -l detects duplicate IP addresses, but the duplicate IPs have exactly the same Mac Address?
[01:32] <aleksandrdvorkin> Admin /admin/includes/configure.php file either doesnt exist and is not writable or not readable
[01:33] <sarnold> Ascavasaion: what does arm-scan do?
[01:34] <aleksandrdvorkin> Problems with your MySql (mysqli) support. Your server appears to be missing the mysqli extension for PHP. and without it we connect to database.Talk to your hosting company for assistance
[01:34] <sarnold> aleksandrdvorkin: install php7.2-mysql or similar package?
[01:34] <Ascavasaion> Oooopppps
[01:34] <Ascavasaion> Sorry...
[01:34] <Ascavasaion> I mant arp-scan
[01:34] <Ascavasaion> meant
[01:37] <filifunky> welp guys, I've got this problem. Ever since I updated to the latest ubuntu 19.10, I can't get into mysql.  I get this error:  ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[01:37] <sarnold> Ascavasaion: you could try a tcpdump or tshark or similar from various hosts and see if you can spot what's going on..
[01:37] <filifunky> Anyone avail to help me out?  I spent last night working on it but couldn't get it to work.
[01:37] <aleksandrdvorkin> ubuntu has the php-mysql/eoan,eoan 2:7.3+69ubuntu2
[01:38] <aleksandrdvorkin> is that good enough to apt install
[01:38] <sarnold> aleksandrdvorkin: I can't promise it'll work but it's worth a try
[01:39] <Ascavasaion> filifunky: Maybe you could ask the same question in #mysql?
[01:39] <aleksandrdvorkin> i installed the mysql from dev.mysql.com
[01:39] <filifunky> Ascavasaion, that's actually where I started yesterday, but was told its an ubuntu issue
[01:39] <sarnold> filifunky: I'm guessing the server is probably not started due to an error; check the mysql server logs for errors that look like they'd keep it from starting
[01:39] <Ascavasaion> filifunky: Aaaah, okay.
[01:40] <aleksandrdvorkin> now i thought i should thefore download and install the php.7.1.33.tar.gz for php
[01:40] <filifunky> sarnold, I did a lot of that yesterday, but I'm going to look at it now to see if anything is interesting after a night of sleep
[01:40] <sarnold> filifunky: heh, good plan, debugging while tired is usually a disaster
[01:40] <filifunky> sarnold, haha and feels like a disaster too
[01:42] <aleksandrdvorkin> i dont quite understand how this zen-cart webstore should work just trying it but is installing the packages for mysql and php seperately should do the same function as just apt install php-mysql on Ubuntu ?
[01:43] <sarnold> php-mysql will be the libraries built for ubuntu's versions of mysql and php
[01:43] <sarnold> if you install php and mysql from different sources you may need to go to some effort to keep them in sync, or perhaps compile them yourself on every security update
[01:45] <aleksandrdvorkin> ok mysql-php is installed but zen cart localhost/zc_install/index.php still gives out the same misconfigs errors
[01:46] <aleksandrdvorkin> Main /includes/configure.php file either does not exist or is not readable writable
[01:46] <aleksandrdvorkin> that is related to the ownership of that files by root
[01:47] <sarnold> aleksandrdvorkin: what did you do to create that file?
[01:47] <aleksandrdvorkin> thats why i asked sudo chmod -r 775 foldername should remove it or is it another command i dont know know
[01:47] <Mr_Cyclops> Hi. Using Ubuntu 19.10 (Gnome) desktop, recently the Super Key has stopped working. Tried the regular steps from Google, no luck
[01:48] <sarnold> Mr_Cyclops: if you use xev does the key still show up as being pressed down and released?
[01:48] <Mr_Cyclops> I tried the Keyboard Eye icon in Region and Language settings, looks like the Super Key is not even detected/recognized
[01:48] <Mr_Cyclops> let me check sarnold
[01:48] <aleksandrdvorkin> sarnold i just downloaded the zen cart package unzipped and copied the contents into /var/www/html on my laptop
[01:48] <filifunky> here is the error.log for mysql:  https://termbin.com/1z51  and here is the status of mysql after trying to start it: https://termbin.com/5ca7
[01:48] <sarnold> aleksandrdvorkin: normally you have to configure remotely complex software
[01:49] <Mr_Cyclops> sarnold, nope, pressing the Super Key does nothing on the output window showing keyboard events
[01:49] <sarnold> filifunky: yikes
[01:49] <filifunky> I tried to do a clean re-install yesterday but that didn't help
[01:49] <filifunky> I think the socket has something to do with it
[01:50] <aleksandrdvorkin> sarnold but this is how the install of the zen cart webstore works from what i read in the implementation.pdf
[01:51] <filifunky> the error I get says it can't connect to the server through the socket '/var/run/mysqld/mysqld.sock' ....of course it can't because that location doesn't exist!
[01:51] <sarnold> filifunky: that location will only exist once the server is running, but the server is dying on startup
[01:51] <sarnold> filifunky: signal 8 is FPE on my system; what's kill -l look like for you? what's signal 8?
[01:51] <filifunky> sarnold oh hmmm
[01:52] <filifunky> yeah "SIGFPE" sarnold
[01:52] <sarnold> filifunky: *maybe* that means there's a "0" somewhere in a config file that absolutely shouldn't be there..
[01:53] <sarnold> filifunky: it's remotely possible that you've got memory issues, but if this system otherwise worked fine before an upgrade that's not terribly likely
[01:53] <Mr_Cyclops> sarnold, anything else I could try?
[01:54] <filifunky> sarnold...ahhh.  Definite possibility.  When I had started having the problem I checked my config and there wasn't anything much in there.  So I took solutions from the web and put stuff in there.  I'm sure a lot of it isn't necessary
[01:54] <sarnold> Mr_Cyclops: plugging and unplugging the keyboard comes to mind; maybe there's a 'fn' switch or something that enables a second layer? dunno :/
[01:54] <sarnold> Mr_Cyclops: if you plug that keyboard into a different machine does it work?
[01:54] <Mr_Cyclops> its a Logitech G series Gaming Keyboard (Wired)
[01:54] <filifunky> sarnold, there is a memory problem.  I was at > 90% full memory when I installed the new ubuntu.  I think I ran into some problems and eventually trashed some spotify data.
[01:54] <aleksandrdvorkin> sarnold if the folder containig the config.php which is in my case zc_install and has root as the owner i tried chown aleksandrdvorkin zc_install and it didnt work what is the command to change the ownership from root to normal user
[01:55] <filifunky> now its at around 85%
[01:55] <Mr_Cyclops> OMG!
[01:55] <Mr_Cyclops> Unplugged and Plugged it back in, and it started working instantaneously!
[01:55] <Mr_Cyclops> :O
[01:55] <sarnold> Mr_Cyclops: heh
[01:55] <sarnold> Mr_Cyclops: I'm glad it's wroking but I wish I knew why :)
[01:56] <sarnold> filifunky: that's different, that's just memory use -- you usually want it to be mostly used :)
[01:56] <Mr_Cyclops> Seriously, I didn't expect that :) well, can't thank you enough sarnold :D Cheers!
[01:56] <aleksandrdvorkin> well actually it worked
[01:57] <aleksandrdvorkin> on one folder but chown aleksandrdvorkin /* that is for whole dir doesnt
[01:57] <filifunky> sarnold, this is my config file https://pastebin.com/HYNeBwYv   not really anything there!
[02:02] <sarnold> filifunky: heh, but you *do* have the conf.d and mysql.conf.d directories full of configs -- you have to look at those too
[02:03] <sarnold> aleksandrdvorkin: normally you'd want your applications to be owned by root or some specific service account; when an application is owned by your user account, then your firefox or chromium-browser or thunderbird or mplayer or imagemagkick or whatever could modify the application too
[02:03] <sarnold> aleksandrdvorkin: that might be fine for just learning on your own laptop but it's usually best to have the application owned by an account with very few processes on the system
[02:04] <filifunky> sarnold, just checked those and those are pretty much ghost towns too
[02:07] <aleksandrdvorkin> sarnold just a practice or trying to figure out how the webstore site should be configured
[02:07] <aleksandrdvorkin> but thanks for the advice
[02:11] <aleksandrdvorkin> ok anyhow but zen cart says that it requires PHP so i downloaded the tar.gz did tar xvzf now did hte ./configure
[02:11] <filifunky> anyways, anyone avail to help a poor ubuntu-er out
[02:11] <aleksandrdvorkin> basically understand the basics of Linux maybe i am to much over my capabilities
[02:13] <sarnold> aleksandrdvorkin: you're on your own if you're compiling your own php :)
[02:16] <aleksandrdvorkin> how many gigs of my HD is it going to take seriously?
[02:17] <aleksandrdvorkin> i am running the Virtualbox i ll just reinstall the Ubuntu
[02:19] <Boyette> hi
[02:20] <filifunky> hi
[02:20] <sarnold> aleksandrdvorkin: the last few lines of the build log give me the impression building php takes about an hour and more than two gigabytes of disk: Build needed 00:57:01, 2216704k disc space  --- https://launchpadlibrarian.net/450473010/buildlog_ubuntu-focal-amd64.php7.3_7.3.10-1ubuntu1_BUILDING.txt.gz
[02:20] <Boyette> i have a problem
[02:21] <Boyette> if i open a stream or video in VLC not always but often my complete system freezes
[02:21] <Boyette> only the mouse i can move
[02:21] <Boyette> and no way i can get out of it anymore
[02:21] <Boyette> unless i hard power off the system
[02:22] <archuserau> Hi. Maybe someone here could give me some suggestions. What is the best way to share some files on my server to people outside my network?
[02:24] <sarnold> Boyette: that's not going to be fun to debug; my first guess is leaning slightly towards blaming video drivers..
[02:24] <Boyette> yeah.. i had a feeling about that already
[02:24] <sarnold> archuserau: nextcloud kind of thing? bare nginx? sftpd?
[02:25] <aleksandrdvorkin> sarnold and installing will take 2gb more?
[02:25] <sarnold> aleksandrdvorkin: probably not two gigs
[02:25] <Boyette> i was thinking about reinstalling and upgrade to ubuntu 19.10
[02:25] <Boyette> to solve this
[02:26] <Boyette> because i need to use vlc a lot and its a big problem
[02:26] <sarnold> Boyette: you could try the hwe kernel / xorg, https://wiki.ubuntu.com/Kernel/LTSEnablementStack
[02:26] <aleksandrdvorkin> sarnold more or less? I will reistall the ubuntu if takes all of the space
[02:27] <archuserau> sarnold: I am having a little bit of trouble with nginx.
[02:27] <sarnold> aleksandrdvorkin: I don't know a quick way to calculate.. but if you purge all your php packages, reinstall all your php packages, apt should tell you how much disk space that'll take
[02:28] <sarnold> archuserau: heh, yeah; I prefer nginx to apache but it's still not *easy* to configure it
[02:28] <aleksandrdvorkin> ok
[02:28] <archuserau> sarnold: I am using a docker container. Maybe that makes it harder?
[02:28] <Boyette> xserver-xorg-hwe-18.04 is already the newest version (1:7.7+19ubuntu8~18.04.2).
[02:28] <sarnold> archuserau: no idea there, I've not tried docker
[02:29] <sarnold> Boyette: heh, dang
[02:30] <Boyette> W: Possible missing firmware /lib/firmware/amdgpu/vega20_ta.bin for module amdgpu
[02:30] <archuserau> sarnold: Can you use symlinks to get a directory into the www/ folder of nginx?
[02:31] <sarnold> archuserau: the symlink can't cross the filesystem shenanigans that docker is going to do
[02:31] <sarnold> archuserau: docker probably has a way to bindmount a directory into the namespace
[02:31] <archuserau> Ahh i see.
[02:32] <sarnold> Boyette: hmm I can't spot that firmware with apt-file search /lib/firmware/amdgpu/vega20_ta.bin on my disco system
[02:32] <aleksandrdvorkin> i really dont understand how this webstore works from what i am rading the database and the webserver are run from two different machines?
[02:33] <sarnold> aleksandrdvorkin: that's pretty common configuration, yeah
[02:34] <aleksandrdvorkin> so what needs to be installed on the Webserver and what needs to be installed on the Database server
[02:35] <sarnold> php, application, and mysql client libraries on the webserver; database on the database servre
[02:37] <aleksandrdvorkin> if i am configuring the /var/www/html with zen cart installation so this is my webserver?
[02:37] <sarnold> yes
[02:38] <aleksandrdvorkin> ok than i have another laptop i can make it my database server ?
[02:39] <sarnold> sure
[02:39] <aleksandrdvorkin> but what would i have to install on the database laptop for it to become a database server
[02:39] <sarnold> whatever database you want that zencart supports
[02:39] <Boyette> hwe kernel is installed now
[02:40] <Boyette> running it
[02:40] <sarnold> Boyette: nice
[02:40] <sarnold> Boyette: how long will it take until you usually get the crash?
[02:40] <aleksandrdvorkin> the implementation of the zen cart doesnt explain what to install on the database server
[02:40] <Boyette> it depends
[02:40] <Boyette> how many times i open something in VLC
[02:41] <Boyette> it can be the first movie / stream i open
[02:41] <Boyette> or the 100th
[02:41] <sarnold> Boyette: ow :/ that's no fun
[02:41] <Boyette> it seems pretty random
[02:43] <Boyette> also what is strange is that the mouse keeps functioning but for the rest nothing works
[02:43] <Boyette> the gui freezes and all keyboard functions aswell
[02:43] <gry> did it work before
[02:44] <gry> did you try it under a new user (make a new user and log off, then log in as the new user and test there)
[02:44] <sarnold> Boyette: if you want the mouse dead too you could probably disable the hardware mouse support :)
[02:44] <Boyette> oh thats why
[02:44] <Boyette> because its an external device
[02:54] <aleksandrdvorkin> i dont understand the idea of database server vs webserver i understand all the configuration of the webserver takes place on the webserver what do install on the Database server
[02:54] <aleksandrdvorkin> give me an example
[02:56] <filifunky> anyone want to work on my problem that has already defeated a couple other people in the ubuntu irc room? lol
[02:57] <sarnold> filifunky: try using perf trace to record all syscalls on the system while starting mysql; maybe that'll give a hint about what failed
[02:57] <sarnold> aleksandrdvorkin: the database server provides structured data storage; you could look through eg http://www.postgresqltutorial.com/ to get an idea what databases do
[02:59] <aleksandrdvorkin> ok i got an error permission denied when doing make install from /Downloads/php-7.1.33
[03:00] <aleksandrdvorkin> do i need to be root to do the make install?
[03:00] <filifunky> sarnold, I'll try and learn about that
[03:01] <sarnold> aleksandrdvorkin: it depends where you've chosen to install it
[03:02] <aleksandrdvorkin> well it was downloaded to /home/aleksandrdvorkin/Downloads
[03:02] <aleksandrdvorkin> so i did tar xvzf from this dir
[03:02] <sarnold> and where did you configure the 'make install' step to install it to?
[03:03] <aleksandrdvorkin> i made the ./configure and make in /home/aleksandrdvorkin/Downloads
[03:04] <aleksandrdvorkin> but i guess i should copied the php.tar.gz to the /home/aleksandrdvorkin and do the ./configure and make and make install from there not from /home/aleksandrdvorkin/Downloads/
[03:05] <sarnold> aleksandrdvorkin: what ./configure flags did you use? normally ./configure lets you select the installation destination
[03:05] <aleksandrdvorkin> i just did ./configure
[03:28] <revolt112> filifunky, hi
[03:29] <filifunky> we meet again revolt112 haha
[03:29] <filifunky> how are you
[03:29] <revolt112> just a few seconds awake =) (04:29am)
[03:30] <filifunky> dang, first thing is hop on the computer huh lol
[03:30] <revolt112> =)
[03:31] <revolt112> do you got any further with your db?
[03:32] <filifunky> absolutely not lol.
[03:32] <revolt112> any other way to reconstruct the db?
[03:33] <filifunky> i have an old backup I could go back to and build again from there but I would like that to be a last last resort
[03:34] <revolt112> in my opinion i think you have to...
[03:35] <runelind_q> bah, have a v6-only vps and I can't access keyserver.ubuntu.com - anyone know of a workaround?  I'm trying to install landscape on-premise
[03:35] <revolt112> with the conclusion to get a seperate machine (maybe rPI 4 with 4 gigs ram) to build on your SQL
[03:36] <revolt112> runelind_q, i know there is a flag to  make apt-key use only v4
[03:36] <filifunky> so you're saying I should build it on another computer so I can continue working on my issue on my computer?
[03:37] <revolt112> seperate machine because you wont have any more update strugles
[03:38] <revolt112> runelind_q, https://www.vultr.com/docs/force-apt-get-to-ipv4-or-ipv6-on-ubuntu-or-debian
[03:38] <runelind_q> revolt112: yeah, but it seems like keyserver itself only has v4 connectivity.
[03:39] <runelind_q> so I can't add-apt-repository
[03:40] <runelind_q> but now that I think about it, I don't think landscape is happy being installed on a v6-only machine anyways.
[03:41] <filifunky> revolt112, thanks I'll think about it
[03:41] <filifunky> maybe after I try and fail at this some more times
[03:44] <filifunky> I might just be done with ubuntu if I don't fix this
[03:45] <filifunky> I'm not trying to be a computer scientist
[03:47] <filifunky> i don't know anyone want to take their chances at my problem?
[03:55] <revolt112> filifunky, i wish you luck... Next time do sqldumps via cron...
[03:55] <revolt112> It's easy to restore with a dump
[03:55] <filifunky> ahh ok, thanks revolt112
[04:08] <aleksandrdvorkin> figured the problems with the config.php files
[04:10] <aleksandrdvorkin> but dont understand the zen cart installation System inspection says PROBLEMS WITH YOUR MYSql(mysqli) support.Your server appears to be missing the mysqli for PHP and without it we connect You to your database.Talk to Your hosting company for assisance
[04:10] <aleksandrdvorkin> I have php7.3-mysql installed
[04:13] <whislock> aleksandrdvorkin: Did you install php via packages (apt) or from source?
[04:15] <aleksandrdvorkin> i compiled it
[04:15] <aleksandrdvorkin> from /home/aleksandrdvorkin/Downloads
[04:16] <gry> do you speak Russian?
[04:16] <aleksandrdvorkin> yes
[04:16] <aleksandrdvorkin> govory
[04:16] <ButteredHam> what is the commandline to start the ubuntu installer again?
[04:17] <ButteredHam> installing LTS server 18.04
[04:17] <gry> aleksandrdvorkin: there is #ubuntu-ru, if you would like to join and meet new people
[04:17] <ButteredHam> and it errored out due to release file and time shenanigans
[04:17] <ButteredHam> if I restart I'm stuck back at the same problem
[04:17] <aleksandrdvorkin> gry thank You
[04:17] <gry> you're welcome
[04:17] <ButteredHam> so I need to re-run the installer
[04:17] <ButteredHam> without rebooting
[04:19] <aleksandrdvorkin> whislock does it mean that i need to ./configure make and make install the php from different dir then /home/aleksandrdvorkin/Dowloads that my system can not find it otherwise?
[04:19] <whislock> what
[04:19] <whislock> aleksandrdvorkin: Okay, why did you compile php from source when it's easily installed from a package?
[04:20] <aleksandrdvorkin> i downloaded the tar.gz as the zen cart suggested
[04:21] <whislock> aleksandrdvorkin: There's a general rule: If you compile something from source, especially something like PHP, *you are on your own*. My suggestion would be to rebuild the server and install php via packages.
[04:23] <aleksandrdvorkin> i didnt install the server yet because it can not find the mysqli extensions for php
[04:23] <whislock> aleksandrdvorkin: As in "wipe the hard drive and reinstall ubuntu."
[04:37] <aleksandrdvorkin> why is the command systemctl restart apache returns Failed to restart apache.service Unit apache not found
[04:41] <macopython>  aleksandrdvorkin: Looks like service file is not present or for some reason it is not being detected by Systemd.
[04:43] <Bashing-om> !info apache2 bionic | aleksandrdvorkin
[04:55] <aleksandrdvorkin> i have php-mysql installed
[04:56] <aleksandrdvorkin> php7.3-dev insgtalled
[05:44] <aleksandrdvorkin> ok i m stuck in zen cart installation it says  Problems with Database connection 2002 No such file or directory
[05:44] <aleksandrdvorkin> but i installe mysql.deb package
[07:27] <groovy> hi can someone help me
[07:27] <groovy> i installed 18.04 on an old macbook pro
[07:28] <groovy> but i have no wifi and i've been trying to figure out how to get it working
[07:28] <groovy> i have the drivers b43 fwcutter and the firmware
[07:35] <limer> out of curiosity, is anyone active?
[07:36] <limer> if so, i'm interested in a solution for the following unanswered question, except for 18.04 LTS instead of 13.04
[07:37] <EriC^^> ask limer
[07:38] <EriC^^> (not that im active)
[07:38] <EriC^^> !ask | limer 4
[07:38] <limer> !patience
[07:39] <limer> i'm interested in a solution for the following unanswered question, except for 18.04 LTS instead of 13.04 https://askubuntu.com/questions/383426/trying-to-install-nvidia-corporation-mcp61-ethernet-ubuntu-13-04
[09:01] <nsh> has ubuntu 19.0 abandoned /dev/sdX naming convention for hdd/sdds?
[09:01] <nsh> and also, why?
[09:03] <nsh> like, wtf is this even? "/dev/nvme0n1p5"
[09:03] <nsh> is this a linux kernel change?
[09:04] <Mathisen> no
[09:04] <Mathisen> it is a nvme drive and not sata
[09:04] <Mathisen> there is a huge diffrence
[09:05]  * nsh reads https://superuser.com/questions/1449499/why-does-linux-list-nvme-drives-as-dev-nvme0-instead-of-dev-sda
[09:05] <nsh> ty
[09:06] <nsh> it's like with ifconfig, how i can meaningless nonsense like enp0s25, enx0050b6812043, and wlp3s0, where before it was sensibly "wifi0" or so
[09:06] <nsh> *now i have
[09:08] <nsh> also, incidentally, lshw does not recognise these devices as disk/volume
[09:08] <nsh> which is also not very helpful
[09:10] <nsh> redhat has had an open bug for this since april: https://bugzilla.redhat.com/show_bug.cgi?id=1695343
[09:11] <nsh> some thoughts at least here: https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1826737
[09:18] <rnat> nsh: enp0s25 and wlp3s0 is not meaningless , read this https://en.wikipedia.org/wiki/Consistent_Network_Device_Naming
[09:19] <sonOfRa> nsh: this naming actually solves problems wrt initialization order of multiple similar devices in a single machine
[09:20]  * nsh nods
[09:20] <nsh> ty rnat
[09:21] <sonOfRa> I used to also think that the names were annoying, but in the end it does make things more... predictable.
[09:21] <flog> So now its more in line with the drive names?
[09:22] <p0a> Hello I want to write some programs in C using XCB (a library-interface for X). Can I just apt-get XCB?
[09:23] <sonOfRa> flog: for network devices, enp0s1 just means: EtherNet device, on Bus number 0, in slot number 1
[09:23] <sonOfRa> p0a: probably something like xcb-dev if you want to develop, that will contain the necessary headers. Package name might be slightly different, but googling "xcb-dev" should yield appropriate results
[09:25] <p0a> sonOfRa: thank you
[09:25] <sonOfRa> flog: for nvme devices it's a bit more complex: nvme0n1p1 is: nvme0 (the first device's device controller), n1 (the first namespace on the first device, there can be multiple namespaces on a single physical nvme device), p1 the first partition on the first namespace, which is the 1 part in /dev/sda1
[09:26] <sonOfRa> In any case: Rely on UUID, PARTUUID, LABEL, or PARTLABEL, instead of this. These things device physical order, and if you stick another nvme device in another slot, things may break because *that new* device might become the first one
[09:26] <flog> I see.
[09:38] <m5w> Where can I find the default sizes for guided partitioning (like a configuration file or some source code or something)?
[09:38] <k_sze> How do I tell whether the WiFi network I'm connected to is a) 2.4 GHz or 5 GHz; and b) 11n or 11ac?
[09:39] <k_sze> (In fact, there should be a command to dump a lot more detailed info, such as the transmit rate, transmit power, signal-to-noise, etc, right?
[09:42] <flog> k_sze: nmcli connection?
[09:43] <privism> That's up to the driver. nvme does not adopt SCSI command thus not enumerated by SCSI naming rules.
[09:46] <k_sze> flog: `nmcli connection` only lists the connections it knows, it says nothing about frequency and standard, it seems. I checked the man page for `nmcli` and there doesn't seem to be anything related.
[09:48] <k_sze> flog, even `nmcli -g all connection show --active` doesn't seem very helpful.
[09:50] <flog> you should be able to find something with nmcli
[09:52] <rbasak> k_sze: iwconfig will give you some of what you want I think
[09:54] <ice9> I get this error when trying to configure the u2f key https://bpaste.net/show/4MH4A
[10:03] <k_sze> rbasak, close
[10:04] <k_sze> rbasak, `iw dev <device name> link`. :D
[10:04] <k_sze> Thanks to answers from #debian channel. heh
[10:34] <lalitmee> Hey guys, I am using Ubuntu 18.04. How to disable the locking of the screen if I leave my system idle for some time?
[10:35] <lalitmee> I am facing a little bit of issue. What happens is that if screen goes idle for some time then if I press any key to get it back it takes a lot of time to come back in the working mode.
[10:35] <lalitmee> don't know why
[10:36] <lalitmee> basically I want to disable that screensaver of whatever we call that
[10:37] <lotuspsychje> lalitmee: install dconf-editor and there's a setting there
[10:37] <lotuspsychje> lalitmee: org/gnome/desktop/lockdown/disable-lock-screen
[10:37] <gimmel_> Hi guys, if I pull the ~/.ssh directory from an old install and drop it into a new, is there something I need to do to activate the keys? I tried ssh'ing to my server and it said "permission denied (publickey)"
[10:41] <rbasak> gimmel_: the public key from your client's ~/.ssh/ public key file (usually id_rsa.pub) must appear in a line in ~/.ssh/authorized_keys on your server.
[10:41] <rbasak> That's the only real requirement, unless you're in some weird situation where your private and public key files in ~/.ssh don't match or something.
[10:43] <gimmel_> rbasak: I literally just copied the .ssh on the old computer to a usb, and then dropped it in place on the new. Do I need to have first created a key on the new and then drop in the auth keys?
[10:43] <gimmel_> rbasak: I can see the relevant user@host entry in the auth'd keys file
[10:45] <rbasak> gimmel_: are you sure permissions are set correctly on ~/.ssh and the private key within it? ssh will refuse to use insecure secret files in some cases, though I thought it warned you about that.
[10:45] <gimmel_> rbasak: any ideas what they should be?
[10:46] <rbasak> gimmel_: no, there is no other requirement. Your client must offer a key that is in ~/.ssh/authorized_keys on the server end. That's all. To get the client to offer the key, it has to find it under the right name at the client end of course.
[10:46] <gimmel_> .ssh is owned by the right user, perms are drwx-------
[10:46] <rbasak> gimmel_: are you sure you're hitting the right username on the server?
[10:46] <gimmel_> rbasak: positive it's the right username.
[10:46] <rbasak> gimmel_: maybe run ssh with -v (or even -vvv) and make sure it's offering the key you expect
[10:46] <rbasak> gimmel_: and on the server end, check the log file to see why it might be refusing
[10:47] <rbasak> gimmel_: worst case you can run sshd manually on the server end with debugging (no detach) and on a different port, to get debugging information at that end too
[10:48] <rbasak> gimmel_: it's likely to be a configuration error somewhere, the debugging might just help you locate it if you've tried everything else
[10:48] <rbasak> gimmel_: but first double check that everything is as you expect. One of your assumptions must be wrong.
[10:50] <gimmel_> rbasak: rbasak: perms are wrong - currently 0644 which it refuses to accept. Any idea what they should be?
[10:50] <gimmel_> 600?
[10:51] <rbasak> gimmel_: yes, 600 should be fine
[10:55] <gimmel_> rbasak: had to be 0700 and all is working now after a 'ssh-add'
[10:56] <tomreyn> your ddh keys don't need to be, and should not be, marked as exectuable, no
[10:56] <tomreyn> *ssh keys
[10:57] <tomreyn> ~/.ssh needs to be, though, so you can enter it.
[10:58] <gimmel_> tomreyn: yup, that was the issue. ssh -vvv was complaining it couldn't access anything in the .ssh directory.
[10:58] <Peanut> Hi, I have a number of Ubuntu 18.04 servers. Their main network connection is having issues which I'm trying to debug. We have IPMI console access, and I can login as root (password is accepted) but I never get a login prompt, it just hangs.. and after a long time, gives me the login prompt again. Root is a local (non ldap) account. What might be the reason I can't login without network?
[10:59] <rbasak> Is serial access enabled by default?
[10:59] <rbasak> I didn't think it was.
[11:00] <tomreyn> "IPMI console" can mean VGA console or serial console, it's ambiguous.
[11:00] <Peanut> This is a serial IPMI console, and I get the login prompt, enter the password, get the MOTD - and then it hangs. All our servers have IPMI SOL enabled and working.
[11:01] <rbasak> If you get the MOTD following the password then I guess it's not an auth problem
[11:01] <Peanut> rbasak: correct
[11:02] <tomreyn> if you're able to login by other means then i'd inspect journalctl -fb about the failing logins
[11:02] <tomreyn> or rather failures to spawn login shells
[11:04] <Peanut> tomreyn: But I can't.. the regular network is acting up, so I have no LDAP.
[11:05] <rbasak> It sounds likely to me that you've accidentally got it doing something on root login that it is failing to do, whether that's something previous or something due to your network problem now.
[11:06] <tomreyn> hmm this sounds a lot like its waiting for some network resource to setup your environment
[11:06] <rbasak> Maybe tcpdump on the network?
[11:06] <rbasak> (from something that can see the server's traffic)
[11:06] <rbasak> Apart from that, my only suggestion is to recover the system manually and then debug it - eg. via a chroot
[11:07] <rbasak> Can it look up its own DNS name?
[11:07] <rbasak> That's a common one
[11:07] <rbasak> If /etc/hosts is wrong, then "hostname -f" will require DNS
[11:07] <rbasak> And a whole bunch of things, including sudo, will attempt to do that.
[11:08] <rbasak> Not sure about a normal login shell, but it wouldn't surprise me
[11:08] <rbasak> Normally that just times out though
[11:08] <rbasak> Or warns
[11:09] <Peanut> hostname -f works and is correct.
[11:09] <tomreyn> how can you tell when you can't login?
[11:12] <Peanut> I just rebooted the server through IPMI, and now I can access this one server. So it seems to work when it boots without network, but not when network gets lost.
[11:15] <tomreyn> so their network connectivity is generally fine, but all of these systems somehow went into a state where their network link or configuration wasn't as it should have been?
[11:16] <Peanut> Yes - which is not due to the systems in question, but an issue with the uplink from the switch that they are on. Specifically, it's an MLAG issue on a 40G link, with the fun result that some still have connectivity, and others don't.
[11:18] <tomreyn> :-/
[11:19] <tomreyn> but you need to make sure /etc/hosts is correct, and you want to test this when network connectivity is not available.
[11:19] <Peanut> And for even more extra fun - the onboard NICs are Intel X710, and if they are bonded, and you do tcpdump, it turns out that the driver crashes or something, and the ports go down. Unless you compile/install the latest i40e driver, and install the lastest firmware on the NIC.
[11:20] <Peanut> But all of that is just background information, main main question is how/why local logins don't work during network issues.
[11:21] <tomreyn> did you check the journal then about the logins you did while the network wasn't working?
[11:23] <Peanut> Good one, how would I check that?
[11:23] <tomreyn> journalctl -eb -1     would load the end of the previous runtimes' logs
[11:25] <BluesKaj> Hi folks
[11:27] <Peanut> 'Specifying boot ID has no effect, no persistent journal was found'
[11:30] <rbasak> Peanut: I'm fairly sure that local logins will work correctly with network issues on a default install. You could verify that. But if that's true, then the cause is entirely up to your configuration, which we don't know.
[11:30] <rbasak> It's fine to ask us to guess, of course. That might still be helpful.
[11:31] <Peanut> rbasak: Interesting point. In brief, the 'strange' things we do is bonding (MLAG), and LDAP for logins. But the root account is local.
[11:32] <Peanut> rbasak: What would you consider a 'default install' to verify this against? These things really just run stock Ubuntu 18.04 LTS.
[11:33] <Peanut> And serial console access, as these don't have a graphics card or keyboard (blade nodes).
[11:35] <Peanut> (BRB, lunch)
[11:41] <rbasak> Peanut: I suggest just the regular server installer in a VM. Or if you want to try it on hardware, I'm not sure about serial support in the default 18.04 server installer. You might have to use MAAS or use the legacy installer. The results may differ, so I guess you should do something closest to what you're doing in production.
[11:41] <tomreyn> ubuntu 18.04 would have a persistent journal by default, but you apparently have custom configurations in place (which can make sense for organizations where you e.g. just want to log to a central syslog server)
[11:42] <rbasak> Peanut: essentially what I'd like to establish is if Ubuntu is doing something unreasonable/wrong, in which case I'd like to fix it :)
[11:42] <rbasak> But to do that I need steps to reproduce, etc.
[11:43] <rbasak> And from your perspective if you can't find steps to reproduce that don't use local configuration that you can't share, then at least you'll have pinned the issue down towards your local configuration and might have some idea on how to fix it then.
[11:43] <rbasak> And from your perspective if you can't find steps to reproduce that don't use (local configuration that you can't share), then at least you'll have pinned the issue down towards your local configuration and might have some idea on how to fix it then.
[11:48] <dja> heya, I'm trying to file a bug on Launchpad and getting a timeout error. Is this a known issue?
[11:49] <lotuspsychje> dja: just refresh and try again
[11:49] <dja> ah, nvm, it went through this time
[11:50] <dja> i had tried twice already
[11:50] <lotuspsychje> that happens sometime yes
[11:50] <dja> ty ty!
[11:50] <lotuspsychje> dja: keep in mind, we also liek you to ask here, before filing bugs
[11:50] <lotuspsychje> dja: you never know if volunteers can sort it for you first
[11:51] <dja> lotuspsychje: this is not that case, unfortunately. I used to work for Canonical, so don't worry, I know the drill :)
[11:51] <lotuspsychje> roger
[11:57] <muhaha> how to replace systemd-resolved in ubuntu 18.XX ?  I tried to install dnsmasq and resolvconf, but I am not sure if netplan + cloudinit is compatible with resolvconf
[12:03] <Peanut> rbasak: I would like to establish that too, and in that case at least file a good bug report, if I can't fix it. Happy to share the configuration (it's a preseed/ansible install), no real secrets there.
[12:05] <Peanut> I'll spin up a stock VM, kill its network from the host, see if it acts the same.
[12:15] <BuildTheRobots> good afternoon, i've found an annoying bug with archive manager and i'm not sure where to report it
[12:17] <BuildTheRobots> go to a webpage with a file.tar.gz, click it and tell it to open in archive manager. Archive opens as expected. Click the same file a second time and archive manager opens the gzip but displays a "file.tar-1" as the contents and then says archive-type is not supported.
[12:18] <BuildTheRobots> it looks like firefox (maybe) is renaming duplicates so you end up with multiple copies (good thing) but it's doing it badly by making assumptions
[12:18] <BuildTheRobots> eg second file is `file.tar-1.gz` - if you do it a third time it becomes `file.tar-3.gz`
[12:18] <BuildTheRobots> i'm guessing it doesn't realise that the file has nested extentions (eg if it renamed `file.tar.gz-1` then nothing would be able to open it)
[12:19] <BuildTheRobots> so, where/who do i report this to? what would be a correct way of dealing with it, and also, why does archive manager care about the extention rather than looking at the magic bits at the start of the file (this isn't windows)?
[12:24] <rbasak> BuildTheRobots: that's an interesting problem. I think what's happening BTW is that firefox itself does the gzip decoding, strips the .gz extension and so archive manager only every sees a tar file.
[12:24] <rbasak> BuildTheRobots: that's why it says file.tar-1 and no mention of gz
[12:24] <rbasak> You'll probably find the file in /tmp
[12:25] <rbasak> BuildTheRobots: it's an unfortunate interaction, but maybe start with archive manager not working with tar files that are named .tar-1?
[12:25] <rbasak> If you can reproduce that behaviour.
[12:25] <rbasak> (directly without Firefox)
[12:25] <BuildTheRobots> rbasak: interesting. - as another point of data if you tell firefox to download the file rather than open it in archive manager then i get `file(1).tar.gz` `file(2).tar.gz` which is what i'd expect
[12:26] <BuildTheRobots> let me see what's in /tmp
[12:29] <BuildTheRobots> rbasak: nothing created in /tmp and doing a find against / i still can't seem to find the temp files
[12:30] <BuildTheRobots> sorry, that's a lie `/tmp/mozilla_buildtherobots0` ftw
[12:30] <BuildTheRobots> files are being created `file.tar.gz`, `file.tar-1.gz`,  `file.tar-2.gz`...
[12:31] <BuildTheRobots> which seems odd - there's obviously two different codepaths for renaming things depending on if they've been downloaded or opened
[12:44] <BuildTheRobots> rbasak: this was origionally reported 11 years ago
[12:44] <BuildTheRobots> https://bugzilla.mozilla.org/show_bug.cgi?id=366325
[13:04] <PCatinean> Hello everyone, I have monitor with speakers included, I connected via HDMI I can select it as output but there's nothing coming out. Any advice on what I could do?
[13:05] <salamanderrake> Having issues installing clang++, https://gist.github.com/salamanderrake/b03215528d63ffe70926e131a173366c
[13:10] <salamanderrake> running clang++ I get >> Command 'clang++' not found, but can be installed with: sudo apt-get install clang, but clang is installed.
[13:11] <salamanderrake> Ok, I had to reinstall clang
[13:11] <salamanderrake> and there is no clang++
[13:11] <salamanderrake> err no clang++ package, like clang.
[13:12] <salamanderrake> so its fixed.
[13:21] <tomreyn> PCatinean: your graphics card and drivers need to support it. whihc ubuntu version, graphics card, drivers do you have there?
[13:38] <humblewolf> hello world
[13:45] <Intelo> Looking for a meeting tool like gotomeeting.com or zoom.us that does not allows anyone to join a meeting unless adminsitrator joins. There should be more than 1 admin. No one can call or contact directly to each other. No one should see contact details of each other either. Any clues?
[13:46] <pragmaticenigma> Intelo: This channel focuses it's efforts on support Ubuntu, and software provided through Ubuntu's repositories. For software recommendations, polls, and soliciting user opinions, please use #ubuntu-offtopic. thanks
[13:49] <filifunky> Anyone available to work on a tough one?
[13:49] <lotuspsychje> !ask | filifunky
[13:50] <filifunky> Ever since updating to the latest ubuntu I can't get into mysql.  I get this error:  ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[13:50] <kre10> hey guys, is there anyway to change the default user and password
[13:51] <mguy> filifunky: version of ubuntu? Version of mysql? did you install it from the standard apt sources?
[13:52] <filifunky> version ubuntu 19.10, mysql v 8.0.18 and installed the latest ubuntu through software updater asking me so many times so I caved. lol
[13:52] <pragmaticenigma> filifunky: you need to add a config file to /etc/mysl/mysql.conf.d with an entry for [mysqld] and set option "bind-address = <IP_ADDRESS>"
[13:52] <filifunky> mguy
[13:52] <filifunky> pragmaticenigma, thanks! don't think I've tried that yet!
[13:52] <filifunky> I've been working on this for the past two days, longest issue i've had
[13:53] <pragmaticenigma> filifunky: By default, mysql server is setup to only allow connections via sockets in Ubuntu
[13:55] <pragmaticenigma> filifunky: This is the fastest source I can find. But I recommend creating your own config file in the folder starting with the letters "z_" ... this will force mysql to load it last and will override any other settings in any of the other config files.   Will look into that
[13:57] <pragmaticenigma> filifunky: You have an extra dot on the <IP_ADDRESS>
[13:57] <filifunky> ah
[13:58] <filifunky> pragmaticenigma, still can't get in.  Am reading your link right now
[13:59] <pragmaticenigma> filifunky: I have mine config file at the path /etc/mysql/mysql.conf.d/z_local.cnf ... make sure the file ends in cnf, and that there are no other files sorted alphanumerically that follow it.
[14:00] <filifunky> ahh ok doing that now
[14:00] <pragmaticenigma> filifunky: After that, either reboot the system or "sudo systemctl restart mysql.service"
[14:01] <filifunky> pragmaticenigma, done.  Tried to restart and get this error, will post the error: Job for mysql.service failed because the control process exited with error code.
[14:01] <filifunky> See "systemctl status mysql.service" and "journalctl -xe" for details.
[14:01] <rbasak> BuildTheRobots: I still think it's an issue that archive manager relies on the extension though
[14:02] <rbasak> It should be able to detect what it can handle using a magic
[14:02] <lotuspsychje> kre10: default user:pass of what?
[14:02] <filifunky> https://termbin.com/xq25
[14:02] <filifunky> https://termbin.com/pfm8
[14:02] <PCatinean> tomreyn, sorry for the late reply. 18.04, nvidia gtx 1070TI, I have another monitor (different brand) that works out of the box no problem
[14:03] <kre10> lotuspsychje, user and pass of my installation
[14:03] <lotuspsychje> kre10: there's no defaults on the ubuntu setup, you need to create a user and password yourself
[14:04] <kre10> yes, how can I change this user?
[14:04] <kre10> like "name" and "pass"
[14:04] <lotuspsychje> kre10: not change, create a user
[14:04] <filifunky> pragmaticenigma, tried this netstat -tulnp | grep mysql, and didn't get anything like in that link you had earlier
[14:05] <kre10> I already did that. I want to change the name and the pass
[14:05] <lotuspsychje> kre10: wich ubuntu version are you on?
[14:05] <kre10> 18
[14:06] <lotuspsychje> kre10: systemsettings/details/users
[14:06] <pragmaticenigma> filifunky: is there anything in /var/log/mysql/error.log ?
[14:06] <kre10> server, sorry
[14:06] <lotuspsychje> kre10: for ubuntu server best ask in #ubuntu-server
[14:07] <kre10> thank you!
[14:08] <filifunky> pragmaticenigma, weird that there is nothing in that error.log.  For the past two days there's been stuff there
[14:08] <pragmaticenigma> kre10: You cannot change a username, you can create a new one. To change the password the command passwd will prompt for changing passwords. see "man passwd" for further help
[14:09] <kre10> thank you! So I can't change a username. Thanks :)
[14:09] <pragmaticenigma> filifunky: Not too strange, maybe try a system reboot? you could also try "sudo systemctl stop mysql.service"  wait 15 seconds then "sudo systemctl start mysql.service"
[14:10] <filifunky> ok
[14:10] <pragmaticenigma> kre10: No, you can't really change the username.. the recommended approach is to create a new user, move stuff there, chown those files to the new user, then once everything is verified, remove the unwanted user
[14:10] <kre10> this is perfect. Thank you, really!
[14:12] <filifunky> pragmaticenigma, I did the stop that worked, then I tried the start and I got this again: Job for mysql.service failed because the control process exited with error code.
[14:12] <filifunky> See "systemctl status mysql.service" and "journalctl -xe" for details.
[14:12] <InfernalFlameZA> sensors
[14:12] <InfernalFlameZA> oops sorry
[14:13] <pragmaticenigma> filifunky: try moving that new config file to another directory temporarily (like your home directory.) then try to start up mysql again
[14:13] <filifunky> ok
[14:14] <pragmaticenigma> filifunky: This should help rule out if your new changes are breaking the server or if something else is
[14:17] <filifunky> pragmaticenigma, moved everything out of /etc/mysql/mysql.conf.d and started again and still get the same error
[14:18] <pragmaticenigma> filifunky: You don't want to move everything... just the file you created... the remaining files should have been there from the start
[14:18] <filifunky> it's weird I had another cnf file in there too.  I'm going to add that bind address to that one and see how that does
[14:18] <filifunky> its probably not weird I'm just weird
[14:19] <pragmaticenigma> filifunky: I have mysqld.cnf, mysqld_safe_syslog.cnf in my folder
[14:19] <pragmaticenigma> filifunky: did you make any other changes to mysql over the past few days?
[14:20] <gordonjcp> hi folks
[14:20] <gordonjcp> I'm running Ubuntu 19.10, and I'd like to either get the Hotspot Detection page working properly or disable it completely
[14:20] <gordonjcp> as it is, it's useless because it doesn't remember the username and password I set
[14:21] <pragmaticenigma> gordonjcp: You will have to be more specific about what you mean "hotspot detection page" ... I'm not familiar with any such feature
[14:21] <filifunky> pragmaticenigma, yes I believe so, I was working it out with another person and we were making backups and moving things around but we didn't get anywhere
[14:22] <filifunky> i don't have mysqld_safe_syslog.cnf in that folder
[14:25] <pragmaticenigma> filifunky: do you have anything in /etc/mysql/conf.d ?
[14:26] <filifunky> pragmaticenigma, yeah mysql.cnf and mysqldump.cnf
[14:26] <pragmaticenigma> filifunky: did anything in those files get changed?
[14:27] <rbasak> gordonjcp: maybe you're looking for http://manpages.ubuntu.com/manpages/bionic/en/man5/NetworkManager.conf.5.html#connectivity%20section ?
[14:28] <filifunky> I don't believe so.  There is nothing in mysql.cnf and mysqldump.cnf doesn't look familiar.  The /etc/mysql/mysql.conf.d/mysqld.cnf I believe I changed with stuff i found online
[14:29] <pragmaticenigma> filifunky: okay, the problem is likely in there... just to help in the future, most applications that leverage a *.conf.d type config file folder, it's best not to change the files you find already there, but instead add your own.
[14:29] <filifunky> pragmaticenigma, noted
[14:31] <filifunky> here is my mysqld.cnf in my /etc/mysql/mysql.conf.d  https://termbin.com/jq86
[14:34] <pragmaticenigma> filifunky: not sure where that config file came from... but here is the one that exists on my server... I don't believe I have any customized settings changed in it. Give it a try: https://paste.ubuntu.com/p/DgSHfpRjVY/
[14:35] <filifunky> pragmaticenigma, ok will put that in
[14:37] <tomreyn> PCatinean: hmm so unless you have this other monitor connected using a different wire than hdmi (such as DP) it's liely that the monitors support different hdmi versions.
[14:37] <ash_worksi> is there a way to run `host` across many IPs at once without having to rebuild the query?
[14:38] <Bent0> Trying to login to a new Ubuntu box over IPMI. But every time I enter a char to the login screen it adds ^[ before it.   So I always thought that the problem might be that the socket doesn't exist.  The /var/run/mysqld/mysqld.sock doesn't exist.  Do I have to create that?
[14:40] <pragmaticenigma> Bent0: Please keep the language family friendly. Also, we would like to recommend you not log into your servers using root, and encourage the use of sudo and su to perform system operations. Lastly, check that your client software is setup with the correct terminal and keyboard modes
[14:40] <pragmaticenigma> filifunky: that is created when the server starts up
[14:40] <Bent0> It's using IPMI so not much to setup. Seems I can login now after doing a lot of random keystrokes lol
[14:42] <pragmaticenigma> Bent0: I'm guessing there is an issue somewhere with either IPMI setup or the client. I'm not familiar with IPMI, you might want to try in #ubuntu-server or ##linux
[14:42] <Bent0> roger
[14:43] <pragmaticenigma> filifunky: If you haven't done much with the server, it might be worth purging the mysql installation and installing again. Remeber to purge, as that will remove all the installed configuration files. Then, make sure there is no folder in /etc for mysql, before you intall mysql again.
[14:44] <PCatinean> tomreyn, right now this is the only one connected
[14:44] <filifunky> pragmaticenigma -- I believe I did that yesterday.  But I will try that again and make sure there is no folder in /etc for mysql
[14:46] <filifunky> pragmaticenigma i remember yesterday it asks if I want to delete my databases.  I said no.  I have a backup but its from a while ago.  Is that a problem that I say no?
[14:46] <pragmaticenigma> filifunky: that sounds like a good plan. Then add only that new file to the /etc/mysql/mysql.conf.d folder with the "z_" make sure it only has the entry for [mysqld] and right below that is the bind address entry
[14:46] <pragmaticenigma> filifunky: You have actual data in your databases?
[14:46] <filifunky> pragmaticenigma, yes
[14:46] <pragmaticenigma> filifunky: crud
[14:47] <tomreyn> PCatinean: my point is that when one of the monitors works for playing back audio and the other does not then they must either be connected using a different protocol entirely or using a different HDMI (hardware) version. this, or the monitor without sound is muted or has its sound board broken.
[14:48] <filifunky> ideally I'm saving that.  But there is a point where I cross the line to not caring anymore.  I'm not there yet but i'm getting there
[14:49] <pragmaticenigma> filifunky: We might be there... It used to be possible to backup the data storage directory, but I think Mysql has evolved far enough that isn't possible anymore
[14:51] <filifunky> ok well am I there?  the idea of being there is oddly freeing.  But I can actually see my tables which makes me feel weird about just getting rid of everything
[14:52] <pragmaticenigma> filifunky: Only you can make that determination. I found this command in a support forum, but I have no idea if it works or not. It should reinstall only the config files: sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install mysql-server
[14:53] <pragmaticenigma> filifunky: https://askubuntu.com/a/26247
[14:53] <filifunky> oooh that sounds promising
[14:53] <sebbu> hi
[14:54] <sebbu> https://pastebin.com/49b0PjkN
[14:54] <sebbu> i see 2 "bad exit status 2"
[14:54] <pragmaticenigma> filifunky: someone in /join #mysql might be able to also help you get your instance into a recovery mode where you could make a back up
[14:54] <sebbu> the system still works so it's fine, but...
[14:54] <sebbu> is it possible to fix it ?
[14:54] <sebbu> also, i'ld want to remove the "-j8"
[14:55] <filifunky> ok I will head over to #mysql!
[14:56] <filifunky> that command you sent me still won't allow mysql to start.   Either way I'm done with this problem.  Thanks pragmaticenigma
[14:57] <pragmaticenigma> filifunky: sorry I could get you up and running. but when you reinstall, at least you know how to get connected remotely going forward
[14:58] <filifunky> I appreciate it pragmaticenigma....btw what do you think went wrong?
[14:59] <pragmaticenigma> filifunky: I'm not sure, given you've been working on the issue for 3 days, it's hard to know what all might have been changed from the original configuration.
[14:59] <pragmaticenigma> sebbu: all of the output is from automatted scripts from the packages that are downloaded... there isn't the option to change those when you call "apt upgrade" A failed exit status doesn't mean your machine will not work, it is likely that the kernel updates were (hopefully) not installed because of an issue.
[14:59] <filifunky> ok
[15:00] <tomreyn> sebbu: i don't think bumblebee ("bbswitch.ko") is something you'd still use on 18.04 normally.
[15:00] <pragmaticenigma> filifunky: #mysql is a good resource, though sometimes reponses take some time
[15:00] <sebbu> pragmaticenigma, it does the building modules twice, the second time it works
[15:01] <sebbu> bumblebee is for optimus support, no ?
[15:01] <sebbu> (laptop with both intel hd graphic and nvidia geforce)
[15:02] <gordonjcp> pragmaticenigma: when you connect to wifi that runs a captive portal, Ubuntu will automatically try to connect, find it can't, and pop up a browser window to allow you to log into the captive portal
[15:03] <gordonjcp> pragmaticenigma: this is annoying, becaue it doesn't appear to store usernames and passwords
[15:03] <tomreyn> sebbu: if you use proprietary nvidia drivers you'd use those for switching, if you're using open source nouveau driver you'd probably use DRI_PRIME
[15:04] <gordonjcp> rbasak: that looks about right
[15:07] <rbasak> gordonjcp: looks like you're looking for a new feature in gnome-shell-portal-helper
[15:07] <rbasak> gordonjcp: so there's a case for adding that there, or you can disable its use
[15:07] <rbasak> Or use an alternative helper I guess
[15:08] <rbasak> You could even script something to do something specific to your case and fall back to the helper at other sites maybe
[15:13] <gordonjcp> rbasak: all I want to do is just open a browser, letit use the stored credentials, and that's it
[15:13] <gordonjcp> rbasak: so I'll probably just disable it
[15:15] <gordonjcp> rbasak: I have to say, stuff like that is making me really not like Ubuntu these days, everything seems to have extra steps added for no good reason
[15:19] <rbasak> gordonjcp: I don't think that's fair. The reason is obvious to me: that users don't all live in a browser, and it's valid to want network connectivity in a captive portal to be noticed automatically when you're not using one.
[15:19] <rbasak> gordonjcp: and second, this isn't Ubuntu-specific. Better captive portal handling is a cross-distro effort. You'll see the same behaviour on any GNOME-based desktop, as well as some others I expect.
[15:20] <JimBuntu> Of course it isn't Ubuntu specific. But how dare you point that out.
[15:23] <rbasak> Also captive portal redirection just via the browser is broken with things like HTTPS and HSTS.
[15:23] <rbasak> Users may just get errors and no redirect and not understand what is going on.
[15:24] <rbasak> Or how to get around it.
[15:24] <JimBuntu> captive portals are supposed to require human interaction, that's by design and part of what a captive portal is intended to be. Possibly, someone is using one when they shouldn't be
[15:24] <rbasak> Meanwhile every other OS includes captive portal detection and handling.
[15:24] <rbasak> Failure by the Free Software community to implement equivalent functionality is bad for users.
[15:25] <rbasak> So it is absolutely wrong to claim that this has "no good reason".
[15:25] <JimBuntu> sure, but not bad for captive portals. Again, they are SUPPOSED to require interaction
[15:26] <rbasak> JimBuntu: and this implementation enables that interaction, so I don't see your point
[15:26] <JimBuntu> My point is that a system should NOT be storing credentials and offering the user to simply click on OK or such. Captive portals are captive for a very good reason and it's not to aid to the simplicity of use for the user
[15:27] <rbasak> It is valid to point out the inability of the current implementation to remember passwords of course. That's a reasonable feature request (if you care to make it in the correct place).
[15:27] <rbasak> JimBuntu: I disagree. It's not the job of the client OS to enforce someone else's policy.
[15:28] <rbasak> JimBuntu: the focus should be on making life easy for the user.
[15:28] <JimBuntu> right, nor to bypass it
[15:28] <JimBuntu> anyway, this is a #ubuntu-discuss discussion, so I'm out
[15:28] <rbasak> No, allowing a bypass is perfectly fine, if that's what the user wants
[15:28] <rbasak> It's exactly what password managers do, for example.
[15:32] <ash_worksi> since 18.04 my print screen button doesn't work
[15:34] <gordonjcp> rbasak: it's more than just portal detection though.  Suspend is gone, you need to fiddle about clicking this and holding that and eventually the power off icon turns to a suspend icon
[15:34] <gordonjcp> rbasak: I get that a lot of things have fallen off and got broken in the headlong rush to swap Unity for Gnome 3 but it's still annoying
[15:34] <ash_worksi> oh, I see.... it's set to ctrl+print
[15:38] <pragmaticenigma> I think the issue here is not recognizing that the captive portal detection and the web browser instance are decoupled. The detection module launches the user set default browser. That would mean that the captive portale module would have to support dozens of different potential browsers. The module could implement its own browser, but users would complain that they don't want more than the browser they installed to run. SO, the
[15:38] <pragmaticenigma> problem then moves to the browser. Almost all browsers offer the ability to save user credentials for login screens. So my question to you gordonjcp is your browser not prompting you to save your login on that page? Have you looked at the source code of the page to see if they have implemented something like "form autocomplete="off"" in the HTML source? This more sounds like to me an issue to raise with the maintainer of the
[15:38] <pragmaticenigma> captive portal for usability.
[15:42] <rbasak> gordonjcp: I just close the laptop lid, so that's not relevant to most users. Again, it's not an Ubuntu-specific thing. And in any case, I've discredited your captive portal "no good reason" claim, and now this one. I'm not going to get drawn into having to explain how the next thing you complain about is also bunk :)
[15:44] <rbasak> pragmaticenigma: I thought it launched to an embedded browser widget thing, rather than a full browser? That's the behaviour I think I've seen, anyway
[15:53] <BuildTheRobots> rbasak: I agree, archive manager on an os that doesn't use file extentions shouldn't be relying on file extentions. More ironic when winrar on Windows does the right thing... Any idea what bug tracker to use for am?
[15:55] <rbasak> BuildTheRobots: I think it might be file-roller. https://wiki.gnome.org/Apps/FileRoller - https://gitlab.gnome.org/GNOME/file-roller/issues/, but you should check for an existing issue on it and if the latest upstream is still affected, etc.
[15:55] <rbasak> If it's Ubuntu-specific, then https://bugs.launchpad.net/ubuntu/+source/file-roller
[16:01] <ice9> is it software or hardware issue? https://bpaste.net/show/BV4CI
[16:09] <OerHeks> nobody can tell, ice9
[16:09] <OerHeks> can you give more details, what linux version, what are you using, yubikey or something?
[16:17] <ice9> OerHeks, latest ubuntu, "u2f zero"
[16:19] <OerHeks> "latest" = ??
[16:20] <ice9> OerHeks, 19.10
[16:20] <OerHeks> U2F zero is suported by the 5.2.x kernel, so that would be 19.10?
[16:21] <OerHeks> and what guide did you follow to setup PAM?
[16:21] <OerHeks> really, we need more info that this
[16:22] <stoned> On boot, 1gb ram system, ubuntu takes almost 300mb of ram. How to bring the ram use down
[16:22] <stoned> I have nginx, mysql, static site, nothing else really, just mail server, and dovecot.
[16:23] <stoned> How is it possible these things can take up so much ram when barely anything is used. I use mysql to store just one table.
[16:23] <stoned> Please give me the ideas in your genius brains now!
[16:23] <stoned> ok thanks.
[16:23] <stoned> I want to bring down the ram use
[16:23] <OerHeks> i think 1 Gb is pretty below minimum specs
[16:23] <akk> stoned: Linux uses free RAM for file caching, but it will release that memory if it's needed for an actual program. Maybe that's what you're seeing?
[16:24] <OerHeks> 300 mb is not bad
[16:24] <akk> It's hard to tell how much RAM is really being used.
[16:24] <stoned> I can watch it in htop but I see many duplicate processes and the ram count seems off. I don't know how to read htop output I guess
[16:25] <shibboleth> linux-signed-generic-hwe-18.04-edge
[16:25] <shibboleth> not compatible with secure boot, how come?
[16:28] <stoned> I have 160mb in swap and 380mb ram used
[16:30] <stoned> http://dpaste.com/114KZYC
[16:30] <stoned> here are the processes taking up the most ram apparently
[16:30] <stoned> so it's php-fpm, spamd, mysqld, and nginx
[16:32] <OerHeks> stoned, what makes you think the mem usage is too high?
[16:33] <omega_doom> hello. How can i run a blender that was installed from snap? When i run blender then i get "bash: /usr/bin/blender: No such file or directory"
[16:35] <stoned> free
[16:35] <pragmaticenigma> stoned: Your www-data processes combined are using a total of 218,896 Bytes of RAM
[16:35] <stoned> top.
[16:35] <ioria> omega_doom, hash -r or restart the shell
[16:35] <stoned> pragmaticenigma: yeah. I think it might be because I installed wordpress.
[16:35] <stoned> I hate wordpress. I'll wipe it.
[16:35] <stoned> It's a VPS for static sites mostly, and 20 sites with decent raffic and I am below 300mb of ram, whic his acceptale.
[16:36] <stoned> 250mb is acceptable.
[16:36] <pragmaticenigma> stoned: That memory usage is not out of the ordinary... Real memory usage  is under the RSS column... that's the actual amount of RAM the program is utilizing. The %MEM column is telling you how much RAM the application has requested. It is unused and can be returned to the OS for another process when requested.
[16:37] <stoned> I see, than you
[16:37] <stoned> +k
[16:39] <stoned> RSS or RES?
[16:39] <TJ-> stoned: RSS == Resident Set Size
[16:39] <stoned> I don't see it in h top.
[16:41] <pragmaticenigma> stoned: The information I provided was based on the output of "ps" that you provided ... "
[16:42] <stoned> ahh
[16:43] <omega_doom> ioria: thanks!
[16:43] <ioria> ok
[16:43] <pragmaticenigma> stoned: From the documentation on htop found by calling "man htop" : RES represents the resident set size of the process (i.e. the size of the process's used phycial memory) meaning RES is what htop uses to idetify actual memory usage from a process
[16:45] <BuildTheRobots> rbasak: raised with file-roller under https://gitlab.gnome.org/GNOME/file-roller/issues/57
[16:46] <BuildTheRobots> thanks for your help earlier :)
[16:49] <OerHeks> BuildTheRobots, odd, i cannot reproduce that behaviour
[16:50] <BuildTheRobots> OerHeks: very off, I've reproduced the Firefox issue on both Linux and Windows now
[16:50] <BuildTheRobots> Odd*
[16:51] <limer> quick question - i'm not sure if this was answered last night, but i'm trying to get a driver for a NVIDIA chip in ubuntu 18.04. my issue is basically the same as the following link (https://askubuntu.com/questions/383426/trying-to-install-nvidia-corporation-mcp61-ethernet-ubuntu-13-04)
[16:52] <rbasak> BuildTheRobots: thank you! Hopefully that will lead to an improvement for all users.
[16:52] <TJ-> limer: can you tell us what "lspci -nnk -d ::0200" reports
[16:53] <BuildTheRobots> OerHeks: have you found a small file online named "x.tar.gz" - i'm pulling from a local server so can't get you to test with that, but i'd be happy to test with your remote file
[16:55] <OerHeks> BuildTheRobots, i tried with https://wordpress.org/latest.tar.gz
[16:55] <OerHeks> not really small..
[16:56] <BuildTheRobots> not when its coming down at 200kb/s ;)
[16:56] <OerHeks> https://imgur.com/a/K2LQnOw
[16:57] <BuildTheRobots> OerHeks: that's 'cos you're downloading the file and opening it. If you use "open with" in firefox rather than "save as" then it renamed the second copy differently
[16:57] <OerHeks> oh, oke, missed that detail
[16:58] <limer> nothing
[16:58] <limer> it gives nothing
[17:01] <limer> i had a connection problem
[17:01] <bougyman> ubuntu 18.04. How can I force a rebuild of my initrd?
[17:02] <bougyman> when I boot with any 5.3.x, it can't find my root vg
[17:02] <bougyman> though 5.0.0-generic finds it fine.
[17:02] <OerHeks> 18.04 and 5.3 ???
[17:02] <zogommog> I've got a question regarding snaps: I installed jsonnet as a snap, but I have a script which is looking for output of "which jsonnet" to detect if it's installed as a dependancy. This is failing and the script quits. How can I get past this? Can I just remove the check, or create some alias to jsonnet?
[17:02] <OerHeks> how did you install that kernel?
[17:02] <bougyman> yes.
[17:02] <bougyman> with apt.
[17:03] <OerHeks> bougyman, such request is not supported i guess
[17:03] <OerHeks> run 19.10 to get that kernel and features?
[17:04] <TJ-> limer: if that command I gave didn't report the network interface at all we need to dig much deeper. Does the PC with the problem have some other form of network connection so we can collect logs?
[17:04] <bougyman> is there a way to tell which source gave me that kernel?
[17:04] <OerHeks> i am sure you can ..
[17:04] <bougyman> I have 3rd party sources (this is a work laptop). If it's one of ours, I can report it to the internal team.
[17:04] <OerHeks> from !mainline perhaps?
[17:04] <OerHeks> !mainline
[17:05] <BuildTheRobots> tj- / limer: I'd suggest checking the output of `lspci -nnk` just to confirm what lspci thinks it can see on tj's box
[17:05] <explore> hey guys if I try "ip link add link eno1 name eth1 address 53:89:71:D4:F1:4D type macvlan" should i get a eno2 when i run ifconfig?
[17:05] <explore> oops typo
[17:05] <explore> sudo ip link add link eno1 name eno2 address 02:89:71:D4:F1:4D type macvlan
[17:05] <bougyman> ii  linux-image-5.3.0-23-generic                  5.3.0-23.25~18.04.1                             amd64        Signed kernel image generic
[17:05] <bougyman> from linux-image-generic-hwe-18.04-edge            <IP_ADDRESS>.90
[17:06] <bougyman> eems it came from ubuntu
[17:06] <explore> cus i ran ip a show | awk  '/^[0-9]: /{print $2}' and i don't see a new eno2
[17:06] <BuildTheRobots> explore: usually for vlans you end up with eno1.<vlanID> as the device name iirc
[17:06] <explore> BuildTheRobots: i am trying to give my eno1 another ip address
[17:07] <explore> on the same 10.0.0.* network
[17:07] <explore> right now eno1 is <IP_ADDRESS>
[17:07] <OerHeks> bougyman, oh, from -edge, that is hard style
[17:08] <BuildTheRobots> if it's the same network range then its probably an alias you want rather than vlan. either way, you would usually end up with an adapter called `eno1:1` for an alias or if it's a vlan (say 900) then `eno1.900`
[17:08] <zogommog> Let me try this question one more way, if I have a program installed with snap and it seems to require "snap run program-name", should it work fine to just create an alias to "snap run program-name" to "program-name" to satisfy that scripts are happy?
[17:08] <BuildTheRobots> trying to call it eno2, i believe, is wrong
[17:08] <bougyman> OerHeks: I just removed edge.
[17:08] <bougyman> OerHeks: thanks.
[17:08] <TJ-> explore: you only want another IP address? If you do not need the vlan then simply "ip addr add address/mask dev eno1"
[17:09] <bougyman> Dunno why it would work for so long and suddenly fail. But since this is my primary work laptop don't have time to dig into that today.
[17:09] <explore> TJ-: i want DHCP server to assign the ip address
[17:09] <explore> not static
[17:09] <TJ-> explore: ahh OK, makes more sense now
[17:09] <OerHeks> bougyman, hwe is safe, just the -edge version is kinda testing, hwe gives 5.0.x https://packages.ubuntu.com/bionic-updates/linux-image-generic-hwe-18.04
[17:10] <explore> so are you saying macvlan is not for adding another virtual nic bound to my physic nic?
[17:10] <bougyman> OerHeks: yep, that's what I'm booted to
[17:10] <bougyman> Linux bougypad 5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[17:10] <BuildTheRobots> explore: i believe macvlan is for adding a mac based vlan, not an interface alias
[17:10] <explore> so my current nic is eno1, and it's <IP_ADDRESS> on my home network, and i want it to also be <IP_ADDRESS> (say 3 was assigned by the home network)
[17:11] <explore> how...to do this?
[17:11] <explore> BuildTheRobots: ah i see.. sorry i didn't know
[17:12] <TJ-> explore: which part doesn't work for you? do you get a eno1.eth1 interface ?
[17:13] <BuildTheRobots> actually, sorry, i lie, you can use macvlan to have interfaces with different mac addresses... do you actually want them both to have different mac addresses?
[17:15] <BuildTheRobots> explore: and then, the other obvious question is "where did you get the second mac address from?" - eg did you just make it up?
[17:16] <explore> I wonder if this would work....
[17:16] <explore> step 1. append this to /etc/network/interfaces
[17:16] <explore> #secondary ip address
[17:16] <explore> auto eno1:1
[17:16] <explore> iface eno1:1 inet dhcp
[17:16] <explore> step 2. /etc/init.d/networking restart
[17:17] <tomreyn> !paste | explore
[17:18] <BuildTheRobots> explor... maybe - is your primary address on that interface dhcp? if so then the server might expect both to have seperate mac addresses otherwise it'll try and give both the same address. as per my questions above: "what are you trying to achieve, wheres' the second mac come from?"
[17:18] <explore> sorry guys
[17:18] <explore> randomly generated Mac
[17:19] <TJ-> So the aim is to obtain 2 DHCP allocated addresses in the same sub-net on the same link?
[17:19] <explore> TJ-: yes
[17:21] <zogommog> Ah well I solved my earlier questions. For some reason /snap/bin wasn't being added to the $PATH so the stuff I installed wasn't found, perhaps it could be since I haven't re-logged in since installing snaps.
[17:22] <zogommog> if that's the case, that might be a nice touch to add to the snap installation process
[17:22] <explore> so... BuildTheRobots TJ- right now my /etc/network/interfaces look like this: https://paste.ubuntu.com/p/b8tPzrRJjX/
[17:22] <explore> but.. eno1:1 didn't show up when i run ifconfig
[17:23] <BuildTheRobots> explore what about `ifconfig -a` ?
[17:23] <explore> okay i try
[17:31] <BuildTheRobots> explore: i meant simply if it doesn't show with `ifconfig` does it show with `ifconfig -a` - iirc ifconfig only shows interfaces that are up - if you've just created it then it might still be layer2 down
[17:35] <explore> ...experimenting
[17:36] <explore> so if i stuff these ip adds into /etc/network/interfaces they should persist to the next reboot?
[17:36] <explore> someone in 2016 claimed that Network-Manager can pwn /etc/network/interfaces i almost apt-get purged it
[17:36] <explore> then TJ- said no.. that shouldn't be the case now
[17:37] <ash_worksi> is there an opposite to curl's --fail-early?
[17:37] <ash_worksi> (like succeed-early?)
[17:37] <rbasak> /etc/init.d/networking restart is fundamentally broken
[17:37] <rbasak> I wouldn't rely on it, but it might work for you
[17:37] <ash_worksi> in other words, if I don't get a failure, forget about the other urls
[17:38] <rbasak> The danger of editing /etc/network/interfaces concurrently is that you can't be sure that you've got it exactly right without properly testing, which requires a reboot
[17:38] <explore> rbasak: when you say broken.. can you pls elaborate?
[17:38] <explore> yeah i don't mind rebooting
[17:38] <explore> so always reboot right?
[17:38] <rbasak> explore: "restarting networking" isn't a well-defined operation with things like NIC hotplug support
[17:38] <explore> i have been doing reboots
[17:38] <explore> ah okay
[17:39] <rbasak> What you presumably want is for your live networking configuration to be brought up to what you've defined in /etc/network/interfaces
[17:39] <rbasak> But "restart" won't necessarily do that, depending on your current live state and the changes you've made in there
[17:40] <omega_doom> .exit
[17:40] <rbasak> Because since concurrent bringups were implemented (as NICs appear "coldplug" on boot), ifupdown init scripts weren't updated to keep the behaviour correct
[17:40] <rbasak> It's one of the shortcomings of ifupdown
[17:44] <explore> i don't mind doing a cold boot
[17:45] <explore> no biggy
[17:46] <linuxr> hello all, I have the latest and greatest ubuntu 18.04 and installed the package "php-redis", but it seems to be very ancient...how could the package be updated?
[17:47] <pragmaticenigma> !latest | linuxr
[17:48] <explore> i think i broked linux haha
[17:49] <IkoIKo> max winters
[17:50] <pragmaticenigma> linuxr: In other words, there isn't an Ubuntu provided solution for your question. There are unsupported options such as locating the developer PPA, where the developers sometimes offer more up-to-date offerings; Snaps or flatpaks, which are also provided by developers (they have some limited support options in the ubuntu community); or downloading directly from the developer's project site and installing it manually.
[17:50] <rbasak> I think there is an answer.
[17:50] <rbasak> Ubuntu developers work to get users the latest and greatest. We call it 19.10 :)
[17:51] <rbasak> It is somewhat of a contradiction to want both something that doesn't change and also want the latest :)
[17:51] <amazoniantoad> We should all list off what we use Ubuntu for
[17:51] <pragmaticenigma> rbasak: That is true for a user perspective. However LTS versions are released for those seeking stability.
[17:51] <rbasak> Though I appreciate that everyone wants _something_ new and everything else stable.
[17:51] <pragmaticenigma> amazoniantoad: Feel free to do so, but please do it in #ubuntu-offtopic
[17:51] <rbasak> That something is different for everyone, and so the logical conclusion is to offer everything updated, which is exactly what we do.
[17:52] <linuxr> pragmaticenigma, yeah I see..going to build it manually then
[17:52] <amazoniantoad> thanks pragmaticenigma
[17:52] <rbasak> A solution to getting everything stable except for one thing is to run 19.10 in a lxd container and map what's needed through, for example.
[17:52] <rbasak> Or use a snap, though that requires a snap to exist for the thing you want the latest of.
[17:52] <linuxr> pragmaticenigma, just thought maybe I could contribute to an updated package
[17:53] <rbasak> (oh, you mentioned snaps already)
[17:53] <pragmaticenigma> !backports | linuxr, perhaps contributing to backports would achieve that?
[17:54] <rbasak> I suggest maintaining a PPA before maintaining backports
[17:54] <linuxr> ppa's are always somewhat sketchy - id would be good to have up-to-date official packages
[17:54] <linuxr> which also someone can audit
[17:55] <rbasak> I totally agree
[17:55] <rbasak> Essentially there are two steps
[17:55] <rbasak> 1) prepare the packaging (you can do this in a PPA)
[17:55] <rbasak> 2) Make it official, which requires an audit from a suitably approved Ubuntu developer
[17:55] <rbasak> I'm suggesting that you can do 1 before worrying about 2.
[17:55] <rbasak> You'd need to do 1 anyway
[17:55] <linuxr> rbasak, okay, I see
[18:04] <adrian_1908> Anyone here have experience with Ubuntu on the Acer C720? The device freezes on me after a few minutes in Ubuntu. It seems to run fine (not overwhelmed) up to that point.
[18:05] <franzo> Hello
[18:06] <franzo> I have a problem on my desktop pc. It's been some day that I am trying to boot my pc with ubuntu and it get stuck with a black screen before starting the OS.
[18:07] <adrian_1908> franzo: Has it been working for a while before, or is it a new installation?
[18:07] <franzo> Btw it is not a thing that always happens
[18:07] <franzo> It is now working, I just reset the pc with the power on button on my case
[18:07] <franzo> but sometimes I have this issue
[18:08] <franzo> so to get it work I must restart the pc manually
[18:09] <ryuo> franzo: are you using the latest bios?
[18:09] <franzo> This is an old machine from 2009.. I think an Asus motherboard P5gM-41 or something like that
[18:09] <franzo> I am actually using this pc with dual boot with windows 10
[18:09] <viniciusb> Hello everyone! How yall doing?
[18:10] <ryuo> franzo: i see. sounds like a hardware problem or the kernel not working around an issue.
[18:11] <franzo> I noticed that this issue started when, After I power off my pc, I press the power button on the back of the case
[18:11] <ryuo> adrian_1908: what version of Ubuntu? if it's not a hardware flaw, then it's probably a platform specific issue.
[18:12] <franzo> The next time I start my pc I get this black screen with njothing to do. I restart and it boots normally.
[18:12] <franzo> I am using ubuntu 19.10
[18:13] <franzo> 🤔
[18:13] <MikeRL> Hello. Running Ubuntu 19.10. Wondering if there's a way to see if a manually installed driver is working. Specifically Intel Wifi drivers. I downloaded the archive from Intel's site and followed the readme file.
[18:13] <tomreyn> franzo: journalctl -b | grep DMI:     reports what?
[18:15] <franzo> https://paste.gnome.org/p33br0pbx
[18:15] <franzo> This is the outcome
[18:16] <franzo> sounds like there is a problem with my radeon?
[18:16] <tomreyn> franzo: so that's the latest bios available for this board, indeed. and it's a really old board, too.
[18:17] <franzo> Yep. I said that my pc is old.. at least 2009
[18:17] <ryuo> franzo: well, this normally speaks of a hardware issue or quirk.
[18:17] <adrian_1908> ryuo: 19.10, but I think I'll try 18.04 now. Could a newer kernel actually introduce such an issue, or is that unlikely? I ran Xubuntu 18.04 on it in the past, but didn't touch the device for a year or so. That will be my third option if vanilla Ubuntu doesn't work.
[18:17] <franzo> But I started to have this issue recently, not when I installed the OS
[18:17] <adrian_1908> btw, is the casper-rw partition on a live USB a new thing? Does it record what happens during a live session?
[18:18] <ryuo> adrian_1908: kernels sometimes have regressions.
[18:18] <ryuo> adrian_1908: but this isn't a core based CPU that i can tell... the atom ones were notorious for requiring a lot of workarounds to avoid issues like freezing.
[18:19] <ryuo> adrian_1908: maybe the cstates are flawed. one thing to try is messing with cstate settings. if that resolves the problem then you're on to something.
[18:19] <franzo> Tomreyn: is there something I can do? Did you read what I paste?
[18:19] <ryuo> adrian_1908: err i mean, it isn't an atom based one.
[18:19] <franzo> Tomreyn: this string: nov 19 11:43:46 franzo-System /usr/lib/gdm3/gdm-x-session[896]: (II) RADEON(0): Output HDMI-0 has no monitor section
[18:20] <tomreyn> franzo: i read what you pasted, and i agree it's likely a hardware / firmware issue. also a hardware platform that is out of support.
[18:20] <franzo> it's like it does not recognise no monitor. But I am actually using the VGA port
[18:20] <tomreyn> HDMI is not VGA
[18:20] <franzo> Yeah I know
[18:20] <adrian_1908> ryuo: Yeah, since it seems to freeze after a certain period, cstates could be involved. I'll try the 18.04 ISO now and report back, thanks.
[18:21] <ryuo> adrian_1908: i'd start by disabling cstates entirely to see if it freezes or not.
[18:21] <franzo> Tomreyn: that's strange because maybe it was stuck because it expected to find a monitor connected on the HDMI port?
[18:21] <MikeRL> Probably should reboot to reload wifi drivers.
[18:22] <ryuo> franzo: what have you been using this for?
[18:23] <tomreyn> franzo: the graphics card driver is just reporting that there is nothing connected to HDMI, i don't see an issue there.
[18:23] <ryuo> franzo: depending on what you need, you can find used PCs for relatively low prices...
[18:24] <xSlendiX> hello everyone, im having a problem with installing a kernel module. safe boot is disabled. this is the command i run:
[18:24] <xSlendiX> root@moment:~# modprobe binder_linux
[18:24] <xSlendiX> modprobe: ERROR: could not insert 'binder_linux': Operation not permitted
[18:24] <xSlendiX> any ideas on solving it?
[18:25] <ryuo> xSlendiX: is it a container?
[18:25] <xSlendiX> no
[18:25] <ryuo> well, it means you're not allowed to.
[18:25] <tomreyn> is it ubuntu and a supported ubuntu kernel?
[18:25] <xSlendiX> is a laptop running 19.04
[18:25] <ryuo> as to why i'm not sure.
[18:26] <ryuo> containers can't load kernel modules (security feature)
[18:26] <adrian_1908> ryuo: I can meddle with cstates from the OS, right? Cause my Netbook uses "Seabios" and I don't think I can toggle anything there on boot (might be wrong)
[18:26] <ryuo> adrian_1908: it's a kernel boot option.
[18:26] <xSlendiX> im not running it in a container
[18:26] <ryuo> adrian_1908: so yes.
[18:26] <lordcirth> xSlendiX, What do you need
[18:26] <xSlendiX> is installe don my hard dtive
[18:26] <lordcirth> *binder_linux for ?
[18:26] <xSlendiX> for anbox
[18:27] <xSlendiX> i did what they said:
[18:27] <xSlendiX> $ sudo add-apt-repository ppa:morphis/anbox-support
[18:27] <xSlendiX> $ sudo apt update
[18:27] <xSlendiX> $ sudo apt install linux-headers-generic anbox-modules-dkms
[18:27] <xSlendiX> then
[18:27] <xSlendiX> $ sudo modprobe ashmem_linux
[18:27] <xSlendiX> $ sudo modprobe binder_linux
[18:27] <tomreyn> !paste | xSlendiX
[18:27] <lordcirth> xSlendiX, can you do 'modprobe ashmem_linux' ?
[18:27] <ryuo> is there a standard ubuntu feature that blocks modprobe?
[18:27] <ryuo> i can't recall any.
[18:28] <lordcirth> I think other errors can show up as "Operation not permitted" when that's not quite the true problem
[18:29] <franzo> ryuo: this pc is not used for production.. is just a media center and a database for my files that are located in my windows partition
[18:29] <xSlendiX> this is the main problem i think
[18:30] <lordcirth> xSlendiX, you were quieted there, so we may have missed some of your messages.  Does 'modprobe ashmem_linux' return without errors? Can you 'lsmod | grep ashmem' ?
[18:30] <xSlendiX> yes it returns with no errors
[18:31] <lordcirth> xSlendiX, and lsmod?
[18:32] <xSlendiX> yes it returns with no errors
[18:32] <lordcirth> xSlendiX, but does it print anything?
[18:32] <xSlendiX> https://imgur.com/Tqgi6Ng - my chat history
[18:32] <xSlendiX> yes
[18:32] <xSlendiX> it does print
[18:32] <xSlendiX> ashmem_linux           16384  0
[18:33] <ioria> xSlendiX, what's your kernel ?
[18:33] <xSlendiX> sec
[18:33] <lordcirth> xSlendiX, Ok. Well, this is a third-party PPA, and the problem is not obvious, so you should probably get support from the Anbox community.
[18:33] <xSlendiX> 5.0.0-36-generic
[18:33] <xSlendiX> it worked before
[18:33] <xSlendiX> on another machine
[18:34] <lordcirth> !oneline | xSlendiX
[18:34] <xSlendiX> ok sorry im used to other chats
[18:34] <explore> hey may i ask if it's possible to set up static ip on Ubuntu Desktop but via command line?
[18:35] <franzo> Ryuo: So I just give up and see if this get worse?
[18:35] <ioria> xSlendiX, i can suggest two things; a kernel upgrade (like 5.3) or sign anyway the module (https://gist.github.com/dop3j0e/2a9e2dddca982c4f679552fc1ebb18df) also if SB is disabled
[18:39] <xSlendiX> i have applied the one time run script and now im gonna reboot
[18:42] <xSlendiX> rebooted
[18:43] <xSlendiX> i didnt even need to sign it what
[18:50] <Elliria> Hey there, I use dpkg -s examplepackagename | grep "Maintainer" to get the contact information of the maintainer of a package, but I've been told that doesn't always work. Does anyone know of other commands that can display the maintainer?
[18:52] <pragmaticenigma> Elliria: It doesn't always work because not all packages have the field populated
[18:53] <MikeRL> Sorry I took so long. Got distracted. Anyhow, I've tried terminal commands to check if the Intel Driver from the site is actually being used. Additional drivers reports nothing is being used. How can I check to see if it's enabled and also enable it if it's not?
[18:53] <pragmaticenigma> Elliria: If it is comming from Ubuntu repositories, typically they will either have Ubuntu Core Developers<EMAIL_ADDRESS>or Ubuntu MOTU Developers<EMAIL_ADDRESS>depending on which repositories the package is found in.
[18:54] <Elliria> Ah, okay. If that's the only reason, then that command should be fine.
[18:54] <MikeRL> By the way, if I click "Continue using a manually installed driver", there's no apply button despite being able to select the radio button.
[18:54] <Elliria> So should I do a grep for "Ubuntu Core Developers" and "Ubuntu MOTU Developers" as well to capture those?
[18:56] <pragmaticenigma> Elliria: This would be better discussed in #ubuntu-app-devel
[18:57] <Elliria> Okay, thanks.
[19:08] <adrian_1908> Was there a freenode server issue a few minutes ago?
[19:12] <dax> no
[19:16] <adrian_1908> Ok, thanks. Timed out here but my connection was fine.
[19:22] <SleepyHollow> Hi guys, I'm having a bit of a problem when installing software I posted a image on imgur can anyone help? https://imgur.com/gofoutG
[19:22] <bprompt> adrian_1908:  not that I know of
[19:24] <sarnold> SleepyHollow: you'll have to scroll up to see the error message; you'd do better to copy and paste all the text into paste.ubuntu.com
[19:24] <twobitsprite> any tips on identifying filesystem types on a random LV? I have an image from a system that was decomissioned. it's a disk image with LVM on one partition, but when I try to mount it, I get "wrong fs type, bad option, bad superblock"
[19:25] <sarnold> twobitsprite: file can probably report what it is
[19:25] <twobitsprite> sarnold: /dev/dm-2: block special (253/2)
[19:25] <twobitsprite> (already tried that :P)
[19:25] <TJ-> twobitsprite: "file -s ..."
[19:26] <sarnold> twobitsprite: hah dang that's not so useful; try dd if=/dev/dm-2 of=- bs=1024 count=4 | file -
[19:26] <sarnold> hahaha
[19:26] <twobitsprite> /dev/dm-2: Linux rev 1.0 ext4 filesystem data, UUID=ae29f138-05ce-4f68-95d9-24fe6fb56bed (extents) (64bit) (large files) (huge files)
[19:26] <twobitsprite> but I have ext4 on my root partition, so I assume I should be able to mount ext3
[19:26] <twobitsprite> ext4*
[19:27] <TJ-> twobitsprite: "sudo mkdir /mnt/test; sudo mount /dev/dm-2 /mnt/test; sudo ls -latr /mnt/test"
[19:27] <adrian_1908> Alright, so Xubuntu (18.04 & 19.10) doesn't hang up my Acer C720, where as Ubuntu (18.04 & 19.10) does. Weird! I gotta go now, should I file a bug report?
[19:28] <SleepyHollow> sarnold ok thank you ill do that :)
[19:28] <TJ-> adrian_1908: possibly due to GPU acceleration and compositiing
[19:28] <twobitsprite> TJ-: I've tried mounting it... I did, basically, mkdir /mnt/foo; mount /dev/dm-2 /mnt/foo # and I get mount: /mnt/foo: wrong fs type, bad option, bad superblock
[19:29] <adrian_1908> TJ-: It hangs after maybe 2-3 minutes, wouldn't that exclude that?
[19:29] <TJ-> twobitsprite: ahhhh... check kernel log for a clue: "journalctl -k -e"
[19:29] <twobitsprite> this image is from a clean shutdown... I just tried fsck.ext4 on it and it finds "Superblock has an invalid journal"
[19:29] <sarnold> adrian_1908: it's often worth filing a bug report; nothing may come of it, but nothing will come of a bug report that's not filed
[19:29] <TJ-> adrian_1908: depends... as always!
[19:29] <adrian_1908> Ok, well gotta go now will revisit the problem tomorrow. Bye guys!
[19:30] <TJ-> twobitsprite: sounds like it might have been damaged. There are special ext* mount options to ignore the journal
[19:30] <twobitsprite> TJ-: EXT4-fs (dm-2): no journal found
[19:31] <twobitsprite> this is an AWS instance image. I'm trying to recover an EC2 instance which ran out of disk space on it's data volume
[19:31] <twobitsprite> so, I shut down the instance, snapshotted the data volume, created a volume from the snapshot, now I'm trying to mount it from a new instance
[19:32] <SleepyHollow> https://paste.ubuntu.com/p/s4YwsbPHcd/
[19:32] <twobitsprite> not sure how it would have been damaged
[19:33] <TJ-> twobitsprite: see "man ext4" and in the ext3 options the "norecover/noload" options
[19:34] <sarnold> SleepyHollow: try sudo fuser -v -k /var/cache/debconf/config.dat
[19:35] <twobitsprite> TJ-: # mount -onorecovery /dev/dm-2 /mnt/foo
[19:35] <twobitsprite> mount: /mnt/foo: mount(2) system call failed: Structure needs cleaning.
[19:35] <twobitsprite> TJ-: I really do appreciate the help, I feel like we're getting somewhere
[19:35] <TJ-> twobitsprite: so retry a fsck ?
[19:36] <twobitsprite> TJ-: what options do you recommend for the fsck? -y? -f?
[19:37] <TJ-> twobitsprite: non-destructive to begin with just to see if it can detect what is wrong
[19:38] <twobitsprite> TJ-:  I did fsck.ext4 -y /dev/dm-2, and it marked it clean, I was able to mount it, but all it has is an empty lost+found directory :(
[19:38] <sarnold> :(
[19:39] <TJ-> twobitsprite: you check with "ls -a" to show dot files/dirs ?
[19:40] <twobitsprite> /mnt/foo# ls -a
[19:40] <twobitsprite> .  ..  lost+found
[19:40] <TJ-> twobitsprite: also check the block usage with "df /dev/dm-2"  --- and what did "dumpe2fs -h /dev/dm-2" report previously in terms of blocked used
[19:40] <twobitsprite> this might be a problem: Root inode is not a directory.  Clear? yes
[19:40] <TJ-> twobitsprite: ouch!
[19:40] <KazDax> when you install ubuntu ..does it download stuff from online ?
[19:41] <KazDax> because i thought the 2 gig iso would be all i needed
[19:41] <lordcirth> KazDax, depends, the default installer has a checkbox to install updates during install
[19:41] <KazDax> maybe i choose to do the full install
[19:41] <twobitsprite> Filesystem                      1K-blocks  Used Available Use% Mounted on
[19:41] <twobitsprite> /dev/mapper/docker-docker--pool  10255636 36876   9678088   1% /mnt/foo
[19:41] <KazDax> perhaps that what i choose for as default
[19:41] <KazDax> maybe thats why its taking time
[19:41] <sarnold> twobitsprite: ouch :(
[19:41] <KazDax> but it keeps telling its retriving files
[19:41] <TJ-> twobitsprite: at this point I'd return to the original snapshot before the FS fix, and run photorec on /dev/dm-2
[19:41] <lordcirth> Probably. I believe it's checked by default if it detects a connection.
[19:41] <KazDax> so i think that is what is happening
[19:41] <twobitsprite> how did this happen? the disk was full in the instance, but when I shut it down and clone the volume, it has nothing on it?
[19:41] <KazDax> ya
[19:42] <TJ-> twobitsprite: this was part of a pool? was it a thin pool ?
[19:42] <sarnold> KazDax: yeh I believe it does download updates if it can, so you're more likely to come up on first boot with security fixes already installed
[19:42] <KazDax> cool
[19:42] <sarnold> twobitsprite: I believe you emptied it with "Root inode is not a directory.  Clear? yes
[19:42] <twobitsprite> it's whatever AWS/EC2 does when you create an instance with an extra data volume...
[19:43] <twobitsprite> sarnold: I mean, I know what that means, I'm just saying, that's what fsck did... the question is, why did it not find a directory in the root inode?
[19:43] <lordcirth> Probably because the root inode was corrupted
[19:43] <twobitsprite> no shit :P
[19:44] <sarnold> twobitsprite: yeah, that's a good question :( do you stil lhave a snapshot? debugfs may be able to help you figure out what happened
[19:44] <twobitsprite> but why? it was a healthy instance, gracefully shut down and cloned...
[19:44] <TJ-> twobitsprite: check the origin, but I suspect you'd need to make the snapshot with "lvcreate .... -type thin --thinpool <new> <origin> "
[19:44] <twobitsprite> sarnold: I'm working from the snapshot
[19:44] <SleepyHollow> sarnold: well now im able to install software, thank you and do you know what happened?
[19:45] <TJ-> twobitsprite: assuming the origin is an LV in a  thin pool
[19:45] <twobitsprite> TJ-: all I have now is the snapshot created by AWS... as in, from the web console, I selected the volume after the instance was shut down and created a snapshot from there
[19:45] <twobitsprite> the original instance had 2 volumes, an 8GB root volume with no LVM, and a 20GB data volume mounted to /var with LVM
[19:45] <TJ-> twobitsprite: hmmm! not sure how you can progress then. maybe aim testdisk at the raw image after de-activating the VG itself
[19:45] <sarnold> SleepyHollow: sorry, not a clue :( I've never seen that one before
[19:46] <TJ-> twobitsprite: as in, unmount, then "vgchange -an docker"
[19:47] <twobitsprite> TJ-: ok, I'll set up a new volume from the snapshot and try photorec and testdisk on it
[19:47] <twobitsprite> bbiab
[19:48] <SleepyHollow> sarnold: well thank you and its happened to me before and I couldn't figure it out ended up just wiping and reinstalling. I'm going to save that command so know i know what to do. Thank you so much!
[19:49] <sarnold> SleepyHollow: yikes. next time it happens it's worth filing a bug report before fixing it ;)
[19:49] <sarnold> since the SO post I found that on was freom seven years back I figured it was a mostly solved old problem
[19:49] <SleepyHollow> sarnold: ill do that :)
[19:50] <SleepyHollow> sarnold: thanks aging. :)  have to go,
[19:51] <sarnold> see ya :)
[19:52] <TJ-> twobitsprite: re my theory about it being a thin pool, if the origin was, then this applies (see 'man lvmthin' for more detail): Blocks  in a standard LV are allocated (during creation) from the Volume Group (VG), but blocks in a thin LV are allocated (during use)
[19:52] <TJ->        from a special "thin pool LV".  The thin pool LV contains blocks of physical storage, and blocks in thin LVs just reference  blocks  in
[19:52] <TJ->        the thin pool LV.
[19:53] <twobitsprite> TJ-: ok, I'm running testdisk deepsearch on a new volume from the snapshot... looks like it might take a while... in the meantime, the main data I'm looking to recover is a docker volume... any idea if testdisk or some other tool would be good at finding that?
[19:54] <twobitsprite> TJ-: interesting... what does that mean in terms of recovery thought? seems like it should still be able to see the blocks, right?
[19:54] <TJ-> twobitsprite: the 'docker volume' being an LVM LV with a file-system in presumably?
[19:54] <TJ-> twobitsprite: well as I said, if when creating the snapshot the command didn't use the thinpool options then it might not copy the correct blocks into the snapshot
[19:55] <TJ-> twobitsprite: the problem with GUIs
[19:59] <twobitsprite> ugh.......
[19:59] <twobitsprite> and this is all default stuff for AWS ECS.... I didn't even set up the LV :(
[19:59] <twobitsprite> you'd think it would know how to snapshot the LV it created for me
[19:59] <twobitsprite> sorry /rant
[20:00] <TJ-> twobitsprite: this is only a hypothesis for now, we don't know for sure
[20:00] <twobitsprite> I'm using testdisk to clone the partition to a dd file, so I can use the filesystem utils... hopefully that finds something
[20:00] <twobitsprite> brb
[20:22] <small-data> Is there any way to know if or when the latest version of Thunderbird will be available in the repository?
[20:22] <lordcirth> !latest | small-data
[20:23] <lordcirth> 20.04 will probably have it
[20:24] <small-data> There is what I would call a high-impact bug in v60. New Gmail accounts cannot be set up.
[20:24] <OerHeks> thunderbird latest is available as snap?
[20:25] <OerHeks> https://snapcraft.io/thunderbird
[20:25] <OerHeks> v 68.1.1
[20:25] <OerHeks> oh, typo, .2.2
[20:25] <ioria> small-data, 68 it's in proposed if you know what you're doing
[20:26] <small-data> OK, TYVM
[20:30] <muhaha> anyone uses microk8s? how to add insecure registries to crio ?
[20:37] <ash_worksi> what's a good channel to ask questions about gnu parallel?
[20:39] <sarnold> ash_worksi: there's probably no perfect place to ask, might as well try here
[20:42] <ash_worksi> I am curling a bunch of domains to see if they are curlable. My function is called `uncurlable`; I want to end up with two things: (A) a bash array with uncurlable domains and (B) a file containing the verbose curl output.
[20:43] <ash_worksi> right now my function is `uncurlable(){ time (curl -svI --max-time 5 "$1" || curl -svI --max-time 5 "https://$1") 1>&2 || echo "$1"; }`
[20:44] <rypervenche> You could add -L to make it automatically redirect, so no need to specify the https. Not your question though.
[20:45] <ash_worksi> rypervenche: no, it's not for a rediret
[20:45] <ash_worksi> rediret*
[20:45] <ash_worksi> ugh
[20:45] <ash_worksi> redirect*
[20:46] <ash_worksi> the logic in plain english is: test 80, can't do that? test 443
[20:47] <ash_worksi> the question is not whether I get a comprehensible response, it's whether I get ANY response
[20:47] <ash_worksi> it's basically the opposite of --fail-early
[20:47] <ash_worksi> it's like --succeed-early
[20:48] <ash_worksi> anyway, the other parameter here is parallel's --tagstring {}: gives my very nice output and would make a log searchable
[20:49] <ash_worksi> ie `grep 'timeout' log` would have all domains I tested that timed out
[20:49] <ash_worksi> or timed out"
[20:49] <ash_worksi> whatever
[20:50] <ash_worksi> the real question is, if I redirect this to a file in my function, is that going to hangup parallel?
[20:50] <Alexa> Guys, how to make new files inherit folder's permission automatically
[20:50] <Alexa> ?
[20:50] <sarnold> ash_worksi: redirecting to *files* ought to work fine, but redirecting to *a file* is bound to lead to interleaved outputs
[20:50] <Alexa> For example, the directory is 775, but the file created is 755. Why?
[20:51] <sarnold> Alexa: because files are created with the permissions the application specifies in the open(2) call and subtracting the bits specified in the process umask(2)
[20:51] <rypervenche> Alexa: That is because of your user's (or the process's) umask.
[20:51] <Alexa> www-data creates file
[20:52] <ash_worksi> sarnold: I'm actually not concerned about the order; since that's not guarenteed by parallel anyway unless I use `--result log.tsv` which seems to write data into positions based on sequence number
[20:52] <OerHeks> Alexa, normally one would add the user member of www-data
[20:53] <Alexa> my user is added.
[20:53] <Alexa> in the www-data group
[20:55] <Alexa> any new file made by my php has permission 755
[20:56] <Alexa> and then in my file browser I have the lock symbol on new file
[20:56] <Alexa> until I manually change its permission to 775
[21:04] <Alexa> OerHeks, sudo setfacl -Rdm g:www-data:rx html
[21:04] <Alexa> this did the thing ;)
[21:14] <peter22222> hi folks... how can i add any guest-session-user permanently to a certain group?
[21:16] <sarnold> hmm I can't spot that username in the debian code search https://codesearch.debian.net/search?q=guest-session-user
[21:16] <sarnold> is it provided by a package that's modified for ubuntu? or only in ubuntu?
[21:18] <OerHeks> peter22222, sure, read the whole wiki .. https://help.ubuntu.com/community/CustomizeGuestSession#Add_guest_to_additional_user_group
[21:20] <peter22222> aaah thank you 0erHerks !! :-)
[21:46] <twobitsprite> Alexa, play the scoopy doo theme song
[21:46] <twobitsprite> *duck*
[21:51] <EldonMcGuinness> Anyone know if there is a way to hide join/part in polari?
[21:53] <mahavishvarupa> I installed Ubuntu via the server iso and then installed Kubuntu-desktop.  What is the default network connection manager?  I need to disable it so I can use NetworkManager
[21:54] <sarnold> mahavishvarupa: I think it's as easy as changing the netplan renderer from systemd-networkd to networkmanager https://netplan.io/
[21:57] <mahavishvarupa> sarnold: thanks a lot. Ubuntu uses netplan does it??
[21:59] <sarnold> mahavishvarupa: newer releases do, yes
[21:59] <mahavishvarupa> I installed 19.10.  Thanks for your help sarnold.
[22:05] <zogommog> uhhh I've been fighting with a deploy script for hours, only to find someone else with the same exact error saying the SNAP version of Terraform was the problem!!
[22:13] <Brisingre> Hello! I'm looking for some help with mdadm, can anybody in here give me some pointers?
[23:03] <kyle__> Trying here since kernenewbies is dead...
[23:03] <kyle__> When you get a general protection fault, what do the ip and sp portions of the error mean?
[23:03] <kyle__> Nov 19 09:22:20 leela kernel: [46702.975859] traps: remmina[13282] general protection fault ip:7f5d9db6cca3 sp:7ffeb74e9800 error:0 in ld-2.27.so[7f5d9db60000+27000]
[23:50] <gp> How can I extract a xar archive on ubuntu 18.04?