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

learn more… | top users | synonyms (1)

0
votes
0answers
5 views

Can 'or' logic be used in UDEV for mounting drive with unique UUIDs?

We do a back-up to a LaCie external rugged drive. The drive is then swapped with it's twin in the safe deposit box. While the drives have different serial numbers, for the servers purposes they are ...
0
votes
1answer
11 views

ElasticCache enpoint to use in code

I have provisioned ElasticCache and launched a Redis cache cluster with Enable Replication option selected in Single Availability Zone, now I see three cache nodes under cache cluster as following ...
1
vote
2answers
42 views

Create tar file on Solaris and untar the file on Linux is it right?

I want to create tar file on Solaris (Solaris 10 ) as Kit.tar and untar the Kit.tar on Linux machine ( linux red-hat 3/4/5 ) Can we be safe with that untar process on Linux machine? , I want to be ...
0
votes
0answers
18 views

Getting a 502 Bad gateway error with nginx on ubuntu

I am recieving a 502 Bad gateway error with this config file for my ubuntu nginx server, can anyone see any faults with this? Quite new to Linux so any advise would be helpful. I am trying to get up ...
0
votes
1answer
19 views

Delete files that are not part of a bash array

Right now I backup the mysql databases using a cronjob everyday. Now that the server is getting full, I only want to keep one backup for every month, one backup from sunday every week and the last 7 ...
0
votes
0answers
19 views

Route postfix through different ISP/Gateway

Our network has 2 different gateways/ISPs, one with a dynamic IP used mostly for web traffic and SQUID and another with a dedicated connection and a static IP to handle VOIP and email. The network ...
0
votes
0answers
20 views

Cannot trace bug in iptables firewalls config

I seem to have a bug in my iptables configuration - when I comment out hte final line (drop) it works fine - when I uncomment it, I cannot ssh into my server - can anyone spot what I'm doing wrong? ...
0
votes
0answers
10 views

Set server ACL folders 755 and files 644 permissions

In /var/www, I want all folders (recursively) to have the permissions of 755. I want all files to have the permission of 644. I want all new files and folders to take on these permissions as well. ...
-1
votes
1answer
17 views

Installing Java 32bit rpm on 64bit CentOS

Downloaded the - jre-8u45-linux-i586.rpm Opened console - su mkdir /usr/bin/java [No java was installed before] cd /usr/bin/java rpm -ivh jre-8u45-linux-i586.rpm [Tried installing] error: ...
0
votes
0answers
17 views

How can I set up vsftp to write files as a specific user?

I have a shared file system, mounted at /exports/share/. This is owned by user exportuser, group exportgroup. I have set up vsftpd so that my test user can log in, and upload files to my share, by ...
0
votes
0answers
25 views

kvm guest routing with 2 default gateways

I have a kvm guest with two virtual NIC. NIC with internal IP III.III.III.III (eth0) NIC with external IP EEE.EEE.EEE.EEE(eth1) I'm using macvtap. The host has his own external IP. I can ping ...
-1
votes
0answers
18 views

Files placed on server used for phising, how to find source / break-in [duplicate]

Appearantly my server has been used as a phishing host for attacks against PayPal. There were files placed inside different folders accross the server and the files get executed from various IPs ...
2
votes
1answer
27 views

How to send “ATA Secure Erase” command to SSD?

A very good way to erase a SSD which have SED support is to change the password/key. But what to do with those that doesn't have SED support? This article says Fortunately it is possible to erase ...
0
votes
0answers
11 views

Linux server mount point issue [duplicate]

I have one file system that size is 5Gb, when I check with df -h /file system it shows threshold reached 98% but checking with du -sh /file system the size showing only 2gb. where is that other 3Gb ...
0
votes
1answer
16 views

NAT forwarding (whole IP) working only on some ports

Since my hoster doesn't allow briged setups I had to go for a NAT solution to run my CentOS VM on an additional IP and my host machine on the primary IP. Now, I've got a problem since for ports 22, ...
1
vote
0answers
38 views

Strange Memory Usage Behaviour in CentOS 7

I'm running three virtual machines in a VMware host (vCloud): i1 - 2 vCPUs, 4Gb RAM, CentOS 7 (Linux 3.10.0-229.4.2.el7.x86_64) i2 - 2 vCPUs, 4Gb RAM, CentOS 7 (Linux 3.10.0-229.4.2.el7.x86_64) lb - ...
0
votes
0answers
8 views

