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
36 views

What would cause ifconfig NIC frame drop counts to increase SLOWLY (90-100 frames per day)?

I have a web appliance running CentOS 5.11. It sees a fair amount of traffic (apologies, I don't have specific numbers but I know it's in use). For some reason, I'm seeing ifconfig error counts ...
-1
votes
2answers
26 views

Nginx rewrite with Server_name as underscore

We have nginx config with server_name as underscore. How do I rewrite from http to https. server { server_name _; rewrite ^/(.*) https://$server_name/$1 permanent; } This returns error as http://_/ ...
-4
votes
1answer
41 views

Transfer websites to another server without downtime [closed]

As we know when we change nameserver to any website it take 24hr to active and happen downtime to the website, So how I can transfer Websites to another server without downtime
0
votes
1answer
31 views

Using tc to delay packets to all IP address except for a single IP address

I'm familiar with this post here: Using tc to delay packets to only a single IP address Which will delay outbound packets to a single IP address. I want to do the opposite, which is to delay all ...
0
votes
0answers
15 views

Trying to decrypt S/MIME file using Openssl [migrated]

I am openssl Newibe. I am trying to write a python script (calling openssl) to decrypt multiple p12 encrypted eml files but failing. I can open them up in Thunderbird fine. here is what i tried: ...
0
votes
1answer
46 views

New linux with old kernel in chroot [closed]

I have access to enterprise level server, but it have kernel version Description: Red Hat Enterprise Linux Server release 6.4 (Santiago) Release: 6.4 Codename: Santiago ...
0
votes
0answers
63 views

Removing files takes too long

Short version: rm -rf mydir, with mydir (recursively) containing 2.5 million files, takes about 12 hours on a mostly idle machine. More information: Most of the files being deleted are hard links to ...
0
votes
0answers
7 views

rdesktop to a ec2 instance: why does not -s work?

I'm trying to connect to a windows ec2 instance and execute a script from linux shell. I'm able to start an rdp session with rdesktop (windows desktop opens on my pc), but no matter what command I try ...
0
votes
0answers
25 views

Snort even though working properly does not report majority of rules

I have installed Snort 2.9.7.0 and it does not detect majority of attacks, such as nmap port scans, downloading exe files, opening documents containing keyword "root". I use Snort together with ...
1
vote
1answer
72 views

Configuring IPtables to mirror traffic in CentOS

I'm trying to set up iptables to mirror traffic coming into eth2 and send to 10.1.4.4. I have been reading a lot of documentation on this but am having some issues. Here is the command I am trying ...
1
vote
1answer
142 views

Nginx return 301 redirects all domains

I have multiple domains on my server that is running nginx setup as follow: server { listen 80; server_name domain1.com www.domain1.com; root /var/www/domain1/public_html; index ...
0
votes
0answers
24 views

Enable Netflow plugin in Ntopng

How can I enable the Netflow plugin in the latest Ntopng (1.2.2). There is no 'Plugins' option in the menus or I can't see it. I have logged in the web interface at port 3000 but there is no Plugins ...
0
votes
0answers
16 views

Port not opening even after adding security group rules on Amazon EC2 instance

I have an Amazon EC2 Linux instance. I recently installed SmartFoxServer in my instance. For that I needed to open 9933 port. So I just created inbound rules on Amazon EC2 Manager console website. My ...
-1
votes
1answer
30 views

UDP reverse proxy on Linux [duplicate]

I have a dedicated server which hosts game servers, and is vulnerable to DDoS attacks. I want to get a DDoS-protected VPS to act as a reverse proxy for UDP. The dedicated server's IP address is ...
0
votes
2answers
39 views

Server Snapshot Capture For Cloning [closed]

I have a situation and would love to hear your suggestions. Situation: I have a server that is hosting several important workflow applications on cloud. Changes are made to few add-ons apps on the ...
1
vote
1answer
28 views

Rsyslog refuses to log over OpenVPN

I'm trying to forward rsyslog from a client to a server over a VPN. I have it working across an internet link already (through eth0 to an edge router) but would like it to go through the OpenVPN ...
-3
votes
0answers
17 views

Maunually executing a CRON - Confused about params [migrated]

I have this code snippet: $CUSER=tim $APPDIR=/var/www/testing $APPVENV=/var/www/testing/ven cat > $APPDIR/cronfile << EOF PWD=$APPDIR/$CUSER PATH=$APPVENV/bin:\$PATH 0 2 * * * testapp search ...
2
votes
0answers
42 views

Anomaly - Linux executables getting corrupted randomly

I am facing a strange problem with avconv which is a tool for processing videos part of libav-tools package. I am on a local ubuntu server 14.04.1 LTS. What happens is that the avconv tool is ...
0
votes
0answers
36 views

environment variables set with SetEnv not passed to PHP

I'm setting some environment variables to get from the PHP $_SERVER global variable, but it does not work. The variables are not in $_SERVER and neither in the phpinfo() output. I have all modules ...
1
vote
1answer
28 views

Relay Mail from an application to Gmail through ssmtp

i want make my linux server to receive mail from an host (LAN but if possible through Internet) and than relay to Gmail. I made the second part with ssmtp let the server send mail through Gmail using ...
2
votes
0answers
60 views

mdadm: Convert RAID10 to RAID1

The machine in question is equipped with 4x ssd, and running Debian wheezy 7.8, linux kernel 3.2.0-4, mdadm v3.2.5. Currently I'm using a RAID10 consisting of all these ssd. I've to increase the ...
1
vote
1answer
36 views

How to find out PID of the process sending packets (generating network traffic)?

Couple of weeks ago I had an issue where I changed DNS addresses in large network of around 300 nodes. After that, some of the nodes still continued to ask old DNS servers, although resolv.conf was ...
0
votes
0answers
24 views

What are the pros and cons of large receive offload (LRO) vs generic receive offload (GRO)

I have been debugging a scenario where an ESX vmware host is communicating with a virtual linux machine via a virtual switch using TCP/IP. After a congestion event the vmware host is waiting for an ...
1
vote
2answers
53 views

Linux Authentication with Windows 2012R2 Server (Deprecated IMU role)

I've been looking around the web trying to find a way to authenticate users on Linux with a Domain User account on a Windows 2012R2 Server. The way I've done this in the past is using the "Identity ...
0
votes
1answer
65 views

OpenVZ containers will not start after a reboot

vzctl start 192 Dump file /vz/dump/Dump.192 exists, trying to restore from it Restoring container ... Opening delta /vz/private/192/root.hdd/root.hdd Data cluster 1112 beyond EOF, vsec=47137... FATAL ...
-3
votes
1answer
45 views

Increasing server upload speed tricks [closed]

Server : IBM X3630 CPU : 2x Intel Quad Core E5620 (8265 point) RAM : 16GB DDR3 Hard Disk : 4x300GB SAS 15k Bandwidth : 10 TB Uplink Port Speed : 1 x 1000Mbps Full-Duplex With above features my ...
0
votes
1answer
40 views

Is Hyper-V CSVFS supported on Linux VMs

We have a Hyper-V guest failover cluster with a few Windows VMs that are using Cluster Share Volume (CSV). Is it possible to use the same CSV for Linux VMs? Is CSVFS supported on Linux VMs at all ? ...
-1
votes
1answer
47 views

MySQL on iscsi drive CentOS7 wont start on boot

I configured Mariadb on CentOS 7 to run on iscsi drive mounted on /mnt/iscsi, but it wont start on boot with following error (it can be started manually): mariadb.service - MariaDB database server ...
0
votes
1answer
49 views

Building the infrastructure to support a web application

I am building infrastructure to support a web application. I think I have a decent idea of what the infrastructure should look like, here's what I have: 2 x 16GB, 4-Core HAProxy servers for load ...
1
vote
1answer
46 views

How to change mailx?

I am having a problem in my VMs. I used the same template (Debian 7min) in OpenVZ, but for whatever reason those two are using a different mailx. I have a small script which I use to send ...
0
votes
0answers
12 views

Why top output different from sar output?

This is SLES11sp3 system. The command top shows the load average of 17+, as shown below: #top top - 11:59:14 up 19 days, 21:55, 40 users, load average: 17.09, 17.29, 19.22 Tasks: 514 total, 1 ...
1
vote
2answers
38 views

Enabling bridged connections with a single network card with multiple IP addresses

I have a server with one network card in it (eth1). My server is assigned 5 public IP addresses and it is currently configured like this (/etc/network/interfaces): # The primary network interface ...
3
votes
1answer
35 views

Nginx uses both writev() and sendfile()

I noticed that when serving images Nginx is sending images using both writev() when called from a browser such as Firefox, but uses sendfile() to send the image when wgetting the image. Any idea why ...
1
vote
1answer
72 views

Slow download big static files from nginx

I'm using debian 7 x64 in vmware-esxi virtualization. Max download per client is 1mb/s and nginx no use more than 50mbps together and my question is what may cause so slow transfers? server ...
1
vote
2answers
70 views

Linux: How to get a machine's IP address? [duplicate]

I'm using Linux CentOS 6.4 . I'm writing a shell script and I need to extract a machine's IP in order to use it in the script. How can I find the machine's IP? I'm looking for the "best" way because ...
0
votes
1answer
33 views

interpreting disk stats using sar

I have JBOD and Cassandra installed on it. I'm trying to figure out if my disk are totally free or they are boring. The sar -d result is in the end. As I understand until %util is low (less then 1) it ...
0
votes
1answer
44 views

[root@pcm-ipa-01 tmp]# klist klist: No credentials cache found (ticket cache FILE:/tmp/krb5cc_0)freeipa kadmin admin principal not found

I have installed freeipa on centos and after restarting the service seems to have lost authentication for "kadmin" [root@pcm-ipa-01 ~]# kadmin init Authenticating as principal root/admin@MY.DOMAIN T ...
0
votes
0answers
8 views

use ext3 with inode size 128 and acl

i saw this in one of the docs that i had read Inode size: The default inode size is 256 bytes. Specify a value in bytes that is a power of 2 and equal to 128 or larger in bytes and up to the block ...
0
votes
0answers
38 views

How to manage permissions on shared filesystem in Linux and export it on Windows?

It is a bit complex scenario so I will try to make this a simple as possible for you. ENVIRONMENT I have a shared filesystem on Linux which I export on Windows using Samba4 and users which belong to ...
0
votes
0answers
28 views

Writing to Unix Domain Socket from rsyslog

I want to write output messages from rsyslog to a Unix Domain Socket. I want to do this so that I can read the messages from that socket using my script and parse log messages further. I try to use ...
0
votes
0answers
24 views

Lockfile creation failed

I got a plain-text logfile (not lock file) in /var/log what I cannot open with: lockfile creation failed: exceeded maximum number of lock attempts I wonder what causes this and how can I unlock it ...
-1
votes
0answers
16 views

Snort disable Syslog logging

is there a way to stop the snort deamon to log his status in syslog when it's get interrupted and startet? A snipped output can be seen here http://pastebin.com/82hy2F0x Thanks fork
-3
votes
1answer
54 views

What is the point of a firewall?

Newbie question: I have set up a new Linux server. I have got SSH running on port 22. I have got Apache running on port 80. I am told I should enable a firewall but why is that? 80 and 22 are the ...
14
votes
4answers
717 views

How to share assets between multiple web servers?

I have multiple Linux web servers attached to a load balancer, and I like to share assets (such as pictures, videos, and other stuff) between these servers. What is the best way to do this? ...
0
votes
3answers
53 views

How to route all local trafic to Squid?

I have a working squid caching server which is accessile through 127.0.0.1:3128. I'm trying to route all my trafic(and if possible all my virtual machines) to 127.0.0.1:3128. I'm using vagrant and ...
0
votes
1answer
44 views

DNS resolving is slow only when using cURL to fetch data

I have domain 'engine02.prod.qc.offercal.com' in my local bind9. I don't think it's DNS server or TTL issue, because the benchmark is almost always look like this (I tried for 2 minutes using each ...
0
votes
0answers
19 views

why is cron flooding wtmp and last?

When I type the last command, I see a bunch of entries in there for cron. Every single cron job that gets run creates an entry and it's flooding wtmp with unnecessary entries. Any ideas how I can stop ...
0
votes
2answers
17 views

View File chown changes

Is there a way to view all of the times a files ownership changed? I have a feeling there is a security issue on my server, however I am also very paranoid and may have changed it myself.
0
votes
1answer
26 views

Recommended way to update config values in an automated way?

To give some context, I have a build server task that requires updating a configuration file (in yaml format) field value and pushing to a repo to be used later.My immediate thought was to use some ...
0
votes
0answers
34 views

Protect web directories from other SSH users but allow apache access?

So my linux box has 2 users : root (which I use) dev (the user that my developer uses) I have a few directories on my web server which I need to restrict access from the "dev" user. So, for ...