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

learn more… | top users | synonyms (1)

2
votes
2answers
90 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
71 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 ...
-1
votes
1answer
25 views

Is it possible to setup a Solaris AI on Linux? [closed]

I'm trying to centralize OS provisioning for all our Linux and Solaris servers. Is it possible to set up a provisioning server for Solaris 11 from Linux?
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
109 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
48 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
461 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
38 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
28 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
28 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
31 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
6 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
38 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
39 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
57 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
21 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
125 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
26 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
105 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 ...
2
votes
1answer
82 views

Install debian 8 on a LVM Volume with Type RAID1 GRUB2 cant find volume group

Hello Community! I tried the whole day long to setup up an LVM type Raid1 Volume on Debian 8.5, but the Server is not be able to boot from it. First of all here is the error i get from GRUB2: ...
0
votes
0answers
29 views

Best way to throttle aggressive clients on LAMP server using iptables?

I've found two ways to do this using iptables. One is using the recent module: iptables -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --set iptables -A INPUT -p tcp --dport 80 -i ...
0
votes
1answer
81 views

Is there some way a user with an asterisk as password in /etc/shadow but a correct login shell in /etc/passwd would be able to login via SSH?

Let's assume the following. We have a server which is accessible via SSH. There is an user in /etc/passwd who has a valid login shell (so for example /bin/bash, instead of an invalid one like /bin/...
2
votes
0answers
57 views

LDAP changing password for wrong user?

I have an OpenLDAP server setup. I currently have two users added to my server. As far as my testing goes, a single user instance work just perfectly. My first issue arise when i have two users on the ...
0
votes
1answer
31 views

Getting a safe access to a computational server [closed]

Disclaimer: I'm not a sysadmin, so I might say stupid things / rely on incorrect assumptions. Feel free to correct me. I work in a startup and some time ago we bought a server for internal use for a ...
0
votes
2answers
24 views

How can I change my login password from private key to user defined password after I logged in my Linux server using putty?

How can I change my login password from private key to user defined password after I logged in my Linux server using putty so that when I will login to Linux server I can use the user defined password?...
0
votes
1answer
21 views

Can aureport show filenames for read/write access reporting?

I installed auditd this evening in the hopes of using it to report on files written or appended to within a directory tree on my server. I have successfully configured rules using auditctl, but I ...
0
votes
1answer
19 views

LDAP SSH + PubKey auth Fallback

I have followed this guide here : https://github.com/jirutka/ssh-ldap-pubkey In order to setup a LDAP server that allows authentication requesting both Password and Public Key in order to login. Now ...
1
vote
0answers
29 views

How to limit the block usage on a Thin Provisioned VMs ( VMware)

This question is similar to Best practices for thin-provisioning Linux servers (on VMware) However my question is a touch different. We have P2Ved quite a few servers (win/linux) and we needed to ...
0
votes
1answer
35 views

LAMP/Apache2: How to set webhook API PHP file as public but outside of project root directory?

I have an AWS EC2 LAMP server (using Apache 2.0 and mod_php5) with a basic directory structure like this: var |-- www | `-- api_folder (NOT public) | | |-- sensitive files (NOT ...
0
votes
1answer
11 views

NTFS VHD in Ubuntu for Small Office File-share

I am planning a switch away from MS Volume Licensing to save us about $450 per year per person. I have time to test and setup XEN on a clean local server and planning an Ubuntu VM for the file share ...
3
votes
1answer
25 views

How to stop resync and start rebuild on software raid (mdadm)?

I have RAID6 on 24 drives. The raid was setup with mdadm, so it is a software raid. One of the drives died and the server freezed due to that, so it had to be rebooted using Power Cycle (power off + ...
3
votes
2answers
52 views

Start PHP-FPM with root option automatically

I was trying to get PHP-FPM running a pool as root, but I can't seem to adjust the init.d startup params. It works when starting PHP-FPM from the CLI (with sudo php-fpm7.0 -DRy /etc/php/7.0/fpm/php-...
-1
votes
1answer
48 views

How to dump VXLAN/VLAN ID in packet capture? [closed]

Is there anyway to use tcpdump or any other linux tool to know VXLAN ID/VLAN ID while capturing packet on interfaces?
1
vote
0answers
11 views

Icinga2 : Hosts in downtime

How to find a host in downtime in icinga2 using api or from mysql database. I have tried using below api, but its not displaying there. curl -H 'Cache-Control: no-cache' -k -u root:icinga 'https://...
0
votes
1answer
68 views

How do I safely add a missing partition to an existing RAID-1 setup?

My server had RAID-1 setup and a few days ago one drive failed. I replaced it and added it back to the array. The problem is that the 3TB drive had 2 partitions: root@s01 [~]# df -h Filesystem ...
1
vote
1answer
27 views

Rsyslog not logging events

I'm trying to stand up a syslog server to receive events from a piece of network equipment, but I can't seem to get it to actually log the events to disk. I can confirm that the connection is being ...
1
vote
1answer
31 views

Why IP masquerade (source NAT) in linux kernel fails to set source IP on high packet rates

I am trying to test throughput of the standard linux NAT. I have setup the following virtual network: [192.168.42.5] <--> [192.168.42.2:192.168.35.2] <--> [192.168.35.10] The middle ...
0
votes
1answer
25 views

Graylog alert on unique email addresses?

We are trying to figure out if there is a way to create a stream/alert that will detect when an email address has been in a log more than X times. From what we can tell I can only count the total ...
0
votes
1answer
14 views

How can extended file permissions (ACLs) be managed by Kerberos in Linux?

Is it possible to have extended file permissions (ACLs) in Linux be managed (enforced?) by adding permissions authenticated by Kerberos?
0
votes
0answers
26 views

How secure is it to use secret directory names to share files on unix? [migrated]

There is an old trick on unix systems to allow a non-root user to "securely" share files with particular other users. mkdir share chmod 711 share #others can traverse share, but can't list its ...