=== alazy is now known as Guest7053 [00:55] Does gparted require root user for formatting a external drive to ext3? [01:23] gparted should always start as root [01:30] How long should gparted take to ext3 format a 1 TB external hard drive 7200 rpm? [01:33] not long [01:34] formatting only has to write a little bit of data really [02:03] why would you use ext3 instead of ext4 anyway? === docmax_ is now known as docmax === remy_ is now known as Remy === vincejv_ is now known as vincejv === SheRejoined is now known as She === TheMaster is now known as Unit193 === ancientz2 is now known as ancientz === PasiZ2 is now known as PasiZ [06:59] hi === mrpond9 is now known as mrpond [07:19] Hi, I have two AWS EC2 instances running Ubuntu server 20.04 and logrotate is failing to rotate logs on both of these machines. This is what I see in the output of `systemctl status logrotate` : [07:19] ``` [07:19] systemd[1]: Starting Rotate log files... [07:19] logrotate[662336]: error: unable to open /p/www/presto_webapp/log/presto_scheduler.log.1 for compression [07:19] logrotate[662336]: error: unable to open /p/www/presto_webapp/log/production.log.1 for compression [07:19] systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE [07:24] Hello I think I have found a bug in Ubuntu [07:24] where should I report it? [07:25] do we have a IRC channel to report bugs/ [07:26] Hi, I have two AWS EC2 instances running Ubuntu server 20.04 and logrotate is failing to rotate logs on both of these machines. Log file and config details are here : https://bpa.st/4AYA [07:26] What am I missing? What additional things should I check? [07:26] ghodawalaaman, there is a website to report bugs [07:27] daft: but I have to make an account to report bugs right? [07:27] Yes ofc. [07:27] brahmana: "If I invoke it manually with `sudo logrotate -f /etc/logrotate.d/presto_webapp.conf`, it runs just fine without any issues." then make a cronjob to run that command periodically. it would be a stupid solution though [07:27] daft: :/ [07:28] ghodawalaaman: https://help.ubuntu.com/community/ReportingBugs [07:28] Thanks [07:29] ghodawalaaman: Yeah, a little odd considering that there is a `/etc/cron.daily/logrotate` which actually just exists if `systemd` is found on the machine.. ! [07:30] hi. [07:30] is logrotate in the bash path of the cron deamon ghodawalaaman ? [07:30] try the full path [07:30] hell guyss [07:30] hello [07:30] However this is an issue only on two machines. Works just fine on several others. [07:30] maksudanya?? [07:31] daft: I don't think cron daemon is running logrotate at all. I think `systemd` does it now. [07:31] systemd does not do logs. as far i know [07:32] This is what is there in `/etc/cron.daily/logrotate` : https://bpa.st/J2YQ [07:32] had to setup a siem end point and needed to install syslog to get the logs needed [07:33] systemd logs are journalctl [07:33] logrotate should be in bin somewhere? [07:39] I'd say it looks like permission issue? === thosch6632 is now known as thosch663 === shaunabanana2 is now known as shaunabanana === noah3365 is now known as noah336 === tomaw_ is now known as tomaw === itu is now known as Guest4594 [08:32] Which ubuntu comes with a LTS kernel? [08:33] I'd say the Ubuntu LTS releases? [08:33] .kernel [08:33] ,kernel [08:33] hm, I forget the command === SpydarOO7 is now known as Spydar007 [08:52] sixwheeledbeast: The error seems to indicate that but I am a little lost since the files are owned by `root:root` and logrotate is set to run as `root`. [08:57] it's complaining about permissions of existing log files? [08:57] I have since rebooted and cleared my backscroll [08:58] maybe backup the existing log files elsewhere then trigger systemd to run the logrotate timer. [09:00] sixwheeledbeast: Correct. It is saying `error: unable to open /p/www/presto_webapp/log/presto_scheduler.log.1 for compression`. Let me check how I can trigger systemd to run the logrotate timer [09:01] systemctl start logrotate ? === paran0n6 is now known as paran0n [09:16] hi [09:32] sixwheeledbeast: Had to do `sudo systemctl start logrotate.service` but that did not help since I had done a force rotation earlier today and logrotate will rotate it only tomorrow now..! [09:33] I suppose I can try adding the `-f` flag in the logrotate service description file and make systemd trigger it again [09:38] you are not starting the service you are starting the timer [09:39] the service should be running [09:39] sixwheeledbeast: Did not that and got the same error : `error: unable to open /p/www/presto_webapp/log/presto_scheduler.log.1 for compression` [09:39] logrotate service doesn't always run, right? It runs once per day. Also, as per this, there is no way to trigger the timer itself in systemd : https://unix.stackexchange.com/questions/206637/is-it-possible-to-manually-execute-a-single-systemd-timer-paired-service-unit-fo [09:41] well loaded I suppose is the term [09:41] running would mean the timer is triggered [09:43] "systemctl start logrotate" will run the service file [09:44] Yup.. did that. Only difference is that I did it with `sudo`. When I ran the start command after modifying the logrotate service file to run with `-f` I got the above permission error [09:49] Anyway I still assume it's a permission issue, maybe at "../presto_webapp/log/" or maybe the logrotate conf file is looking at the wrong place? [10:04] initramfs seems to use zstd now for compression. So far, so good. It doesn't load a module for me though that it would need to find the harddisks, and drops me into the (nitramfs) shell. I see the module is compressed as /lib/modules/..../megaraid_sas.ko.zst. How do I load that manually? [10:07] Ah, it got loaded (because I put it into initramfs modules file) - so the issue seems to be in a different place … darn :/ [10:50] Found the issue, it's an ancient bug with megaraid that requires specific kernel parameters. === lubuntu is now known as zxhue [11:53] can anyone show me how to recover disk space from deleted files? [11:54] JoeBk: dont you mean recover files from a hard disk? [11:55] no, I want to free the space the files were using [11:55] JoeBk: unless some running process still has a lock on a deleted file, its space should be freed immediately when it is deleted. [11:56] tomreyn: it isn't [11:56] which file system is this? [11:56] JoeBk: there are several tools for cleanup you can try, bleachbit, stacer,..etc [11:56] lotuspsychj3: I'll try that [11:57] also, have you emptied the trash? [11:57] oh, good point, mgedmin [11:57] files deleted on the gui would go to trash first [11:58] though you can hold down shift while deleting to remove them immediately, i think [11:58] unless they chosen delety immediatly as extra option in nautilus [11:58] indeed tomreyn [11:59] JoeBk, maybe this is an XY problem. If you are talking about 'shredding'files, that is a different manner. the metadata(this block/cell stores that file) gets deleted and the OS then tells you you have more space available, but the data is still there [11:59] just write a big file several times ot the disk and you are good, or use dedicated tools for that [12:00] I deleted some files to free up disk space. The free space did not change. [12:01] how did you delete them, though? [12:01] which file system is it? which ubuntu version? which kernel version? [12:01] and how did you check free space? [12:01] I deleted with rm and check space with df [12:02] JoeBk: btrfs or zfs? [12:02] so open files, as i suggested initially. but you answered "no" [12:03] actually you answered "it isn't". how did you rule out that it's open file handles that prevented releasing the space? [12:04] lsof would usually be the tool for that [12:06] hihii~ [12:06] welcome paganbbs [12:19] ! [12:19] can we help you paganbbs [12:20] thank you and i wanna ask from ubuntu studio 24.04lts that discover packet manager doesnt not open???! [12:21] i am joosua from vapaakirkko fi welcome! [12:21] paganbbs: open a journalctl -f and paste us the results in a !paste after starting the package manager [12:23] elo 14 15:22:58 rain-Legion-T5-26IAB7 kernel: [UFW BLOCK] IN=wlo1 OUT= MAC=00:93:37:64:33:72:60:03:a6:ec:fd:40:08:00 SRC=192.168.1.1 DST=192.168.1.237 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=65217 DF PROTO=TCP SPT=49570 DPT=443 WINDOW=29200 RES=0x00 SYN URGP=0 [12:24] start package manager now your journal is open [12:25] 0 [12:25] elo 14 15:25:01 rain-Legion-T5-26IAB7 CRON[12812]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0) [12:25] elo 14 15:25:01 rain-Legion-T5-26IAB7 CRON[12813]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) [12:25] elo 14 15:25:01 rain-Legion-T5-26IAB7 CRON[12812]: pam_unix(cron:session): session closed for user root [12:25] !paste | paganbbs [12:25] paganbbs: For posting multi-line texts into the channel, please use https://bpa.st | 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. [12:26] !paste [12:26] For posting multi-line texts into the channel, please use https://bpa.st | 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. [12:29] https://bpa.st/S4DQ [12:30] ??! [12:30] jonna turunen SUPO [12:30] ! [12:31] ! -- > do u see that link.s [12:31] paganbbs: I am only a bot, please don't think I'm intelligent :) [12:32] patience paganbbs [12:32] That looks like it's already running [12:34] reboot [12:36] no its doesnt open yes that discover packet manager in ubuntu 24.04lts otherwisely best! [12:38] i mean if i wanna update bitwig studio or easily kde! [12:43] paganbbs: did you read the US release notes? [12:44] ok i couldnt not find that issue or is it yet fixrd but have u that link i will read i dd again! [12:44] https://ubuntustudio.org/category/release-notes/ [12:45] i only rememeber you said you are using ubuntustudio last time. i don't remember which version you were using, but you can find links to release notes for your version on this page. [12:47] ah, 24.04. so, yes, it's documented in the release notes, under known problems [12:48] yes i thank u will support! [12:48] Hi all === Randy_ is now known as coderandy === todi_away is now known as todi [13:17] hi everyone, this is your friendly fedora developper having trouble with ubuntu ^_^ [13:17] how can I update snap-store? [13:18] the system updater says there this update, but it can't update it :-/ [13:19] you need to kill the running proces, then update manualy from terminal bochecha [13:19] its a known bug [13:19] ah, ok [13:19] so how do I do those? :D [13:19] snap refresh [13:20] sudo? [13:20] both can do, they will ask your password [13:21] ah, I see [13:21] bochecha: sudo killall snap-store && sudo snap refresh snap-store [13:21] well, my virtual machine just somehow gave up... [13:25] @leftyfb, updated, do I take it that's enough to fix this problem? [13:25] bochecha: fix what problem? [13:29] the one where the updater couldn't update snap-store as we just talked about [13:29] from now on, will that work? :) [13:29] yes [13:29] the next snap-store update will need you to do just the same bochecha [13:29] unless they fix that bug [13:30] hey im using wsl linux in windows [13:30] ah ok, I see, thank you leftyfb :) [13:30] ok [13:31] i use a windows 11 [13:31] vlzuh: this is a support channel. What can we help you with? [13:32] yes i usw a ubuntu from windows app store [13:33] vlzuh: ok, let us know if you need help with any issues that come up. OTherwise, if you're just looking to chat, feel free to /join #ubuntu-offtopic [13:48] now! h! agaIN, discovery doesnt not openS and bitwigstudio needs depencies files !not satisfyWARNINg+t SjonnaT-+-- [13:49] maybe late i update focusrite ADAt frOM THOMANN UP$ [13:49] paganbbs: please take a moment to collect your thoughts and try again. You messages are scrambled and do not make any sesnse [13:51] ok i try, why my ubuntu24.04lts doesnt not opens discovery gui+ now i also need depencies for bitwig-studio 4 satisfying files. [13:53] paganbbs: discovery studio visualizer? [13:54] paganbbs: both of those are 3rd party applications. Have you tried reaching out to their respective support options? [13:55] please make use of these characters, they exist for a purpose: . , ! ? [13:55] it doesn't look like English is their native language [13:56] -25 [13:57] no [13:57] mem* [13:57] y [14:34] hello eveyone, how can I install a good PDF reader [14:35] prototipox: sudo apt install or sudo snap install [14:35] There is a PDF reader built into Firefox, really isn't a need to install a dedicated PDF reader [14:36] same with chrome [14:40] test 123 [14:41] ack 456 [14:41] Its complicated, because Im currently writing a paper, and I neet to highlight and link specific sections of the pages, but I'm unable to do this using just my browser. [14:41] nice works [14:43] prototipox: gnome's default pdf reader, evince, should be able to display /make useable such features. it's not a pdf editor, though, but you didn't ask for one. [14:44] teachers are getting really strange when it comes to homework these days [14:44] i think libreoffice also opens PDFs bur no idea how well and what you can actually do with it then [14:46] libreoffice will open the PDF in LibreDraw for editing... may or may not work for citation linking [14:46] Im Currently using Lubuntu, I'm just starting to use it now, I'm a complete beginner, and I'm switching from Windows to use free software, but I'm facing some challenges with these specific tools. [14:46] Ive tried Draw, but not work [14:49] without understanding what it means to "link" I'm affraid I can't be of much help. When I needed to cite articles offered in PDF, only needed to provide the URL and manually labelled a page and paragraph number to find the reference material [14:50] also, in school I just stuck to windows for my educational stuff, since that's all the teachers knew and I got tired of trying spend extra time tracking down and translating everything to a different platform from what the instructors would demonstrate === LanDi1 is now known as LanDi [15:28] Hi. I have a ubuntu server 24.04 and i cant figure out how to make locale settings stick. When i open a shell/ssh session its always LANG="" LC_*="POSIX". I've tried localectl set-locale and also edited /etc/default/locale and /etc/locale.conf and re-run locale-gen [15:33] Perhaps I need something in /etc/profile or bashrc? When i use 'export' no LANG or LC variables are listed [15:34] this might help Forza : https://askubuntu.com/a/193253 [15:35] as is stated there,,, read the linked man page... things may not "stick" or take because some elements are not optional and must be provided even if there is no desire to change them [15:36] Hi.. where is this channel logged? [15:38] https://irclogs.ubuntu.com/latest/%23ubuntu.txt [15:41] pragmaticenigma: thank you. Unfortunately even a reboot doesn't help. Seems something is missing to actually set the configured locale. Not even C.UTF-8 works. I am wanting a en_GB.UTF-8 or en_US.UTF-8 LANG [15:41] !irclogs | brahmana [15:41] brahmana: Official channel logs can be found at https://irclogs.ubuntu.com/ . LoCo channels are now logged there too. Meetingology logs at https://ubottu.com/meetingology/logs/ [15:42] Thank you ravage and genii [15:43] Looks like there haven't been any more responses after what sixwheeledbeast had posted. Will see if someone else has any other suggestions [15:43] Forza: I'd start looking in logs to see if any errors pop up that would explain the errant behavior [15:43] Reposting the question : I have two AWS EC2 instances running Ubuntu server 20.04 and logrotate is failing to rotate logs on both of these machines. Log file and config details are here :  https://bpa.st/4AYA [15:44] brahmana: those instances often run customized versions, you may need to contact customer service with AWS for assistance [15:44] Forza, dpkg -l | grep language- [15:45] pragmaticenigma No, it's the official Ubuntu server image from canonical. Also logrotate works on several other Ubuntu machines that I run on EC2. [15:45] pragmaticenigma: if I set export LANG=en_GB.UTF-8 in /etc/profile.d/ it works ok [15:45] im back from busy with linux [15:46] ioria: language-pack-en and language-pack-en-base is installed [15:46] why isnt systemctl hibernate working ? [15:46] Forza, localectl [15:46] what im talking gorilla tag server in discord! [15:46] Forza: what about the alternative solution. adding the entries to `/etc/default/locale` [15:46] what [15:47] on im using windows [15:47] ioria: localectl says LANG=en_GB.UTF-8, but 'locale' shows and empty LANG string [15:48] pragmaticenigma: i did [15:48] Forza: and then did a reboot? [15:48] Yes [15:48] okay... hmm [15:48] Forza, sudo dpkg-reconfigure locales [15:49] All is ok if i manually expory the LANG variable. So i am guessing something is not doing that on Ubuntu server? [15:50] ioria: yes did that, it regenerates them. The actual locale files are ok as it works fine if i do 'LANG=xxx some_command' [15:52] im busy with discord [15:53] vlzuh: please take all non-support chatter to #ubuntu-offtopic [15:58] ima play gorila tag [15:58] vlzuh: please stop [15:59] vlzuh: /join #ubuntu-offtopic [16:07] pragmaticenigma, ioria only solution i found was to add 'export LANG=en_GB.UTF-8' to /etc/profile. A bit weird buy I guess it's good enough for now. Thanks. === itu_ is now known as itu [16:29] Forza, does it show up in env ? env|grep -i lang === JoeBk_ is now known as JoeBk === JoelJoel is now known as Joel [17:01] ubuntu [17:01] bruyh [17:01] vlzuh: stop [17:01] goofy ahh hp victus windows [17:04] ioria: no it doesn't [17:05] whattttt [17:05] brooo skibidi [17:06] vlzuh: stop [17:08] hello [17:09] im having trouble with nginx on ubuntu. when i try starting it, i get: "nginx: [emerg] socket() [::]:80 failed (97: Unknown error)" [17:09] limpc: sudo lsof -i :80 # what does this give you? [17:09] whsat [17:09] ( use pastebin if it's more than 1 line ) [17:09] vlzuh: stop [17:09] i checked, but nothing is listening on the port. [17:10] im watching youtube on windows [17:10] it doesnt say address or port in use. it says unknown error. i have no other info from nginx or logs [17:10] vlzuh: stop === LanDi1 is now known as LanDi [17:16] thank you tomreyn [17:16] :) === camper is now known as Sankore [17:29] can someone please guide me how to fix it [17:29] Error mounting /dev/sdb1 at media read only [17:30] https://justpaste.it/dz9rr [17:40] is there an easy way to copy an ssh key from host C to host A if A has passwords disabled but host B has key access to A [17:44] whatever, it'll be way faster in this case to just re-enable password logins =) [17:45] anyone can help me? Im stuck with no usb now, need to fix it today :) [17:58] mdmbkr: I use ssh-import-id [17:58] Yakov: it probably needs a filesystem check [18:01] I could access usb and files with cd /mnt/myusb approach, but still if i try to access it through nautilus it outputs same error, how to restore it to default? [18:02] Yakov: what filesystem is the drive? [18:04] leftyfb, ext4 [18:04] Yakov: unmount it and run fsck on it [18:04] twice [18:05] https://justpaste.it/ehbj2 [18:06] Yakov: are you sure there isn't a switch on this flash drive that enabled write protect? [18:06] wait, you're in /mnt/usb [18:07] you didn't unmount it (successfully) [18:07] (/mnt/myusb) [18:07] yes, umount: /mnt/myusb: target is busy., then i just manually unplugged [18:07] jeeze, and you wonder why you're having problems [18:08] Yakov: " target is busy" means it didn't unmount. And you ripping the drive out while it's mounted is BAD [18:08] please put some light on it, as I really having  a lot of issues with usb devices [18:08] I just explained [18:08] sometimes it takes like all day to unmount (bugged) how should I proceed? [18:09] you need to successfully (" target is busy is not successful) unmount filesystems before you can physically remove the device they are on [18:09] if it "takes all day" then you have an issue with your filesystem on that device [18:09] i always try to do it maturely, but sometimes it gets bugged [18:09] also some files are copying way too much [18:09] you can't be in the mounted directory when trying to unmount it [18:10] dear god [18:10] how to fck it? just unmounted [18:10] unmount it (properly) [18:10] type "mount" after to be sure it's not still mounted [18:10] sudo fsck /dev/sdb [18:11] usually I open nautilus, left mouse on triangle [18:11] no [18:11] type "mount" after to be sure it's not still mounted [18:11] in a terminal [18:11] 1. Am I doing right (usually I open nautilus, left mouse on triangle) [18:11] that "should" work [18:12] but I personally don't usually trust it [18:12] now sudo fsck /dev/sdb or another syntax for /mnt/myusb [18:12] type "mount" after to be sure it's not still mounted [18:12] I d pay for some good course how to deal with backups and usb on Ubuntu, lmao [18:13] I did mount, have couple of hundreds lines of output [18:13] Yakov: and do you see your flash drive in the list? [18:14] Yakov: mount |grep sdb [18:14] no [18:14] sudo fsck -y -f /dev/sdb1 [18:14] Read-only file system while trying to open /dev/sdd [18:14] if it still says read-only, either you have a write protect switch on the flash drive or the filesystem is completely bad or the drive is damaged [18:15] The SanDisk Cruzer Glide 3.0 USB Flash Drive does not have a physical read-only switch [18:16] so now I can only use it with terminal? [18:16] so now you backup whatever is on that flash drive, get a new one and toss that one [18:17] omg [18:17] its emptynow [18:19] anyway [18:20] what is the best way to eject usb? [18:20] unmount it and then you can remove it [18:20] with rectangle or cmd?:) [18:21] unmount it from command line or file manager, t hen pull it out [18:21] I personally use the command line [18:22] what command should I learn? [18:22] for what? [18:23] to unmount usb with cmd [18:23] umount [18:26] sudo umount -l /dev/sdb1 ? [18:26] and then just eject from usb? [18:26] sixwheeledbeast, pragmaticenigma : Found the issue with logrotate not rotating the log files. It was because of `ProtectSystem=full` in systemd unit file of logrotate. My log files are under `/usr` which becomes read-only with `ProtectSystem=full`. This became a default in Ubuntu 20.04 it seems. [18:27] that would make sense [18:30] This was one wild chase..! Fun though. Thanks for the help guys. [19:17] ERROR: Couldn't stat '/etc/ufw/after.rules' [19:17] can anyone help with this [19:18] you have a bad configuration with your firewall... undo what you last changed [19:18] or more importantly, restore that file === root is now known as Guest2780 [20:10] I have a hunch there is a utility to open files by extension in bash. Is there such? I thought it was "gnome-do", but no. [20:10] xdg-open ? [20:13] enigma9o7, thats it. Thanks [20:21] Yakov: I don't know why you would add -l. That can be dangerous [20:22] it was googled out, should I discard this flag? [20:24] Yakov: I would recommend omitting that flag, yes [20:24] many thanks! any advise how to master these small but important things in ubuntu [20:25] Hello, guys. I was searching about a problem with colors I have in my Ubuntu Studio. Some applications (like the browser and Freetube) show strange colors, desaturated, like everything is grey. Seemingly it is related to color profiles, but I don't know what color profile should I choose... How can I know? [20:25] Now it seems to have ACEScg-elle-V4-g10 as the active color profile. [20:26] Yakov: read man pages - would have helped in this case [20:27] tomreyn, ty [20:28] Sorry, that's not the active color profile. It was selected just because it's the first on the list... === Game11454222 is now known as Game1145422 [23:37] hello [23:38] hello any one alive [23:38] 5g funded by china CCCP party [23:40] hi halo100, do you have an ubuntu support question? [23:40] not right now i support wine [23:41] will donate to Ubuntu development [23:41] okay, please note this channel is exclusively for support Q&A. thanks. [23:41] ok cool [23:43] email