Questions tagged [linux]
Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.
38,113
questions
0
votes
0
answers
27
views
PHP-FPM child processes terminate for no apparent reason
after weeks of unsuccessful debugging, we are now hoping for help here.
We have a system where we can create test instances for Shopware 5 and Shopware 6. The applications are not special and run on ...
0
votes
0
answers
13
views
Trouble with password rules in Linux-PAM
Ubuntu 20.04.
I've installed pam_pwquality.so.
Here's the contents of /opt/pam.d/common-password:
password required pam_pwquality.so retry=1 minlen=10 ucredit=-1 lcredit=-1 dcredit=-1 ocredit=-1 ...
0
votes
0
answers
16
views
Monit with Ansible - invalid mail format '#015'
I've been trying to install monit with an ansible playbook. I'm changing the monitrc file and when the playbook restarts monit, I get :
Jun 8 08:00:30 myserver monit[1857462]: Starting daemon monitor:...
0
votes
0
answers
10
views
Windows SFTP server has intermittent slow login issues
I have installed SFTP on 3 separate windows server with the same config. One of them is having intermittent slow logins. About a minute to log in but sometimes it logs in within seconds.
I have ...
0
votes
1
answer
10
views
Reassign drive index number of mdadm software raid devices
My RAID 1 array has two disks as stated by # mdadm --detail /dev/md0
...
...
...
Number Major Minor RaidDevice State
5 8 32 0 active sync /dev/sdc
4 ...
-1
votes
0
answers
21
views
R630 Will Install Only Linux OS
R630 server will successfully install only Linux OS's.
Windows Server 2012R2 or 2022 installation is able to see the drive to which to install and even format it, however, it would not install by ...
0
votes
1
answer
48
views
Proxmox host cannot reach guest: TCP client retransmitting instead of sending ACK after SYN/ACK
Setup: server (HTTP server on 80) on 192.168.1.20, clients on 192.168.1.17, 192.168.1.18
Client 192.168.1.17 can connect to the server fine (Wireshark capture on the client side attached)
1 0.000000 ...
0
votes
0
answers
16
views
Rclone to a SFTP endpoint in a local network with a bunch of disks - suggested disks setup?
I have a need to copy a complex dataset (around 4 PB total, hundreds of millions of files) via Rclone copy, for some customers (each of them own around 100TB out of the 6PB) - to a bunch of disks via ...
1
vote
0
answers
9
views
View Isilon ACLs from Linux as ordinary user
I have an Isilon mount that's mounted as NFSv3 on RHEL. There are some Active Directory groups that are used in access lists. I have a folder where those ACLs are applied. When I open the folder ...
-1
votes
0
answers
22
views
How can I HTTP stream a USB webcam plugged into my headless Ubuntu Server remotely? [migrated]
I have a USB webcam plugged into my computer running Ubuntu Server at home. I want to access its video feed remotely.
I am connected to the server's network with a VPN, so I can SSH into it using ...
0
votes
0
answers
20
views
Need suggestion for open source tools to simulate I/O delay for files in a directory on ubuntu-20.04 [closed]
Need suggestion for open source tools to simulate I/O delay for files in a directory on ubuntu-20.04. So lets say I create a directory /delay_dir, then any process trying to read/write to files under /...
0
votes
1
answer
39
views
Why don't I have permission to create this directory / file? Permissions on Debian 11 Linux
I thought I understood Linux permissions, but alas... why don't I have permissions here?
I'm part of the www-data group:
docker@docker01:/home/docker$ id
uid=1002(docker) gid=998(docker) groups=998(...
1
vote
0
answers
23
views
Changes in grub.cfg custom Ubuntu 22.04 ISO not present on boot
I'm trying to follow instructions on how to make autoinstall Ubuntu ISO, but however I modify linux line in grub.cfg configuration file during customization of Ubuntu Server 22.04 ISO, modifications ...
0
votes
0
answers
44
views
Docker containers can't connect to IP on the Internet but the host can
I've been scratching my head about this for a full day now, I'm hoping to get some pointers in the right direction.
From the host I can connect to the Internet just fine, but any container I start ...
0
votes
0
answers
14
views
Incoming IPSec traffic on Linux host is not processed via the VTI tunnel using XFRM rules
I have the following setup:
Remote IPSec VPN gateway: 81.x.x.x
Local machine address: 172.22.1.156
VPN-assigned IP: 10.0.30.97
VTI tunnel interface:
vti0: ip/ip remote 81.x.x.x local 172.22.1.156 ttl ...
0
votes
1
answer
26
views
Prefetched Small File Cache
First, my use case: On my Linux-based server I am getting unsatisfactory disk IO performance for small files, and am limited to the approximately 100 IOPS that a 7200rpm HDD will support. This is of ...
0
votes
1
answer
50
views
Apache using up all the memory
My site (which as running fine until yesterday - CPU was at 2%, memory at 50%) keeps maxing out the resources - CPU and Memory at 100% and "load" and Disc IO very high.
the site is a php (...
0
votes
0
answers
35
views
nginx and php-fpm waiting for server too long
Hi I am using docker to mount nginx and a PHP-fpm using Falcon as a framework and react as the front end
`upstream fastcgi_backend {
server bfy-%APP_VERSION_UID%_buildify-php-fpm_1:90%FPM_PORT_PREFIX%;...
-1
votes
1
answer
61
views
What could be causing PowerMTA not to forward emails over port 465 SSL...?
We have a PowerMTA server that receives incoming e-mail. and forward it to external SMTP server that's not running PowerMTA i tried to do it using port 587 and port 25 both working fine and emails ...
0
votes
0
answers
18
views
Winexe error NT_STATUS_LOGON_FAILURE executing script from Linux to Windows Server 2012
I've installed winexe on my linux machine. I want to use it to execute some script on a Windows Servre 2012. It doesn't work, the error is NT_STATUS_LOGON_FAILURE.
I've followed this guide to install ...
0
votes
1
answer
33
views
website extremely slow after enabling ssl with nginx on react website
This is my nginx sites available folder on a digital ocean Ubuntu v22 VPS:
server{ server_name 139.59.62.131 animeanyway.me;
location / {
proxy_pass http://localhost:3000;
...
1
vote
0
answers
43
views
Host system dead. How do I read data stored on a RAID 1 drive/pair? [closed]
I asked this question on SuperUser, and both of the two responses immediately moved in a direction which didn't actually move to get clarification or offer recommended solutions. One of the two ...
1
vote
0
answers
37
views
What does "sudo ethtool -K <interface> tx-checksum-ip-generic off" do exactly? Should I be worried about turning it off?
Recently upgraded to Debian 11 bullseye, and our Docker swarm nodes had trouble talking to each other, and started dropping some connections.
After much Google-ing, we stumbled on these threads:
...
0
votes
0
answers
17
views
traceroute on server works for one website but not another [closed]
On a server, I used traceroute to both bing.com and baidu.com. The dns server is set to 8.8.8.8. It works for bing.com but not baidu.com.
What might be the cause for the issue? (I suspect this might ...
0
votes
1
answer
35
views
Synchronizing load balanced Linux servers
I want to load-balance two dedicated linux servers, I'm planning to do that using round robin DNS, but I can't find a way to synchronize the servers to be identical.
The servers are running a perl ...
4
votes
1
answer
183
views
How do I troubleshoot a zfs dataset that the server when the server can't agree if it's mounted or not?
I have a ZFS dataset that exists in /proc/mounts and in /etc/mtab, but the folder doesn't exist in the filesystem, zfs umount reports the dataset doesn't exist, and zfs mount reports that the dataset ...
0
votes
0
answers
18
views
How can I restore lost data after executing the xfs_repair command to forcibly clear log files to restore the file system?
I already know how to do xfs meta data backup. To repair the xfs file system, only the xfs_repair -L lv command is available. I will move the abnormal Inodes to the lost+found directory after I want ...
1
vote
0
answers
51
views
Combine MASQUERADING and NETMAP in iptables POSTROUTING
We have some clients (networks) which are connected via VPN to our server network.
Let's say client has e.g. 192.168.0.1/32 and our server network is on 10.1.0.0/24.
So the issue now with this client ...
2
votes
1
answer
39
views
How to Root volume partition without losing the data
We have this scenario : I to increase the disk space of one of our VM,
Disk details :
root@Test-01:~# blkid
/dev/vda2: UUID="0eae0eb4-92ed-45ec-aa99-6d606f17e70a" TYPE="swap" ...
-1
votes
0
answers
22
views
Cannot access device / WD Portable Game Drive 5.0 TB USB [migrated]
I've tried two cables and using two different computers to access my WD Portable 5.0 TB portable game drive that has a USB interface. Dmesg seems ok with line
[ 4586.948425] sd 6:0:0:0: [sdb] Assuming ...
1
vote
0
answers
36
views
Ubuntu/Apache: /tmp files unexpectedly removed
I'm losing files in /tmp on current Ubuntu (22.04.2), possibly related to virtualisation. Any insights appreciated. This is not a normal cleanup; the file is lost immediately.
I have two systems: a ...
0
votes
0
answers
22
views
How to fix cURL error 35 when consulting endpoints in production server?
I have a Laravel project consulting various endpoints via get method, and sometimes in random moment return this error:
production.ERROR: GuzzleHttp\Exception\ConnectException: cURL error 35: OpenSSL ...
0
votes
0
answers
29
views
Best way to trigger host to restart a docker container from inside another docker container?
I have a docker container that manages all of the SSL certificates for my services with Letsencrypt. When the certificate for a certain service is renewed, a post-hook script copies the certificate ...
0
votes
0
answers
8
views
remove network discovered printers in cups web page
I am trying to remove network discovered from cups webpages. I am working on a cloud print service and run a raspbian bulleyes. I will have to deploy my system to customers and I want to remove every ...
0
votes
1
answer
38
views
UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host
I have SSH access for a particular server, but when I am trying to run the playbook for that server. I am trying to do the deployment for that server but I'm facing an issue.
fatal: [lapp999.corp.com]]...
0
votes
0
answers
25
views
Why isn't my zpool listed for export when plugged into new host?
I have a zpool called 'temp' with some data I'm trying to move between systems. I used zpool export temp to export the zpool, then I unplugged the disks, and installed them in my new computer. But now ...
0
votes
0
answers
47
views
Ngninx "cannot load certificate BIO_new_file() failed (SSL: error:0200100D:system library:fopen:Permission", help fix this [emerg] error
I am running an Ubuntu 20.04 LEMP server on a Raspberry Pi 4. In my nginx errror logs I am getting the following error:
2023/05/29 11:51:40 [emerg] 3356#3356: cannot load certificate "/etc/...
0
votes
0
answers
16
views
Mounting an encrypted fs WITH prompt at boot time (LUKS, cryptsetup)
Per company policy my laptop has to be very secure in case of theft, so I have created an encrypted partition (LUKS) that I want to mount via /etc/fstab.
However, I do NOT want to add passphrase to ...
0
votes
1
answer
46
views
Can't pull a docker image on Cent OS server, but works fine on local Ubuntu OS
This command fails on a CentOS server but succeeds on an Ubuntu based laptop:
# server, CentOS based
$ docker pull jwilder/nginx-proxy:latest
Error response from daemon: manifest for jwilder/nginx-...
0
votes
1
answer
38
views
IPTABLES no internet access from lan with default FORWARD rule set to DROP
I'm trying to set up ubuntu server 22.04 (virtualized) as a router with one wan interface (ens18) and several lan interfaces ens19:ens23 & ens1.
Here is what im trying to achieve:
allow ens19:...
0
votes
0
answers
20
views
Number of receiving queues is double the number of cores of my server?
I'm using Mellanox ConnectX-5 100 GB NIC, Linux kernel 5.15 and my server has 32 cores (SMT disabled). But in the /sys/net//queues, the number of rx queues is 64, which is double the number of cores ...
0
votes
0
answers
6
views
Specific olcAccess does not work for an OU in LDAP
On my OpenLDAP server, I would like the accounts in my "ou=partners" OU to have "read" permissions to all objects in "ou=abos". Here is the tree of my DIT :
[ditTree][1]
...
0
votes
1
answer
33
views
Postfix: Can't send mails from another network
I recently set a postfix (+dovecot) mail server (on a VPS) and when I am in my own home network, which I put in mynetworks, I can both send and receive mails.
However when I am outside home I can only ...
0
votes
0
answers
13
views
ipsec package after decrypted can not be recieved by tproxy
My centos6 machine ipaddress is 192.168.56.10 (eth0). I have installed strongswan and a tproxy like v2ray with iptables:
iptables:
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [...
-1
votes
1
answer
19
views
Domain user directory being created as /home/username@domain instead of /home/username
I am using an amazon linux 2023 box and i joined the instance to domain using realmd.
The issue is that when i try to login with my AD credentials, the user directory is being created as /home/...
0
votes
0
answers
57
views
LVM disk is corrupt - is any data recoverable?
Under RHEL7 we have a logical volume consisting of 27 volume groups PVs. Each of these VGsPVs was added sequentially as we ran out of space on the LV.
We do not have a backup of the data. There are ...
0
votes
0
answers
17
views
Samba share suddenly stopped showing on Windows
I have 20 computers in my office network and all the computers run windows10 except one which is running Ubuntu. I have setup a samba share on that machine so that others can access the share drive ...
0
votes
0
answers
20
views
BIND 9 XML Statistics-channels build modification after server is already up and running
Migrating away from BIND to R53 and would prefer not to use the named.stats file for monitoring activity during the migration period. As such, I checked the current named.conf and verified no ...
0
votes
1
answer
35
views
ntpdate works but ntpd servers stuck at .INIT
There have been several similar questions to this, but none with resolutions.
I can run ntpdate on the machine, and the date is updated. I assume that this means there is no firewall problem.
I have ...
0
votes
0
answers
32
views
What is the best practice for servers - EFI or legacy mode?
I'm currently installing a new Linux server and am trying to decide whether to use legacy mode (BIOS) or EFI. So far, I'm leaning towards legacy because it's less complex (less partitions) and has ...