/srv/irclogs.ubuntu.com/2022/03/07/#ubuntu.txt

sybaritenRavage: thank you... what does it do more precisely?  Also, can i mount something directly under /mnt ?00:03
sybaritenits basically mounting up a lot of stuff from the drive, and then chrooting, which allows it to do what?00:04
oerheksuse /mnt/ for fstab entries, /media/ for temporary mounts00:04
sybaritenoerheks: yeah this was for a specific procedure i guess00:05
Ravagethe commands will try to fix your boot problem00:06
yukiupdo you guy know if 22.04 will also removing favorites in nautilus?00:11
yukiupwill alow*00:11
sybaritenso, i read about two ways to check if i'm running a classical BIOS or UEFI system. I am currently booting from USB though. first i mounted the inernal HD and looked for sys/firmware/efi. My whole (mounted) sys was empty.00:12
sybaritenSecond i tried installing efibootmgr . Then while running it, with sudo, i get "EFI variables are not supported on this system." . Is this a test i can trust, given that i'm booting from a USB memeory here, or do i need to actually boot from the internal HD ?00:13
Bashing-omsybariten: Mount the root file system and look if its /etc/fstab file contains an EFI partition (mount point: /boot/efi) is another way to see.00:17
sybaritenBashing-om: hm, do you think you could explain a bit more how to do that? shall i mount sda1 or sda2, considering that sda2 is "the big part" of the disk00:27
sybaritenwell you prolly mean sda200:27
EriC^sybariten: what's the actual problem you're having00:29
EriC^sybariten: a better way to see what the install is, is to do 'grep efi /mountpoint/etc/fstab' and see if there's an efi partition being mounted00:30
EriC^what's the issue you're having though, why do you want to know if it's efi/legacy?00:30
sybaritenEriC^: well it's a boot failure, immediately when turning on the machine. Used to be a working ubuntu system but i think i shut it off a bit violently or something. There was some discussions indicating that its good to know if its legacy bios or UEFI ...  but i should probably just follow the grub reinstall instructions that ravager posted above00:31
Bashing-omsybariten: "/dev/sda2  1050624 625141759 624091136 297.6G Linux filesystem" .00:31
EriC^sybariten: i see, what happens when you try to boot now?00:31
sybaritenBashing-om: i'm looking at the fstab file from the mounted disk, it has this line for instance    UUID=97C1-7C0F  /boot/efi       vfat    umask=0077      0       100:32
sybaritenEriC^: "boot failure, press any key to continue"00:32
EriC^sybariten: so you mounted the root fs at /mnt?00:34
Bashing-omsybariten: EriC^ is the EFI booting guru - I bow out to him :D00:34
sybaritenEriC^: at /media/newhd , in fact ... just now00:34
sybaritenBashing-om: aha aha00:34
EriC^the more the merrier, what i always say00:34
sybaritenis there an english saying/proverb that indicates the opposite of that? We have one in my language00:35
EriC^sybariten: type "for i in /dev /proc /sys; do sudo mount -R $i /media/newhd$i; done"00:35
sybariten"the more chefs, the worse the soup"   :-D00:36
sybaritenEriC^: ok! worked with no complaints00:36
EriC^sybariten: alright, type 'sudo chroot /media/newhd'00:37
sybaritenEriC^: are we gonna do this?  https://p.haxxors.com/y2cc7uh4.txt    cause i havent really mounted stuff like that yet00:38
EriC^we already did00:39
sybariteni mean, not the other partition, and not in that same mount point (which perhaps is less important)00:39
EriC^it doesnt matter really00:39
sybaritenok, but i dont need to mount sda1 ?00:39
EriC^getting there ;)00:39
sybaritenaha aha00:39
sybaritenaiight the partition is chrooted... which i've never understood exactly what it means00:40
EriC^it literally just means change root, so now '/media/newhd' is the new "/" root dir00:40
EriC^sybariten: type 'mount /boot/efi'00:41
sybaritenbut i feel like i also become root when doing it?00:41
EriC^yeah it runs bash by default and we used sudo, so you get a root shell00:42
sybaritenok yep. Change root dir, i'll try to remember that.    Okay i mounted /boot/efi , no complaints00:42
EriC^ok, try "grub-install00:42
EriC^"grub-install"00:43
sybaritenhm. Got an interesting error.    rub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.00:43
sybaritenls /usr/lib/grub/  -->   grub-mkconfig_lib  x86_64-efi  x86_64-efi-signed00:44
EriC^type 'grub-install --target=x86_64-efi'00:45
sybaritengotcha00:45
sybaritenHmmmmmmmmm00:45
EriC^what happened?00:46
sybaritenwell it was chewing for a while but eventually i got this   https://pastebin.com/Vuj5qKBs00:47
jailbreaksybariten: use ubuntu's paste, not pastebin.00:47
sybaritencould i have created some mysterious uefi/legacy mismatch on this machine, a while ago? and thus breaking it?00:48
EriC^sybariten: type 'ls /sys/firmware/efi'00:48
Eickmeyerjailbreak: We welcome any and all pastebins here, please don't gatekeep. :)00:48
EriC^i think you booted the live usb in legacy mode sybariten00:48
sybaritenjailbreak: hmmm seems i need an account, so...00:49
jailbreakEickmeyer: pastebin.com is full of cancer ads00:49
Eickmeyerjailbreak: We still welcome its use for our purposes.00:49
EriC^+100:49
jailbreakokay...00:49
sybaritenEriC^: hm no /sys only contains  acpi  dmi  memmap00:50
EriC^sybariten: hmm, could you share a paste of 'parted -ls' ?00:51
EriC^curious if it might give any useful info00:51
sybaritenEriC^: i still don't have a good understanding of this efi/legacy thing - can i choose how to boot a usb distro? Isn't the efi/legacy thing a quality of the motherboard or something, and thus soemthing which is either one or the other?00:51
EriC^sybariten: yeah new mb's are uefi, but they have csm legacy (compatibility module), and typically you can choose how to boot the usb, and the system also has a main setting which it uses when you turn it on00:52
EriC^usb usually in the one-time boot menu it gives something like "usb..blabla, and UEFI usb blabla"00:53
sybaritenEriC^: parted output: https://pastebin.com/HzPNUACX     btw the machine definitely looks like it's more than ten years old, if that's interesting. I could maybe try to figure out exactly..00:54
EriC^sybariten: im thinking, really grub is now in the efi partition which is good, the last thing it was trying to do was edit the uefi entries (in the motherboard) and add ubuntu and set it as default00:54
EriC^sybariten: you were using efi for sure, the partition table is gpt, and for gpt + legacy to work you need a special partition called a bios_boot and it isnt there00:55
sybaritenaha00:56
EriC^sybariten: which kind of laptop or motherboard is it?00:56
EriC^sometimes they can let you browse for the efi file, in case it's missing from the menu you could use that00:56
sybaritenLets see... the machine is a fujitsu esprimo q900.....  "mainboard chipset" may be called Intel® QM67 , dunno if that's a lead... checking some other info...00:58
EriC^sybariten: you can also copy the efi file to the 'standard' locations, it would usually look there by default00:58
EriC^sybariten: type 'mkdir /boot/efi/efi/boot; mkdir -p /boot/efi/efi/microsoft/boot'00:59
sybaritenyeah its a mini machine and unless the moterhboard is called mini itx or something, i'm guessing it goes by the name intel qm6700:59
sybaritenmkdir: cannot create directory ‘/boot/efi/efi/boot’: File exists01:00
EriC^ok type 'cp /boot/efi/efi/ubuntu/shimx64.efi /boot/efi/efi/boot/bootx64.efi'01:00
EriC^also 'cp /boot/efi/efi/ubuntu/shimx64.efi /boot/efi/efi/microsoft/boot/bootmgfw.efi'01:01
sybaritenboth operations worked. So i'm taking an existing "efi file" and putting it in a coupla other places too01:02
EriC^exactly01:02
EriC^ok, type 'exit' to exit the chroot then restart, make sure uefi is enabled in the bios, or csm legacy is disabled01:03
EriC^you could run 'update-grub' if you want for good measure, wont harm01:04
EriC^it's not really needed so dont sweat it01:06
EriC^if you rebooted before typing it01:07
EriC^any luck sybariten ?01:07
xstasyIs there any way to have ipv6 prefix delegations + hint work with just netplan?01:11
sybaritensorry was in the kitchen01:12
EriC^no worries01:13
sybaritenEriC^: ok i shall reboot. But i shall make sure to get into the bios, and look for uefi/legacy settings?01:13
EriC^yeah, try rebooting, if it doesnt work, enter the bios01:13
sybaritenand this i can pretty much expect to find?01:13
sybaritenAh ok01:13
sybariteni'll run the updategrub thing too first01:13
EriC^yeah should be under boot options01:13
EriC^alright01:14
sybaritenthats still from the chroot environment right?01:14
EriC^yup01:14
sybaritenOK yeah it did some stuff. I'm exiting and rebooting, lets see what happens.01:15
sybaritenhmmmm ok so i still got the boot failure actually. And i went into the bios after that, but this is frustrating, i can not really see very obviously where the uefi settings would be?  Its an american megatrends blah balh, i could probably find screenshots of the exact same bios01:23
EriC^sybariten: it seems that f8 should give you the boot menu01:27
sybaritenaha yeah i'm not really in the boot menu i think, no. I'm in the bios...01:27
EriC^other sites mention f701:27
EriC^sybariten: it might show you the uefi menu01:28
sybaritenshould i try to go there instead. My only clue here in the bios is that under the second menu choice, "advanced", there is cpu, grpahics, SATA etc confogurtaton, and under one of them, USB .. there is some "usb efi legacy" setting IIRC (cant see the monitor right now when i01:29
sybaritenim chatting)01:29
sybaritenbut    OK i01:29
sybaritenbloody bluetooth keyboard... but OK ill hunt for the boot menu instead01:30
=== wez is now known as notwez
EriC^sybariten: dunno if this helps https://docs.oracle.com/cd/E23161_01/html/E37044/figures/mblegacyboot.jpg01:32
EriC^i think that's like an early 2000's pc or something though01:33
=== notwez is now known as wez
sybaritenHmm well this is frustrating. There is indeed a boot menu, i get it from F12. I mean first theres that blade runner style page with the red triangle logo and it says del/f2 for bios, f12 for boot menu01:40
xstasyOk so I have the following netplan config: https://static.ftown.cloud/netplan.yml that gives ipv4/ipv6 on the VLAN wan definition. I'm also told by my ISP that I can get a IPv6PD of ::/56, is there any way to achieve this with just plain netplan or do I have to resort to wide-dhcpv6 or something else?01:40
sybaritenif i go to the boot menu i have only three choices as of now: the HD, the network boot, or "bios settings" . And this ofcourse brings me to the normal bios. I took photos of all the pages in the bios though EriC^01:41
EriC^ah cool01:42
EriC^you could upload to imgur.com if you want01:42
sybaritenOK hang on i'll see what i can do. There is indeed a boot tab like in your screenshot, but it does not have the same choices...at all01:43
EriC^aha01:44
sybaritenEriC^: i think this may work ...?  https://photos.app.goo.gl/Ne4Vw9YGVJLg2tBo7    NB: no pic of the separate boot menu but it really wasnt so interesting01:48
sybaritenuhm ok so i gotta hit the sack.... i dunno if theres a system for leaving messages for offline users here on the libera services....02:08
sybariten...but if anyone would happen to see EriC^ log back in, please tell him that i needed to sleep, couldnt find any uefi settings in my BIOS, and that i02:09
=== littlepap_ is now known as littlepap
sybariten...i'm very thankful for his help02:09
Bashing-omsybariten: /msg memoserv send <nick> <message>02:10
sybaritenah, thank you Bashing-om .02:11
Bashing-omsybariten: np -- eric may be sufferribg connectuon issues :(02:12
sybaritenBashing-om: gotcha. Sent him a memo, we'll see if he gets it. Peace02:13
=== M4he is now known as mahe
=== JoeBk_ is now known as JoeBk
Aarch64debian!jammy02:55
ubottuUbuntu 22.04 (Jammy Jellyfish) will be the 36th release of Ubuntu, scheduled for release April 2022 (https://ubottu.com/y/jj). Join #ubuntu-next for support and questions.02:55
=== BrianG61UK_ is now known as BrianG61UK
stats4647Hi, I have a Linux VM on the Google cloud (only terminal access, no Google administration atm) and I am trying to understand / benchmark the disk. I ran fio but am a bit confused by the output. What should I compare it to? I am running a database doing lots of reads/writes. I know this is a bit nebulous, but would appreciate some guidance on what modern database servers need. Part of the exercise is to figure out whether th04:40
stats4647e engineers have allocated SSD or not. TIA04:40
morganu20.04 I want to make a persisten usb. https://itechbrand.com/how-to-create-a-live-ubuntu-usb-drive-with-persistent-storage/  -- it says The mkusb icon will appear on the screen. -- I dont get a window on top  AND i DONT KNOW A COMMAND TO SHOW THE DESKTOP. (FULLSTOP)04:44
morganunope, nothing on the desktop either.04:45
Flannelmorganu: I believe that's just telling you to run mkusb.  The super key (and typing) will search applications, etc.  Depending on your setup, you may have to install it first.  This page will walk you through installing (and using, including a handful of other references): https://help.ubuntu.com/community/mkusb04:52
b100shi2all; why my `sudo apt update` crashes with Segmentation fault? https://gist.github.com/b10s/2e74f38c015cf4e7e2a44f67f18d4c4d05:05
leftyfbb100s: you'll need to contact Canonical for ESM support05:06
b100sleftyfb, do you think there is something wrong with /etc/apt/preferences.d/ubuntu-esm-infra ?05:06
leftyfbb100s: you are running an EOL version of ubuntu. The only support is through Canonical05:06
b100sleftyfb, I see. Interesting, EOL shouldn't crash per my understanding but it's better to update, right : ) What is the best, safest way to upgrade ubuntu to latest one but preserve all current soft and settings?05:08
leftyfbb100s: since you're running a version of ubuntu that was released over 6 years ago, I would highly recommend installing 20.04 from scratch and restoring from backup. Or wait till next month and install 22.04 when it is released05:09
b100sI see, thank you for advice. Got it. Now I'm wondering, just out of curiousity, why it may crash with segmentation fault05:13
mr_louWhen I press the superkey to do a search for an application, there are absolutely no results anymore after upgrading to 20.04 - is there some command I can call to rescan/reindex that?05:17
mr_louGot it. Reinstalled the lens files.05:27
mr_louNow I "just" need to get back my blu-ray burner.05:27
=== Mibix is now known as GefilteFish
morganuFlannel, hi I HAVE installed mkusb. Yes it IS telling me HOW to run mkusb but that doesnt work.06:00
=== EricFan1 is now known as EricFan
b100sleftyfb, seems here is a way to be updated without reinstallation: https://ubuntu.com/tutorials/upgrading-ubuntu-desktop#1-before-you-start06:02
morganu20.04 I want to make a persisten usb. https://itechbrand.com/how-to-create-a-live-ubuntu-usb-drive-with-persistent-storage/  -- iThanks  Flannel. so I just forgot the super key and typed it in and it ran and did all the things the page did and now is installing 21.10 on a persistent drive.  -- And I do believe I can also use that USB to install a 21.10 partition (crossed fingers)06:10
=== cypostres_ is now known as cypostres
=== kaiseisei1 is now known as kaiseisei
ZombieRyushuDo any of you use DoveCot and Fetchmail/07:22
Lutherhello07:46
mr_louNext problem: After upgradin to 20.04 my audio is gone.07:50
ZombieRyushuDo any of you use DoveCot and Fetchmail?07:51
ZombieRyushumr_lou, Check PulseAudio07:51
alocer[m]mr_lou: how did you upgrade ?07:52
alocer[m]ZombieRyushu: why are you asking?07:52
mr_loualocer[m], Using Update Manager07:52
alocer[m]mr_lou: you can try troubleshooting by checking if pulseaudio is running or not? try restarting pulseaudio and see if helps or not. also pavucontrol might help too.07:53
ZombieRyushualocer[m], I migrated to Ubuntu from another distro, and was trying to reuse configs for contnuity07:53
ZombieRyushuSince Migrating, Fetchmail gives permissions erroes07:54
alocer[m]ZombieRyushu: what are the errors ?07:54
ZombieRyushuar 07 03:00:10 olympia procmail[12423]: Insufficient privileges to deliver to "Dad"08:00
ZombieRyushuMar 07 03:00:11 olympia procmail[12424]: Insufficient privileges to deliver to "Dad"08:00
ZombieRyushuMar 07 03:00:13 olympia procmail[12432]: Insufficient privileges to deliver to "Mom"08:00
alocer[m]It seems Dad and Mom are not in the 'mail' group. ZombieRyushu08:05
mr_louNothing. Tried a few things from here: https://stackoverflow.com/questions/63028055/sound-not-working-focal-fossa-ubuntu-20-0408:07
mr_louStill nothing. But now I have two network icons in the top bar.... tsk.08:07
alocer[m]lmc08:08
ZombieRyushualocer[m], these are AD accounts08:09
alocer[m]mr_lou: does the `pulseaudio --check; echo $?` returns zero?08:09
alocer[m]ZombieRyushu: can you run `id Dad` ? it tells you which groups their in. This was my problem back in the days.08:10
ZombieRyushuuid=509(Dad) gid=504(Domain Users) groups=504(Domain Users),514(Domain Guests)08:11
ZombieRyushuTHese are Domain accounts, but delivery takes place in /opt08:11
alocer[m]ZombieRyushu: you probably need to contact the AD admin to make sure they are inthe right group and etc. can't think of more things.08:12
alocer[m]ZombieRyushu: did you google the errors ?08:12
ZombieRyushuYes.08:12
mr_loualocer[m], sudo alsa force-reload seemed to do the trick. Hope it'll stay that way after reboot.08:28
mr_louNope. After reboot audio is gone again.08:31
alocer[m]alsa problem ! weird.08:31
mr_louI hate upgrading. I always spend days afterwards on problems like this. I only upgraded because I hoped it would fix another problem that I've experienced before: Blu-ray burner doesn't work anymore.08:32
alocer[m]it shouldn't have anything with alsa08:33
mr_loualocer[m], But yes, `pulseaudio --check; echo $?` returns 008:33
alocer[m]seems your are using lots of 3rd party tools.08:34
mr_louProbably...  because everytime there's a problem, I search the net and try all sorts of suggested solutions.08:34
mr_louAlready tried many this time too.08:34
mr_louI would have stuck with 18.04 forever if no other problems came along.08:35
mr_louI hate upgrading.08:35
mr_louI'm a musician, so obviously I need working audio.08:35
alocer[m]hmm, you sound right, upgrading will cause lots of trouble for all the customization you have done.08:40
alocer[m]i think lessons are learned.08:40
mr_louOh I already knew that. That's why I hate upgrading. That's why I stay with old versions for many years.08:51
mr_louSomething always goes wrong and forces me to do various workarounds.08:51
mr_louAnd these workarounds cause even more problems lever.08:51
mr_lou*later08:51
mr_louI see no way around it.08:51
mr_louExcept don't upgrade.08:51
mr_louNew plan is to set up a machine that is always offline for certain things.08:52
mr_louOh great, now I'm also missing a harddisk....08:55
aurora_salve08:58
aurora_!list08:58
ubottuaurora_: No warez here! This is not a file sharing channel (or network); read the channel topic. If you're looking for information about me, type « /msg ubottu !bot ». If you're looking for a channel, see « /msg ubottu !alis ».08:58
=== javaJake_ is now known as javaJake
alocer[m]oh boy09:06
alocer[m]i think reinstall is easier :-D09:06
mr_louWell yes, probably. Except I'll need to buy a new harddisk then, to make sure I don't lose anything.09:14
mr_louAnd it still won't fix my blu-ray burner issue.09:14
mr_louUnless I install an older version and stick with that.09:15
sudormhi09:17
sudormdo some of you use bottle or web frameworks?09:19
Pierre94HI I don,t know if I am out of line. but I am running out of options and need guidance, so at my work we use wifi certificates for laptops, on the laptop I create a certificate request that I then submit to the windows CA via a browser and then manually download and "install" the certificate on the laptop. everything works perfectly. now, how do I09:19
Pierre94automate that process. I want to be able to automate the part of sending the certificate request to windows CA and getting back the Wifi-certificate to the laptop. I have googled for hours, but all guides are basic and stops at the "manual" posting, and download part.09:19
=== WildSoft_ is now known as WildSoft
Hestonis memtest still broken on 21.10?10:12
willcl_arkI am running 21.10 and Kernel 5.13.0-30-generic, but I don't seem to have this rename utility installed: https://manpages.ubuntu.com/manpages/impish/man2/rename.2.html Does anyone know how I can get it? It appears that it should be included with the kernel, but I can't find it or any packages that include it seemingly anywhere...10:15
lotuspsychje!info rename10:27
ubotturename (1.13-1, impish): Perl extension for renaming multiple files. In component universe, is optional. Built by rename. Size 17 kB / 48 kB10:27
lotuspsychjethis what you seek willcl_ark ^10:27
willcl_arklotuspsychje: really that looks like something totally different ?10:35
Ravageit is exactly what you sent us10:38
EriC^^sybariten: hey did you fix the pc? i got dc yesterday, ups battery ran out10:39
scortalhi10:40
EriC^^hello10:40
scortalubuntu.10:40
willcl_arklotuspsychje: I really think you are mistaken here. The programs look totally different? Your package also does not install `renameat` and `renameat2` which my linked one purports to. One is c, one is perl.  Your perl one seems to be focussed on changing file names rather than atomically renaming via unlink and new symlink to new inode...10:58
lotuspsychje!info renameat11:01
ubottuPackage renameat does not exist in impish11:01
Ravagewillcl_ark: your link refers to the C function rename. it is not a standalone util. example code: https://www.tutorialspoint.com/c_standard_library/c_function_rename.htm11:08
HestonI have confirmed memtest86 is still broken in 21.1011:20
Hestonpretty annoying11:20
oerheksHeston, memtest for UEFI machines?11:23
oerheksknown issue, use memtest iso from their site11:23
Hestonits not even uefi. i known its known but its been known for a couple years11:24
oerheksoh standard memtest works fine, no idea11:24
HestonI wonder if 20.04.4 has it patched11:26
oerhekswhich version?  https://launchpad.net/ubuntu/+source/memtest86+11:27
Heston5.01 but i dont know if there's an updated point release11:30
Hestonyeah i doubt it's updated, 20.04.4 is using a patch from 2020 when it was discovered11:33
lotuspsychjeHeston: check if your bug is on the recent added bugs yet? https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bugs?orderby=importance&start=011:39
Guest500Hello, I have old wireless usb adapter its philips SNU6600 and the computer could not recognize it11:42
Guest500lsusb output : Bus 001 Device 005: ID 0471:1235 Philips (or NXP) AR55211:43
lotuspsychjewich kernel are you on Guest50011:43
Guest5005.1311:44
lotuspsychjeGuest500: you might wanna try other kernel tests, see what the module does there11:44
Guest500module empty : Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=, 480M11:45
Guest500also dmesg output : [  322.768663] usb 1-1: new high-speed USB device number 5 using xhci_hcd11:46
Guest500[  322.920549] usb 1-1: New USB device found, idVendor=0471, idProduct=1235, bcdDevice= 0.0111:46
Guest500[  322.920560] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=311:46
Guest500[  322.920564] usb 1-1: Product: AR552311:46
Guest500[  322.920566] usb 1-1: Manufacturer: Atheros Communications Inc11:46
lotuspsychjethink i've solved an AR chipset once, installing !HWE11:46
Guest500[  322.920569] usb 1-1: SerialNumber: 1.011:46
lotuspsychje!paste | Guest500 use a11:46
ubottuGuest500 use a: 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.11:46
Guest500Ok alright.11:47
Guest500I think it has x32 system drive in windows but cannot find x64 in linux11:49
lotuspsychjeGuest500: try a few tests with ubuntu release from our topic, see if you can make it work on another kernel, or more advanced play with !mainline kernels11:50
Guest500how I can make another kernel?11:51
lotuspsychjeGuest500: you are not supposed to make another kernel, just do some tests with other ubuntu releases, !HWE or !mainline11:53
Guest500For example this hardware for oldsystems, which kernel versions should I prefer?11:54
Guest500Is there any pro who can help me on dm?12:08
=== vit is now known as Guest5584
ice9i get recent asus laptop with 12 hours battery life, but in real test it stay only for 5-6 hours without high load, any idea?12:41
sybaritenEriC^^: whoa how does that work, with your UPS? They are generally rather big things arent they12:42
Ravageice9: google for results other users have with it. tests of the product?12:43
sybaritenEriC^^: hmmm no not solved it yet. Since you mentioned i should check that i'm booting in UEFI mode and not , uh, legacy BIOS, i looked around for this in my BIOS but there really are no obviuos UEFI settings. Its weird. Dunno if you saw my gallery of bios pics there12:44
EriC^^sybariten: it's a smaller one made for just pc's12:44
sybaritenEriC^^: but you need this, cause you have power dropouts sometimes or what?12:44
EriC^^sybariten: if you want you could install grub-pc and let it try to boot in legacy mode12:44
EriC^^sybariten: yeah exactly, electricity is on/off alot here (lebanon12:45
EriC^^sybariten: if you want boot the live usb again to chroot and try to get it to boot in legacy mode12:45
EriC^^sybariten: btw it might be also a good idea to first reset the bios to default settings in case that helps, it might just do it12:46
sybaritenEriC^^: hm, could you explain this again please. I boot off the USB distro as usual, go into the terminal set up the mounts as yesterday, chroot to the mounted dirs, and then what?12:54
sybaritenI mean how do i differ between legacy or UEFI at all when i do something now12:55
sybaritenEriC^^: oh i see, interesting, I've been wanting to go to Beirut for quite a while now12:57
EriC^^sybariten: i'd try honestly to reset bios first, it might just need some reset, after you chroot basically you create a 1-2MB partition (you have like 500mb free at the end of your disk iirc) create it then for the partition type enter 'ef02' which designates it as a bios_boot, then install grub-pc and use grub-pc --target=i386-pc /dev/sda to install grub in legacy mode to the gpt partition table+bios_boot, and then you can boot in both modes13:01
EriC^^*grub-install --target=...../dev/sda13:01
Xeonvlhi all, im completely stuck with a server machine containing 2 5218R Xeons. The CPUs are stuck on 800Mhz. I have searched the internet and tried putting performance governor, then tried disabling disabling intel_pstate and manually enforcing a clock freq, I attempted to disable the PROCHOT thing but im not sure if I did it right13:04
Xeonvlim running a stress on all cores now and temperatures are between 34 and 46 degrees13:05
Xeonvlim running out of ideas. I dont know if its the BIOS or the OS, in IPMI it claims that the current speed is 2100Mhz but I dont know if I should trust that13:06
RavageXeonvl: watch -n1 "grep \"^[c]pu MHz\" /proc/cpuinfo"13:09
Ravagewhat does that output for you?13:09
sybaritenEriC^^: sorry, listening to a lecture about data network technology... brb13:12
Xeonvlall cores emit 799-800Mhz Ravage13:24
RavageXeonvl: printf "$(cat /etc/os-release)\n$(uname -a)\n" | nc termbin.com 999913:29
Xeonvlhttps://termbin.com/tyfn13:31
Ravage!hwe13:31
ubottuThe Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack13:31
Ravagetry to use the HWE kernel. maybe even hwe-edge13:31
Ravagethe latest available version should be 5.1313:32
Xeonvlok ill give it a try, first time I go on a kernel ride on ubuntu13:32
hansdfsvb13:32
Ravagehttps://packages.ubuntu.com/focal/linux-generic-hwe-20.0413:33
Ravagethats the package you want13:33
Xeonvljep, installing13:33
hans20.04, i want Chromium, i tried installing it as `apt install chromium-browser` and it's been hanging for a long time on 20% "2022-03-07T14:30:59+01:00 INFO Waiting for automatic snapd restart..."13:33
Xeonvlgonna take a moment, ill get back when up and running and rebooted13:34
hansahh nvm it just finished!13:34
XeonvlRavage Linux schmidhuber 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux13:42
Xeonvlow... i think euh13:43
Ravageso far so good. any changes about your cpu speeds?13:43
Xeonvlwell... checking, the command you gave me now gives 2100 for all cores13:43
Xeonvlbut in i7z they are still at 80013:44
Ravagei dont know what i7z is but my command outputs the currently running core speed13:44
hansfwiw a lot of intel cpus "sleep" at 800mhz - a core that isn't really doing anything runs at 80013:44
Ravageso you should be fine13:44
Xeonvli think it may be fixed13:44
Xeonvlbecause your command is giving me a nice mix13:44
Xeonvlsome are at 800, some arent13:45
Ravagemix is good. the cores clock down when idle13:45
Xeonvlim gonna ask one of the guys to drop one of his spark bombs on the machine which led us to discover the issue13:45
Xeonvlbecause they were executing faster on a 6 core cpu from 201313:45
Xeonvlwe are going to try and test this evening, thanks nonetheless!14:03
XeonvlI have a feeling its probably solved14:04
ubuHi folks, I set up cross-compile linux enivironment for backpors module but there is make error "Kernel version parse failed"14:26
ubuHow I can solve this error? Backports version : 4.4.2.114:28
scortalhi all14:36
scortalscortal here14:36
XeonvlRavage there is one strange thing, if the system is idle, all cores show up at 2100mhz. when we put a stress on it for every thread (80) the cpu is capable of, they all show up as 80014:45
XeonvlI expected the opposite :)14:45
=== JoeBk_ is now known as JoeBk
RavageXeonvl: echo ondemand | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor15:02
RavageYou can try this and see if it changes the behavior15:02
XeonvlRavage i only have performance / powersafe governors15:05
XeonvlRavage i only have performance / powersafe governors available15:05
RavageTry powersafe then15:06
sybaritenEriC^^: sorry, had a bit of an intense lecture there.... so i should start by going into bios and trying to reset it, right?  And see if even that helps, perhaps15:06
RavageIf you don't pay the power bill performance should be ok though :)15:06
sybaritenEriC^^: and then if not, boot into usb memory, mount the partitions like yesterday and then chroot ... and use the most basic partition tools to create a partition at the end of my disk space. Choose type ef02 . But how do i install grub-pc? Or that's something i install into my running system, via apt?15:08
Xeonvlstill, watch -n1 "grep \"^[c]pu MHz\" /proc/cpuinfo" gives me 2.1ghz when doing nothing15:08
Xeonvlbut if i load the cores they run slower15:08
RavageIt's possible they clock down when they get too hot15:09
sybaritenEriC^^: ....and, if i have that, a simple "grub-pc --target=i386-pc /dev/sda" is enough to get the right things in place for a boot, hgopefully?15:09
Xeonvlno throttling in dmesg, and the hottest < 50 degress15:09
scortalhi15:10
scortalscortal here15:10
sybaritenEriC^^: the command seems to adress the whole disk (volume?) ... what will happen  if i try to run that , but the aforementioned partition creating wasnt succesful?15:10
Xeonvlalso cpufreq-info claims they all run 800mhz all the time15:14
Xeonvlits getting hard to know what they are al doing heh15:15
Xeonvlran the same test on another machine and there the values i get are more dynamic for the cores15:17
Xeonvlhere in idle they all run perfectly 2100 mhz15:17
Xeonvlits a bit odd :p15:17
zen_coderfollowing package is down: http://security.ubuntu.com/ubuntu/pool/main/e/expat/libexpat1-dev_2.2.5-3ubuntu0.2_amd64.deb is this a bug?15:20
EriC^^sybariten: you're correct on all fronts15:25
EriC^^sybariten: you could use gdisk/cgdisk to create the partition, if you dont create it, then grub-install would fail as gpt doesnt have a place to put grub's loader like mbr15:26
sybaritenEriC^^: i see15:27
sybariteni think i will give this a shot15:27
ioriazen_coder, Superseded   : https://answers.launchpad.net/ubuntu/bionic/amd64/libexpat1-dev/2.2.5-3ubuntu0.215:28
Ravagezen_coder: try "apt update"15:28
sybaritenEriC^^: but what is essentially the reason for chrooting, i mean lets say in this specific case. As long as a disk is physically connected to my PC, i could still create new partitions to them right?15:28
sybaritenwell okay, maybe grub-pc would be a bit confuised cause it wants to operate in its "root environment" or something....?15:29
EriC^^sybariten: yeah, exactly, it's to install grub-pc, when you chroot this time you'll want to do "for i in /dev /proc /sys /run; do sudo mount -R $i /media/newhd$i' done" so you have internet access in the chroot for apt15:30
EriC^^if it says grub-pc is already installed do apt-get install --reinstall, since it was whining about i386-pc libs yesterday15:30
EriC^^sybariten: missed a ";" before done in the line above, but you get the idea, add "/run"15:31
sybaritenEriC^^: you already mentioned /run in the for loop though ?15:34
scortalscortal here15:39
leftyfbscortal: please stop15:39
EriC^^sybariten: oh ok, thought i didnt put it yesterday15:39
XeonvlRavage we are going to run some workloads and time. the numbers coming out of the tools to monitor clock speed are highly confusing15:52
Xeonvlyou mentioned perhaps trying hwe-edge? would that be the next thing if its somehow still running on 800 mhz?15:53
RavageI think edge is also 5.1316:01
RavageNo difference at the moment16:01
RavageYou can try to setup 22.04 if the system is not super important16:02
XeonvlI see, hm. its really odd, cpufreq-info claims its still down. /proc/cpuinfo doesnt16:02
Xeonvlbut it has really weird behavior compared to what i would expect and what other machines do16:02
RavageThat comes with 5.15 and is the next LTS release next month16:02
Xeonvlcan we simply check with a live cd?16:02
RavageYes sure16:03
RavageThere are daily builds16:03
Xeonvlhmm then ill think we'll try that tomorrow16:03
Xeonvlits not that the setup is already super complicated but the machine is already in ldap etc16:03
Ravagehttps://cdimage.ubuntu.com/daily-live/current/16:03
Xeonvlthanks, ill be off now but get back and report how it goes16:04
RavageBut go to #ubuntu-next for bug reports about that :)16:04
RavageGood luck :)16:04
boblamontI have a formmail script on my server and it isn't working. I suppose its the permissions. I have them at 755. Is that wrong?16:12
FastZHello. I have an Ubuntu Server here that I am trying to extend the disk space of a particular partition. On this server, I have sda partions 1 through 5. sda2 is not the lask partition on the disk and I need to extend that partition.16:25
FastZWhat is the proper way to do this? I do not have LVM in use on this server.16:26
FastZthe boot volume is sda416:26
FastZroot is sda516:26
oerheksFastZ, do this from a live iso, partitions must not be mounted16:30
oerheksalso do you have free space next to that partition? fdisk-l would show sector numbers16:31
boblamontI've  tried multiple permissions, but I can't get the formmail script to work. It was just a minor update to one that worked fine before, but ownership and permissions changed when I reuploaded...16:36
EriC^^FastZ: can you pastebin 'sudo parted -ls' output?16:39
FastZThanks oerheks, I am in gparted in a live ISO. The free space is at the end of the disk (this is a VM). The partition order from left to right is sda2, sda3, sda4, sda5, free space. I need to add the free space to sda2.16:40
FastZEriC^^: unfortunately, i cannot since I'm on a separate computer.16:40
EriC^^FastZ: does the vm have internet access?16:41
FastZit does not16:41
EriC^^ok, well in gparted you would have to move sda3 and sda4 and sda5 to the right of the disk, so the free space becomes next to sda2, then extend it and its fs16:42
FastZlet me try that.16:42
EriC^^i'd backup the vm before doing any moving operations on it16:42
FastZalright have snapshots made16:43
FastZalready, that is.16:44
ubuntuhi16:53
=== ubuntu is now known as Guest5925
Guest5925116:54
Guest5925)16:54
Guest5925cull thing16:54
Guest5925cool16:54
Guest5925*16:54
dirtcastleis there a button I can press in ubuntu to quit xorg and go to login screen16:57
|san|Hello folks16:59
dirtcastleI'm in a window manager. i want to go to the login screen (gdm?) and switch to ubuntu. i can go from gnome to wm but i don't know how to do that from wm to gnome.16:59
oerheksdirtcastle, just logout?17:00
dirtcastlein terminal?17:00
|san|Im playing around with a dial up server with asterisk, and i've setup ufw and a masquerade, but having trouble with ufw blocking something it shouldn't.17:00
leftyfbdirtcastle: CTRL+ALT+F217:00
|san|is there anyway to interpret from the following:17:00
|san|[UFW BLOCK] IN=enp6s0 OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:00:00 SRC=192.168.1.12 DST=192.168.1.3 LEN=200 TOS=0x18 PREC=0xA0 TTL=250 ID=10692 PROTO=UDP SPT=16384 DPT=13056 LEN=18017:00
leftyfbdirtcastle: that doesn't kill the Desktop though, it's still running17:00
|san|what i should add in ufw to not block this?`17:01
dirtcastlein the wm I'm in ctrl + alt + f2 doesn't work17:01
qubaHello everyone. I am currently working with Ubuntu on GKE. My node there runs the 5.4.0-1054.57 kernel, and I would like to download the headers for it. My problem is that when I run `apt source linux-headers-$(uname -r)`, it fetches 5.4.0-1063.66 for me, which is the last available kernel for GKE. That obviously leads to issues when I build my17:03
qubakernel module. How can I fetch the headers for the kernel that I am currently running?17:03
dirtcastlei figured it out. oerheks , leftyfb , thanks for your time17:04
alkisgquba: https://launchpad.net/~canonical-kernel-security-team/+archive/ubuntu/ppa3/+build/2178340717:05
alkisgquba: although can't you just tell them to update the kernel to the latest one?17:05
=== Guest5925 is now known as filim
filimgoodbye17:07
qubaalkisg your link is for AWS, I think. And I think they will update eventually, but for now I would like to get the headers for that specific kernel. There might be situations where I need to work before GKE updates the Ubuntu kernel they're using.17:07
oerheksquba, why don't you update to that  5.4.0-1063.66 kernel to begin with?17:08
qubaI appreciate your help. Those nodes are managed.17:08
alkisgquba: https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/2315343917:08
alkisgEh, you know, just find the version/variant you want from similar links17:09
qubaSorry, I guess I wasn't clear enough, I'm looking for the source packages for the headers17:09
alkisgThere's also a release history page that you can use; the idea is that you download them from launchpad instead of with apt17:09
alkisgquba: search on launchpad for a minute, and if you don't find them, I'll search and find them for you17:10
alkisgquba: e.g. https://launchpad.net/ubuntu/+source/linux-gke/5.4.0-1063.66 => replace the version you want in the URL17:10
alkisgI don't think you want the source for the headers though. You want the binary header packages, which contain the linux source code17:11
qubayep, that looks good indeed, many thanks.17:11
alkisgI.e. you should download the headers.deb, not the headers.tar.gz17:11
qubaThe headers might not be enough indeed. I thought they were, because running `apt source linux-headers-$(uname -r)` does actually download the whole linux source17:12
alkisgYou want to compile kernel modules, right?17:13
alkisgDon't use apt source. Don't download the tar.gz. Go to https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/22237437 and download the linux-headers-5.4.0-1054-gke_5.4.0-1054.57_amd64.deb and linux-gke-headers-5.4.0-1054_5.4.0-1054.57_amd64.deb files.17:14
alkisgThen dpkg -i them, and you'll have your kernel sources, which are used to compile kernel modules17:15
qubaThis looks hard to do programmatically :/17:16
alkisgHmm? You want to automate downloading the deb for your kernel?17:17
qubaPrecisely!17:17
alkisgThat doesn't make sense, officially the obsolete debs are deleted from the archives17:17
alkisgThey're only kept on launchpad for posterity17:18
qubaWhat I ultimately want is a `kernel-src.tgz` for the kernel I am running. Unpacking this should give me the linux source against which I can build my module.17:18
alkisgYou should automate the UPDATE process instead, not the "download obsolete debs" process17:18
qubaI think that makes sense. Let me look if that's even doable in GKE.17:19
alkisgAlso do note what I'm saying about the kernel headers being provided in .deb form. You don't want the .tgz unless you're going to modify it and build your own kernel variant.17:20
alkisgThis is ensured by a just `apt install linux-gke` or `apt install linux-aws` etc; these also fetch the headers17:21
qubaThat also makes sense :)17:21
qubaHmmm, I don't think I'm supposed to mess with the GKE nodes, so upgrading is likely not an option. I doubt most users can even SSH there.17:26
rpnx-phoneWhy is it so hard to buy a phone with ubuntu touch preinstalled?17:34
rpnx-phoneor even buy a phone that supports it?17:34
lotuspsychjerpnx-phone: ubuntu touch is now ubports17:35
lotuspsychje!ubports | rpnx-phone17:35
ubotturpnx-phone: Information about the mobile port of the Ubuntu platform (formely Ubuntu Touch) for Phone and Tablet is available here: https://ubports.com/. Support and discussion in #ubports17:35
lotuspsychjerpnx-phone: canonical is planning a new cloud phone in the future also17:36
rpnx-phoneIs there any non-discontinued device that's supported?17:37
qubaalkisg any idea why ubuntu deletes old packages from the repos? I can think of several situations where I'd like to download archives. CI is one of them; I have no control on the kernel there, yet I'd like to build my module and insert it there.17:37
lotuspsychjerpnx-phone: check ubports website to see all supported devices17:39
alkisgquba: archives are mirrored all over the world. The universities and companies that mirror them wouldn't want to waste space just for the use case you mention. Also, the apt lists would get huge and unmanagable at the user level17:39
alkisgquba: it's very good (and enough) that canonical keeps them in launchpad17:39
alkisgquba: if you really want to automate the "download old debs from launchpad" process, you'll just need a bit of html-scraping17:40
alkisgWe really should NOT have these in apt lists17:40
=== help is now known as XATRIX
qubaIt seems so, right? I cannot see a craft-able URL for those packages in launchpad17:40
alkisgquba: you can start with this one, it's craft-able: https://launchpad.net/ubuntu/+source/linux-gke/5.4.0-1063.66 => then, html-scrape and follow it from there17:42
alkisgquba: there's also this one, if it suits you better: https://launchpad.net/ubuntu/+source/linux-gke/+publishinghistory17:42
qubaI think I'll have to scrape this https://launchpad.net/ubuntu/focal/amd64/linux-headers-5.4.0-1054-gke/5.4.0-1054.57  but that complicates my CI workflow a lot :/17:44
=== XATRIX is now known as Guest2392
qubaIf someone has a better idea, I'm all ears. And alkisg thank you very much for your help already.17:45
=== ubuntu is now known as Guest8889
=== Scotty_Trees2 is now known as Scotty_Trees
jailbreakhow can I check my external IP address with a command in bash? I'm connected to a VPN and "curl icanhazip.com" says connection refuses so guess the VPN is blocking it/they're blocking them VPN.19:12
jailbreakrefused*19:12
jailbreakthe*19:12
jailbreaksorry can't type19:12
sarnoldhttps://www.google.com/search?channel=fs&client=ubuntu&q=whatsmyip ?19:14
jailbreaksarnold: yeah... no19:14
jailbreakthis works: curl https://ipinfo.io/ip but it outputs below/front, not like icanhazip19:15
oerheksexternal ip and vpn, funny question19:24
raymondilloHi all been a few years since I was on here. Forgotten all the commands. :)19:26
leftyfbjailbreak: curl checkip.amazonaws.com19:27
Ravagelegacy v4 only is a bit of a bummer for an IP check :)19:29
=== robertparkerx is now known as Knowsin
boblamontcan anyone help? I have a formmail script, but I can't get it to work. It displays, I can fill it out, but it doesn't do anything but refresh the page when I click send.19:47
ahasenackassuming it's a web form, check the apache error log in /var/log/apache2/19:50
leftyfbboblamont: also mail.log19:50
ahasenackand /var/log/syslog might also help, as well as /var/log/mail.log19:50
ahasenackyep19:50
leftyfbboblamont: also, the log for whatever MTA you are using19:50
ahasenackdepending on how far the script got19:50
leftyfb(postifx), (ssmpt), etc19:51
mahmoud_Hello19:51
mahmoud_Anyone there from Barcelona19:51
leftyfbmahmoud_: please ask your ubuntu support question. It shouldn't matter where people are from19:52
mahmoud_Actually I am curious about the switching in Barcelona government from Windows to Linux and open source, are there any signs in schools and offices.19:53
leftyfbmahmoud_: you probably want #ubuntu-offtopic or #ubuntu-discuss then19:54
=== diskin is now known as Guest7846
=== diskin_ is now known as diskin
boblamontI checked sys.log, I don't have a mail log, and I can't get into the apache2 directory20:04
leftyfbboblamont: is this a VPS or shared hosting?20:05
boblamontvps20:06
leftyfbboblamont: since you have limited access to your machine and what it does, you'll need to contact your VPS provider for support20:06
boblamontthe forms have worked for years, I downloaded the directory, updated them, reuploaded them and now they don't20:06
jhutchinsMaybe he could just try sudo.20:07
boblamontI did try sudo to get into the apache directory20:07
boblamontat first, the owner/group were wrong, so I fixed that, then I tried to set the right permissions, but maybe I have them wrong20:08
jhutchinsboblamont: What were they and what did you change them to?20:09
jhutchinsboblamont: Chances are there was a good reason for the way they were set by default.20:09
boblamontI uploaded via Filezilla, which always sets them to the non-root user, so I had to change them to www-data. That happens whenever I upload web files.20:10
boblamontthey should be www-data, right>20:17
boblamont?20:17
boblamonteverybody got so quiet20:21
sarnoldI strongly dislike the debian policy of having the web server process own the files, I think that's very poor decision20:21
leftyfbboblamont: you probably want #ubuntu-server to better fit your environment20:22
boblamontleftyfb: that's intimidating. I'm dumb enough around here.... the server people will make mince meat of me20:23
boblamontit has to be ownership and or permissions.... it always is20:30
alkisgboblamont: you can `ssh www-data@server` instead of `ssh user@server` if you want to transfer files directly with the correct owner20:32
alkisg(or scp or filezilla or whatever you use)20:33
boblamontalkisg: Well, I haven't had any trouble changing it after the fact, so it isn't a big deal20:34
alkisgIndeed it's not20:34
boblamontalkisg: I do appreciate the tip20:35
rfmboblamont, the files need to have group www-data, doesn't really matter what the user is.  What I did was put the user used for uploading in www-data group, then chgrp all the files to www-data, and make all the directories group www-data, and make the directories setgid  (chmod g+s /directory/path).  Then all uploaded files get group www-data.20:36
boblamontrfm: thank you20:38
boblamontwhat about permissions?20:39
rfmboblamont, g+rw (or g+rwx for directories)20:40
boblamontcan I have that as  a number?20:40
rfmboblamont, I'd have to look it up in the chmod man page, which you could do as well as me.20:44
boblamontrfm: doesn't matter, I did it the way you gave it to me and it took it20:45
boblamontform still not working20:45
boblamontit's supposed to say "Donation Submitted" at the top after it refreshes if succcessful, and it doesn't. I also doesn't write to a file it is supposed to.20:46
plujonI am using Ubuntu 20.04 LTS and Wayland.  Using Vivaldi, my desktop sometimes completely.  I can ssh into the machine and see that vivaldi is using 100% CPU and gnome-shell is growing in memory (e.g., 10GB+).  Is the bug in vivaldi, gnome-shell, wayland, or something else..?20:51
rfmboblamont, writing to a file sounds like some script is involved.  been a long long time since I did CGI in Apache but maybe the script needs to be executable? (chmod g+x)20:51
sarnoldplujon: if you're running gnome, try disabling gnome extensions, or maybe create a brand new user account for testintg20:53
boblamontstill not working20:53
plujonsarnold: Thanks.  I should have said "freezes completely..."20:55
plujongnome-extensions list # desktop-icons@csoriano ubuntu-appindicators@ubuntu.com ubuntu-dock@ubuntu.com20:55
sarnoldplujon: hehe, I figured that was likely the missing words :)20:56
rfmboblamont, time to start looking at the apache logs, can't tell from here what could be wrong.20:57
boblamontrfm: it wouldn't let me into the directory, when I tried sudo, it said sudo cd was unknown but without sudo I get permission denied20:58
* plujon ran: for i in ubuntu-dock@ubuntu.com ubuntu-appindicators@ubuntu.com desktop-icons@csoriano; do gnome-extensions disable $i; done20:59
plujongnome-extensions list # still shows the same three extensions, but the sidebar on the desktop is now gone, as is the CPU monitor from the top right.20:59
plujonI'll see if the vivaldi induced problem persists.  If it does, I'll disappear from this chat...20:59
rfmboblamont, "sudo cd" can't work (sudo starts a shell to run the cd, the shell does the cd, then exits with nothing else to do.  "sudo -i" to get a root shell may be easier for you21:01
=== EricFan1 is now known as EricFan
edlouubrbu21:03
boblamontI don't think I see anything relevant in the error log21:04
boblamontaside from minor changes to the form fields, these exact same forms worked fine last year21:07
sarnoldlanguages change, a lot of stuff that worked in php5 doesn't work in php721:08
boblamontsarnold: that was the one possibility that I dreaded. I do have a different php now.21:11
boblamontBut one more easier possibility. What should the permissions be on the files the script writes to? Based on the command history, I set them at 666. Does that sound right (if ominous)?21:13
jhutchinsboblamont: What are you actually building that's supposed to use this script?21:14
sarnoldthat lets anyone else on the system scribble all over those files, too. that's probably a bad idea, unless this system exists solely for that purpose, and nothing else is ever done on this machine21:14
boblamontsarnold: nothing else is ever doe on the machine21:15
jhutchinsphp email on apache is like the #1 candidate for zombie spam generators.21:15
sarnoldyeah21:15
boblamontjhutchins: it is a donation form for an annual fundraiser21:15
sarnold"formmail" things especially21:15
boblamontI have used it for years, it has not been hijacked or abused so far. I understand it isn't the safest thing in the world, but I need it to do the job I need it to do, and I need it now. Only a few weeks to go.21:17
leftyfbboblamont: if you don't know how to access logs, how do you know it hasn't been abused already?21:17
boblamontleftyfb: I suppose I don't. I don't know.21:18
leftyfbboblamont: I take it you are a web developer and not a sysadmin? Do you have any sysadmins helping to manage this server?21:19
boblamontI am on my own here.21:19
boblamontIt has worked fine for years.21:19
leftyfbboblamont: I would highly recommend getting a linux admin involved. "worked fine for year" does not mean it's built properly or safe from abuse or destruction21:20
boblamontI have no way of getting anyone to help.21:20
=== Fisher2443 is now known as Fisher244
leftyfbboblamont: what is this site for exactly?21:21
boblamonta college radio station21:21
leftyfbboblamont: and out of your entire college, not a single student or professor has rudimentary linux admin skills and the interest to help out?21:22
boblamontit doesn't work that way, it is a student group, it isn't integrated into the university itself21:22
gordonjcpboblamont: this sounds horrific and you need to fix it properly21:23
leftyfb^21:23
gordonjcpboblamont: you know the correlations between risk and impact right?21:24
hacksmy mom is trying to "extract here" a multipart rar, but when she selects the '.rar' it's only extracting a 250MB file. If she multi-selects all of the rar parts, extract here extracts each part to its own file. what gives?21:24
=== Gamah_ is now known as Gamah
hacksthe whole thing should be about 2.5gb as a single file21:25
jhutchinsboblamont: If I understand that you had the mail script working, upgraded including PHP, and now it doesn't, then the most practical solution is to rebuild it from scratch following a current guide.21:26
jhutchinsboblamont: Trying to kludge an old configuration to work with new PHP is only going to bring you pain.21:26
jhutchinsboblamont: PHP was frozen for a long time to accomodate historical sites, but they finally had to break things to move forward.21:27
boblamontyes, it is horrific. thanjhutchins: it wasn't my design, it was the Dagon Design Secure Form Mail script. Unfortunately, Dagon Design's website no longer appears to be live.21:27
leftyfbboblamont: then you immediately stop using that product21:27
leftyfbboblamont: also, as I'm looking back on logs, you're running Ubuntu 18.04 and tried to show-horn php8.1 onto it. Don't do this21:28
tomreynhacks: rar is a proprietary compression format, there is limited support to it. if you have control over the compression format, use tar+xz or 7zip instead.21:28
boblamontI didn't put it on intentionally.21:29
tomreynhacks: for the current file, you may have better luck using the CLI21:29
boblamontI just wanted 7.421:29
leftyfbboblamont: step #1 rebuild with Ubuntu 20.04, Step #2, find another proper web email form      Step #0, get a linux admin to do all of the above21:29
hacksthanks! I'll do that21:29
jhutchinsleftyfb: You don't live very close to the real world at all, do you?21:29
boblamontleftyfb: isn't there at least a slight possibility that updating to 20.04 will screw even more stuff up?21:30
leftyfbjhutchins: I find it very hard to believe they can't find a single student in a college able (even with limited experience) and able to setup a website properly21:30
leftyfbboblamont: I didn't say update to 20.04. I said rebuild21:31
leftyfbjhutchins: sorry, able and willing*21:31
jhutchinsleftyfb: Perhaps if you spent a couple of years working in an academic environment you'd have some insight.21:31
leftyfbjhutchins: you might be right there. I've only spend some times in the dorms. I never attended college21:32
leftyfbboblamont: either way, you have an unsupportable mess on your hands21:33
sarnoldboblamont: maybe it's worth putting together a quick google forms thing? users see a simple webpage, you get a spreadsheet21:34
boblamontsarnold: I can look into it.21:34
boblamontIs there a way to roll back my php so that it is what it used to be?21:35
tomreynboblamont: and if you're just hosting a website there, managed web hosting will be the better option than a virtual server - unless you actually *want* to learn server administration (my guess so far would be no)21:35
tomreynthere's no downgrade support, no. if a migration fails you'd restore backups.21:36
tomreynif you're using oktay surys PHP PPA, you can possible move between php versions, though.21:37
XeonvlRavage I don't think the HWE worked. I never see the CPUs going for higher clock speeds, it almost feels like they show up as 2100mhz by default in /proc/cpuinfo, then when they are used they report their real freq (around 800)21:38
leftyfbtomreyn: that is what got them into this mess21:38
boblamont^21:38
Xeonvlits odd, according to the ubuntu website 20.04 should support the cpu just fine21:38
Xeonvlim gonna try 22.04 tomorrow but im starting to worry21:38
tomreynleftyfb / boblamont: i see. well, managing that isn't easier, rather more difficult, i'd say.21:39
gordonjcpboblamont: this sounds horrific and you need to pay someone to fix it properly before it really bites you on the arse21:39
gordonjcpboblamont: and this is a when not an if21:39
leftyfbif it isn't already contributing to spam as we speak21:40
boblamontbut I installed 7.4 from the ppa and it coexists with 8 whitch it autoupdated to. I was able to have Wordpress use 7.4. Why can't I make the form use an older version of php?21:40
leftyfbboblamont: ask the defunct form developer21:41
webchat62Hi. Is there anyone who can help me solve my sound card problems?21:41
tomreyni think the 'google forms' suggesiton was a good one.21:41
tomreynwebchat62: install package alsa-utils, then run    sudo alsa-info   and have it post the output online, and post the internet address here, together with a description of the problem.21:43
leftyfbboblamont: even if you go the completely insecure, horrible route of not rebuilding your system from the ground up, continuing with a defunct web form applicaton is not an option21:43
jhutchinsboblamont: One notes that full site backups for a public web site are a requirement, not an option, and reconfiguring a financial web site without a full back up is ... let us say ill-advised.21:44
boblamontleftyfb: so I'm stuck with php 8, and need to use a form script that works with 8?21:44
boblamontjhutchins: well, it isn't financial, no financial information is included on the form. It's just a pledge sheet.21:45
jhutchinsboblamont: Involves money.21:45
leftyfbboblamont: rebuild from scratch. Ubuntu 20.4, php7.4, and go with the google web form. And get a linux admin to help you21:45
webchat62tomreyn I was watching a course and suddenly my laptop rebooted and after that, just dummy output showed to me and there is no sound. http://alsa-project.org/db/?f=c1f8704d8f15e0d3726736c30162c2cdfec6d0ee21:46
boblamontleftyfb: I don't think I have time to rebuild from scratch. I could do it over the summer, but I can't take it down now.21:46
leftyfbboblamont: you do not have a choice. Not unless you bring on someone that knows what they are doing21:47
boblamonteverything else works. just not this form. it seems extreme. best practice or not.21:48
boblamontFor all I know, the form won't work with 7.4, either.21:48
leftyfbboblamont: removing the form is a given at this point. Just make a page with a link to a google form21:48
leftyfbboblamont: you cannot use the web form software from a defunct project21:49
boblamontno, but perhaps I could find something similar that works with php 821:49
leftyfbboblamont: google form21:49
tomreynwebchat62: well, there is an intel audio chipset which is properly detected and looks like it should just work., from what i can tell.21:49
leftyfbboblamont: otherwise, hire someone that knows what they are doing21:49
scortalhi21:49
leftyfbscortal: stop21:50
boblamontyou must be pretty well off with your hire this hire that. not every person or organization has a lot of money, you know.21:50
leftyfbboblamont: hire != paid21:50
boblamontwell finding volunteers isn't any easier21:51
boblamontmaybe a bit21:52
gordonjcpboblamont: yes, I'm extremely well off21:52
tomreynwebchat62: when you run    pavucontrol    from a terminal, does this help managing the intel sound card?21:52
webchat62tomreyn unfortunately, it not working, as you can see from the output of `aplay` there is just HDMI output, not analog and I can't hear anything. (I also purged alsa and reinstall and it does not work)21:52
gordonjcpboblamont: do you want to know why?21:52
gordonjcpboblamont: or, perhaps you've already guessed21:52
boblamontgordonjcp: I have a strong suspicion you are you to tell me a most condescending way.21:52
gordonjcpboblamont: not necessarily21:53
webchat62tomreyn I also have this links: `aplay -l` output: https://pastebin.ubuntu.com/p/X3M23w6b4d/21:53
webchat62`pacmd list-cards` output: https://pastebin.ubuntu.com/p/CGss74Dt4n/21:53
webchat62`pacmd list-sinks` output: https://pastebin.ubuntu.com/p/ntX3wWDKN2/21:53
gordonjcpboblamont: I'm the person you get to stitch up the wounds when this sort of thing bites you on the arse21:53
webchat62`pulseaudio -vvv` output: https://pastebin.ubuntu.com/p/JN2vz4Pq8Z/21:53
gordonjcpboblamont: and I charge a *lot* of money for that21:53
tomreynwebchat62: hmm, right, just hdmi outputs21:53
gordonjcpboblamont: although I'd recommend paying someone before it gets to that stage; fixing the problem before it's a problem is practically free21:54
tomreynwebchat62:can you check whether you have pending updates? i assume you're not running the latest kernel there21:55
leftyfbboblamont: I don't try to do my own taxes or run for office. Do you know why? Because I am not qualified, nor have interest in becoming qualified. If I attempt to do my own taxes, there are consequences and/or some things I just won't be able to accomplish. Because I am not qualified and I prefer them to be done correctly. In your case, you need to get someone who is qualified to accomplish your goal or spend the time becoming qualified. But it21:55
leftyfbdoesn't sound like that is something you are interested in21:55
boblamontI'm sorry I've bothered everyone.21:55
webchat62tomreyn How I can check for that? I run two command `apt-get upgrade` and `apt-get dist-upgrade`21:55
gordonjcpboblamont: what exactly is the state of the server just now, and what are you trying to do?21:56
boblamontgordonjcp: what do you mean?21:56
tomreynwebchat62: sudo apt update    then   sudo apt dist-upgrade21:56
tomreynwebchat62: make sure there are no warnings or errors reported also21:56
gordonjcpboblamont: well, what are you trying to run, and what are you trying to run it *on*, and what is preventing you from doing so?21:57
i-garrisonwebchat62: anything you remember your system was doing around 'sudden reboot' ?21:57
webchat62tomreyn I did that and there are no errors and seems it's updated.21:58
tomreynwebchat62: to list currently installed kernel images, run    apt list --installed linux-image*    (the newer one may already be installed, but maybe it was not booted to)21:58
boblamontthe state of it is that everything works. Once a year, I do minor updates to the form. This time, I'm not getting them to work. It sometimes is because the permissions or ownership is wrong, but it seems not to be the case, so it has been decided it is because my active version of php has changed. So as far as I know, what I'm trying to do is simply have these damn forms ready and working.21:58
gordonjcpboblamont: okay21:58
gordonjcpboblamont: so this sounds not entirely related to #ubuntu support, so we should move it over to #ubuntu-offtopic21:59
webchat62i-garrison I was watching a video21:59
boblamontSo it seems like I just need a new form21:59
gordonjcpperhaps21:59
gordonjcpbut let's do this in #u-ot21:59
boblamontok, I'll go to off-topic21:59
leftyfbgordonjcp: FYI, the form they are trying to use is by a developer who's webpage is now gone21:59
webchat62tomreyn Is this currect? https://pastebin.ubuntu.com/p/5X3Hb2V375/22:00
gordonjcpleftyfb: you know how Django 4 is out?22:00
gordonjcpleftyfb: one of my old Django 0.9 projects came back to me a few months ago, needing migrated to newer hosting22:00
boblamontleftyfb: it is a widely known and used script. I would be rather surprised if nobody has modified it for later php versions22:01
plujonsarnold: my desktop still froze22:02
bobdobbsHi all. I'm trying to install ubuntu virtually using virtualbox. I'm following this tutorial: https://ubuntu.com/tutorials/how-to-run-ubuntu-desktop-on-a-virtual-machine-using-virtualbox . I've created a virtual machine and configured it to take a linux install. However, when I start the virtual machine, I get a message telling me that there is nothing bootable. I'm expecting to be prompted for the location of installable media, but the22:02
bobdobbsprompt doesn't happen.22:02
plujonThe problem seems to be triggered by scrolling down in Vivaldi.22:02
bobdobbsThe prompt I'm expecting is described at the first step here: https://ubuntu.com/tutorials/how-to-run-ubuntu-desktop-on-a-virtual-machine-using-virtualbox#3-install-your-image22:02
bobdobbsI have installed OS's using virtualbox before. But I can't remember the trick to begin the actual OS installation after setting up the VM.22:03
tomreynwebchat62: yes, you actually have the latest installed. 5.13.0.30.33~20.04.17 - and that's apparently what's running, too. so it has to be something else. maybe a hardware or firmware issue. you could look into how to reset the nvram on this computer.22:03
tomreynwebchat62: lenovo support for this laptop is available here https://pcsupport.lenovo.com/uk/en/products/laptops-and-netbooks/500-series/520-15ikb-type-81bf/81bf22:06
plujonBrave does not seem to suffer the same problem.  Hmm.22:09
tomreynbobdobbs: this really sounds like you're looking for help with configuring virtualbox on some other (?) OS.22:12
sarnoldplujon: dang :(22:13
plujonsarnold: After my desktop freezes, I can kill vivaldi via ssh from another machine, but the desktop remains frozen.  After I kill gnome-session, I can then log back in.22:13
tomreynbobdobbs: if you're running virtualbox on ubuntu, to boot a guest system, you'd "insert" (load, from file) the installers' ISO file into the (virtual) cd-rom drive and set the right boot mode (defaults to bios, uefi is available).22:13
bobdobbstomreyn: not so much with configuring it. Just figuring out how to get it to install an os22:14
plujonI can reproduce the problem at will.  It seems like gnome-session should be resilient in the face of a misbehaving app, but I don't know much about how windowing on Linux works.22:14
plujonI kinda suspect Vivaldi goes into an infinite loop while holding some resource that gnome-session also uses.22:14
tomreynbobdobbs: there is documentation by virtualbox, which is not bad, and there is a self-support channel on the irc.oftc.net IRC network. in #vbox22:15
bobdobbstomreyn: I've got an iso sitting on my hard drive. When the VM I've configured is running, I can't see a way to load it.22:16
tomreyniso needs to be on a cd-rom drive, not a hard drive22:16
bobdobbstomreyn: are you certain? I'm sure I remember installing OS's on virtualbox using iso files from my hard-drive22:17
bobdobbstomreyn: it's been a whlie though. I could be wrong.22:17
tomreyncrontroller: IDE -> storage attachment: optical drive22:17
tomreynbobdobbs: oh, i misunderstood what you said. yes, you can load the iso file from a file system on your physical hard drive22:18
tomreynbobdobbs: anyways, this really is a matter of virtualbox support22:18
bobdobbstomreyn: ah! thanks. I think I see what you mean.22:19
bobdobbstomreyn: I know I'm being a bit cheeky posting here. But I figured that this task would be something that many people here are very au fait wth22:19
tomreynmany people here are probably experienced with binding their shoes, too22:20
tomreyn(but please don't ask your shoe binding questions here)22:21
=== arooni_team_b is now known as arooni
alquimistadeacerhola22:28
alquimistadeaceralguien podria ayudarme ya instale por la terminar el servipack de virtualbox para que me reconozca los puertos usb22:29
alquimistadeacerpero no funciona22:29
tomreyn!es | alquimistadeacer22:29
ubottualquimistadeacer: En la mayoría de los canales de Ubuntu, se habla sólo en inglés. Si busca ayuda en español entre al canal #ubuntu-es; escriba " /join #ubuntu-es " (sin comillas) y presione intro.22:29
alquimistadeacerok gracias/ thanks22:29
tomreynde nada / you're welcome22:30
webchat62tomreyn resetting not make it work :(( it make me crazy, I tried almost all links from google I think it is a software problem. `pualseaudio -vvv` has an error22:31
webchat62the error come in last two lines: https://pastebin.ubuntu.com/p/JN2vz4Pq8Z/22:32
jhutchinswebchat62: Not necessarily an error.22:44
jhutchinswebchat62: Is pulseaudio running?22:44
webchat62Yes, it seems to be running22:45
jhutchinswebchat62: So it can't start again if it's alredy started, so not really an error.22:46
oingoboingorunning into a strange issue. when i plug in my USB DAC into my front panel USB3, all my USB devices power off. don't have the same issue with backpanel USB2. there are warnings in dmesg after I plug it in on USB2.22:47
leftyfboingoboingo: would a keyboard be one of the devices that stops working?22:48
jhutchinsoingoboingo: Possibly a physical problem with the front port?  Is there any other device you can try, or maybe just a cable?22:48
oingoboingoleftyfb: both keyboard and mouse22:48
jhutchinsoingoboingo: If you unplug the device does the system recover?22:48
leftyfboingoboingo: perfect, boot into your BIOS and perform the same action. If your keyboard stops working there, the issue is with hardware/power and not software or the OS22:49
oingoboingojhutchins: no i have to reboot22:49
oingoboingothx ill try that22:49
tomreynwebchat62 / webchat6282: did it reboot again?22:53
webchat6282tomreyn yes22:53
tomreynwebchat62 / webchat6282: so... by itself?22:54
webchat6282No, I rebooted my self22:54
tomreynwebchat6282: oh, ok. well, you could look at or post your logs, you cuold try an earlier kernel image from the grub menu, if still installed, or a live iso.22:55
jhutchinswebchat6282: I suppose you could try powering off, plugging it in, and booting with it connected.22:56
webchat6282jhutchins It always plugged in22:57
webchat6282so I must plugged it out and power off and on?22:58
tomreynjournalctl -b    shoould all logs since system booted. to see logs around a specific time (like when your computer rebooted unexpectedly), use --since= and --until=    - to list when the system rebooted, use --list-boots22:58
tomreynshoould -> shows22:59
webchat62tomreyn: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory23:02
webchat62I found it in logs23:02
webchat62It is normal that istead of writing my username it writed 'nonexistent'?23:03
tomreynwebchat62: this might be related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93956323:07
ubottuDebian bug 939563 in pulseaudio "pulseaudio: core-util.c: Failed to create secure directory (/nonexistent/.config/pulse)" [Minor, Open]23:07
tomreynbut i'm not sure that's related to your main issue23:07
jhutchinswebchat6282: Just ignore me, I got my streams crossed.23:13
sybariten       EriC^  uuuhh i think i done goofed up23:25
=== JoeBk_ is now known as JoeBk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!