Linux News

[SOLVED] Can anyone explain why these libraries are not found?

Linux Questions - Mon, 05/16/2022 - 05:38
Code: hazel@bigboy.localdomain:~
$ ldd /usr/lib/libgccpp.so.1
        linux-gate.so.1 (0xf7f92000)
        libgc.so.1 => /usr/lib/libgc.so.1 (0xf7e9d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7e7c000)
        libdl.so.2 => /lib/libdl.so.2 (0xf7e76000)
        libstdc++.so.6 => not found
        libm.so.6 => /lib/libm.so.6 (0xf7d36000)
        libc.so.6 => /lib/libc.so.6 (0xf7b6a000)
        /lib/ld-linux.so.2 (0xf7f94000)
        libgcc_s.so.1 => not found
hazel@bigboy.localdomain:~
$ locate libstdc++.so.6
/usr/lib64/libstdc++.so.6
/usr/lib64/libstdc++.so.6.0.29
hazel@bigboy.localdomain:~
$ locate libgcc_s.so.1
/usr/lib64/libgcc_s.so.1 Nah, don't bother. The minute I submitted it, I realised why. It's 32-bit. But I wonder why I have it on my system:scratch:

Discovered that too. It's part of the gc garbage collector. I seem to have both 64-bit and 32-bit versions of that. I think I'll get rid of it; it was probably installed by mistake. The only 32-bit software that I see any reason for having on my system is glibc, which I need for my printer.
Categories: Software and Help

move the webserver to windows

Linux Questions - Mon, 05/16/2022 - 05:17
I have a redhat server, that running apache , no database , the source code is http, css , .js , very simple website and .htpasswd_file for access control .

I want to move the website to windows IIS server , would advise is it possible to do that , what application that I need to install ? does windows can use the .htpasswd_file for access control ?

thanks a lot .
Categories: Software and Help

CentOs7 Mount windows share problems

Linux Questions - Mon, 05/16/2022 - 05:13
Hello

I am quite a linux newbie.
I have been asked to check the mount a windows share on a CentOs7 box, before working and now not working anymore (no clue from the customer on what could be changed)

Local mount point /backup
Windows share //xx.xx.xx.xx/000_BCK

I can ping the Windows machine with no problem

The local mount point exists

Code: ls /backup
Prod  Test I can see the share via smbclient

Code: smbclient -L xx.xx.xx.xx -U backup -m SMB2
Enter SAMBA\backup's password:

        Sharename      Type      Comment
        ---------      ----      -------
        000_BCK        Disk
        ADMIN$          Disk      Amministrazione remota
        B$              Disk      Condivisione predefinita
        C$              Disk      Condivisione predefinita
        IPC$            IPC      IPC remoto
        VBRCatalog      Disk
Reconnecting with SMB1 for workgroup listing.
do_connect: Connection to xx.xx.xx.xx failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
Unable to connect with SMB1 -- no workgroup available fstab is configured as follows

Code: cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Thu Jul 26 12:32:02 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
//xx.xx.xx.xx/000_BCK          /backup  cifs    uid=1000,credentials=/var/.smb39,iocharset=utf8,noperm,vers=1.0 0 0
I verified the credential file and it contains the correct credentials (those I used with smbclient)

if I run sudo mount -a I get "Host is down" as message

Code: sudo mount -a
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Commenting that line in fstab, mount -a works fine so that's the "offending" line

After some more googling, I tried to use smb 2 and now the error is different

I changed fstab to

Code: //xx.xx.xx.xx/000_BCK          /backup  cifs    uid=1000,credentials=/var/.smb39,iocharset=utf8,noperm,vers=2.0 0 0 And now the error is

Quote: mount error(13): Permission denied and in dmsg I see

Code: [2227599.842439] Status code returned 0xc000006d STATUS_LOGON_FAILURE
[2227599.842455] CIFS VFS: Send error in SessSetup = -13
[2227599.842993] CIFS VFS: cifs_mount failed w/return code = -13 ...but (beginning of the post) with smbclient those credentials seems working fine

this is the content of /var/.smb39

Code: user=backup
password=yyyyyyyyyyyyyyyy I tried changing user to username but the result seems the same

There is no domain/workgroup specified in the credential file.
Could it be the problem?

I am kind of reaching my limit in googling for solutions.
Is there anything I should ask the customer to check?


Thanks for any hint to shed some light on this subject

VindalooMan
Categories: Software and Help

