Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linux]

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

0
votes
0answers
13 views

how to know the right swap size for hadoop Linux machines

we are using many hadoop clusters for now we are using swap size - 16G free -g total used free shared buff/cache available Mem: 125 ...
1
vote
1answer
27 views

Monitor outbound connections

How I can monitor outbound connection that are made from my server along with the program/application which has made the connection request? I have tried using the below command and I am not much ...
0
votes
0answers
14 views

Authentication token manipulation error

I am working on a remote Linux server and my password expired. So now when I login it asks me to change my password. But when I give a new password, I get an error Authentication token manipulation ...
0
votes
1answer
38 views

Unable to use/mount the full size(20TB) of configured RAID5 array on centos7

Actually i have created software RAID 5 array md0 using mdadm linux. In this configuration i have used 6 Harddisk (4 TB each) and the final raid5 array size is 20TB approx. As we know raid 5 use n-1 ...
-1
votes
0answers
5 views

NSSEnumeration not enabled [closed]

I am trying to run the Pbis wrapper and getting following error... Could you please help me to resolve the issue? # MODULE START: OS DETECTION # Determining OS type... Hostname: rlstlppvmsrxmv2 ...
0
votes
0answers
17 views

Get ESSID & BSSID of open networks in Terminal

I'm looking for a way to get BSSID and ESSID of all open (not encrypted) wireless networks in my surroundings with a bash command. It would be even better, if could filter out networks with a too low ...
0
votes
0answers
19 views

How to run scripts owned by root with Apache?

I have built a Docker Ubuntu image with Torch installed, when running the container in interactive mode I'm able to execute a few commands as root user. For example, if I run /usr/bin/env th, I can ...
0
votes
1answer
24 views

Cron job to delete all files older than 7 days with extension in a specific folder - not working

I have a cron job that runs at midnight to delete all .txt files in a folder that are older than 7 days. I can see the job is running, but the files still exist in the folder. I'm new to cron, so I'd ...
0
votes
0answers
21 views

Which directories are mapped to which domain names?

In my /home directory there are a bunch of directories that each represent a website. Some of these directory names are the same name as the domain name so those are obvious. But other directory names ...
-1
votes
0answers
12 views

track server load by outgoing traffic (file downloads)

Im new to server load and want to ask a question. I have a website like youtube. Currently there are 250-300 people at once on website(based on google analytics) and page load time is dropping ...
1
vote
0answers
15 views

ProFTPD options: how to debug

Within a Red Hat Enterprise Linux Server release 7.6 (Maipo) I would like to use the module mod_ban in order to set a ClientConnectRate event. The service is started as: systemctl start proftpd ...
9
votes
4answers
1k views

Execute command when a file changes

I have a scenario where I am uploading .csv files to a specific folder, /tmp/data_upload, every day, and the old files are replaced by the new one. I need to run a Python script once the data is ...
0
votes
1answer
76 views

Linux bridge broken after upgrade, out of ideas / places to look (now 4.20.0-arch1-1-ARCH) (works in 4.19.13)

UPDATE: After stepping away from the problem for a little bit I realized there was one thing that I could examine or test which I hadn't. Reverting to an older version of Linux allowed me to work-...
1
vote
1answer
56 views

GCP Instance Connection Disruption

I am a novice GCP user trying to run 4 scripts in parallel on an a linux instance with 4 CPUs, 4 GPUs, 15 GB RAM, and 30 GB Disk space. However, a few minutes after initializing my scripts, both ...
-2
votes
1answer
22 views

How to fix DNSMismatch?

I tried to crawl a project of mine with scrapy and received a warning which worries me. The config seems to be wrong, but everything works as expected. What is the reason for DNSMismatch and how can I ...
0
votes
0answers
32 views

SSH AWS Operation time out in terminal EC2 Ubuntu 16.04 Apache 2

Hi thanks for reading, I usually connect to my instance no problem. For example: mymac:~ ssh i- path/to/my/key.pem ubuntu@ec2-really-long-public-dns This worked yesterday, however today the same ...
0
votes
0answers
13 views

Failed to get properties: No such interface '' in Ubuntu 16.04.3 LTS [duplicate]