How can I change readline settings on keypress? [migrated]

I checked docs for readline (in man bash), and I can't find a way to solve one problem: how to change readline setting (set ... on/off) on keypress? Keybindings seem to have form: key:function or ...
0
votes
0answers
14 views

Understanding SAR output for historical memory usage

As we know with free -m were suposed to look at the buffers\cache: free -m total used free shared buffers cached Mem: 3919 3398 521 ...
4
votes
0answers
21 views

SynProxy can not return syn ack packets with asymmetric dual bridge topology

I have a asymmetric dual bridge topology as shown below when i connect from 172.16.11.5 and 172.16.10.6 with ssh but i can not connect because of SynProxy. ------- ...
0
votes
1answer
22 views

How to solve TLS error in Filezilla FTP client?

When i try to connect a site files by Filezilla FTP client, i get the following error Status: Connecting to 91.109.7.88:21... Status: Connection established, initializing TLS... Error: ...
0
votes
0answers
34 views

ProFTPd + MySQL + Apache

I am trying to set up a LAMP server with ProFTPd using MySQL authentication This is a dedicated server with a single website under /var/hitr/public. I'd like to use proftpd to for user's configured ...
0
votes
0answers
12 views

load remote configuration using junit [migrated]

I have a product running on linux server. I am writing junit script to start the instance of the product. I want to execute the junit script from my windows machine and it should connect to linux ...
1
vote
0answers
41 views

SSH Passwords are working using IP address, but not when using the server name

We recently rebuilt one of our servers using Ubuntu 12.04 LTS and experienced something we haven't seen before. When we attempt to ssh into the box, we are able to ssh into the box if we use the ip ...
1
vote
0answers
20 views

Tracing namespace mining culprit

I have a Centos 6x box with these installed: CXS + CSF + LFD. I'm trying to figure out how to effectively trace what MS is claiming namespace mining on my IP. From Microsoft: We have completed ...
2
votes
0answers
42 views

How to find size of atomic write for nginx access log buffer?

This link says: The buffer size must not exceed the size of an atomic write to a disk file. For FreeBSD this size is unlimited. How can I find size of atomic write on my server? Is there any ...
0
votes
0answers
8 views

