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

learn more… | top users | synonyms (1)

4
votes
1answer
149 views

lspci “Memory at…” vs /proc/bus/pci/devices BAR address

I have a userspace application that I use to write to the registers of a pci device. It takes the base memory address of the device as an argument. Instead of looking this up via lspci on each ...
0
votes
1answer
3k views

Login my Linux with root ,executing command sshd、tcpdump failed

root# /usr/sbin/sshd Privilege separation user sshd does not exist root# tcpdump -i eth0 udp tcpdump : Couldn't find user 'tcpdump' but the users tcpdump and sshd are in the files /...
0
votes
1answer
2k views

monit fails to start apache

I'm running Apache, and trying to monitor it wiht Monit. The monitoring seems to work fine, but when Apache is down, Monit does not succeed to start it. Monit does detect that it's down, but the ...
38
votes
6answers
42k views

What is “-bash: !”: event not found"

Try executing the following under a bash shell echo "Reboot your instance!" On my installation: root@domU-12-31-39-04-11-83:/usr/local/bin# bash --version GNU bash, version 4.1.5(1)-release (i686-pc-...
1
vote
3answers
7k views

ext3/ext4 physical block size view

I'm using a suse 11 server with xfs and using "xfs_info /srv" command i seen this. xfs_info /srv/ meta-data=/dev/mapper/vg01-srvvol isize=256 agcount=38, agsize=1964032 blks = ...
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:...
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 ...
-1
votes
1answer
37 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 ...
0
votes
1answer
1k views

keepalive type and frequency in ffmpeg

