[00:07] Evening all! I set up shutter to screenshot for me... I then tied it to my print screen keyboard button but everyone i use it I have to press the button twice. The first time kills the process and the second time launmches a new one [00:07] Any ideas on how you can tell it to use the currently running process instead of killing it first? [00:08] what are the internationally and also nationally (within USA) recognized certificates for Ubuntu knowledge? (such as LPIC) [00:09] what are the internationally and also nationally (within USA) recognized certificates for Ubuntu knowledge? (such as LPIC) -- sorry I closed the tab by mistake (my touchpad is acting weirdly today) [00:10] @pyeverything I don't know of any certifications that are specific to Ubuntu that companies would be looking for. [00:11] I wish there was one [00:11] I know Ubuntu offers training and completing those courses nets a completion cert of some kind [00:11] btw do you know why my touchpad is being weird today? it keeps closing tabs on browser, terminal, and here [00:11] But I've always seen companies looking for general Linux certs and experience [00:12] which certificates? ExcessiveAggro [00:12] Maybe it doesnt want to leave 2020 [00:12] :)))) [00:12] I wonder if any of the updates I had today is causing it [00:12] https://hackr.io/blog/best-linux-certifications [00:13] That's a random google I did... others here will have to weigh in if there are others [00:15] If you were looking for Ubuntu specific training you can look here: https://ubuntu.com/training (Although I doubt companies would be specifically looking for this unless they had a pile of Ubuntu servers :) [00:15] pyeverything: I've found, including as a hiring manager, that when hiring for a Linux admin/engineer position, "Linux" understanding is more valuable to me than "RHEL" or "Ubuntu" knowledge. [00:16] @foxide - Agreed [00:16] thank you foxide [00:16] Those who understand RHEL only know how to work with the system in the confines of how Red Hat thinks you should, as an example. Those who understand Linux systems understand how the system functions outside of the distro-specific tooling that's provided. [00:17] Because, as should surprise no one, that tooling can break, and if you don't understand what that tooling is doing to the system under the hood, you're in trouble. [00:17] is there a certificate for 'linux understanding' you'd suggest? foxide [00:18] If you were going to do any at all, I'd say the Linux Foundation series. [00:18] thanks a lot foxide [00:18] I've found a more significant correlation between certification and useful skills with those certs than with others. [00:18] However, at the end of the day, you're being hired for what you can do, not what paperwork you have. [00:18] Study to UNDERSTAND, not to pass the test. [00:19] I cannot stress that enough. [00:21] And, in near-2021, having a demonstrable foundation in security is absolutely critical. [00:22] @foxide \ well said [00:24] So if you were looking for a starting point, and wanted a certification to go with it, go for the LFCS (Linux Foundation Certified System Administrator), which is course LFS201 and its exam, and the Linux Security Fundamentals course (LFS216). [00:24] unfortunately they didn't teach us security at school I wish it was obligatory [00:24] Ugh, it should be. [00:25] though heard a while back they are making it obligatory in Arizona [00:25] I suspect that this channel is FULL of people that could direct you to good resources. I'm one of them. [00:25] I was at UW-Madison and now at BU and none is obligatory [00:25] To be truthful with you, though, its becoming more and more prevalent that managers are looking for skills and not certifications. [00:25] You're talking about a near thousand dollar investment in what I just listed. [00:26] I found linux for sys admins and that is $4000 [00:26] A course for $4000? [00:26] LFS301 --sorry $3250 [00:27] Oh, that's an in-person course. [00:27] I know things like kubeflow are super necessary for my work [00:27] oh I see [00:27] LFS201 AND the LFCS exam is $499. [00:27] Security is $299. [00:28] If you are at all capable of managing your own time and focus, never do in-person stuff. [00:28] I'll note these thanks [00:28] It's a total ripoff. [00:31] I am not sure what I am doing wrong here. I am trying to setup private internet access in openvpn but after I generate the openvpn config file and import it, it will not connect. I am getting "network connection failed". I installed wireshark and filtered by udp.port == 1198, which is the port that the openvpn config file has as the default but I am not seeing any traffic at all. I have also checked by udp.port == 53 to see if I see the [00:31] dns traffic but I am not seeing anything here as well [00:32] tacomaster: Obligatory warning that VPN services like PIA do almost nothing for you in terms of privacy or security. [00:33] tacomaster: That aside, have you tried increasing openvpn's logging verbosity (3 should do it) to see if any particular issue jumps out? [00:34] foxide: I use it to bypass geo restrictions not for privacy. I understand all I would be doing for privacy is taking the trust away from my isp and giving it to another company. [00:34] tacomaster: It's a blanket warning I give everyone. :) === fourto is now known as disillusion [00:46] Are there ways to resize a currently mounted disk, my root to be exact? [00:47] Depends on certain things. [00:47] What is your current setup in terms of disk partitioning, etc? [00:49] Its two basic partitions on the disk, and 15gb space where i just deleted ubuntu 10 [00:50] Could you paste the output of fdisk -l so I can get a better picture? [00:50] !paste [00:50] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [00:51] https://pb.larskl.de/d5dd [00:53] And which is the one you're wanting to expand? [00:54] sda3 [00:55] So, NORMALLY, I'd say that's a problem, but your partition order isn't in disk order, so this may be easier. [00:55] First: Do you have BACKUPS of important data [00:55] Because any operation that modifies the disk layout can cause loss. [00:55] I am no beginner... [00:56] I have 20 years of experience, and things can still go wrong. [00:57] Then i would not touch it in the first place. [00:57] Backups are a good idea regardless, but alright. [00:57] Thihi my backups are 5 years overdue... [00:58] But my problem is this is the only drive i have. [00:58] After you back up important data, you'd delete the existing partitions using fdisk, then create a new single partition that starts in the same spot that sda3 does now, and spans the entire disk. Then you'd perform a resize operation (resize2fs, xfs_grow, etc.) [01:00] So wait, i cannot resize the disk directly but have to overwrite it with a new one of different size? [01:00] You're not overwriting the disk. You're just changing the partition boundaries so that when you resize the filesystem, it sees a larger partition. [01:01] Given that you only have one disk, though, this is something you'll need to do via a live image, because the system won't honor partition table changes whenever the disk is mounted. [01:01] I specifically asked if its possible to do that without a live disk tho... [01:02] You asked if its possible to resize it while mounted. Yes, just not in your case. [01:02] Ah, in what cases is it possible then? [01:03] When using logical volumes, or when only partitions other than your currently mounted root have to be modified. [01:04] Huh, i thought logical volumes make everything worse. [01:04] Not at all. [01:05] Makes it much easier to manage your available storage. [01:05] I use LVM in all but the simplest setups. [01:06] Wont this add another layer of possible problems? Eg one space more that can get corrupted, and IF corrupted you lose more partitions than without? [01:07] Data managed within logical volumes is still written directly to the disk. LVM has been around for YEARS, and is extremely robust and stable. [01:08] hi! happy new year... question, I'm trying to use samba! I try and connect via a file manager and I get connection refused. if I try and mount the dir with cifs it works fine. what am I missing? [01:09] Deano59: Is the samba server firewalled? [01:09] foxide: nope, I disabled ufw. [01:09] Is the client system on the same subnet? [01:09] yeah [01:09] Sorry, just going through a checklist of Crap I've Seen With Samba(tm). [01:10] xD [01:10] File manager and cifs client are the same machine, I'm guessing? [01:10] works great with cifs, just can't click through the file manager. [01:10] yeah [01:10] Which file manager? [01:10] well thanks for your opinion. [01:10] thunar and pcmanfm [01:11] Do you have thunar-shares-plugin installed? [01:11] no? [01:11] I THINK that's required for SMB support in Thunar. [01:11] it worked fine before, but all of a sudden I get connection refused. [01:12] only thing I changed was installing an ad-blocker (adguard home) [01:12] Wait, I'm dumb, ignore me. [01:12] That's not a separate package in Ubuntu. [01:12] lol :D [01:14] Ugh. Samba should be called Heisenberg's Uncertainty Service. [01:14] Is there any reason on the latest version of Ubuntu the volume control only works at the last 5% or less? [01:14] If I move it past that it goes silent [01:14] foxide: I done: sudo mount -t cifs //192.168.0.225/root rootdir -o; just can't copy/paste anything. [01:15] but connection refused via thunar/pcmanfm [01:16] Are you trying to mount actual '/root' on the remote end, or does the share just happen to be named 'root'? [01:16] hello, I am installing ubuntu 20 lts live server. on the storage configuration, I have a partition set with / and with ext 4 but the done is still greyed out. what I am missing? [01:16] dman777: How large is the disk? [01:16] named root, tried other names too. [01:16] Deano59: What is the path that corresponds to that share on the server? [01:17] path = /mnt/3TB/ [01:17] foxide: the disk is 500gb and the partition I am using is 110gb [01:18] dman777: Is this disk used for anything else, or ONLY Ubuntu? [01:19] foxide: IF I do: sudo mount -t cifs //192.168.0.225/mnt/3TB external -o it says no such dir... but if I do /home or /root it works? [01:19] Deano59: Could you !paste your smb.conf? [01:20] foxide: I have windows 10 on it the disk also. partition 1 is unused ESP.... it's for the EFI bios. I suspect that maybe I need to mark the disk as bootable somehow? I do not see the option [01:20] dman777: Yes, you need to specify that partition as the ESP. Both Ubuntu and Windows will "share" it. [01:21] foxide: https://paste.ubuntu.com/p/dGJgPwCfrc/ [01:21] foxide: well, the storage configuration shows partition 1 as 'existing, unused ESP, already formated as vfat.' [01:22] foxide: in the edit menu it shows as bootloader parition [01:24] oh...I see the text on the top that saids to conitune I need to select a boot disk [01:24] foxide: keeps saying mount error(2): No such file or directory but /home and /root works? [01:26] foxide: how do I select a boot disk in the storage configuration? so far when I go to edit on the partitions I don't get the option [01:30] dman777: Go to the ESP in the partition menu and tell it to use it as the ESP. [01:30] Deano59: You have the 'root' share specified as /, not /mnt/3TB. [01:30] Deano59: /mnt/3TB is presented as the hdd share. [01:32] foxide: yeah [01:32] I tried changing and it's a no go. [01:33] Before I begin, how does custom kernel in ubuntu work? Can I just get the kernel source, customize, build and install or does it have to be ubuntu way somehow [01:49] I need help figuring out how to set up a cron job that will periodically check a directory for a new file... if no new file has been created in an hour's time... it gives me a notification [01:50] The purpose is to act as a sort of notification system that my NVR software has stopped recording one of my cameras [01:51] JFox762: I would check the modify time of the newest file in the directory. If its older than an hour, yell. [01:51] thing is, I dont know how to do cron jobs [01:51] Ahh, gotcha. [01:52] I'd like a tutorial or guide if there exists for the task I'm trying to accomplish :) [01:52] https://help.ubuntu.com/community/CronHowto [02:05] foxide: why doesn't this work? //192.168.0.225/home /media/server cifs uid=pi,credentials=/home/pi/.smbcredentials,iocharset=utf8,sec=ntlm 0 0 [02:06] mount error(22): Invalid argument [02:06] I'm following the ubuntu man page and it won't work! [02:06] I hate samba's indecipherable error codes. [02:06] yeah this is cifs lol [02:06] To be honest, I'm not sure where to go from here. [02:10] need help with this issue. there is no enties in the file of apt/sources.list.d or any other source list for the missing entry [02:10] N: Ignoring file 'balena-etcher' in directory '/etc/apt/sources.list.d/' as it has no filename extension [02:11] i'm unable to run updates till i resolve this issue [02:11] its missing gpg key [02:11] for balena etcher [02:11] i've tried purging the source. but there is nothing to purge [02:12] foxide: I get through the installation all the way until the end. It saids that there was a problem with the installation and it resets the installer to the first step [02:14] dman777: https://itectec.com/ubuntu/ubuntu-mounting-cifs-drive-gives-mount-error22-invalid-argument/ [02:15] https://community.exchange.se.com/t5/EcoStruxure-IT-forum/CIFS-mount-error/td-p/197506 [02:15] Mystified1234: no.... I didn't get that. I got a message box saying it was gather stats to send [02:15] oops, sorry [02:15] np :) [02:15] just joined the channel [02:16] but there is no way for me to view that log before it resets [02:17] no one here to help with my issues [02:20] this is supposed to be a 8G file but when I download using wget --no-check-certificate 'https://docs.google.com/uc?export=downloa&id=1QZcJmGVlF9f4h-XLWe9Gkmnmj2z1gSnk' -O hico_20160224_det.tar.gz --> it only downloads 32k you know how I could fix? [02:21] pyeverything: -o sets the location to log, not the location of the downloaded file [02:22] foxide: looks like a error with curtin [02:23] https://docs.google.com/uc?export=downloa&id=1QZcJmGVlF9f4h-XLWe9Gkmnmj2z1gSnk vulpine [02:23] foxide: //192.168.0.225/home /home/pi/homeserver cifs rw,credentials=/home/pi/.smbcredentials,uid=1000,nofail,gid=1000 works. but can't mount /mnt/3TB but can /root and go into /mnt/3TB so thanks. :) [02:24] wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O FILENAME --> I am following this vulpine [02:24] what am i missing? [02:25] oh apperently thats not a direct download link, theres a confirm page that says google cant scan it for viruses [02:25] so how can I download it? [02:25] in terminal [02:25] ubuntu 18.04 ... on the task bar I have an icon for Thunderbird ... How can I see what command the icon is issuing to start Thunderbird? === zbenjamin is now known as Guest43519 === zbenjamin_ is now known as zbenjamin [02:31] this didn't work too ---> wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1QZcJmGVlF9f4h-XLWe9Gkmnmj2z1gSnk' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1QZcJmGVlF9f4h-XLWe9Gkmnmj2z1gSnk" -O Data/hico_20160224_det.tar.gz && rm -rf /tmp/cookies.txt [02:33] opted to transferring it via rsync from my local machine [02:40] if anyone can help, switch the gnome default virtual keyboard to "ONBOARD " keyboard, i'd appreciate that. running 20.10 groovy [02:41] i have a 2in1 [02:44] New question: I can't seem to ssh to my laptop anymore ... connection refused ... ubuntu 18.04 (on the laptop) [02:46] rjwiii: goto your home folde .ssh/known_hosts and delete the entry and try again [02:50] Mystified1234: laptop or desktop? [02:50] laptop [02:51] gnome virtual kbrd suxs [02:51] Mystified1234: there's a bunch of cryptic looking lines in there ... not what I'm used to seeing ... [02:52] keyboard & sucks [02:52] :) [02:53] Mystified1234: what am I looking for? Or should I just nuke everything? [02:53] ooh [02:53] sorry.. [02:53] delete all the lines [02:54] save, then ssh back into again. [02:55] Mystified1234: My thought, too ... mv known_hosts known_hosts.old; touch known_hosts ... [02:55] it will allow you to reset , by entering the correct user password [02:56] Mystified1234: restart ssh? === de-facto_ is now known as de-facto [02:57] yes, but only from the pc using to access the server [02:58] ssh name@192.123.642.555 [02:58] what ever you use to login with. [02:58] you will enter'yes' the enter the password [02:59] btw do you have port 22 open on both pc's [02:59] Mystified1234: still getting connection refused ... username is the same on both machines, so I'm using ssh -X IPADDRESS [03:00] post the exact messsage [03:00] have you changed any paswwords lately on the server [03:01] Mystified1234: hmmmm ... I think something is hosed on the laptop ... tried a restart there and got: Failed to restart ssh.service: Unit ssh.service not found. [03:01] renable ssh [03:02] are you running a systemd or non systemd [03:02] Mystified1234: stock install of 18.04 [03:03] Mystified1234: how do I renable? [03:03] https://linuxize.com/post/how-to-enable-ssh-on-ubuntu-18-04/ [03:03] sudo systemctl status ssh [03:04] interesting, i'm having the same issue.. [03:05] but i thought it was becaused i changed my password on the server [03:12] Mystified1234: "Unit ssh.service could not be found." [03:14] Confirm that the openssh-server package is actually installed. [03:20] mine is exactly the same [03:20] sssd-ssh.service loaded inactive dead SSSD SSH Service responder [03:21] usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [03:21] That's not the ssh service. [03:22] well, it was there and working 2 days ago [03:22] im running 20.10 testing [03:22] Confirm that the openssh-server package is actually installed, please. [03:23] And 20.10 is a stable release. [03:24] whats the apt '-' variable to list if its installed [03:24] dpkg -l [03:24] dpkg -l | grep ssh [03:24] thanks [03:26] openssh-client [03:27] Which is not the server. [03:27] correct, ill install now.. [03:27] Though that was more for rjwiii . [03:30] foxide: openssh_client is installed ... [03:30] Is openssh-server installed on the system that you are trying to connect to? [03:31] The one on which you're trying to enable/start ssh.service? [03:33] foxide: I believe so ... when I try to install it with apt install ssh_server, I get "not available" [03:33] Because that is not the package name. [03:33] openssh-server is. [03:34] foxide: so I tried to install "ssh-askpass-gnome" and it says already at current version [03:34] systemctl -l --type service --all|grep ssh [03:34] ssh.service loaded active running OpenBSD Secure Shell server [03:34] rjwiii: The server that you are trying to connect to must have the openssh-server package installed. [03:34] That is the package that provides ssh server functionality, so that other systems can connect to it. [03:35] openssh-sftp-server 1:8.3p1-1 [03:35] I did not say that package. [03:35] I said openssh-server. [03:35] openssh-server 1:8.3p1-1 [03:36] sorry pasted wrong 1 [03:36] Gah. I'm talking to rjwiii ! :P [03:36] k [03:36] sudo apt install openssh-server [03:37] sudo systemctl start sshd [03:37] On Ubuntu, installing the package enables and starts the service, and its ssh.service on Ubuntu. [03:38] foxide: I get "refered to by another package" & "has no installation candidate" ... [03:38] rjwiii: Exactly what did you enter? [03:38] fox "sudo apt install openssh-server" [03:39] foxide: "sudo apt install openssh-server" [03:39] Well, that's the name of the package. [03:39] foxide: I have ssh'd to this laptop before without issue ... [03:39] What is the output of dpkg -l | grep openssh-server? [03:41] i need to reset the password on my server.. i forgotten it [03:41] back soon [03:43] foxide: nada [03:44] rjwiii: Then you don't have the correct package installed. Please !paste the contents of your /etc/apt/sources.list file and anything in /etc/apt/sources.list.d [03:44] !paste [03:45] paste.ubuntu.com [03:46] pastebin or dpaste.com [03:46] any of those [03:46] Pastebin is a bit trash, so please not. [03:48] foxide: progress ... sort of .... my sources.list file seems to be missing ... [03:49] That would indeed present a problem, yes. :) [03:49] foxide: I had a .bak and .sav file ... copied the .bak file to sources.list and got a boatload of errors ... [03:50] Which release of Ubuntu are you running? [03:51] foxide: laptop is running 18.04 ... [03:51] foxide: updater is working ... [03:51] The server you're trying to connect to is the one that matters. [03:52] foxide: I'm trying to ssh TO the laptop ... :) [03:53] foxide: I have Thunderbird on the laptop because it's portable ... I want to run Thunderbird via ssh on my desktop ... [03:58] Alright, then yes, the laptop will need openssh-server installed. [03:59] Running Thunderbird over SSH will require X forwarding as well, which is a whole new pile of stuff. [04:00] foxide: understood ... I've run X apps via ssh before ... [04:01] Then have fun! [04:02] foxide: I still need to get ssh running (again) ... [04:03] foxide: is there a way to restore the default sources.list? [04:05] https://gist.github.com/rhuancarlos/c4d3c0cf4550db5326dca8edf1e76800 [04:06] That's the default for 18.04. Someone was nice enough to post it online. You could easily just paste that into sources.list. [04:10] back, ssh to my server [04:11] works fine [04:11] thankyou [04:12] the question is why did openssh server disapeaar [04:12] foxide: pasted ,,, still no luck installing openssh-server [04:14] foxide: still getting "package is not available" "referred to by another package" and "no installation candidate" ... [04:15] Happy New Year everyone! [04:17] !info openssh-server [04:17] openssh-server (source: openssh): secure shell (SSH) server, for secure access from remote machines. In component main, is optional. Version 1:8.2p1-4ubuntu0.1 (focal), package size 368 kB, installed size 1491 kB [04:18] ahh foxide; what version are you running [04:18] !info test [04:18] Package test does not exist in focal [04:19] uname -a [04:19] uname -a [04:19] Mystified1234: wrong window ... :) [04:21] That package is in every Ubuntu release as far back as I can remember and all the way up to now, without exception. [04:21] foxide: I believe you ... my laptop is not letting me install it ... [04:21] ubuntu release [04:22] Mystified1234: I'm using 18.04 on the laptop ... [04:22] Maybe if I upgrade to 20.04 things will start working again ... [04:23] from command line or software(snap) [04:25] I'll just byte the bullet and upgrade it on Monday ... [04:27] apt install --fix-missing === vai is now known as Jari-- === ledeni__ is now known as ledeni [06:25] anyone know a good hypervisor? [06:41] can anyone pls help with a 2in1 laptop changing the default virtual keyboard from gnome to onboard. Running 20.10 groovy thanks in advance. [06:42] BTW i have the pkg installed but dont know to configure it as default and remove gnome [06:43] BTW i have the pkg installed but dont know to configure it as default and remove gnome keyboard as the default virtual keyboard === denningsrogue2 is now known as denningsrogue [08:38] linuxmint: kvm? [10:22] Hi. After installing primus, Nvidia settings shows only one tab - Prime profiles. And glxinfo shows that I'm using Intel again but I want to use nvidia. [10:50] Happy NewYear all' [11:15] * Jari-- & Locomotion Tango - Modern Talking [11:16] Anyone aware of a Debian/Ubuntu build of iputils-ninfod ? neither distro is building it currently which is a bit stupid when we have ping6 that can send IPv6 NI requests but nothing to reply to them! [11:16] beer day here [11:16] a friend is bringing up 24 pack [11:23] bug #1909802 [11:23] bug 1909802 in iputils (Ubuntu) "Should build ninfod to support IPv6 Node Information requests" [Undecided,New] https://launchpad.net/bugs/1909802 [11:29] where in Ubuntu I can change the stereo settings ? [11:29] I mean dolby, etc. advanced [11:30] some settings are breaking up the Spotify Premium playback [11:30] I read from the Google it might be dolby, etc. stereo settings [11:37] when i play a video with nnn file manager, nnn waits for the video to exit before i can use it again. it is using xdg-open. any idea how to get it to return immediately? === mquin_ is now known as mquin [12:08] Hello, can anyone explain why when I install https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img on KVM does 18.04.5 get installed? [12:09] why the Ubuntu installer (full disk encryption) doesn't encrypt the /boot partition too? [12:16] ice99: Because grub needs it unencrypted [12:16] jeremy31, negative, grub can unlock luks encrypted partition [12:18] Please, can anyone explain why when I install https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img on KVM does 18.04.5 get installed? [12:20] ice99: what is in /boot? I would suspect the grub files === woden2021 is now known as wodencafe [12:52] ice99: see my tutorial for (almost) FDE https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 === CyberHacker_ is now known as CyberHacker [13:14] TJ-, nice tutorial, thanks; but my question is why this cannot be accomplished by the installer automatically? why canonical hasn't done it yet? [13:17] ice99: I'm not sure; inertia partially, but also possibly it being incompatible with some use cases [13:39] hello there, installed half life 2 on bionic, get this error, how to fix? russian means 'no such file or directory' https://www.irccloud.com/pastebin/tsf1j9RQ/stdout [13:43] does the file exist? if not, try reinstalling the app? [13:43] tried, still got this [13:49] Probably reach out to the developers and ask there [14:07] can someone help me figure out how to run a script in /etc/rc.local bootup with the screen command?? [14:08] basically, /etc/rc.local looks like this to where it matters.... "screen -d -m -S scriptName ./scriptFile" [14:09] it works on a regular command prompt, but not in /etc/rc.local, even tho it *is* executable [14:09] says something like.... "rc-local.service: Failed to execute command: Exec format error [14:11] Failed at step EXEC spawning ..... Exec format error.... Control process exited, code=exited, status=203/EXEC... Failed with result 'exit-code'. [14:11] Hello [14:11] grndslm: is the first line of the script> #!/bin/bash [14:11] jeremy31: yes. :-) [14:12] grndslm: I would be suspicious of the ./scriptFile relative path and any other relative paths going on [14:12] it's #!/bin/sh, actually [14:12] I have Ubuntu 20.04.1. My problem is, I cannot any file transfer from FileZilla to the only root directory. It says: "open for write: permission denied" [14:12] alanbell: the only other command in the script is to "cd" to the working directory [14:14] grndslm: /usr/bin/screen possibly [14:15] hmm.. lemme try [14:19] alanbell: just adding /usr/bin/ to the front of that line doesn't seem to get it started either.... still same errors about format, compatibility issues [14:22] alanbell: i'm not a bash expert, but what if i did....... exec "/usr/bin/screen -d -m -S scriptName ./scriptFile"?? [14:22] think that might help? [14:36] grndslm: seems to be working for me, I set up an rc-local.service file in /etc/systemd/system and an rc.local file containing just #!/bin/bash echo "hi" [14:37] starting the service and doing sudo systemctl status rc-local.service shows "hi" in the log [14:38] then I added "/usr/bin/screen -d -m -S fromservice" [14:38] and restarted the service and now have screen running [14:46] alanbell: i don't get it.... mine won't work [14:50] Happy New Year everyone [14:50] You too! [15:02] hello. I am requesting an invite to #ubuntu-dev, #ubuntu-touch and #ubuntu-devel. could someone please relay these messages to the appropriate channels? thanks in advance. [15:06] grndslm: I got the rc-local.service from here https://www.linuxbabe.com/linux-server/how-to-enable-etcrc-local-with-systemd [15:07] I am having a bit of a DNS resolution problem, this domain bumpinto.eu stopped working, not sure why. Looks OK at my registrar but I can't seem to resolve it any more, can anyone see it or help explain what is going on? === demiurge is now known as e [15:14] alanbell: What DNS server are you using? Is this a domain that you own/control? [15:14] alanbell, not loading here either [15:15] alanbell, not really an ubuntu issue. [15:15] yeah, my domain, was working for ages. dig bumpinto.eu. @ns1.blacknight.com seems OK [15:15] alanbell, if you ar in the UK ... [15:15] It's not, I can't even retrieve its NS records. [15:16] oerheks: yeah, I am thinking it isn't an Ubuntu issue, thought i was doing something wrong but it seems elsewhere [15:16] alanbell, so, are you in the UK? [15:16] oerheks: I moved to Ireland (didn't want to go for that ride) and the domain is registered to an Ireland address [15:17] and with an Irish registrar [15:17] alanbell: https://www.whatsmydns.net/#A/bumpinto.eu [15:17] maybe NI is the same, no EU domain for UK people in 2021 [15:17] Woet: thanks, nice tool, and it is broken everywhere. [15:18] oerheks: probably, but I am in County Clare so definitely still in the EU [15:18] how do I know if my cron ran [15:18] i tried journalctl [15:18] i'm on ubuntu 20 [15:18] contact them, businesshours [15:19] oerheks: yeah, I think that is the way forward, thanks for confirming it isn't just me! [15:27] how do i stop systemd from redirecting console output of a service process to syslog [15:27] (for some insane reason asterisk ubuntu package is setup like that, despite the fact it has a perfectly usable logging system already on its own) [15:37] oerheks: it is to do with Brexit, I lost two .eu domains, probably they looked at citizenship not addresses [15:37] dongs: I believe you can enter an override in the service definition to change its logging behavior. [15:37] yeah i just found that. StandardOutput/StandardError needed to be set to null. [15:38] in asterisk.service but how will that affect future upgrades? [15:38] dongs: Don't edit the service in /usr. [15:38] . then where would i edit it. [15:38] dongs: Future upgrades may wipe out those changes. systemctl edit asterisk will take you into an override editor. [15:39] It will drop a separate file in /etc that will override the default service definitions without changing the original file. :) [15:39] that jsut gives me a blank text editor using freaking nano, wtf. why isnt it VI [15:39] EDITOR=vi systemctl edit asterisk [15:40] And yes, it will be blank. Only enter the items you want to change from the original unit, not the entire unit. [15:40] and what do I add in the blank thing? the StandardOutput overrides I made in teh other file? [15:40] [Service] [15:40] do i need to add [Service] part too? [15:40] ok [15:40] Yup, you got it. [15:41] how do i make the editor thing permanent system wide. [15:41] i have neverf used nano and dont plan to [15:42] looks like update-alternatives. k ill screw aroudn with it [15:42] I think that's the one, yes. [15:44] ok, asterisk no longer spams syslog. [15:58] i went ahead and reported the situation as a bug as I don't think it should be happening. [15:59] if asterisk didn't have its own logging system it would make some sense [15:59] Makes sense. Or at least some easy configurable to log to the journal OR using its internal logging. [16:00] Or report service status to the journal, and all app activity goes to the asterisk logs. [16:00] A few ways you could slice that one. [16:00] tehere's no or really, because its usually started as a daemon and you can connect to it's console remotely via asterisk -r, and yeah, it has its own log setup which can be directed to files/databases/or even syslog itself [16:01] and by default it sticks its own messages in to /var/log/asterisk/messages, so the double-reporting in syslog is just wasting space [16:01] I have near-zero experience with asterisk - IP voice stuff gives me a rash. [16:02] yeah, ive avoided touching it for > 10 years since i last setup a machine with it, but its been dying so i upgraded to a newer system and took time to cleanup configs meanwhile. [16:02] makes sense [16:02] hopefully after this i dont have to touch it for another 10+ [16:04] max support is 5 years + 5 years paid.. [16:04] tell that to some of my machines running kernel 2.6.31 [16:17] dongs: just because it's still running, doesn't mean it's supported or secure for that matter [16:20] i'd wager something custom-configured 10 years ago to do a single task is probably more secure than today's shitbox with 5000 things running that nobody knows why or how they operate [16:20] but yeah im not gonna get into this argument. i just want shit to work. [16:20] lolz... unrealistic [16:22] dongs: did you custom configure that 2.6 kernel with the patches for the dirty cow exploit? [16:22] or the other 343 vulnerabilities? https://www.cvedetails.com/vulnerability-list/vendor_id-33/product_id-47/version_id-123682/Linux-Linux-Kernel-2.6.32.html [16:22] no because its a single user system [16:22] with no internet access [16:23] so who gives a shit. [16:23] dongs: please watch the language [16:25] IFF the machine is not connected to the internet, or a lan which is connected to the internet, and never has data transfered to it. Then is it "mostly" safe [16:26] I'm attempting to follow the docs at https://ubuntu.com/server/docs/samba-domain-controller but they don't seem to work. [16:26] the fact that its still running and im only shutting it down because the hardware itself is dying (its some ancient Atom thing with a spinning rust drive) clearly shows it has done perfectly fine for the last 10+ years. [16:26] $ net rpc rights grant -U merimus "JAGGERBUSH\Domain Admins" SeMachineAccountPrivilege SePrintOperatorPrivilege SeAddUsersPrivilege SeDiskOperatorPrivilege SeRemoveShutdownPrivilege [16:28] anyway, my problem is solved, bug is opened, time to sleep [16:30] net rpc user shows merimus [16:30] net rpc group shows Domain Admins [16:51] ok.... so i'm trying to start a script thru the screen command..... at startup.... but it won't work. the screen command w/ script works just fine at a regular command prompt.... but it does NOT work when placed in rc.local and made executable, NOR does it work in crontab -e [16:52] there's something special about launching screen outside of a regular terminal that is giving me a huge headache [16:52] i've tried so many different variations, but none of them are working.... :-( === coetzeer3 is now known as coetzeer2 [16:59] grndslm, make a proper systemd unit for that? [16:59] oerheks: don that already [16:59] at least a proper rc-local.service [17:00] oerheks: doesn't work... keeps spitting out an error saying that it's incompatible, failed to execute or whatever... [17:00] some example; https://bbs.archlinux.org/viewtopic.php?pid=1207664#p1207664 [17:03] hello [17:03] I would like a hint or help around users/right-permissions/polkit [17:04] I had to create a new user to make my computer work right, because something in my initial profile got corrupted and my session was freezing all the time. I had not found what was wrong, and a new profile did the trick. [17:05] but since a pair of weeks I can't use the programs that need pkexec anymore in my new profile : ie: synaptic, gnome-admin-tools. [17:05] I just tried to start my old profile session, and there, it works. [17:05] both profiles belong to the same groups, both are admin (with of course a different password, strong ones) [17:06] I wonder if this could have something to do with the files under "/etc/polkit-1/localauthority.conf.d/" : [17:07] such as 50-localauthority.conf with has "[Configuration] [17:07] AdminIdentities=unix-user:0" [17:07] I am not very keen with polkit tools, this is why I am asking here for help and pointers, if someone knows about that? [17:15] oerheks: doesn't work.... perhaps running screen alone works at boot.... but running screen in -detached mode with a script that has 10 or so switches... does not seem to work, no matter what === Napsterbater is now known as Guest44769 === Napsterbater_ is now known as Napsterbater === Napsterbater_ is now known as Napsterbater [17:28] apt upgrade -> https://paste.ubuntu.com/p/bWnFHf57cm/ - how can i fix this? [17:50] I think my Ubuntu 20.04 installation has a virus because since this morning, it keeps freezing up in VS Code. [17:50] I changed the autorefresh settings on git files and still no luck. [17:51] why would you think of a virus? [17:52] My whole system freezes and requires a hard reset even though I have 16 GB of RAM. [17:53] vscode is a proprietary blob, btw [17:53] pillager86: I'd try checking for memory errors or maybe something related to your graphical processing unit [17:53] OK but another thing is I can't use "dub" to build my project in a separate terminal. That has nothing to do with VSCOde. [17:53] It just started happening this morning it was fine last night. [17:54] pillager86: also, is there anything in the logs? [17:54] How do I check the logs if it keeps freezing up? [17:54] I'm on Windows right now [17:54] pillager86: you can check after next boot [17:55] looks for previous boots are stored (up to some point) [17:55] s/looks/logs [17:55] where in /var/log do I look? [17:56] I can't remember if there'sa dmesg there (I'm not currently using ubuntu so I cannot tell for sure) [17:56] they left :P [18:04] ok i'm back, i didn't find anything in var/log but i reverted my code's changes to the last commit and it seems to work so it's a problem with dub [18:04] i guess i have no virus on ubuntu [18:07] Is it just me or are some packages really bad at cleaning up after themselves? like leaving piles of files behind [18:08] sgen: possibly just you - what are you expecting, and which packages? [18:08] sgen: package removal will NEVER touch any files created in user home directories for example [18:09] sgen: and any config files in /etc/ /var/ will not be removed without --purge [18:10] Mono and I guess most are in /etc so that explains a lot of it [18:22] Possibly the wrong chat, but does anyone have any advice on buying a laptop to run linux on? I'm in the UK, and the most demanding thing I'd ask it to do would be to hand high-quality video calls. [18:22] !discuss | douglaswinship [18:22] douglaswinship: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [18:22] oh, thanks [18:23] yw [18:35] Is there a online tool/site which shows package versions of 3rd party companies their repo's ? [18:35] if they publish on launchpad, they will be listed. [18:47] why does my Ubuntu 20.04 have a cloud-init when I'm installing manually in a VM ? [18:48] qbdown: I'd assume you picked the cloud image? [18:48] I picked the Ubuntu Server 20.04 live install [18:49] cloud-init is basicly a standard tool now? [18:50] to remove it, a short howto https://gist.github.com/zoilomora/f862f76335f5f53644a1b8e55fe98320 [18:50] I read that it can execute user data etc on EC2 but I don't need all of that for a local install so was wondering why its running anyway [18:53] oerheks: thanks [19:27] First time on IRC in like 20 years, glad to see there's people here :D [19:29] !ask | tgarder [19:29] tgarder: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [19:29] also [19:29] !discuss [19:29] Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [19:30] just for information so you know :) [19:30] Oh, sorry, thought this was meant for general chat. Gotcha! [19:30] no problem :) [19:31] tgarder: well, the topic says Official Ubuntu Support Channel... :D [20:06] hi folks, happy new year. I'm trying to debug a PHP script and to do that, I had to create a VM with ubuntu and LAMP. I did the usual setup, but when trying to access the server, I only get a generic 500 error. I created a phpinfo(); and that works fine, but the complex script fails and I get no error logs anywhere. Anybody got an idea how I can debug that? [20:10] if you simplify the script and it works then maybe it's a php problem not an apache problem? [20:11] Hackwar: 500 is a server error; check the web-server logs. location depends on the web-server and additional config for the site [20:11] I did and it contains nothing helpfull... [20:11] Hackwar: depending on how you're using php (mod_php vs *cgi vs fpm) error logs may end up in separate file or with those of the web server. also there are php.ini configurations for (not) logging. [20:11] the error log contains only a line "SIGTERM received, shutting down" [20:11] Hackwar: then presumably something in the PHP side so you'd need to enable PHP debugging [20:12] I set error_reporting to maximum and display_errors to ON [20:12] still nothing. [20:12] setting display_errors to ON cn already break some php scripts, if they depedn on output buffering [20:13] I wouldn't have an issue if the response would be a 500 error with the actual errors, but I only get a fancy error page from apache [20:13] Hackwar: in which case it's likely the web-server<>php config itself [20:14] Hackwar: possibly when the web server calls the PHP executable [20:14] I'm unsure if there is a feature to hide such an error behind that page and I have to disable that fancy error page somehow [20:14] Hackwar: are you calling the PHP via CGI or using an internal server module. Which web-server are you using? [20:15] since apache and I'd have to look up how it is called. I only did sudo apt-get install apache2 libapache2-mod-php php php-mysql mysql-server from https://wiki.ubuntuusers.de/LAMP/ [20:15] I expected it to configure everything correctly. [20:16] mixing php version and modules of different abi versions could also cause this [20:16] Hackwar: "libapache2-mod-php" would suggest the internal module [20:17] Hackwar: without seeing the actual PHP script it's hard to know; in the dim distant past when I used PHP I added debug messages in the script that were immediately flushed to the client so I could track this kind of issue; basically find out at which point the script fails, starting from line 1! [20:18] as I said, since calling just (there is also #ubuntu-de for german language support) [20:19] PHP should return the specific error and not hide between a fancy HTML error page. [20:20] Hackwar: if PHP is die-ing it cannot [20:21] Hackwar: if you can make it send back reports before the point it dies you can track down the location just before it dies [21:20] KDE Vs gnome [22:33] Happy New Years to all! === __Augur__ is now known as Augur [22:48] * Augur is away: Gone away for now [23:37] i start xubuntu, and no ttys work. when i press ctrl+alt+F1, there is still the polymouth loading page. [23:38] "A start job is running until the boot process finishes up" for like 4 days [23:39] !recovery [23:39] If your system fails to boot normally, it may be useful to boot it into recovery mode. For instructions, see https://wiki.ubuntu.com/RecoveryMode [23:39] also polymothd is at the top of top using a lot of CPU [23:40] by "polymouth" and "polymothd", I assume you mean "plymouth". [23:41] yeah [23:41] * hi^-^ looks at all the moths around [23:42] start in recovery mode, optionall mount file systems and enable networking, then drop to a shell and inspect the previous boots' system logs using journalctl -b -1