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

learn more… | top users | synonyms (1)

1
vote
1answer
15 views

atop configuration file location on CentOS 7.x

I have installed atop on my server using yum, its started and running. however I cannot find the configuration file on the server to tweak the settings. All mentions of it online point to /etc/atop/ ...
1
vote
0answers
40 views

SSD Temperture Increases during idle

I have 4 Samsung 850 EVO SSDs in a mdraid 10 array inside a high performance simple NAS. running Centos6.8 minimal. I have found that the SSD tempertures start to increase on their own without any ...
0
votes
0answers
18 views

CISCO: Use Specific Outbound IP For Locally Initiated NAT-ed Connections

I have a CISCO 2911 router, multiple public IPs and few servers. I have setup my router (ROUTER1) to be accessible through internet-accessible public IP (lets say) 190.0.0.250 and its local IP to 10....
2
votes
2answers
52 views

Linux user without any filesystem permissions

I need to make a linux user for the sole purpose of an SSH proxy. Amongst other things, the user should not be able to go around exploring the filesystem or even access a shell really. Obviously I ...
0
votes
0answers
4 views

“Received: (from apache@localhost)” header on sendmail [duplicate]

Below are the headers of the email (sent to gmail) Delivered-To: depressionforteens999@gmail.com Received: by 10.13.223.151 with SMTP id i145csp761882ywe; Sun, 17 Jul 2016 17:33:34 -0700 (PDT)...
0
votes
2answers
34 views

Dovecot on CentOS 6 doesn't work after update

I recently updated CentOS to version 6.8 (Final). I'm not sure if then dovecot stopped working or a bit later. I see nothing in secure log on correct password and "failure" on wrong password. I never ...
0
votes
0answers
12 views

CIFS metadata caching?

I know my client is the only one reading and writing a certain SMB share. What can I do beyond cache=loose to enforce caching metadata? I have no control over the server. There's a certain directory ...
0
votes
3answers
77 views

Back up rented VPS that does not have that option

I'm currently renting a linux VPS from a host that doesn't grant the option to create a backup or snapshot. In my previous experiences with other hosts most of them had the ability to do so. And for ...
0
votes
1answer
72 views

Can't start any service after installing iRedMail on CentOS

I have attempted to install iRedMail on one of my servers. After reboot, I can't start any service anymore. [root@mx ~]# systemctl start httpd ** (pkttyagent:16323): WARNING **: Unable to register ...
31
votes
2answers
2k views

How to allow ssh to root user only from the local network?

I've installed Google-Authenticator on a CentOS 6.5 machine and configured certain users to provide OTP. While editing /etc/ssh/sshd_config I saw a directive "PermitRootLogin" which is commented out ...
-1
votes
1answer
29 views

!Linux standard path information, similar to windows path variables, like %AppData%, %UserProfile%, etc.?

Is there, in linux variables, or some other means to find per/system paths, similar to windows path variables, like %AppData%, %UserProfile%, %AllUsersProfile%, %ProgramFiles%, %SystemRoot%, %...
0
votes
1answer
32 views

Can't Install CentOS 7 - Black Screen

I'm attempting to install CentOS 7 on a new set of Supermicro Twin2 servers (motherboard model X10DRT-PT). I've attempted the install via a local USB drive as well as via virtual media mounted through ...
-1
votes
1answer
23 views

Core processes are started to run under another user, not root

I have added a new user as abc, with UID 0 and GUID 0 (as same as root. I know, it was a bad idea) Now, when I connect to ssh via root, it's shown as abc@localhost, not root@localhost. Also, all core ...
0
votes
0answers
2 views

How to send DHCP server a different hostname than the machine's static host name? [migrated]

I'm using an at-home-type wireless router as the DHCP server for my desktop, with said router's management console showing the host names of the connected machines. If I put send host-name "AAA"; ...
0
votes
0answers
20 views

mounted network disk with cifs doesn't allow to move created folders

I can create, delete and rename folder (as long, as it is stays on the same level) on an cifs connected network disk, but I cannot move them. When I try to move one dir inside of another dir, it gives ...
0
votes
0answers
19 views

CentOS/RHEL Limit Bandwidth to specific IP

