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
0answers
35 views

Cronjob execution based on different timezone (Ubuntu 18.04)

OS: Ubuntu 18.04 Cron: cron/bionic,now 3.0pl1-128.1ubuntu1 amd64 System timezone is: America/Los_Angeles (PST) I want to set timezone of an EXECUTION TIME (not the timezone for the script) for ...
0
votes
0answers
21 views

Systemd Service Start/Stop Before/After

So I currently have 2 scripts, let's call them script A and script B. What I need when the server boots is for Script A to start (this brings up a database) once that's done, it will bring up Script B ...
0
votes
0answers
22 views

How to Upgrade OpenStack Kolla Train to Ussuri

we have several OpenStack Clusters that need routine upgrades, considering that we have multiple clusters that need to be upgraded and maintain the same networking and IP addresses without impacting ...
0
votes
1answer
32 views

Is there a way to change permission on any directory from drwxrwsrwx to drwxrwxrwx?

I have a directory whose structure is as below. Want to change the permission from drwxrwsrwx to drwxrwxrwx drwxr-xr-x 20 root root 4096 Apr 5 08:55 ./ drwxr-xr-x 20 root root ...
1
vote
0answers
42 views

Use script for SSH Banner before login

I'm aware you can run your own scripts for the MOTD in /etc/update-motd.d and/or /etc/motd, but that's for displaying after a user has logged in. The SSHD config file (/etc/ssh/sshd_config) allows you ...
1
vote
0answers
33 views

Linux VM not accessible on local network

I have a Linux VM in Hyper-V that's only accessible from outside the local network. SSH and HTTP and what not works just fine when port forwarded, but on the local network, it rejects everything, ...
0
votes
1answer
46 views

Can't quite figure Linux VLANs out

I've spent the better part of 3 days trying to get this simple example working, I can't really find any cohesive information relating to my problem, I guess people don't turn Linux hosts into Switches ...
1
vote
1answer
51 views

Redirecting HTTP to HTTPS without DNS or static IP

I've setup web servers in the past, but now I'm working on an embedded Linux project that is a bit different. I need the embedded Linux device to run an Apache server support DHCP not require any DNS ...
0
votes
1answer
32 views

Add users, permissions of folders, etc on ZFS pool

First of all, I'm still learning Unix basics :) so sorry in advance. I had created on my home server ZFS pool by Proxmox as "root". After that I created Linux Mint virtual machine ( with &...
1
vote
1answer
35 views

Restricting OpenVPN connection to only one program

My Linux server works with YouTube videos a lot, downloading and collecting data about them with the help of youtube-dl. I want to route this program (youtube-dl) through an OpenVPN connection. Seems ...
0
votes
0answers
370 views

SSSD - Server does not see subdomains

Good morning, I have four servers in the same subnet, all running RHEL 7 and using SSSD to authenticate against an Active Directory domain controller. With one (and only one) of them I have an issue ...
0
votes
0answers
15 views

Linux: Adding service definitions without changing /etc/services

Background: Working on an AWS Lambda layer, which does not give access to /etc/hosts or /etc/services. For hosts, the environment variable HOSTALIASES provides an alternative mechanism for adding ...
1
vote
0answers
16 views

OOM killer invoked gfp_mask=0x24201ca

I am trying to find out what causes memory to overload OOM killer to perform it actions. It is coming once in around three hours, average live client count is around 300, and I cannot figure out what ...
1
vote
2answers
25 views

Automatically create a new subdomain on server

I have a Github project with three branches, master, staging and production. When the staging code is merged with the production branch, a GitHub action runs and deploys my PHP website on my example....
0
votes
1answer
89 views

DNS VIEW not working for any