incrond Error - access denied on /home/*/abc/ events will be discarded silently

I am getting following error on Ubuntu in the logs. incrond Error - access denied on /home/*/abc/ events will be discarded silently I am trying to monitor /home/*/abc/ can be anything. Any ...
-5
votes
0answers
71 views

Shellshock / Malware [on hold]

I noticed recently and attack exactly like this: http://www.skepticism.us/2015/05/13/ The attacker is trying to access some "vulnerable" routes 123.56.118.97 - - [25/May/2015:03:23:47 +0200] "GET ...
0
votes
1answer
13 views

Adding an admin user to a MongoDB

I'm using MongoDB 3.0.3, and I've been having issues with creating users. I created a user on the admin database using db.addUser('admin', '....'). I gave it dbAdminAnyDatabase privilege. The output ...
0
votes
0answers
18 views

Why c app is not writing to nohup.out

I wrote a simple master-slave failover setup for my two servers using c, running redhat6 which using udp heartbeats to monitor one another. In my app I'm printing out some information like, heartbeat ...
0
votes
1answer
43 views

System Information on terminal

This might come across as a silly question but is there any shell that will allow me to get the system information as the shell is active? What I mean is a shell like bash or similar that will show me ...
0
votes
1answer
11 views

Exception reporting with rsync backups?

I run rsync in the cron every 4 hours. This works well for backups, but it generates six messages a day to root for each successful backup. I know I can put the output to /dev/null not to get any ...
0
votes
0answers
15 views

MD RAID Array Often Starts Without All Drives

I find that, when I start/restart my system, my MD array often doesn't start with all of the drives even though the device-names haven't changed at all. I'll have to stop the array and reassemble it, ...
1
vote
0answers
41 views

ssh: transparent redirect of incoming connections based on host- or username [duplicate]

I have a Linux server with a single, static IPv4 address and several DNS entries pointing to the IP. The server hosts several Docker container, and listens on port 22 for incoming SSH connections. ...
0
votes
1answer
57 views

Starting to learn about IPtables, why do I need this rule?

I have been reading all day about IP tables, how the rules work, sets of rules for basic webservers, etc. Now I`m trying to configure my webserver with IPtables using this thread as a starting point: ...
-1
votes
0answers
8 views

dropbox_uploader upload in background? [on hold]

i am trying to upload very large file to dropbox using dropbox_uploader , file size about 1TB , i want to execute upload process and close ssh console I've used this nohup ...
1
vote
0answers
24 views

Adding normal graph on memory usage per process to Zabbix

I need to monitor memory usage per process of processes on Linux. My monitoring tool is Zabbix. I found some links which describe how we can do it on windows. As an example I can refer to Host ...
0
votes
0answers
28 views

Nagios python plugin not working properly

I have installed Icinga for monitoring my azure infrastructure. I want to monitor my DB Servers using python script which is here Now it is making connection to DB server but mode options are not ...
3
votes
1answer
81 views

ssh as user runs program with no authentication (neither password nor keys)

I'd like to set up a user on my system (Ubuntu 14.04 x64) such that people can run ssh example@myhost.example.com and see some output from a program without being prompted for a password or having to ...
0
votes
0answers
23 views

qemu-img VHD to raw image convert results in bad geometry:

Is anyone else able to reproduce this? Using StarWind V2V Image Converter on Windows, I'm able to get a valid disk.img file, so the source image.vhd is clean (pulled down from rackspace). Is this a ...
1
vote
0answers
15 views

Custom IPv6 stateless autoconfiguration suffix [duplicate]

When a router announces an IPv6 prefix via Router Advertisements, a host can use SLAAC to automatically derive the remaining bits from its MAC and use the combination as its globally routable IPv6 ...
-2
votes
0answers
13 views

While executing vgdisplay command on RHEL 6.5 gives me Input/output error for disk. But the server doesn't have that disks

Complete errors as given below: /dev/mapper/mpathcq: read failed after 0 of 4096 at 107374116864: Input/output error /dev/mapper/mpathcq: read failed after 0 of 4096 at 107374174208: Input/output ...
-6
votes
0answers
27 views

What means high ram vps and [on hold]

I want to rent a vps server for personal needs, so i found hosting provider who provides high ram vps and premium vps. What are the advantages and disadvantages respectively for high ram vps and ...
2
votes
1answer
48 views

Add a custom header to Postfix with the relayed domain

I've got a Postfix setup that allows relays only from certain domains. I accomplish this using the relay_domains flag in main.cf and it queries mysql to find the list of allowed domains. ...
0
votes
0answers
5 views

Who was the original author of logrotate and what year was it written? [migrated]

The question started as an internal team debate. But we realized we couldn't find any information about when the original version of logrotate was authored and who wrote it. Any idas?
0
votes
1answer
54 views

How much memory must be left to the OS with a java server application?

Suppose I am running tomcat with -Xms256m -Xmx1024m, but would like to increase my heap usage. What is the largest safe heap size I can allocate? For the purpose of this question, please assume, ...
0
votes
0answers
24 views

Some processes using 100% CPU and hangs on select() call for some time

So I have this strange scenario: there is a server this apache/passenger/Rails and some other services. For example top command itself takes 100% Cpu time (also iostat and ruby, other processes seems ...
0
votes
1answer
42 views

why my nat iptables rules dont work with marked packets?

System: debian squeeze, Linux server 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC 2014 x86_64 GNU/Linux, iptables v1.4.8 lsmod | grep iptable iptable_security 2176 0 iptable_mangle ...
-1
votes
2answers
34 views

Match BIND's view to certain users

It's easy to make a BIND's view to match certain IPs with the aid of match-clients directive. But is it possible at all for a view to match not IPs, but users? For example service a is run under user ...
0
votes
1answer
31 views

EC2 volumes & partitioning

With Amazon EC2 CentOS 7 HVM community image machine just thinking for volumes & partitioning. Would it not be good that I create default 8GB volume sda for root device for all operating system ...
0
votes
0answers
20 views

CentOS 7 mount ebs thorugh systemd unit

CentOS 7 HVM community image is not mounting the drive if as recommended we do it via rc.local(since doing it via /etc/fstab entry may halt the machine and make it not reachable if any issue occurs in ...