I Created this Unit file tdk-api.service in the /etc/systemd/system folder with this permissions: -rwxr-xr-x with this content: [Unit] Description = tdk API daemon [Service] Type = simple ExecStart ...
-1
votes
1answer
16 views

How to find out RAM speed and L2 L3 cahce sizes of AWS EC2 & lightsail instances

On my desktop $ sudo lshw -short -C memory H/W path Device Class Description ======================================================== /0/0 memory ...
-1
votes
0answers
35 views

vpn linux centos (no internet access)

i successfully connected via nm-l2tp but i have a problem when connected to vpn, there was no internet access i marked: Use this connection only for resources on its network but i cant ping local IP ...
0
votes
0answers
13 views

Dell R415 S300 raid card, need linux installed, but it's windows only. Can it work without raid? [duplicate]

I ended up getting a free R415, but the S300 raid card is windows only from what I've found, and it keeps showing no hard drives detected when trying to install Ubuntu or any other flavor or Linux. I ...
0
votes
1answer
32 views

Assign IP address for one computer within each VLAN

I have been asked if there is a solution to expose a single machine (Linux Server with honeypot installed) to multiple VLANs, I mean, a single machine will have many IP addresses belonging to each ...
0
votes
1answer
29 views

Creating /etc/init.d startup script

I have simple /etc/init.d/myscript startup script in my Debian squeeze that just logs to file: echo "starting init.d script" >> /opt/aaa/starting.log I did all actions to register script: ...
0
votes
1answer
20 views

Need more information about exim4 log

Sometimes when I try to send a mail, I can see in exim4 mainlog,a line like this : address_mail R=dnslookup_users T=remote_smtp defer (98): Address already and the mail is put in exim queue, why ? I ...
-1
votes
1answer
40 views

dnsmasq: how to get conntrack numbers in query logs?

I´m currently working on a project (for school) to set up a program which analyses DNS-queries to be used in Docker-Swarm and Kubernetes. For testing purposes I received some (supposedly dnsmasq) logs....
-1
votes
1answer
36 views

NGINX Connection Too Slow

When I try to download files that are on my server the speed is very slow. Static files like .css .js take a long time to load. How can I test to see if the problem is the server connection or the ...
0
votes
0answers
23 views

PMACCT to NETFLOW Collector (NFSEN)

i see almost 10x lower traffic in NFSEN/NFDUMP analyzer than it's really is. What could be the case ? The Dropped packets Count are equal to zero. i'm using this configuration: pmacctd -i ens1f1.433 ...
0
votes
0answers
27 views

systemd-journal Rate Limit

I have a service set up on CentOS 7 which outputs a lot of log messages, which results in this in the system log / journal: systemd-journal[xxxx]: Suppressed 864 messages from /system.slice/example....
-2
votes
0answers
27 views

SafePoint feature compatibilities [closed]

I built a FreeNas server and im trying to use it to create a SafePoint for MyBook Live WD and created a SMB volume share for Windows. The system gives me this error message: "No shares could be found ...
0
votes
1answer
529 views

Run FreeRADIUS on FIPS enabled Redhat server?

I'm attempting to install a FreeRADIUS server on a RHEL 6.9 VM. This VM is operating in FIPS mode. I'm running into the problem described in a Red Hat bug report found here. According to that bug ...
0
votes
0answers
9 views

php-fpm status shows listen queue 0 when it is delaying requests

I have a php-fpm server running on a high-traffic website (behind nginx). It is frequently reaching a point where the active processes are equal to the maximum number of processes, which is the most ...
1
vote
1answer
30 views

Centos 7.6 RAID5 physical system will not boot after single drive failure

Hello, I recently built a Centos 7.6 server with 4 identical 500GB drives, using the Anaconda installer from a local Centos 7.6 DVD. The BIOS settings give me EFI rather than bios boot. Using "...
0
votes
1answer
17 views

Wrapper to send command output via email (like cron)

I'm looking for a wrapper command (ideally in Python) which executes a given command and handles its output (STDERR/STDOUT) similar to cron: if there was no output (and return code 0), do nothing ...
0
votes
0answers
6 views

Routing Destination to Null0 in Openstack Environment

I runnning openstack, and recently found that some of my VMs are attacking to some external IP addresses(3 IP Addresses which belongs to China). i have blocked the destination on my router, and ...
0
votes
1answer
59 views

Exim4 with outlook and other domain error