I have configured a DNS view configuration: view "local-lan" { match-clients { 192.168.0.0/24 }; zone "localtesting.com" { type master; file "internal/internal....
-1
votes
0answers
17 views

Unfortunately I shut down the SUSE cluster configuration, that lead to NODE1 made OFFLINE, whatever we do, it's not coming online

[ 68 root ] $ crm status Stack: corosync Current DC: pvdblpps#### (version 1.1.24+20201209.8f22be2ae-3.12.1-1.1.24+20201209.8f22be2ae) - partition WITHOUT quorum Last updated: Wed Mar 31 20:14:03 2021 ...
1
vote
0answers
73 views

Cannot create an instance due to failed binding

I'm deploying openstack on 3 nodes (controller, compute and block storage). Each of my nodes have 2 attachements eno1 on the management network and eno2 on a provider network (192.168.3.0/24). I'm ...
0
votes
0answers
38 views

How to access files from a local server with infiniband without using IP

I want to start of by saying that I'm very inexperienced with everything I'm doing so please take it easy on me. I have 4 computers each with Red hat Enterprise Linux server 7.8 installed, they are ...
0
votes
0answers
25 views

Applying systemd control group resource limits automatically to specific user applications in a gnome-shell session

Having seen that GNOME now launches apps under systemd scopes I've been looking at a way to get systemd to apply some cgroup resource and memory limits to my browser. I want to apply a MemoryMax and ...
0
votes
0answers
34 views

How to run a bash command on all Cloud Foundry Auto-scaled Linux VMs at launch time

I have an application hosted on Cloud Foundry (Open Source, not Pivotal Cloud Foundry). The instances for this application are autoscaled, meaning any time a new instance can get launched, and any ...
0
votes
0answers
80 views

bash loop until dig returns [migrated]

I am trying the following but it doesn't seem to give me my desired outcome, I basically want to run dig until I get a response at which point exit and continue with rest of script. until dig +answer ...
1
vote
1answer
46 views

Nginx with multiple domains/subdomains and ssl_certificate variable

We have a Nginx with hundred of proxies to several domains/subdomains. The way it being held during years, each new domain, we just go there and create a new conf file with server block containing ...
-1
votes
0answers
21 views

Linux top command hang about 25 seconds before works fine

On my Linux server, top command hang about 25 seconds before works fine: $ time top -b -n 1 Output: ... real 0m25.199s user 0m0.018s sys 0m0.014s When top command is hang, I found the ...
-1
votes
1answer
41 views

How do I find i-Tech DiGiView KVM Cables? [closed]

I found a really sweet deal on these i-Tech DiGiView DKP117-F8e 1U Rackmount LCD + Keyboard + Mouse + KVM Switch (DF-800) units on eBay.com for less than $80. When it arrived it looked like it had ...
0
votes
2answers
41 views

Where to setup SSL key files for using in Docker services

On Debian servers we're supposed to store certificates on /etc/ssl/certs dir, and key files on /etc/ssl/private dir. The problem is SSL private key files use to be readable only by the owner. So, I'm ...
0
votes
0answers
29 views

Issues with Bash Script to SSH and Copy String Variables from a CSV to a remote file

Here is my script #!/bin/bash clear PSQLSTART="INSERT INTO TABLE (Name, Description, Field3, Field4, Field5, Field6, Field7, Field8, Field9, Field10, Field11, Field12, Field13, Field14, Field15,...
-1
votes
0answers
47 views

Bash-Script: stop/abord if is last Sunday in March or October?

How can I stop/abort a bash-script when: is last Sunday in March? OR is last Sunday in October? Both should be checked here and if so the bash script should be stopped/aborted. Thanks in advance. ...
0
votes
0answers
26 views

Virtualbox systemd unit service: ask for password

I'm using the following systemd template unit file for managing VirtualBox VMs: [Unit] Description=VirtualBox VM %I After=network.target vboxdrv.service Before=runlevel2.target shutdown.target [...
0
votes
2answers
48 views

What is the benefit change cloud server time to local timezone

I have several server over the cloud with the remote time zone, due to logs investigation comparing to our local time is vary, What would affect if I change the time on the server ? the target server ...
1
vote
1answer
57 views

CRONTAB - Summer/Winder Time-Change

Since there can be problems with the time change from summer/winter or winter/summer, I wanted to ask how I could solve the problem within the bash script-2? I think in the winter time it should not ...
1
vote
1answer
46 views

My Linux machine reboot everyday at 0:00 UTC but I never set that. What could cause this happen?

I have an EC2 instance and it auto reboots every day. There is a broadcast message in the terminal before rebooting, like the following: Broadcast message from root@ec2... (Sun 2021-03-28 00:01:50 UTC)...
0
votes
0answers
21 views

I'd like to figure out how to setup rotating failover IPs, So when under attack it will use a different source address for web traffic

I'm simply wondering if it's possible to use multiple IPs for a piece of traffic of my choice. I want to have it setup to where it will use a different source address once the one it's currently using ...
0
votes
0answers
32 views

CentOS Multipath using SAS Disks and Multiple Hosts

===========System Design=========== Server A --> 2 PCI LSI HBA Cards Server B --> 2 PCI LSI HBA Cards 8 x SAS Disk Shelf --> Dual SAS Controller 12 Slot Disk Shelf 96 Disks all SAS Seagate ...
0
votes
1answer
31 views

How do I allow VPN traffic only inside the network?

I set up an OpenVPN server on Ubuntu 20.4. I created a client config. By connecting using this config, for example on my laptop and going to google.com, the route will be through the VPN network, ...
0
votes
0answers
24 views

PHP: Class 'PragmaRX\Google2FA\Google2FA' not found

I'm trying to use Class 'PragmaRX\Google2FA\Google2FA' with the "use" command in PHP, but I keep getting not found, even though the file is in /usr/share/php. CentOS 7. I've yum uninstalled ...
1
vote
0answers
18 views

Configuring CouchDB with Lets Encrypt SSL certificate

I basically have exactly the same issue as configure CouchDB with Lets Encrypt SSL certificate, so have followed this answer. But it's still not working. I've started with the Bitnami CouchDB VM on ...
0
votes
1answer
56 views

Using SNMP to monitor windows RDP logons?

It is possible to monitor WIN RDP logons (user,login duration) using SNMP specific OID ?
0
votes
1answer
27 views

What does `Accept-Encoding: gzip,deflate` mean?

Can someone explain what it means when I see Accept-Encoding: gzip,deflate when listening with ncat? Does it mean the body is compressed? And if so, how can I decompress it? $ nc -lnvp 4000 Ncat: ...
0
votes
0answers
22 views

python make a script that install packages OS for mac/windows/linux

I need to make a python script (python 3), that does I am newbie using python identify the current OS because dev guys work on iPad/surface/windows workstation, Linux servers, some mac minis and so on ...
0
votes
0answers
49 views

RHEL 8. linux OOM killer invoked to kill postgres process

Database is going to recovery mode whenever the OOM killer is invoked on the postgres process. /var/log/messages output with respect to the issue oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),...
0
votes
0answers
28 views

IOWAIT, High CPU in a debian 10 VM after reinstall

For some reasons i had to reinstall debian my linux VM, this is the point from the problems began. Before the reinstall there wasn't any problems like that. I'm running a Webserver (Apache/Nginx), ...
-1
votes
0answers
19 views

IBM X3550 M3 FW in fault state

Is it worth doing a firmware re-flash for this raid? Specifically, will the controller be stable or is it completely gone?1
1
vote
2answers
73 views

Non-Systemd Based Linux Services

I am running AntiX in a virtual machine. I have a service (python script) that I wrote that I was able to set up as 'auto start' on boot. It works fine. However, when the service crashes (or is ...
1
vote
0answers
18 views

Easiest way, if any, to host one or more linux servers on my local MacOS machine

I'd like to implement a POC of one or more linux servers "sharing" a portion of their filesystem through an exports configuration, and an additional server mounting the exported/shared ...
0
votes
1answer
28 views

Can't resize Ubuntu Partition inside VMware

I had a 30 GB machine and I run out space. Then, via the VMWare Workstation GUI, I have extended that space. It got to "unallocated space" at first, then I tried to extend it with gparted, ...
0
votes
1answer
12 views

AH01630: client denied by server configuration: /home/act-ss/cgi-bin/webactivation.cgi

I am getting this error in my /home/act-ss/logs/error.log: AH01630: client denied by server configuration: /home/act-ss/cgi-bin/webactivation.cgi I am using Apache 2.4 on CentOS 7, the directory and ...
1
vote
0answers
12 views

How to shutdown keepalived without releasing the VIP

Usually it is a good thing that when keepalived shuts down, it releases the virtual IP address (VIP) via VRRP and removes the address from the local interface so that other instances can take it over. ...
1
vote
1answer
11 views

Issue with removing LV disk space that was extended from another disk

I have a redhat server with two disks 100gb and 500gb. The 500GB disk was unused, however I then used it to extend the /var LV. The filesystem on all mountpoints are xfs and you actually can't reduce ...
0
votes
1answer
33 views

How to route between VPN endpoints dynamically

I have the following setup: OpenVPN endpoint 01 --| |-- Server 01 --> Internet OpenVPN endpoint 02 --| Clients can choose to log in via either OpenVPN endpoint 01 or ...
0
votes
0answers
18 views

I always get permission denied everytime I pull from repo to our server

Hi can I ask some help please, we deploy our app larvel application to our new server but the problem is everytime we have an update to our repo then pull to our server. our web application will ...