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

learn more… | top users | synonyms (3)

-1
votes
0answers
34 views

Route public subnet to client over openVPN

I want to route a public /29 subnet over vpn to a client with a natted ipv4. After doing some research, I can't figure out to make that work. Maybe I was searching for the wrong terms, but it seems ...
2
votes
1answer
46 views

Linux read disk cache and NFS

I am interested in the impact of the read disk cache on accessing a file through NFS. Lets say I have a file on NFS. I access it (do "cat myfile") from a linux host "A". If there's enough RAM a file ...
-1
votes
0answers
33 views

Why timeout not work in the expect script

I created the following script in order to automate the VPN process. This script runs vpnc and enters a password. #!/usr/bin/expect set PASS [lindex $argv 0] set timeout 10 spawn vpnc ...
3
votes
1answer
29 views

Linux NFLOG - documentation, configuration from C

Several different places (e.g. http://wiki.wireshark.org/CaptureSetup/NFLOG) recommend using Linux's "NFLOG" firewall module to capture packets generated by a particular UID, like this: # iptables -A ...
0
votes
2answers
39 views

View realtime list of connections to Postfix

I am running Postfix on a linux box with a couple hundred local users with mailboxes. Is there a way to monitor all incoming connections (SMTP) to the Postfix service? I.e. a live stream of "IP ...
4
votes
2answers
47 views

How should privileged accounts be secured in both Linux and Windows?

I have recently started work in application security at a mid-sized firm, having transitioned away from 5+ years in security consulting (pentesting, etc). One of the biggest challenges I see here from ...
3
votes
1answer
43 views

I just deleted /etc/rc?.d/ dirs, how can I restore/recreate them?

sysv-rc was installed to get a hold of systems autostart, but in the end it wasn't needed (as update-rc.d came in handy). So I dumbly do apt-get purge sysv-rc and type Yes, do as I say! to the apt ...
1
vote
0answers
24 views

command line alias inside php exec

Is there any possibility to define shell alias for commands executed via php system, exec etc functions? I'm running multiple versions of PHP using fastcgi and I need to run the right version of PHP ...
0
votes
0answers
15 views

Opensuse 13.1 - Encrypted Partition Vanished

I installed a second drive in my machine running OpenSuse 13.1 and created an encrypted partition. I was able to use the partition after doing so and after reboots, no problem. Now my system can see ...
1
vote
0answers
16 views

Turn on/off proxy pass in nginx if a particular header is set

For testing purposes (in particular I'm developing a performance analyzer for a website that currently runs in production) I need to have some endpoints (es: /performance) that should be processed by ...
-1
votes
1answer
41 views

linux + rcp rsh post configuration after installing rsh package

I installed by yum the latest rsh package ( because on my linux machine rsh and rcp binaries not exists ) # yum install rsh so I verified by: rpm -qa | grep -i rsh rsh-0.17-60.el6.x86_64 ...
1
vote
1answer
28 views

SVN customize 403 error message

How can I customize "403 Forbidden" message? For only this message I want add additional info, like this "403 Forbidden (you have no rights to [URL to repository])" . How to do it? I want to save ...
-1
votes
2answers
19 views

Can increase in hdd size slow sown a linux server?

We have a code build server, fedora 13, which was working at medium speed for 4 users. Speed means building a code branch took 1.5 hrs max duration. It was having one quad core, 8gb ram, 200gb hdd. ...
0
votes
0answers
19 views

Is it better to use the systemd service unit's Restart & RestartSec, or use a systemd timer unit?

I have a couple of in-house automated scripts running at periodic intervals. One is every five minutes, the other is every minute. They don't really need to be ran on-the-dot; e.g. I don't care if ...
-3
votes
2answers
34 views

How to monitor and list modified files server wide for brief periods of time?

I would like to, from time to time, enable server-wide file monitoring that will show me all files being modified, updated and created while I have it running and thus simply spewing forth a list of ...
0
votes
0answers
45 views

Linux server backup to Amazon S3 using SSL

I have Linux box CentOS 6.5 and i want to backup daily files like SQL dumps and config files to Amazon S3 I have installed Ruby and S3Sync. But the problem when running the s3sync with these ...
3
votes
0answers
104 views

Growing OS cache in RAM causing high system CPU usage

Long question, so please bare with me: I'm having a weird issue with a server that I've never seen before. On a machine with ~30G of RAM with an application that takes ~10G (spread across hundreds of ...
0
votes
1answer
30 views

Deleted File, Available Space Did Not Return [duplicate]

On CentOS linux, I just deleted a large log file over 3gb on XFS file system. After deleting the file, the available file space did not return to the drive seen via df -h. Is there anything I can do ...
-2
votes
0answers
24 views

sip from command line

I am definitely remember, that somewhere on freeswitch.org site there was an example of how to initiate a SIP call from command line. It was not by using sipcmd, but either some general linux commands ...
0
votes
2answers
38 views

Puppet node does not pull changes from master

I have followed the following three How-To's http://terokarvinen.com/2012/puppetmaster-on-ubuntu-12-04 https://help.ubuntu.com/12.04/serverguide/puppet.html#puppet-installation ...
0
votes
0answers
35 views

Autofs mount problems

I need a suggestion how to configure autofs to mount a windows share automatically to CentOS. I can successfully mount the share, but I can't seem to enter parameters into auto.master corectly. ...
-1
votes
5answers
72 views

How do i down the server on the remote location for an hour

This is the doubt i have in my mind we can reboot the remote server using reboot command but how can we down the server for an hour or a specific time. In our case we login to the server through putty ...
1
vote
1answer
23 views

how to add a raw device on RHL

I am using a server to which someone added a harddisk. I am struggling to get this to work. I am a regular Linux user (but haven't done this stuff before). I have googled up and tried to follow the ...
1
vote
2answers
44 views

Something like `top` for vhosts

Is there any way of establishing what vhosts are keeping Apache processes busy, in real time? Ideally I'd like a tool like top (or htop) that shows me which sites are busiest, or most costly, right ...
0
votes
0answers
30 views

How to force postfix follow (dns) mx priority even for local domains on Linux Ubuntu Server with Plesk

Use Case Scenario I have a Linux (Ubuntu 12.04) with Plesk (11.5) hosting server where some clients use the server's mail service only as a failover. They set up an external mail server with higher ...
0
votes
2answers
35 views

Performance hit from moving DB to another drive symlink?

We're considering moving one database (there are 4 of them in total) with InnoDB tables, to a separate partition in a Ubuntu 14.04 VPS. This DB gets read/write intensive (500 writes per sec, about ...
0
votes
1answer
29 views

Anonymous User Can't Delete file from ftp

I've created a new directory in /var/ftp with the name uploads the owner and group of this directory is ftp the permissions are set to 777. Content of my vsftpd.conf file anonymous_enable=YES ...
2
votes
0answers
24 views

runnning systemd without PrivateTmp, PrivateNetwork and PrivateDevices (in docker - unprivileged mode)

I am happily running systemd inside a docker container, however, it requires CAP_SYS_ADMIN in order to dynamically create private tmp mounts. I have attempted to disable the PrivateTmp, ...
-1
votes
0answers
31 views

supermicro 2022g-urf rebooting under stress test after upgrade (empty logs)

My configuration was 1 6378 Opteron and 4 kingston 16 gb 1.35 v modules. It works perfectly. But i need more performance and server was upgraded with secondary 6378 Opteron and 4 kingston 16 gb 1.35 ...
5
votes
2answers
263 views

How do I audit network connections that exceed a certain amount of traffic or bandwidth on Linux?

I've looking after some Debian boxes and occasionally I see a big spike in the network traffic. I'm graphing metrics with graphite (being fed by a sensu check which gathers per-interface metrics every ...
0
votes
0answers
32 views

OpenVPN in bridged mode, confusion about interfaces

I'm trying to understand some fundamental OpenVPN/networking basics. Let's assume the following scenario: there is an openVPN server which is already configured properly it runs in bridged mode the ...
1
vote
0answers
38 views

Sed + how to set parameters in sed command in order to display lines from text file [migrated]

I find the following way to print line from file In this example we want to print the first line from the hosts file sed -n '1,1p' /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 ...
2
votes
1answer
92 views

How to get best performance: storage cache server (small files) with for 4 disks (3TB's)?

We're preparing a cache storage server for some small files that will be cached for a few days (so HDD will have more reading then writing). All files are rather small around 100 to 500KB a file, but ...
15
votes
2answers
556 views

Does Rsync Allow Files To Be Synced Both Ways?

I have backed up a linux web server using rsync with cygwin. I now have a perfect copy of the server on my windows laptop. If i delete or modify a file on my laptop and run rsync again with cygwin ...
1
vote
0answers
35 views

Iptables multiport and source ip

I have a rule which does not seem to allow traffic as expected -A INPUT -p tcp -m state --state NEW -m multiport -s x.x.x.x -d y.y.y.y --dports 38000:38100 -j ACCEPT If I remove the -s argument ...
0
votes
1answer
39 views

sip unreachable after changing routes using linux router

SIP server was unreachable after changing routes. I have 2 ISP ,ISP 1 is my default and ISP 2 is my back-up. I have a dialer behind linux router linux. Linux router has 3 ethernet cards. Router ...
7
votes
1answer
207 views

Linux/Unix - /etc/sudoers - host definition

can anybody tell me in which case the sudo host definition is useful? I mean this part of a line in the sudoers file: bob host1 = NOPASSWD: reboot In which environment (except sudo via LDAP) do I ...
2
votes
0answers
36 views

Understanding an OpenVPN bridge from iptable's point of view

In my scenario, there is a machine which acts as both an iptables-based firewall and an OpenVPN-server at the same time. It has two network interfaces - eth1 is connected to the internet whereas eth0 ...
-4
votes
1answer
40 views

Linux + Active Directory + login format

Can someone answer or point me in the right direction to allow users to login into linux boxes, via ssh, using only their username without specifying the domain? Example: joeshmoe@172.16.1.50(my ...
2
votes
1answer
19 views

EPC mode on Seagate Constellation using Linux

I need to set EPC mode on Seagate Constellation disks connected to LSI 9690SA-4l controller. This is because the controller is not compatible with the disks unless the EPC mode is set – according to ...
1
vote
1answer
34 views

can't get tomcat to offer TLS_ECDHE_ECDSA_… ciphers

my tomcat (7.0.52) Connector is configured with a cipher list like ciphers="TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, ...
1
vote
1answer
71 views

6 times slower disk write in RAID10 on Ubuntu 14.04 after rebuild

OS: Ubuntu 14.04 LTS Software Raid 10: 4x120Gb Intel 530 SSDs Initial tests: 1.2 GB/s Write 5.2 GB/s Read I did some tests to check if everything will go alright with a failed disk: I set as ...
0
votes
0answers
31 views

LDAP: forced to change root password on every login

I have finally configured my new server as LDAP-client of my existing one. Now, every time I login as root, I am prompted to change my 'LDAP password': login as: root root@111.111.111.111's password: ...
1
vote
1answer
36 views

Incoming FTP transfer not showing in lsof when using specific FTP client

I've got a script that continuously monitors an FTP dropbox directory and processes new files when they come in. The script runs lsof on each file before it tries to process it to determine if the ...
0
votes
1answer
24 views

OSSEC - Multiple VM's on a single DELL blade (XenServer Hypervisor)

I have a DELL blade with ~100 VM's (with a Citrix XenServer 6.1 hypervisor), all with ossec agent connected to a ossec server outside that same blade. I have a bit of a problem: they all run rootkit ...
0
votes
0answers
20 views

Odd behaviour with varnishlog and stream redirecting

I wrote a helper to debug varnish installation and have used it on both production and development server. The odd thing is, I encountered different behaviour even though the setup is nearly identical ...
-1
votes
0answers
21 views

Server Down Every 5 Hours? Centos NginxProxy

I have my websites on a Centos NginxProxy server with kloxo panel installed. My websites become unresponsive every 5 hours and then after a reboot becomes ok. I need help troubleshooting that. Here ...
3
votes
2answers
111 views

What to look for when buying a FiberChannel card?

I have a couple of these LSI arrays LSI Model 0834 LSI product name: 1932 LSI Product codename: Mary Jane Enclosure name: Shea (DM1300) End of Life: 31-Dec-2010 but I can't find any information ...
4
votes
1answer
77 views

CVE-2014-0196 Vulnerability for CentOS

Trying to patch CVE-2014-0196 Vulnerability but yum can't find packages updates CentOS 6.5 (Final) Panel version: 11.0.9 Update #61 # uname -r 2.6.32-358.11.1.el6.x86_64 # yum update kernel Loaded ...
1
vote
1answer
82 views

Google reCAPTCHA not working on Linux system

I am working on integrating reCAPTCHA with my registration page and everything seems working fine except one strange issue. I have tested this code on all local machines and well on our test server ...