Questions tagged [linux]

Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

Devilbox - error, "No Host DNS record found. " even after adding folder name in /etc/hosts/

I am using Devilbox and have been learning through documentation on how to work with it, I have created a folder inside /data/www/ inside devilbox folder and before that I have excluded the mention of ...
suborno das's user avatar
0 votes
0 answers
22 views

mteTrigger snmpTrap not getting fired when NTP is down

I'm trying to generate DISMAN EVENT whenever NTP is down by extending snmp. Have written shell script to extend mib. Using NTPv4-MIB https://datatracker.ietf.org/doc/html/rfc5907. In the custom pass-...
Vijay S B's user avatar
  • 193
0 votes
0 answers
33 views

What causes SSD write timeout over 120 seconds?

system:CentOS Linux release 7.6.1810 (Core) kernel:Linux l-db11.tj.cn5 3.10.0-957.10.1.el7.x86_64 #1 SMP Mon Mar 18 15:06:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux SSD:Dera cpu: 24 core memory: 128G ...
xianSheng Qian's user avatar
0 votes
1 answer
112 views

Why Swap usage is high for Influxdb: 100% Disk I/O and Swap usage but only 50% memory?

We have an influxdb VM that is constantly under 100% swap. Even if we restart the VM, the swap usage reaches 100% in about 20 minutes. However, memory usage is only about 50%. (The VM has 32 CPU Cores ...
Vipin Menon's user avatar
0 votes
0 answers
22 views

Is setting the ownership / permission for /etc/apache2 to have the group ownership `adm` and chmod g+w "safe"?

Good morning. I'm daring to ask my first ever qestion here. I'm annoyed having to use sudo all the time to modify the apache config files - mostly when I use the Remote SSH feature of my editor, then ...
JulianW's user avatar
0 votes
0 answers
28 views

Oracle linux 7 several nics, request from another subnets, disable rp_filter does not fix it

Network architecture in brief: Periodically I got network problem with LAN interface in the datacenter, and I decided to make failover: send trafic by upstream - first by old LAN and second through ...
Nikolas Ryzhov's user avatar
0 votes
0 answers
13 views

How to enable dark mode in serverfault [migrated]

I have been using stack overflow for a few months now, and I really enjoy the dark mode feature. I recently tried to find the same feature on serverfault, but I couldn't seem to find it. Does anyone ...
Nani's user avatar
  • 121
3 votes
0 answers
36 views

Linux ate my RAM [migrated]

I know this seems like a duplicate of many other posts in here, but I beg to differ. as this (to my not very experienced eyes) doesn't seem to be a caching problem. We have a server with 256G of RAM, ...
Forrest's user avatar
  • 31
-1 votes
0 answers
20 views

cookies are not being, recongnized / regenerated, after some period of time

Authentication in Laravel doesn’t work some time after the deploy in a specific environment I have 2 web platforms built with Laravel that work perfectly fine both on the development environment as ...
alexbn10's user avatar
0 votes
0 answers
33 views

Updating lodash to the latest version to resolve a handful of vulnerabilities

I'm attempting to update lodash and have run several commands; npm update -g lodash npm update lodash --force I've ran npm cache clean --force but nothing. Many of the lodash modules are outdated ...
Scivic's user avatar
  • 1
0 votes
2 answers
75 views

apache2 can not set REMOTE_ADDR or any other var as header

i trying to setup apache as a reverse proxy and i need to add e.g. the REMOTE_ADDR and some other values as an header (required by the backend), for some reason always "null" is set. ...
sususo's user avatar
  • 1
0 votes
2 answers
38 views

Replacement of "su - user -c command" in systemd unit

Having read that using su - as part of an ExecStart= (ExecStop=) in a systemd unit is a bad idea, I wonder what the proper replacement is. When using some vendor-supplied scripts or commands (where ...
U. Windl's user avatar
  • 391
0 votes
1 answer
36 views

NFS server identical "badcalls" and "badauth" count

What are badauth and badcalls in nfsstat? I searched and could not find any description of "badauth". We have an NFS server and just one NFS client on which exported partition is mounted ...
NRaj's user avatar
  • 1
0 votes
1 answer
88 views

How to get the IP address of the host that i have ssh'ed into?

I have ssh'ed into a linux host with ssh username@ip. Once logged on, how do I get the IP address of the host? commands such as host name -I or ifconfig are returning an IP address that are different ...
KARTHIK M S's user avatar
0 votes
0 answers
41 views

No ARP response using Unicast on VxLAN Overlay IPs in Linux server configurations

I am trying to setup a basic Unicast VxLAN between 3 Ubuntu 22.04 virtual servers (underlay IPs : 172.16.30.26/24, 27 and 28) running on VirtualBox. No firewalls are active. UFW is removed. After the ...
nata11's user avatar
  • 1
0 votes
1 answer
53 views

Jail-Chrooted OpenVPN Service with Apparmor fails with Operation not permitted

I have an OpenVPN client with chroot-jail currently working as a Linux service openvpn-client@vpn I am trying to make it work with AppArmor, I created the OpenVPN profile in /etc/apparmor.d/usr.sbin....
PhönixGeist's user avatar
0 votes
1 answer
157 views

Why do udp and udp6 have different port behaviors?

I have two Linux servers. I run the same Java application on both of them. One of them runs as udp and the other as udp6. When I send a request to the udp application, it returns to me over a ...
Omer Faruk Balli's user avatar
-1 votes
1 answer
95 views

Linux system mails alternative for sending and receiving besides SMTP

I have multiple EC2 servers which run either Ubuntu or Amazon Linux. I want to run automatic system updates but get a message when the system is updated. The yum-cron package can send emails, but I do ...
lony's user avatar
  • 107
2 votes
2 answers
114 views

Linux server: apt-get update "Could not get lock" error

I have a Google Cloud machine. Every few days, I SSH into the VM and run a handful of commands. Over the past few days, whenever I run sudo apt-get update, I get the following errors: E: Could not get ...
SteveAlbertsonFromNY's user avatar
0 votes
0 answers
80 views

execute ssh with command su and keep log in

I have a server where I have 2 users, one for ssh access and the other one for command execution, I want to create a command that use ssh, the su command and I want to keep the session alive, I try ...
Alan Gaytan's user avatar
0 votes
0 answers
32 views

How to follow Linux (minshall french) symlinks in windows

I have a CIFS drive mounted in linux and Windows with the following, respectively, sudo mount -t cifs -o mfsymlinks,cred=/home/user/.cifs_user //server/folder /mnt/test net use M: \\server\folder /p:...
Tom's user avatar
  • 101
0 votes
0 answers
21 views

Script run from crontab doesn't work [duplicate]

Running on the server I have a command that is started at boot as a service and it works well, now if I run the command that gives me information on the status of the service I get the data view, if I ...
Canuto's user avatar
  • 1
-1 votes
1 answer
33 views

backup from web host, how to import email from folder in the backup

Thank you for the interest in this topic, please help! I made a backup from my hosting account at hostgator.com, but one of my friends that hosted their domain with me had IMAP setup in his outlook ...
Rom Pereira's user avatar
0 votes
0 answers
35 views

bcachefs - how to setup a ssd only volume

I stumbled across bcachefs a few days ago. After some research, I still have a few questions. As I understand it, only the foreground_target must be defined. Does it make sense to set up a ...
Peedy2495's user avatar
0 votes
0 answers
58 views

Strange issue with firewalld and ssh on Almalinux 9

I have this strange issue with firewalld and ssh on my fresh AlmaLinux 9 installation. I changed the ssh port to a non-default port(9322), restarted the sshd daemon. Firewalld is running in it's ...
AndyK's user avatar
  • 1
0 votes
0 answers
18 views

PVC is in terminating state and PV is in bound state in Kubernetes

I have the PVC which is in terminating state (because it is referenced from 3 other pods) and the PV is in bound state. PV has the retain reclaiming policy. Also I am not sure on the reason for the ...
Harry's user avatar
  • 111
0 votes
0 answers
62 views

LVM RAID1 always rebuilds on boot — why?

I have a Debian (Bookworm) NAS with software RAID1 that has an interesting problem: every boot, one of the RAID1 mirrors is flagged as dirty and has to rebuild. The other mirror is fine. I have the ...
Michael Ekstrand's user avatar
0 votes
3 answers
74 views

Why is Postfix sending private information? [duplicate]

My (external) webserver has postfix installed. I use it as a SMTP server for my private email. I'm currently investigating a problem where hotmail/outlook/live sees incoming email from me as spam, ...
Zippy1970's user avatar
  • 279
0 votes
1 answer
38 views

.htaccess to get the list of ip from a file or directories of file

I'm blocking certain spammers/bots from accessing my website via IP addresses, but I have around 3 directories (/var/www/directory1, /var/www/directory2, /var/www/directory3). Every time I want to ...
Patrick Teng's user avatar
0 votes
1 answer
48 views

bind9 conditional forwarding not working as expected

Need your experience advice, We have a BIND9 DNS server that operates both privately and publicly for the domain xyz.com. I use the private DNS for certain secure nodes on our local network. I want ...
Yousuf's user avatar
  • 37
1 vote
1 answer
147 views

Fetching Netcat Response

Netcat is being used to create a listener on port :1000 while true; do echo -e "HTTP/1.1 200 OK\n\n $(date)" | nc -l -p 1000 -q 1; done; Navigating to X.X.X.X:1000 in a browser, ...
iRector's user avatar
  • 123
2 votes
1 answer
108 views

Monitoring LVM Thin Pool with lvs -a regularly using Zabbix (or any other method)

For my OpenStack setup, I'm using LVM as Cinder Block storage backend. I've created a cinder-volumes vg for Thin Provisioning. Now, I want to monitor how much that vg is used (not seperate disks in ...
Amartya Sinha's user avatar
0 votes
0 answers
26 views

Opening war file with Tomcat 10 on Debian 12

It's in webapps-javaee but says The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Localhost default Tomcat opens fine.
user23563245's user avatar
0 votes
1 answer
49 views

Rsyslog filter on machine hostname and not previous rsyslog server

I have a requirement to forward logs from hostname X to IP 1.1.1.1. However, the feed that is being received is from another Rsyslog server Y. Due to this, the existing condition is not working as it ...
helpthehelper's user avatar
0 votes
0 answers
69 views

AWS EC2 Ubuntu 22.04 LTS session timeout not working (ClientAliveInterval, ClientAliveCountMax)

I installed an AWS EC2 instance using Ubuntu: ubuntu@ip-aaa-bbb-ccc-ddd:~$ lsb_release -ds Ubuntu 22.04.3 LTS I was using the following simple tutorials to set the ClientAliveInterval and ...
Kawu's user avatar
  • 101
0 votes
2 answers
59 views

Why is https communication not working with iptables?

I'm trying to configure iptables for security settings. Basically, I set up a whitelist and tried to test it. I set the following settings to allow ssh, http, and https to my server by allowing input ...
john_smith's user avatar
0 votes
1 answer
119 views

How to chown a directory on a mounted samba share?

I have a linux client mounting a samba share with the following fstab entry: //<serverip>/<nameofshare> /home/user -o nofail,x-systemd.device-timeout=15s,vers=3.11,user=<sambauser>,...
ift-436t's user avatar
1 vote
0 answers
23 views

Exim rate limits and Amazon SES

Amazon SES sets certain limits for using its mail service. For example, sending a maximum of 14 emails per second or up to 50 recipients per email sent (to, cc or bcc). What configuration can be ...
mhbeyle's user avatar
  • 11
0 votes
1 answer
47 views

using include in named.conf returns file not found although the file does exist

I have a named service running fine but when I try to use an additional "include" statement, it doesn't work. I'm using Linux Server, and I have the same problem in CentOS and AlmaLinux. I ...
David's user avatar
  • 1
-1 votes
1 answer
41 views

SAP external command using lftp over sftp

I need to connect to the EDI server and pick up the data via sftp. This is an unusual ftp server. This is a special server that erases files after reading. We dismissed the initial idea of mounting ...
zaveryukha's user avatar
0 votes
0 answers
31 views

Re-route traffic from a Shadowsocks server based on GeoIP

I am trying to set up a proxy network consisting of two servers: First server is a ShadowSocks server (Rust version) with manager API enabled as a standalone systemd service. This allows opening proxy ...
wutt's user avatar
  • 1
1 vote
2 answers
50 views

Expand primary partition with additional Volume on OVH instance with Linux Ubuntu

I'm trying to setup a VPS on OVH. I've chosen the smallest public cloud general purpose instance and installed Ubuntu 22.04. Here are the system specifications: 8 GB RAM 2 vCore (2.3 GHz) 50 GB NVMe ...
Filippo Pagano's user avatar
0 votes
1 answer
69 views

what is the link between SAR memory output and free command?

I now understand a bit more RAM usage in linux OS and I knwo that I can use free -h to have correct knowledge about RAM utilization in my server. but I also have SAR that is working on my server and I ...
iostrym's user avatar
  • 15
1 vote
0 answers
88 views

How Linux kernel selects the source IP of outgoing data packets?

I have multiple IP addresses assigned to a network interface, each corresponding to a different outbound IP. :~# curl --interface 112.73.59.255 ip.sb 157.119.73.25 Using the above command, I ...
鱼鱼鱼三条鱼's user avatar
1 vote
2 answers
125 views

Pass web traffic to VPN endpoint other than the OpenVPN envelope through the VPN itself

I have a Linux server that is an OpenVPN endpoint, but also hosts a webserver. When my client connects to the server address for the webserver, the packets travel outside the VPN. Rightly so, since ...
user3450564's user avatar
0 votes
1 answer
198 views

NGINX 403 ACCESS DENIED

I have this problem in nginx, it is a Laravel application. but it is in a user's folder /home/user/projects, I already tried with 777 nginx owner of the folders but it still shows the error FastCGI ...
Pablo Vazquez Alvarado's user avatar
1 vote
0 answers
157 views

I can't open X-UI panel address installed on my oracle ubuntu server

I have installed x-ui panel and it shows it's up and running on my server, but when I try to access my server_ip:specified_port_for_x-ui it says connection time out or the site can't be reached. I ...
user3486308's user avatar
0 votes
0 answers
77 views

Apache 2.4 multiple instances on Debian

Apache ships with a script for creating multiple instances on the same server, which is exactly what I want to do. The first instance is happily up & running on ports 80 (http) and 443 (ssl). File ...
perissf's user avatar
  • 151
0 votes
0 answers
22 views

authenticate users in smtp relay server exim4

I'm configuring relay SMTP server for sending email alerts from my local network. I need to send emails alerts from services witch run on my servers. And I need to authenticate it: each service should ...
mirolz's user avatar
  • 1
0 votes
1 answer
27 views

How to add assignments to EC2 host /etc/fstab when identifiers are not unique?

I have volumes connected to an AWS EC2 instance running Linux and would like one of them to be mounted as root / on reboot. One option is to put the device UUID into the host's /etc/fstab entry. ...
Alex Reynolds's user avatar