The scenario: We have a file server (local1). local1 is directly internet connected (no router/firewall in front). We have several remote VPS nodes (remote1,remote2,remote3). We use UDP (udt-...
3
votes
1answer
43 views

Linux SMB share - how to give access to Windows local system account?

I have a SMB share on a Linux host. To grant remote access to the share for a Windows user, one must create a new SMB user which has the same username, and same password as the Windows account. i.e. ...
1
vote
0answers
33 views

SNMPTT exec not working

We're using SNMPTT in a Nagios environment. My MIB works for all events, but 1. I can't figure out what's going on. When a trap comes in, I want it to execute a file, which will then handle the ...
0
votes
1answer
60 views

kdump isnt working on redhat machines

How to force Linux to crash: we installed the kexec-tools (kdump) on our redhat machines ( version 7.1 ) in order to capture problems by creating core file under /var/crash folder we check that ...
1
vote
2answers
109 views

Bash scripting error checking using word count and awk

Need a light on my script I am doing a word count on a variable get a 0 or bigger value but it seems the script is breaking at on this variable function count_check=wc -l $TABLE_CHECKS | awk '{print $...
0
votes
0answers
18 views

Cannot enable cgroup_enable=memory swapaccount=1 on GCE Debian Jessie instance

In order to support Docker memory limits / quotas I'd like to enable the cgroup_enable=memory swapaccount=1 Linux kernel command line options on my Debian Jessie Google Cloud Compute Engine ...
0
votes
1answer
22 views

Upgrading MySQL with YUM

I am trying to upgrade from MySQL 5.5 to MySQL 5.7 with yum (using Amazon linux AMI) When I do : sudo yum upgrade mysql No packages marked for update When I do : sudo yum install mysql ...
2
votes
2answers
102 views

how to configure the grub.cfg file on redhat 7 in order to boot from specific kernel

In Red Hat EL versions 5 and 6 we can easily to update the /etc/grub.conf in case we want to change the kernel by default variable For example , grub.conf on redhat 5 default=0 timeout=5 #...
0
votes
1answer
80 views

Is it possible to run ntpd with a time that is intentionally distinct from system time? [duplicate]

For example, could I set the ntpd time five minutes ahead of the system time? I know I can set the time manually without running (or even installing) ntpd, but it's not obvious to me how to run ntpd ...
0
votes
0answers
11 views

Virtual Host Proxy redirect error

I'm running Apache on a couple of servers. I'm trying to redirect 1 site from my main server onto another server on my internal network. On my main server I've setup a .conf file master.conf with ...
0
votes
1answer
116 views

Mount Block Device in LXD

I have been experimenting with LXD on Ubuntu Server 16.04 and i'm trying to figure out how to mount a linux block device from the host in the container. I was able to successfully add the device using ...
-1
votes
1answer
54 views

No package php5-gmp available

Alright, to use Blocktrail's API, I'm trying to install the gmp package of php using this command :- yum install php5-gmp This results to :- [root@dsfx ~]# yum install php5-gmp Loaded plugins: ...
0
votes
1answer
17 views

“Device is busy”, while trying to unmount with GParted [closed]

Every time I try to unmount my hard drive, it just comes up with this error message. I have tried 'lsof | grep /dev/sda1' and I have tried the fuser command, but it just causes my system to restart, ...
0
votes
0answers
12 views

Detect with PHP “Waiting for table metadata lock | REPAIR TABLE”

Currently had a situation on our Linux server where our cron jobs piled and caused a memory issue because the Mysql table was being prepared. Waiting for table metadata lock | REPAIR TABLE .... Is ...
3
votes
2answers
477 views

Remove filename with “-r” in linux [duplicate]

I am unable to delete a filename named -r with rm -rf -r Is there any special trick to remove it?
1
vote
2answers
40 views

where are the /var/log/messages alert event levels error, warning, failed, etc. stored?

Is there a list of /var/log/messages event level keywords stored in a system file somewhere in CentOS 7 that would show all the possible "strings" to search for when grep'ing through /var/log/messages,...
1
vote
0answers
20 views

Ubuntu Print Server in Windows Environment

For my project at work, I decided to create a Ubuntu Linux 16.04 print server but it's in a Windows environment. I installed CUPS via apt and Samba via apt also. The few printers I have setup work ...
0
votes
2answers
31 views

Sending Red Hat audit logs to Windows Share

I am trying to figure out the best way to offload audit logs from a single Red Hat server to a windows share. What is the best way to do this without installing any additional software on the Windows ...
0
votes
0answers
22 views

Only get Command output through SSH Send

Right now I am going crazy about SSH Send and Expect. I am executing the following SSH command through the HP Operatons Orchestration SSH flow step. send send top -bn1 | grep "Cpu(s)" | sed "s/.*, *\...
0
votes
1answer
29 views

Exim server maillog are flood by spam attemps? [closed]

My log is flooded with those spam attemps and I wonder if there is a ACL can stop those attemps. maillog (this is just a sample, my log will be over a 1000 line in an hour) 2016-07-09 22:00:32 [...
0
votes
0answers
39 views

Running a router inside an OpenStack VM

I'm trying to make a router VM (actually an IPsec VPN server) inside OpenStack. The OpenStack is an installation of Mirantis 7 (why not newer? 8 from some reason causes kernel OOPS to the same image ...
0
votes
1answer
15 views

rsyslog 8 wildcard stops sending

We are having an issue with the rsyslog8 wildcard feature and logs that are generated with the date in them by default. Rsyslog will send log messages when I first add the config but then stops ...
0
votes
0answers
7 views

Can't add remote servers to Mysql Fabric group

I was trying to add one AWS ubuntu server to my mysql fabric group, but I encountered this error: ServerError: Error accessing server (aws-db01:3306): 2003: Can't connect to MySQL server on 'aws-db01:...
-1
votes
1answer
39 views

Race condition in active/active clusters

DM-Multipath document says that multipathd support active/active clusters with some policies such as round-robin. However, there is some racing problem in this kind of clusters. For example, assume ...
1
vote
0answers
19 views

Nvidia Pascal architecture: DMA Size / maximum amount of host system RAM?

We are planning to build a pair of multi-GPU Linux servers for machine learning and data science tasks. Per our requirements, we need to put a lot of RAM in these machines; we're planning on 24x 64GiB ...
0
votes
0answers
46 views

ImageMagick 6.7.5 on CentOS 6.7

For a WordPress plugin I need ImageMagick installed, and it uses a feature that was only introduced in version 6.7.5. identify -version returns ImageMagick 6.7.2-7 2016-06-16 Q16 http://www....
0
votes
1answer
59 views

bash script works correctly but skips commands in cron if I am not logged in via ssh or I was connected recently

I am trying to schedule some backup scripts in cron on a CentOS release 6.7 (Final). This is the full backup, basically mounts a remote directory, checks if there is enough space available for doing ...
0
votes
0answers
23 views

Forward connection from OpenStack VM to VPN client connected to another VM

The whole setup is a little bit complicated, but below is the rough layout (not very good at making these, hope it's not very confusing) : +---------+ +---------+ | | | Another | VPN Svc IP:...
0
votes
0answers
6 views

Capture all output, error, warning and their appearance order of linux's command [migrated]

In linux we can redirect stdout and stderr or both of them to files. For example: Redirect stdout and stderr to two files: command 1>out 2>err. By this way, we can separate output and error in ...
1
vote
1answer
20 views

LDAP user account with no password (Linux)

Is it possible to setup a password-less ldap user login? I'd like to create a user that runs batch jobs with sudo rights. So it can ssh to multiple machines and run jobs without using ssh-keygen, ...
0
votes
0answers
15 views

Restrict internet access with firewall rules for a VM running on Linux [closed]

I have Red Hat 7 running on my workstation, and Windows 10, used for working with Windows programs, in a virtual machine running on KVM/QEMU. The workstation, fulfilling the role as hypervisor, and ...
2
votes
3answers
143 views

KVM-Host lost connection to Storage

I would really appreciate some advice on how to fix this. I have a Debian KVM-Host with 9 Debian VMS running on it. The virtual machines are running on my little Storage via iSCSI. Now, my switch ...
2
votes
1answer
29 views

How to configure Yum to update from self-hosted repository

I have a Red Hat instance (which I'll call "A") that I would like to use as a repository for updates rather than the redhat-subscription-manager. I also have another Red Hat instance ("B") that I ...
0
votes
0answers
3 views

Sort, right-click context menu, on linux vnc desktop [migrated]

I use Open in Terminal lot of times. On right-clicking VNC desktop, more often, create folder is clicked. To avoid that I wish to have Open in Terminal on top of menu or remove Create ... options ...
0
votes
1answer
110 views

How can i recover bash history while i accidentally typed reboot -f

Scenario : After working on my Linux server [CentOS 7] ,I typed reboot -f in my terminal, is it possible to retrieve my bash history after rebooting it? I understand that reboot -f will forcefully ...