Stack Exchange Network

Stack Exchange network consists of 175 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.

-1
votes
1answer
22 views

Can not import table to MySQL database on linux

I am trying to install cacti. When I want to import mysql_test_data_timezone.sql to MySQL database on Linux CentOS My command is mysql -u root -p mysql < /usr/share/mysql/mysql_test_data_timezone....
0
votes
1answer
10 views

How Connect Bacula Director from CentOS 7 to Storage Demon in Ubuntu 18.04?

Am new to Bacula and Linux world. Am trying to configure Bacula.. I have Bacula storage demon v 9.0.6 in Ubuntu and Bacula director v 5.2.13 installed on centos 7. When am trying to connect the ...
0
votes
0answers
24 views

Server crash on Ubuntu 18.04.2 LTS [on hold]

I am quite new to linux and hosted a root server at hetzner.com, the problem is it sometimes just randomly shuts down and doesn't boot anymore, I then have to go to hetzners panel and simulate the ...
0
votes
1answer
36 views

Disable sudo prompt without disabling the need for sudo password

This is quite tricky I guess, or at least not desired very often. What I am not after is: Disabling password with user ALL=(ALL) NOPASSWD: ALL Or a similar trick. I know how to read sudo ...
0
votes
1answer
15 views

Trying to send output to log file with tee using systemd but the log file isn't being created?

I want to run a node application via systemd and have its output go to both stdout and a log file. The node app is in the folder named www/www.appname.com and I want to have the log file in www/log....
0
votes
1answer
10 views

Jailkit/Chroot - Allow Less and More

I have the need to add the LESS and MORE commands to a jailed-user. I've attempted the following and can't quite get it to work: # which less;which more /usr/bin/less /usr/bin/more Now that I ...
0
votes
1answer
16 views

redirect tail output to a remote serever

I want to tail -f one of localfile, for example, app1.log and send its output to a one of remote server's file. tail -f app1.log >> :/home/remote.log Is this doable? can somebody please help me. ...
0
votes
0answers
13 views

Screen sharing with x11vnc + noVNC

Context & Goal I have a small embedded device running Linux armv71. My goal is to remotely access the screen through a web browser with a mobile device. I have x11vnc running which I thought ...
1
vote
1answer
29 views

Backup a whole server over the network using tar

I have a server that is 80G total size and has no more space so i cannot backup on the server. I found this command ssh server2 "tar -zc -C /srcdir ./path" | tar -zx -C /destination but it is not ...
0
votes
0answers
6 views

Why are Samba policy object owners shown differently on command line between two domain controllers?

Please excuse my n00b question, but I inherited a pair of Samba 4.3 domain controllers (Debian) and I'm trying to fix some syncing problems. After running rsync on the sysvol folder from the primary ...
2
votes
1answer
42 views

Linux multipath: How to configure a single multibus path group

I have just upgraded a functional Ubuntu 16.04 host to 18.04 and am now having issues with multipath. Package versions: * multipath-tools 0.7.4-2ubuntu3 * open-iscsi 2.0.874-5ubuntu2.7 I have a Dell ...
-1
votes
1answer
20 views

Can't install phpMyAdmin due to package dependency issue

When I run the command sudo yum --enablerepo=epel install phpmyadmin it returns the following package dependency error: Error: Package: php-mcrypt-5.3.3-5.el6.x86_64 (epel) Requires: ...
0
votes
0answers
15 views

DHCP Config Issues

I'm trying to make Raspberry Pi into router, providing devices with internet connection as well as creating a small network based on it. Used packages are hostapd(for wlan ap) and isc-dhcp-server. ...
1
vote
2answers
25 views

what's the difference between random number input device versus output device?

The man page for rngd on Linux says -o (/dev/random) is used for random number output while -r (/dev/hwrng) for random number input. What does this mean? How do these device files differ and why are ...
0
votes
0answers
11 views

check if physical auto-negotiation is ongoing

Is there any way in Linux to see if an ethernet auto-negotiation is ongoing or has already terminated? For instance, I see that in my network it takes a 1Gb interface 3 to 4 seconds to correctly ...
0
votes
2answers
19 views

“docker-compose up” as root user or non-root user?

After reading some articles I'm still not sure about what user I should use to run a docker container. Are there any security concerns when running a docker container as root user? Is it ok to run ...
0
votes
1answer
31 views