My company has a bunch of IP cameras that we distribute - specifically Grandstream - and the manufacturer has changed their firmware. The normal keepalive that ffmpeg uses for the rtsp streams ( ...
1
vote
0answers
15 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
34 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....
2
votes
1answer
82 views

dhcp server gives “no free leases” error although there should be available IPs

We have a small HPC cluster of about 40 machines running Rocks Linux Distro 6.2 (based on Centos 6.6). I have been trying to add 6 more machines to the system in the last few days. The first 3 were ...
2
votes
2answers
2k views

csync2 Config command failed error

I've installed csync2 on two nodes with the following config: nossl * *; group cluster { host node1; host (node2); # Slave host key /etc/csync2/csync2.key; include /home; ...
0
votes
0answers
19 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
2k views

Nginx Virtual host 403 Forbidden

I have just brought a domain name (example.com) and have setup a URL frame redirection to my server's IP XXX.XXX.XXX.XXX, however I am getting a 403 forbidden error. I can access pages fine via the ...
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
14 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 ...
0
votes
1answer
3k views

what is the simple Command to check password expiry time of an openldap user account

I am running openldap 2.3.43.el5 on RHEL 5.3 I am trying to find a simple command that will tell you when the password for an ldap user will expire, any help would be greatly appreciated.This would ...
0
votes
1answer
84 views

User ldap cannot change password : LDAP password information update failed: Insufficient access

I'm using centos 6.7 to create LDAP server, but the user still cannot change their own password. The error when user try to change the password : [john2@servergw ~]$ passwd Changing password for ...
0
votes
1answer
229 views

Trouble PXE booting Live Linux Distributions from Windows Server

I have been tasked with the project of making Windows Server 2012 r2 PXE boot live Linux distributions using WDS and I'm having trouble. I have a Blade server acting as the WDS, a Sonicwall handling ...
2
votes
0answers
55 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 ...
5
votes
3answers
686 views

IPv6 and NAT, routing to multiple ISPs

Currently I have a nice setup using private IPv4 address space and uplinks from two ISPs to the Internet. Thanks to NAT I can just take down one of the interfaces and the Internet access is still ...
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 ...
37
votes
6answers
11k views

Can you have more than one ~/.ssh/config file?

We have a bastion server that we use to connect to multiple hosts, and our .ssh/config has grown to over a thousand lines (we have hundreds of hosts that we connect to). This is beginning to get a ...
2
votes
1answer
73 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
1answer
97 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 ...
1
vote
1answer
4k views

Error while bringing up eth1

I'm getting this error while bringing up my network card: (process:2550): WARNING **: _nm_object_get_property: Error getting 'State' for /org/freedesktop/NetworkManager/ActiveConnection/3: (19) ...
52
votes
7answers
94k views

How do I verify the speed of my NIC?

I just installed a new gigabit network interface card (NIC) in Linux. How do I tell if it is really set to gigabit speeds? I see ethtool has an option to set the speed, but I can't seem to figure ...
1
vote
1answer
2k views

Red Hat 6 connect to MS SQL server 2005 using freetds; pdo_dblib and php

I'm having a problem connecting to my Microsoft SQL Server 2005 from a Red Hat box using freetds. My end goal is to be able to connect using php's PDO, but I don't appear to be able to connect when ...
3
votes
1answer
1k views

Script partitioning fresh raw disk images with sfdisk (C/H/S ignored?)

I'm trying to automate the process of creating raw disk images. I don't care so much about C/H/S, but that the block size should be a rough standard of 512 bytes. However, I'm having trouble ...
3
votes
10answers
4k views

Firefox says “You don't have permission to access /somefolder/somefile.php on this server.” IE/Chrome work well

Background: I have my website (http://www.gymandspajobs.com) code hosted on a linux server . My website allows new registrations for members. The filled-up forms are verified by javascripts in the ...
3
votes
2answers
46 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-...
4
votes
1answer
1k views

Resize openSUSE 12.3 GPT ext4 partitions in a RAID1 disk array

I have a software raid configured (/dev/md2) which has assigned the partitions sda3 and sdb3 from two 3TB disks (sda and sdb). The partition types are GPT not LVM and file system is ext4. Now, the ...
1
vote
2answers
1k views

Spambot Infection Detection

My server has been blocked by CBL for participating in curtwail spambot. Initially we suspected that it was coming from a PC and not from the server, but the router is blocking all packets on 25 ...
0
votes
1answer
1k views

Enabling HugePage support in CentOS

I'm trying to tune JVM performance by adding +UseLargePages parameter. As it threw error, I figured that it's not supported in my OS. I'm using CentOS (5.10) -- Linux 2.6.16.33-xenU 64 bit ...
1
vote
1answer
6k views

Linux Traffic Control: qdisc mq

On my Linux system I see this: # ip link list .... 2: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000 .... What's qdisc mq? In http://lartc.org/lartc....
1
vote
1answer
1k views

AUFS: How to create a read/write branch of only part of a directory tree?

AuFS (another union file system) allows us to merge two trees into one, even when those trees overlap. We can then direct writes to the merged tree towards one of the branches and reads to another. ...
17
votes
12answers
12k views

Viewing logs on a remote linux server

Are there any nice tools for doing a 'tail -f' on a remote (linux) server? It would be nice to be able to do something like "taillog server_host /var/log/syslog" to view logs on various servers ...
5
votes
4answers
2k views

Creating a fallback error page for nginx when root directory does not exist

I have set up an any-domain config on my nginx server - to reduce the amount of work needed when I open a new site/domain. This config allows me to simply create a folder in /usr/share/nginx/sites/ ...
2
votes
3answers
375 views

OpenVPN client-to-client

When usig a TUN (layer 3) OpenVPN server with client-to-client disabled, my clients can still talk to each other. The client-to-client config should prevent this according to the documentation: ...
5
votes
1answer
864 views

Using Rsnapshot with sync_first, link_dest, and use_lazy_deletes

I've set up rsnapshot with the configuration below and it seems to work fine. However, if I understand what I have read correctly, in the rsnapshot docs and other tutorials, the operation would be ...
0
votes
1answer
73 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/...
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
3answers
1k views

Squidanalyzer error

I installed squidanalyzer-5.4.tar.gz, following this tuto http://squidanalyzer.darold.net/install.html and setting as recommandation but when I run http://testserver.com/squidreport I get error below :...
1
vote
1answer
74 views

Dropped packets in all Linux and Unix

I have a problem. I have a motherboard by Supermicro – X11SBA-LN4F. There are 4 ethernet ports. In the first port I connect to the internet. In the second port I connect to my local network. When, I ...
1
vote
1answer
32 views

How to update GCE instance management services

What are the services on Linux (CentOS) that communicate with the Google Compute Engine (GCE) infrastructure to configure and manage a VM (SSH keys, for example)?  These don't seem to be updated with ...
0
votes
2answers
1k views

How to find max connections used by memcached?

In our LAMP application we have increased the max connection value for memcached to very high to avoid error for max connection we were having. Now we want to set appropriate value to max connections ...
2
votes
2answers
47 views

Linux bonding (balance-tlb), KVM guests and L2 switches = unicast flooding?

I have a unicast flooding problem on my network, that started when I moved some software to virtualized guests. It seems very similar to what reported here: Switch flooding when bonding interfaces in ...
1
vote
1answer
2k views

How does changes in /etc/pam.d/common-session-noninteractive affect fail2ban and possibly other programs/services?

Fail2Ban on Ubuntu 10.04 Configuration files /etc/fail2ban/jail.local [DEFAULT] ignoreip = 127.0.0.1 bantime = 10 # made for test purposes maxretry = 3 backend = polling destemail = email@...