No sound on Lenovo Thinpad X1 gen 7

Linux Questions - Mon, 05/16/2022 - 04:26
Not sure is if this is suppose to go here, in Linux - Laptop & Notebooks or Linux - Slackware. Let me know if I'm posting to the wrong forum.

I'm having problem getting sound to work on this laptop. It's a fresh install of Slackware 15.0 and I'm booting the vmlinuz-huge-5.15.19 kernel.

I see this in dmesg... and think it is related to me not having sound. It directs me to a link for what I assume is drivers for my sound card ?? But that's where my knowledge stops. I have no clue if I'm suppose to install this, and from that URL I'm not understanding how to installed. Any help would be appreciated.


Code: root@hawkeye:~:>$dmesg |grep audio
[    6.099016] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.099595] sof-audio-pci-intel-cnl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    6.101767] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[    6.110354] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    6.119274] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[    6.147756] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 5
[    6.147777] sof-audio-pci-intel-cnl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    6.147798] sof-audio-pci-intel-cnl 0000:00:1f.3: DMICs detected in NHLT tables: 4
[    6.147935] sof-audio-pci-intel-cnl 0000:00:1f.3: Direct firmware load for intel/sof/sof-cnl.ri failed with error -2
[    6.147958] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof firmware file is missing, you might need to
[    6.147977] sof-audio-pci-intel-cnl 0000:00:1f.3:        download it from https://github.com/thesofproject/sof-bin/
[    6.147998] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load DSP firmware -2
[    6.160404] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof_probe_work failed err: -2

root@hawkeye:~:>$dmesg |grep snd
[    6.010009] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.010023] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    6.049879] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.049925] snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Code: lv8pv@hawkeye:~:>$uname -a
Linux hawkeye.LINUX 5.15.19 #1 SMP PREEMPT Wed Feb 2 01:50:51 CST 2022 x86_64 Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz GenuineIntel GNU/Linux Code: lv8pv@hawkeye:~:>$aplay -l
aplay: device_list:274: no soundcards found...

lv8pv@hawkeye:~:>$aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
Code: root@hawkeye:~:>$lspci
00:00.0 Host bridge: Intel Corporation Coffee Lake HOST and DRAM Controller (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 11)
00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 11)
00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 11)
00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 11)
00:15.0 Serial bus controller: Intel Corporation Cannon Point-LP Serial IO I2C Controller #0 (rev 11)
00:15.1 Serial bus controller: Intel Corporation Cannon Point-LP Serial IO I2C Controller #1 (rev 11)
00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller #1 (rev 11)
00:16.3 Serial controller: Intel Corporation Cannon Point-LP Keyboard and Text (KT) Redirection (rev 11)
00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #9 (rev f1)
00:1d.4 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #13 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 11)
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 11)
00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Cannon Point-LP SPI Controller (rev 11)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (6) I219-LM (rev 11)
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
05:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
07:00.0 System peripheral: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] (rev 02)
2d:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] (rev 02)

Code: root@hawkeye:~:>$lsmod |grep snd
snd_hda_codec_hdmi    69632  0
snd_hda_codec_realtek  155648  0
snd_hda_codec_generic    90112  1 snd_hda_codec_realtek
snd_soc_dmic          16384  0
snd_sof_pci_intel_cnl    16384  0
snd_sof_intel_hda_common    86016  1 snd_sof_pci_intel_cnl
soundwire_intel        40960  1 snd_sof_intel_hda_common
snd_sof_intel_hda      16384  1 snd_sof_intel_hda_common
snd_sof_pci            16384  2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp    16384  1 snd_sof_intel_hda_common
snd_sof              122880  2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_skl          147456  0
snd_soc_hdac_hda      20480  2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core      32768  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc        16384  1 snd_soc_skl
snd_soc_sst_dsp        36864  1 snd_soc_skl
snd_soc_acpi_intel_match    57344  3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
snd_soc_acpi          16384  3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_core          315392  6 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_soc_dmic
snd_compress          20480  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
ac97_bus              16384  1 snd_soc_core
snd_hda_intel          57344  0
snd_intel_dspcfg      24576  3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
snd_intel_sdw_acpi    16384  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec        163840  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core          106496  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hwdep              16384  1 snd_hda_codec
snd_pcm              139264  11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_timer              36864  1 snd_pcm
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_sof,thinkpad_acpi
snd                  106496  11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm
soundcore              16384  1 sn
Code: root@hawkeye:~:>$cat /etc/asound.conf
# ALSA system-wide config file
# By default, redirect to PulseAudio:
pcm.default pulse
ctl.default pulse
Code: root@hawkeye:~:>$ls -al /proc/asound/
total 0
dr-xr-xr-x  11 root root 0 May 15 14:59 ./
dr-xr-xr-x 258 root root 0 May 15 14:50 ../
-r--r--r--  1 root root 0 May 15 14:59 cards
-r--r--r--  1 root root 0 May 15 14:59 devices
-r--r--r--  1 root root 0 May 15 14:59 hwdep
-r--r--r--  1 root root 0 May 15 14:59 modules
dr-xr-xr-x  4 root root 0 May 15 14:59 oss/
-r--r--r--  1 root root 0 May 15 14:59 pcm
dr-xr-xr-x  2 root root 0 May 15 14:59 seq/
-r--r--r--  1 root root 0 May 15 14:59 timers
-r--r--r--  1 root root 0 May 15 14:59 version
Code: root@hawkeye:~:>$cat /proc/asound/cards
--- no soundcards ---