Sometimes when I try to send a mail to microsoft domain address I can see in exim4 mainlog lines like this : eur.olc.protection.outlook.com address already in use After hours or days in the exim4 ...
-1
votes
1answer
46 views

Apache header editing

I have setup with apache (apache 2.4, redhat 7.6) reverse proxy in front of the JVM. Apache has basic authentication setup on it. The problem is that Apache header with info about basic ...
0
votes
1answer
17 views

Drive space maynot be showing correct values

The monitoring system we use shows several servers, related to the same application servers, are out of disk space. The application owner stated they cleared Gigs of data but this change was not ...
0
votes
0answers
18 views

Procedure to convert an EC2 AMI to use LVM

Is there a documented process or guidelines to convert an Amazon EC2 AMI to use LVM? The goal is to have the AMI supplied by Amazon converted to LVM, by having relevant directories (/var, var/log, /...
0
votes
0answers
10 views

Gateway routing through tun interface

I have questions on the ip packet flow for the following scenario: I want my workstation "WKS" access Internet though a dedicated gateway "GW" in charge of mounting a tun interface and direct all my ...
0
votes
1answer
25 views

Is there any “native” way to check for disk errors/failure?

Currently I check for disk failures using a real hodgepodge of checking syslog for filesystem errors, raid controller/HBA burp errors, and actively writing a file to disk, checking its contents, and ...
1
vote
0answers
20 views

Auditd - log all ssh sessions

We have about a thousand servers / virtual machines, and currently keeping track of who did what where isn't easy. And to make it worse, clients have access to their own machines and often don't know ...
0
votes
1answer
33 views

Nginx displaying failed (13: Permission denied) when trying to access new site

I am trying to set up my own web server to learn a bit more about server admin. I have decided that I want to serve each sites files from a public_html folder inside the users /home directory. I ...
0
votes
1answer
44 views

What CN name should I use when I want to setup SSL on port other then default 443?

I have server that runs both my public web server, and local one. Local server is on port 333, and I used invalid certificate for it for a long time, but I want it to be properly configured, so I made ...
0
votes
1answer
26 views

How to convert swap partition from RAID1 to RAID0 using mdadm

How to convert linux SWAP memory from RAID1 to RAID0? Start with:2 exact size swap formatted partitions (/dev/sdc5 and /dev/sdd5) on 2 physically separate disks that are used via Software RAID(named ...
0
votes
1answer
19 views

Shell script fails due to interactive remote menu

Please help. We are trying to write some automation for several CyberPower PDUs in our datacenter. They are rack mount switched PDUs (PDU41002) and they have the ability to be remotely managed, ...
0
votes
0answers
14 views

Dovecot: migrate to virtual mailboxes

I have a linux server currently running Dovecot 2.3. Each user has a system account. The email are stored in format Maildir (mail_location = maildir:~/Maildir). The new setup should use virtual ...
1
vote
0answers
82 views

NVME vs SSD: Read/Write performance issue

We have rent some servers from Hetzner.de. A few of them have NVMe hard disks while the others have SSDs. We becnchmarked the read/write performance on 4 of our servers using the following commands: ...
0
votes
1answer
26 views

how to add a dot recursive in file/folders permissions

example of files with there permissions -rwxr-xr-x. 1 root root 659 Jan 4 2018 zookeeper-server-initialize -rwxr-xr-x. 1 root root 649 Jan 4 2018 zookeeper-server-cleanup -rwxr-xr-x. 1 root ...
0
votes
0answers
8 views

Tell extension and zend_extension apart

We've been using staticly linked extensions in our php builds for years without any problems, so I never had to wonder, but trying to switch to dynamic (--enable-mysqlnd=shared for example) I have two ...
1
vote
0answers
41 views

How can I talk to another user's systemd user process?

From a script that runs as root, I'd like to start a systemd user service. I've tried the most obvious thing: sudo -u $user systemctl --user <etc> but I get Failed to connect to bus: No such ...
1
vote
1answer
38 views

Can't mount ntfs drive anymore ($VOLUME_INFORMATION attribute not found in $Volume)

I have a external hard drive with ntfs partition and it isn't accessible or mountable anymore. Last thing I did was a rsync copy to that usb drive. I still can see the ntfs partition with gnome-disks ...