stale mount on linux

I am running CentOS 6.9 and randomly one of the nfs mount goes stale and in the log/messages I see the message "server not responding, still trying". Forcing the mount does not work and neither reboot ...
0
votes
1answer
28 views

Nginx not scaling more than 750 connection when used as reverse proxy

I have a mobile application in which we are using Nginx as a Reverse proxy which routes request to Nginx. The Nginx request in app server is passed to Node.js for processing. We are getting 504 ...
0
votes
1answer
106 views

How do I add storage with cloud templating?

I have a CloudFormation template to spin up an EC2 instance. Parameters: InstanceType: Type: String Description: Instance type for RStudio. Default is t2.micro. AllowedValues: - ...
-1
votes
0answers
8 views

Backup Solution for BTRFS filesystem to another machine [on hold]

So I have read a lot of articles here and have tried multiple solutions for this, so here is the breakdown. Our old Netowkr Administrator partitioned several of our Linux machines with btrfs. I have ...
0
votes
0answers
25 views

Reinstalling broken kernel 4.9.0.9 on Debian Stretch

Following recent Intel chip bugs I upgraded my Debian Stretch server. Microcode updated OK, but update-initramfs was hanging. So I killed it and tried to remove the kernel before trying to reinstall ...
0
votes
1answer
18 views

bond interface answering for another one

I have a ubuntu 18 server with 4 active NICs. The setup is: 1. one public (not relevant for this case) 2. one single eno1 with ip 10.123.10.21 3. one bond0 (LACP bond consisting of eno3 and eno4), ip ...
0
votes
1answer
42 views

How can I move storage from one file system to another filesystem?

I'm on a Linux EC2 machine and I'm getting an error that my storage space is full. Error writing to connection: No space left on device I used df and I can see that I have plenty of space in some ...
-1
votes
0answers
13 views

How to rate limit incoming traffic into a server so only x/min visitors can enter

I am trying to rate limit the oncoming traffic to my servers. I figured using iptables (on centOS) would be the best choice. I have been looking around and discovered a few solutions: sudo iptables --...
0
votes
3answers
24 views

Is it possible to have same MAC address on multiple NICs plugged to same Linux computer?

Can I have multiple NICs in one computer, having same MAC address? OS - Ubuntu Linux. Thanks
0
votes
0answers
10 views

How to fix 'apache : TTY=unknown error' in KVM guest by editing serial port in guest.xml file