root@hawkeye:~:>$cat /proc/asound/devices
 33:        : timer

root@hawkeye:~:>$cat /proc/asound/hwdep

root@hawkeye:~:>$cat /proc/asound/modules

root@hawkeye:~:>$cat /proc/asound/oss/
devices  sndstat

root@hawkeye:~:>$cat /proc/asound/oss/devices
Categories: Software and Help

I'm looking for a simple notes/reminder program

Linux Questions - Mon, 05/16/2022 - 04:09
I'd like to write one sentence notes and set a date. I'll be reminded in the system tray until dismissed. I can also look at the overall list and edit if needed.

That's all I need to do. I'd like it to run at startup and live in the tray.
Categories: Software and Help

A good tutorial for reducing memory usage?

Linux Questions - Mon, 05/16/2022 - 04:06
Hopefully discussing tracing and evaluating processes and so forth.
Categories: Software and Help

LXer: Install phpMyAdmin on Ubuntu 22.04 with Apache

Linux Questions - Mon, 05/16/2022 - 04:04
Published at LXer:

phpMyAdmin is a web-based application for interacting with MySQL database server. This tool provides you with a user interface to make MySQL operations so you don’t have to use the command line interface.In this guide you are going to learn how to install phpMyAdmin with Apache on Ubuntu 22.04 and secure it.

Read More...
Categories: Software and Help

Install phpMyAdmin on Ubuntu 22.04 with Apache

LXer Linux News - Mon, 05/16/2022 - 04:03
phpMyAdmin is a web-based application for interacting with MySQL database server. This tool provides you with a user interface to make MySQL operations so you don’t have to use the command line interface.In this guide you are going to learn how to install phpMyAdmin with Apache on Ubuntu 22.04 and secure it.
Categories: General News

Can't Sleep

Linux Questions - Mon, 05/16/2022 - 03:22
I have a single user, member of the Power group, desktop with Slackware 15.00

On the KDE Application Launcher (bottom left corner) I can see options to
  • Sleep
  • Hibernate
  • Restart
  • Shutdown

Sleep - goes to sleep and wakes up almost immediately.
Hibernate - hibernates and wakes up when told.
Restart - restarts the machine
Shutdown - shutdowns the machine

On the logon screen. I see the options
  • Sleep
  • Restart
  • Shutdown


Sleep - goes to sleep and wakes up almost immediately.
Restart - restarts the machine
Shutdown - shutdowns the machine

Two questions -
  1. why does Sleep go to sleep and wakes up almost immediately?
  2. why no Hibernate option on the KDE logon screen, but there is a sleep option?
Categories: Software and Help

How to format an NVMe partition into ZFS and create multi ZPools on that?

Linux Questions - Mon, 05/16/2022 - 02:45
A physical partition on an NVMe SSD as an example: /dev/nvme0n0p13
And i have a pre-written command stream unsure if correct ... Code: doas zfs create -o encryption=on,keyformat=passphrase personal /dev/nvme0n0p13
doas zpool create personal/serious
doas zpool create personal/mydotfiles
doas zpool create personal/STEAM
doas zpool create personal/Retro
doas zpool create personal/VBOx
doas zfs set mountpoint=/home/data personal/serious
doas zfs set mountpoint=/home/skel personal/mydotfiles
doas zfs set mountpoint=/home/steam personal/STEAM
doas zfs set mountpoint=/home/retro personal/REtro
doas zfs set mountpoint=/home/vbox personal/VBox
Categories: Software and Help

