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
8 views

OVS Bridge :: How to Delete a Persistent sFlow Export Session?

I have an OVS bridge (OVS version: 2.9.3) that currently has two sFlow monitoring sessions going: root@linux:~# ovs-vsctl list sflow _uuid : 12cbdc49-cd9a-4909-91c6-1da7ea82bbaf agent : "ens1f3" ...
0
votes
1answer
20 views

unattended memtest: is it practical?

I will be building a medium scale cluster (20 nodes, expanding later) and for various reasons, using commodity hardware should give me a significant cost saving (even allowing for shorter operational ...
0
votes
1answer
15 views

Cannot Open Display Error- While trying to Open Thunar (Google Cloud)

I am using Cent OS 7 in Gcloud. I just installed Thunar using this command yum install Thunar Then run this command thunar to open up Thunar File manager. But it says:- Thunar: Cannot Open Display: ...
0
votes
0answers
7 views

How to blacklist or reject external mail ids in fetchmail delivery?

We have configured fetchmail to fetch mails from catchall server and delivering to domain ids. If we send mail to online domain user c@a.com along with local zimbra user a@a.com and b@a.com means ...
0
votes
0answers
13 views

get no. pages being sent to print in linux

Question : I need the total number of pages being print for the particular print-job in linux ? I got the no. of copies and no. of document being printed for the job in Job attributes which appears ...
0
votes
0answers
16 views

AutoFS + Windows (CIFS 1.0) down + NGINX = Freeze

We've got auto-fs installed on a CentOS Linux release 7.5.1804 (Core). The config is as follows (comments omitted): /etc/autofs.conf [ autofs ] timeout = 500 browse_mode = no ...
0
votes
0answers
11 views

“ldap_modify: Server is unwilling to perform (53) additional info: shadow context; no update referral” ERROR in my ldap server

Iam trying to do multi master replication on my LDAP server on RHEL 7 but I am getting below error while running command: #ldapmodify -Y EXTERNAL -H ldapi:/// -f ldap01.ldif "ldap_modify: Server is ...
0
votes
1answer
22 views

How to connect computers directly with ethernet?

I try to connect two linux computers via a crossover cable. I need help at troubleshooting. I configured ip-address , and on PC1 ifconfig-command shows enp0s7: flags=4163<UP,BROADCAST,RUNNING,...
-1
votes
1answer
25 views

apache webserver website is not accessible over https

I am running Apache webserver over https on rhel. I am able to access apache website index.html file using curl https://server.domain.com When I try access website using the webserver's ip address,...
0
votes
0answers
13 views

open file from web browser with proper path

This may sound weird, but i'm trying to get web browser open file on network share drive with default application. for example, test.xlsx path: \server1\folder1\test.xlsx on chrome, when it displays ...
0
votes
0answers
11 views

Azure Domain Services LDAPS to authenticate access to SFTP server

Trying to configure an Ubuntu file server that will use AzureAD credentials using Azure Domain Services secure ldap. The server is to be accessed either via SSH or some ftp application (think ...
0
votes
1answer
35 views

How can I correctly change my public IP in Ubuntu

I have a Ubuntu droplet in Digital Ocean and a Floating IP. I want all the requests from that droplet to be done using the Floating IP. I can achieve this using if I change the IP address in /etc/...
0
votes
1answer
28 views

Understanding ssh automatic login and security problems

I have generated a pair of private/public ssh keys (on Linux) and they are now in my .ssh folder. I have copied my ssh id (ssh-copy-id) to a remote machine to which I want to connect without typing ...
-2
votes
1answer
29 views

Buy new VPS just for Mysql or upgrade current one and keep the whole stack on the same server

This is not a question about capacity planning, its about mysql performance over local network vs on the same virtual machine (where it needs to share cpu with other processes) I have a wordpress+...
0
votes
1answer
21 views

Error connecting SMTP Port 25 through Linux/Ubuntu EC2

I have setup an EC2 Linux instance. and trying to setup a mailserver on it, But as i am trying to send a test mail via SMTP port:25 , it gives me Timeout error. I have opened the SMTP port on ...
1
vote
0answers
32 views

Unable to ssh with public / private key pair

I'm unable to connect (ssh) to one of my servers with pubkey. It was working last week, and I have no idea where to search right now. I have a script which should fetch files with scp to use them ...
0
votes
0answers
13 views

How to send mail with html content in it on Linux OS with post-fix configuration [closed]

using mail command I tried but it throws HTML code to my mail. > echo "<b>HTML Message goes here</b>" | mail -s "$(echo -e "This is the subject\nContent-Type: text/html")" dineshkumar....
0
votes
1answer
23 views

Unable to reach host from outside network, can from same subnet

I have two nginx acting as web proxy servers, both Ubuntu 18.04.4 fully updated. They're in failover with keepalived so if one dies the other takes over. They are in a DMZ network, and forward ...
0
votes
0answers
10 views

${mail_host } macro on sendmail.mc is returning an empty value

I've created a custom header and I'm trying to set its value to something like username::domain:servername. For example, messages from user@mydomain.com using myserver as the MTA should generate a ...
0
votes
1answer
19 views

Managing switching infrastructure using Python

I am looking for a switch vendor that has either very nice python library or a good rest interface. I have to do some heavy vlan automation type stuff and want to find the most manageable hardware. ...
0
votes
0answers
20 views

multiple Qemu vms with network bridged scaling issues

I have setup multiple qemu virtual machines. They are launched connected to virtual taps (each VM has its own) qemu-system-x86_64 -enable-kvm -hda my_drive.qcow2 -m 1024 -netdev tap,id=t1,ifname=tap0,...
1
vote
0answers
25 views

How to quickly see all sockets listening for IPv4?

I recently learned that IPv6 sockets can also listen on IPv4 ports if /proc/sys/net/ipv6/bindv6only is enabled. So far I have been using netstat and ss to check what sockets are listening. Since I am ...
0
votes
0answers
10 views

Amount of incoming and outgoing traffic is different on tunnel interface

I'm running Linux CentOS and are trying to understand some things. I have a tunnel interface and only one single ip rule which directs all traffic from that interface to another server. It seems ...
0
votes
0answers
9 views

How to put any value in blank line while getting no value for line from linux terminal

For example cat userdata User name: x Email: Passchange: LastPassSuccess: This is one sample entry there is similar 350 in single row Some user has the line and some has not so i want to add any null ...
0
votes
1answer
18 views

start tomcat as non-root user following the manuals by tomcat, security

i read the manuals by tomcat apache, where they tell to run tomcat as non-root, but i should give root the ownership and the group tomcat should only have the read permission. Give i the group tomcat ...
0
votes
0answers
18 views

What is the suggested I/O scheduler to improve disk performance on HDFS file-system

What is the recommended I/O scheduler for HDFS file-system we have hadoop cluster with datanodes machines and we want to know the right configuration for I/O scheduler I/O scheduling in Linux ...
0
votes
1answer
21 views

Is it normal if www-data user run more than 1

Today I track my server performance and I found that www-data user is running more than 1 and it use a lot of cpu usage. Can I know is it normal? and if it is not normal can you guys suggest what ...
0
votes
0answers
17 views

Is there a linux log for when a user is denied access to executions like poweroff or reboot due to permissions

Here the scenario is I have a centos 7 server and I have a website launched using the user apache and it has no authentication. Here I want to know if the dummy user apache runs a command like ...
0
votes
0answers
18 views

Why is the mac address that appears on my computer the same?

I use the 2 ethernet interface on the my system board, eth0 / eth1(usb to ethernet) like the followings. root@E3-RDP:~# ifconfig eth0 Link encap:Ethernet HWaddr ae:a1:99:48:86:79 inet addr:10.10.0....
0
votes
2answers
65 views

unable to clear superblock on drive

I have a USB thumb drive that I briefly used in a raid 1 array. I don't need it in that array anymore (but need to add it to a different array) and hence would like to get rid of the old superblock ...
0
votes
1answer
65 views

Fired mv wordpress /* ./ while in /var/www

I don't why that happened but I was in /var/www and I fired the command mv wordpress /* ./ And now I'm not able to access my server via ssh, rdp or teamviewer. I really gotta fix it. What should I ...
0
votes
0answers
13 views

installation of phpBB3 version 3.3 fails due to PHP cannot open a source for generating random data

i hav isssues with installing the phpbb on a server. i installed the phpBB version 3.3.0 i still get the following errors..: [Sun Feb 16 16:39:10.382324 2020] [php7:error] [pid 30171] [client 62....
0
votes
0answers
16 views

Exposing docker images while on VPN

I'm running an ubuntu server with some docker containers and an openvpn client on the host. When openvpn is off, I can access the docker images on the WAN IP, however when I turn on the openvpn, the ...
0
votes
1answer
12 views

S6 - slow startup service incorrectly starts second time

I'm using s6 (http://skarnet.org/software/s6/) in order to supervise processes. I have this working well for hundreds of processes across dozens of docker instances and servers. I have a new problem ...
0
votes
0answers
32 views

Is it possible to prioritize writing over reading in disks?

We have a hadoop cluster, with data-node machines that use the HDFS file-system. We want to prioritize writing to disks over reading from disks. we have read the - Using the Deadline IO Scheduler ( ...
0
votes
0answers
63 views

I am using 'sudo apt-get clean' too often nowadays, how can I avoid using it again?

I have a LAMP server hosted by Digital Ocean that has been running for more than 3 years. I use the server to run an ERP page where users have to log in to do what they need to do. Up until recently ...
0
votes
0answers
10 views

inux/unix Auto detection logic for physical keyboard layout

Anyone aware of a concise logic available to automatically detect my physical keyboard layout, so that I could do automatically set my layout table to the correct default. I'm aware that most distro-...
0
votes
1answer
85 views

Unable to reach host with static ip and gateway is vlan - Debian 10

I have been trying to get static ip working on a Debian 10 install. The server is to operate in a VLAN separate from any other network. The VLAN id according to the router interface is 3. The router ...
0
votes
1answer
34 views

Very strange disk corruption error

I have a server, where I deleted a large file. Let's call it ~/tempfile.txt. Somehow, the deletion didn't work properly, and the disk got corrupted -- meaning, du -hs * doesn't show that file existing....
0
votes
0answers
19 views

Fedora Boot UEFI SLOW

After a fresh install of Fedora 31, the boot time is incredibily slow. I suspect something went wrong with the boot partitions. Here is the layout [root@linux Scaricati]# efibootmgr EFI variables ...
0
votes
1answer
41 views

How can I tell which version of CIFs is in the kernel if CIFs module isn't loaded?

I need to determine the CIFs version that exists in my kernel, but the CIFs module isn't loaded. my-user@ip-XX-XX-XX-XX:~$ modinfo kernel/fs/cifs.ko modinfo: ERROR: Module kernel/fs/cifs.ko not found....
0
votes
0answers
8 views

systemd rc.local race condition

Forgive me, I am newer to Linux/Debian/Raspian. The company I work for has a bash script being run from rc.local that updates /etc/hostname file on bootup of a raspberry pi based on the MAC Address ...
0
votes
0answers
10 views
+50

MMCLI on BusyBox returns "Cannot request manual scan of devices: unsupported' - IMEI

I have a USB modem plugged into a BusyBox v1.23.2 appliance. Typically I would be able to get the IMEI number using the MMCLI command set. However when this specific card (multiple of the same card - ...
0
votes
1answer
16 views

How can I change the sender's name for email messages sent by cron

We have several nearly identical servers with a fairly classic server-NN naming convention, each running cron jobs that we like to monitor via email. There are is a group of users, who receive the ...
0
votes
0answers
13 views

Schedulling tasks on different plateforms

We have a mix of Linux, OSX and Windows servers that use crontab, Windows Task Scheduler, etc to run a bunch of bash/windows scripts, rsync commands, etc. I would like to replace these OS specific ...
0
votes
2answers
43 views

Why are GPUs accessible from docker containers running on Linux hosts, but not on Windows or MacOS hosts?

Recent versions of docker (or any version of nvidia-docker) allow direct(?) access to the host GPU from within docker containers, with full access to CUDA APIs. This is very convenient when deploying ...
0
votes
0answers
30 views

How to make a discharge band width distribution between users with nginx?

On my server I have a 1gb file which can be accessed by a route by location / users, and download the file, the cuetion is how I manage to distribute the bandwidth according to the users who are ...
0
votes
2answers
55 views

OpenVPN - ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

There are lots of questions pertaining this error, and there is a suggested manual fix which works well, but there's no permanent solution. How can i permanently solve this? Im having this issue on a ...
1
vote
1answer
506 views
+50

Is there is any tool/way to find out why packet is getting dropped due to an arp cache full?

My developer hypothesis is packet is getting dropped at arp layer. We increased the default value of neigh.default.gc_thresh3 1024 --> 2048 and now everything looks good. But I want to understand is ...
1
vote
1answer
140 views

Bottleneck identification using iostat, vmstat, mpstat

I am doing some Apache and MySQL performance tests, then upgrading a single component and running tests again to see where the bottlenecks are. I have a local used server warehouse (Tams in Lindon UT) ...

1 2 3 4 5 686