I had to remove some lines from guest.xml file as it was recommended to remove the error: ( init: serial (ttyS0) main process (43369) terminated with status 1 / init: serial (ttyS0) main process ...
0
votes
0answers
5 views

cross compilation steps to build boost library for arm-poky-linux-g++ [on hold]

i'm trying to build boost with arm-poky-linux-gnueabi-g++ but i'm unable to find out a way to install it perfectly can anyone help in providing the step by step guide for resolving this problem I ...
0
votes
1answer
58 views

From specific source IP to specific destination IP with ip route or ip tables

Problem I've already created different IP aliases, (each with a different virtual Mac Address too) this way on my shell: ip link add link eth0 address 00:11:11:11:11:11 eth0.1 type macvlan ifconfig ...
0
votes
0answers
13 views

System.Net.Sockets.SocketException Server starts timing out when making requests after getting requests before that

I send an HTTP request from server A to server B using PHP, then server B sends requests to server A and for some time (no more than 1 min), these requests fail by timeout with an error: System.Net....
1
vote
0answers
24 views

Sshd starts two processes, but systemd stops only one

There is on the linux mint 18.3 sshd (7.2p2) starts with two processes. But when I run service ssh stop only child process stops and parent process is still run. So when I restart ssh service it can't ...
1
vote
0answers
17 views

Creating a Simple Post Provisioning Script

I am creating a simple post provisioning script for Linux. I need the bash .sh to change the settings of the sshd_config file to set PermitRootLogin, PasswordAuthentication, and PermitEmptyPasswords ...
0
votes
0answers
19 views

Delayed http response

I am using google api with PHP to query google's API from my server - which uses guzzle to send a regular http request. A high number of requests (~10%) are returning after exactly 63 seconds, while ...
0
votes
0answers
47 views

IPTABLE error while rebooting the server [on hold]

I have a server with cloud linux os. I got an error while rebooting the server as following: iptables: unknown error 164465231123254452 iptables: unknown error 164465231123254452 iptables: unknown ...
0
votes
3answers
24 views

How do I remove a user's home directory without deleting the user?

[root@Acheron ~]# systemctl status shadow ● shadow.service - Verify integrity of password and group files Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled) ...
0
votes
2answers
57 views

Small ISP asked to whitelist all of their IPs

We are running a dedicated server as a shared hosting for ~100 clients. This week, a small ISP asked use to whitelist the range of their IPs because all of his clients can't see our websites. I'm ...
0
votes
1answer
33 views

Tar 1.5TB folder to archive [on hold]

I have a monthly backup of a folder with 1.5TB size, my question is, would it be better to make one tar.gz file or to split the file into multiple compressed files?, this will be send to a NAS mounted ...
0
votes
0answers
15 views

Amazon, WP Engine or Siteground? [on hold]

I'm looking to move my site to a more reliable host that's fast and easy to use. I moved from Fasthosts years ago and am at present with Siteground. Can anyone recomened Amazon or WP Engine? These are ...
0
votes
0answers
26 views

Apache - Redirect HTTPS to HTTP

I have the following situation: An ubuntu server running Webmin with Apache. And I have a static website deployed on it, with SSL already configured. On the same server I have a standalone ...
-1
votes
0answers
17 views

Access to server terminal via a web console [on hold]

I'm pretty new to system and networks administration, so I tried to setup a server that I'm using as my own cloud service. I was wondering if it could be possible to access to a shell using a kind of ...
-1
votes
0answers
20 views

How safe is an application operating only on tmpfs? [closed]

I have some code that I'd like to deploy on premises with a few clients but there's no safe way to encrypt it. I'm thinking to set it up on a Linux box with lots of RAM and store everything in memory ...
-1
votes
0answers
17 views

Adding SLES 12 (Linux) Server to Windows Domain Creating DNS Entries [closed]

Can anyone suggest how can I avoid Situation that when we add linux server (with multiple IPs on it) to domain creating dns entries with all IPs
1
vote
1answer
41 views

Installing GeoIP on Amazon EC2 Linux

I am trying to install GeoIP module to block country specific traffic to my website. My Website is LAMP configured and hosted on Amazon AWS EC2 instance. As per some article on google, I followed ...
0
votes
0answers
12 views

Unable to configure server-status on Apache 2.4

I am trying to configure stats on Apache 2.4 and I'm unable to make it works. This is my current configuration: $ cat sites-enabled/000-default.conf <VirtualHost *:80> Redirect 404 / ...
-2
votes
2answers
53 views

Auditing SSH sessions?

I'm looking for a way that I can record and audit SSH sessions for users on my server. I need to be able to know when a user executed a command, what command they executed, and also be able to follow ...
0
votes
0answers
9 views

CentOS 7 VM running ExpressVPN, cannot mount NFS share while connected

I would like to have internet traffic routed through ExpressVPN, however I cannot seem to mount a local NFS share once connected. I have tried: expressvpn preferences set force_vpn_dns false Because ...
1
vote
0answers
9 views

how to gracefully kill linux perf tool process

I'm trying to use the linux performance tool perf to monitor kvm events on a host where a guest VM exists. The command I invoke perf is perf kvm stat record After some time, I'll press Ctrl + C to ...
0
votes
0answers
9 views

Site won't display untill loaded completely after migration [closed]

I have an application and this is what it does: I have 10 URLs of an e-commerce site in my database. Whenever I open this application, it reads and displays the title and price of this URL to my ...
0
votes
1answer
13 views

Bash creating user and assigning existing folder as home wrong permissions

name=$1 folder=$2 useradd $name echo "user $name added successfully!" echo $name:"123" | chpasswd echo "Password for user $i changed successfully" usermod -d ~/Projects/$folder -m $name echo "Home ...
0
votes
1answer
22 views

add an IPTables entry on Linux to let out Redis

On my Windows machine Client (name it WIN) I installed a VirtualBox Ubuntu Linux Mint Redis Server (name it LS), attached to the local network as Bridged Adapter. On my LS I have $ hostname -I 10.14....
0
votes
1answer
28 views

x11vnc Web Browser Access

The Problem I have a Linux embedded device and I'm trying to share the screen to access it remotely through a web browser using x11vnc. I've searched through multiple posts that explain how to do this ...