LXer: How to Install and Set Up Pop!_OS 22.04 LTS

Linux Questions - Mon, 05/16/2022 - 02:02
Published at LXer:

In this tutorial you will learn how to install Pop!_OS 22.04 LTS on your computer

Read More...
Categories: Software and Help

How to Install and Set Up Pop!_OS 22.04 LTS

LXer Linux News - Mon, 05/16/2022 - 01:51
In this tutorial you will learn how to install Pop!_OS 22.04 LTS on your computer
Categories: General News

init with predefined brightness

Linux Questions - Mon, 05/16/2022 - 00:54
Hi

I successfully set the screen brightness to 50% with this console command...

Code: # echo 2000 > /sys/class/backlight/intel_backlight/brightness. But I have to do this everytime I boot my laptop, which is several times per day. This is annoying. The default screenbrightness is 100%. And that is very bright, blindingly.

So, I created a script in rc.d, for automatically set the screen brightness...

Code: # cat /etc/rc.d/rc.set-screen

#!/bin/sh

echo 2000 > /sys/class/backlight/intel_backlight/brightness


# ls -ld /etc/rc.d/rc.kks
-rwxr-xr-x 1 root root 71 May 16 13:40 /etc/rc.d/rc.kks But init does not seem to be executing this file during boot up.

What am I doing wrong?

Thanks!
Categories: Software and Help

LXer: 6 Practical and Real-World Applications of Linux

Linux Questions - Sun, 05/15/2022 - 23:43
Published at LXer:

If you use Linux on your desktop, you might have wondered if the operating system you're messing around with has any practical uses. Fortunately, there are plenty of real-world applications of Linux today. Here are some of them.

Read More...
Categories: Software and Help

6 Practical and Real-World Applications of Linux

LXer Linux News - Sun, 05/15/2022 - 23:40
If you use Linux on your desktop, you might have wondered if the operating system you're messing around with has any practical uses. Fortunately, there are plenty of real-world applications of Linux today. Here are some of them.
Categories: General News

stuck in 1024x768 resolution

Linux Questions - Sun, 05/15/2022 - 23:13
I have a thinkpad T440s and an HP LA2006x monitor. It can get 1600x900 resolution. But for some strange reason when I reboot I cannot set the monitor to 1600x900. The only solution I've found is to fiddle with the settings for 1 or 2 hours and reboot, but that's not a reliable nor reasonable solution.

I use plasma at a GUI.
Categories: Software and Help

Can Zim notes be accessed from users on both OS's on a dual boot comp?

Linux Questions - Sun, 05/15/2022 - 22:41
I have a dual boot system. Zim notebooks is installed on both OS's. Can I link Zim #2 the the notebooks created by Zim #1?
Categories: Software and Help

LXer: MAYA-W2 Tri-Radio includes Wi-Fi 6, Bluetooth 5.2 and IEEE 802.15.4 support

Linux Questions - Sun, 05/15/2022 - 21:31
Published at LXer:

The u-blox MAYA-W2 is a connectivity module based on the multiradio NXP IW612 chipset and provides support for standard wireless protocols such as Wi-Fi 6, Bluetooth 5.2 and 802.15.4. radio (Thread and Zigbee).

Read More...
Categories: Software and Help

MAYA-W2 Tri-Radio includes Wi-Fi 6, Bluetooth 5.2 and IEEE 802.15.4 support

LXer Linux News - Sun, 05/15/2022 - 21:28
The u-blox MAYA-W2 is a connectivity module based on the multiradio NXP IW612 chipset and provides support for standard wireless protocols such as Wi-Fi 6, Bluetooth 5.2 and 802.15.4. radio (Thread and Zigbee).
Categories: General News

DistroWatch Weekly, Issue 968

DistroWatch.com - Sun, 05/15/2022 - 21:23
This week in DistroWatch Weekly: Review: Quark 21.10.2News: Haiku improves FUSE filesystem creation and imports drivers, history of the Linux filesystem, NVIDIA open sources kernel driversQuestions and answers: Finding a good phone for Linux-based operating systemsReleased last week: Fedora 36, Red Hat enterprise Linux 8.6, AlmaLinux OS 8.6Torrent....
Categories: Distributions

Pages