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
2answers
21 views

How to change the group, excluding a directory

We are using AWS S3 Buckets, and when you attempt to do a recursive chgrp, it churns on the S3 bucket (essentially) indefinitely. Is it possible to execute chgrp while excluding a directory?
0
votes
1answer
13 views

SNMP agent configuration windows/linux

i need to retrieve information via snmp and then use this information to create some sort of graphic application in Unity. I find the SnmpSharp library http://www.snmpsharpnet.com/ i create a little ...
1
vote
1answer
938 views

WMI: wmic linux agent query error: NTSTATUS: NT_STATUS_ACCESS_DENIED

Myself new to wmic and keep trying for a long time with default agent query approach. wmic is linux based WMI tool to talk to windows WMI agent. While trying to fetch data with wmic from nt(win7 with ...
-4
votes
0answers
12 views

Using Export in Mac OS X [on hold]

I am a developer using Linux on Mac OS X. I am building an app using MONO. I can run my app if I first run export MONO_MANAGED_WATCHER=disabled on the command line. My problem is, I have to run this ...
-1
votes
1answer
24 views

Linux - Print specific line from output [on hold]

I am used to working with single line output and can use $1 $4 $8 to specify certain items in that line, but I have never worked with multiple line outputs and would like to just print one line ...
0
votes
2answers
901 views

Server, Database or Code Issue? Magento backend rewrites itself with a index.php which doesnt work

I will be honest and admit my cross posting in magento.stackexchange.com but the reason is that I believe it is a server fault, and now I am looking for proof to present to my dreaded hosting ...
123
votes
4answers
38k views

LVM dangers and caveats

I have recently started using LVM on some servers for hard drives larger than 1 TB. They're useful, expandable and quite easy to install. However, I could not find any data about the dangers and ...
3
votes
12answers
12k views

How do I kill processes older than “t”?

First, yes I have seen this question: http://serverfault.com/q/71360/14428 The answers there are incorrect and do not work. I have voted and commented accordingly. The processes I want to kill look ...
0
votes
5answers
2k views

nginx: php-fastcgi running but php files not executing

I have recently set up a nginx server with PHP running as FastCGI process. The server is running with HTML files however PHP files are downloading instead of displaying and PHP code is not processed. ...
-1
votes
1answer
32 views

setup domain with random ip addresses [on hold]

i set up nameservers as follows ns1.domain.com ip1 ns2.domain.com ip1 ns3.domain.com ip2 ns4.domain.com ip2 ns5.domain.com ip3 ns6.domain.com ip3 all dns records and PTR records correctly has been ...
0
votes
0answers
16 views

Cross-platform filesystem watcher, running in VM watching host?

Can anybody suggest a way to copy data from a VM's host to the VM[0] in way that is cross-platform across hosts (i.e. Windows, Mac or Linux)? Right now, I'm achieving this by running rsync in the VM ...
12
votes
11answers
15k views

A monitoring tool that captures processes' memory usage/cpu usage, etc over time

I am looking for a way to diagnose issues, such as swap death, where a balooning memory process fills up swap and kills the whole machine (such as apache). I'm already using cacti and I can set up ...
0
votes
1answer
2k views

RHEL 6.6: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 403 Forbidden”

First of all, it's the first time I setup RHEL machines, I'm more used to Debian. We're installing many machine at the same time. We've upgraded from RHEL 6.3 to RHEL 6.6 and we're now trying to ...
2
votes
1answer
256 views

Can't SSH in to AWS VPC second ENI from with in same VPC

I attached a Second ENI to my Ubuntu OS machine on AWS VPC, the internal IP of this new ENI is 192.168.12.24. When I try to SSH in to this machine from another machine in the same VPC I get a ...
0
votes
0answers
10 views

WebApp won't compile in CentOS 7 server, but does compile in Windows

I am getting a "resource marked as read-only" error when I try to compile a war file on a CentOS 7 installation. But the same eclipse project does not throw any compilation error on Windows after I ...
5
votes
3answers
4k views

How do you test iptables rules to prevent remote lockout and check matches?

As I'm learning about iptables I've made a couple of mistakes and locked myself out. What method(s) do you use to test rules without locking yourself out? I'm using ubuntu server 12.04 LTS All ...
36
votes
10answers
3k views

Linux on VMware - why use partitioning?

When installing Linux VMs in a virtualized environment (ESXi in my case), are there any compelling reasons to partition the disks (when using ext4) rather than just adding separate disks for each ...
3
votes
1answer
11k views

How to change the Nginx default folder?

I setup a server with Nginx and i set my Public_HTML in - /home/user/public_html/website.com/public And its always redirect to - /usr/local/nginx/html/ How can i change this ? Nginx.conf - ...
1
vote
1answer
10 views

Nginx alias with trailing slashes

I have a sub-site working under a parent website like this: http://example.org/sub-site (http://example.org/sub-site/ works too) Everything seemed to work well, including : ./sub-site/sub-section ...
1
vote
2answers
625 views

Avoid a crash when a process allocates too much memory?

Similar to this question, we have a computing server with 96GB of RAM that is used to run large jobs in parallel. Occasionally, the total amount of physical RAM is exceeded, which causes the server ...
16
votes
5answers
22k views

how i can identify which process is making UDP traffic on linux?

my machine is continously making udp dns traffic request. what i need to know is the PID of the process generating this traffic. The normal way in TCP connection is to use netstat/lsof and get the ...
2
votes
1answer
490 views

PHP Threading on Gentoo

PHP on Gentoo supports the threads USE flag. As far as I know, PHP does not support true threading; I am only aware of the ability to fork using pcntl_fork(), but this functionality is provided by the ...
5
votes
1answer
1k views

Mount Docker container contents in host file system

I want to be able to inspect the contents of a Docker container (read-only). An elegant way of doing this would be to mount the container's contents in a directory. I'm talking about mounting the ...
0
votes
1answer
23 views

Shrinking LVM Volumes

We have a Synology RS3614rpxs NAS head containing (9) 3TB hard drives in a RAID 6 + 1 hot spare. The storage became exhausted and we added an expansion chassis where 5TB hard drivers were installed ...
0
votes
0answers
26 views

Puppet or chef script to set up an Ubuntu server [on hold]

Are there any Puppet/Chef/Other scripts to automatically set up and configure Ubuntu 14.04 with everything needed to host a website securely? I have looked on Github, but nothing seems very popular ...
2
votes
5answers
157 views

How to make desktop notifications from long-running shell commands? [on hold]

I'm currently trying to configure sphinxsearch. The indexing takes around 7 minutes. Too long to wait so I usually start doing some other tasks before testing the results. But I would like to be ...
3
votes
2answers
4k views

Determine which guest is running on XEN: HVM or PV guest

I'm working with a Xen host which is installed XenServer from Citrix by someone. He already installed a lot of CentOS 5.2 guests on the host. I wonder how to check those guests to know they are PV ...
-1
votes
0answers
10 views

What is the windows server HW platfom (24 cpu, 2.3ghz server-2 core ) equivalent to Linux VM? [duplicate]

Wanted to migrate Windows Server HW to Linux NM Server. Windows HW 96G RAM 2.3ghz, 2core 24 CPU Hyper threading is enabled What is the equivalent HW requirement for ...
1
vote
1answer
20 views

AWS Ubuntu 14 - Can't SSH After Reboot

Had an issue where an instance became unresponsive and was forced into a reboot. After the reboot I could ping the server but could not SSH into the server. Ultimately I created a new instance and ...
1
vote
1answer
253 views

End of script output before headers: php5

I've inherited the sysadmin role on a server that's running a wordpress website on top of Apache 2.4/Debian. It almost works, but it is issuing "500 internal server error" from time to time. In my ...
4
votes
2answers
8k views

Enable Password Login for SSH on Amazon Linux AMI

I wan't to be able to login via ssh with a password and not the key file. Yeah I know it's totally insecure but at this point in the config I was turning variables off and on left and right trying to ...
4
votes
1answer
979 views

Gracefully Restarting Django Celery Instances

I'm wondering what the best way to restart Celery is without losing any tasks during the restart. I'm currently running it as a daemon using the init.d/ script provided with celery - everything is ...
1
vote
2answers
4k views

Issue with RHEL7 and disabling NetworkManager

Okay community, let's see if we can figure this one out, cause I'm out of answers. Where I work I am setting up a bunch of RedHat Enterprise Linux servers. There is a collection of RHEL6 and RHEL7 ...
0
votes
0answers
30 views

Update version of network manager

In shell on sever I see following error after launching several commands: Error: nmcli (1.0.0) and NetworkManager (0.9.9.1) versions don't match. Force execution using --nocheck, but the results are ...
2
votes
2answers
2k views

Linux - Create ftp account with read/write access to only 1 folder [on hold]

I have never worked on linux and dont plan on working on it either - The only command I probably know is "ls" :) I am hosting my website on Eapps and use their cpanel to setup everything so never ...
0
votes
4answers
1k views

apply back firewall after iptables flush

yesterday i got my self locked from my own server. and than i try to flush iptables from another server to get it unlocked as this question response 3 times fail then lock After that, i cannot login ...
1
vote
1answer
1k views

tap interfaces always disabled in linux bridge

I have a physical interface eth0, and I want to create two virtual interfaces and bridge them with eth0. For this purpose I do: #Create the virtual interfaces tunctl -t tap0 tunctl -t tap1 ifconfig ...
0
votes
1answer
12 views

screen -r and screen -list only show last screen

My problem is pretty much as the title describes it. I am running ssh session and on my server I screen for multitasking. My issue here is that I have at least 4 screens open and detached, but screen ...
0
votes
0answers
185 views

rpm dependency failed to install, package installed anyway

I have this issue and I would like to understand why it is like this. I have build 3 really simple rpm packages called a, b and c, and I made a independant, b depending on a and c depending on a and ...
0
votes
1answer
158 views

Linux firewalld zones logic and priority

I'm trying to understand the logic behind the Linux firwalld zones, and the way they are evaluated. To my understanding, a zone is defined as a list of interfaces and IP ranges, which allow/deny ...
0
votes
0answers
14 views

Auditing user commands with ip address

i have to set auditing system to my firm's server. Server runs Debian Wheezy. I'm working on "auditd" system on server. I have only two rule. # Log any command run on this system -a exit,always ...
-2
votes
1answer
18 views

<service-name> dead but pid file exists [on hold]

A service has crashed on my server and when I do service <service-name> status I get dead but pid file exists, then if I try to stop the service I get Shutdown <service-name>: bash: ...
0
votes
1answer
17 views

Same device, mount different partitions in different servers

I have two Linux servers which have connection to the same disk device, on a fiber channel connection (I didn't configure that, it was already there). I can see on both servers the disk showing up as ...
3
votes
0answers
35 views

Is it possible to ssh or rsync into a system whose file-system has remounted itself read-only?

I need to login to a system that went into a read-only state. I can ping it just fine but I can't ssh in anymore. Is there some special command line flag/parameter I can pass ssh that lets me login ...
-1
votes
1answer
40 views

Forwarding ports and traffic to VPN tunnel

I've installed OpenVPN on my VPS. I have one question: how to forward traffic going to that VPS to go to VPN tunnel created with my local PC. I will use TCP connection. The whole traffic will be like ...
1
vote
0answers
4 views

libexecdir in systemd .service file?

I'm deploying something to machines (internally, not for public consumption) using RPMs. Now, in RPM .spec files there's the %_libexecdir variable. The package deploys a service binary in that ...
0
votes
0answers
9 views

SFTP chroot jail not working

Trying to follow this tutorial but for Arch Linux. /etc/ssh/sshd_config: # override default of no subsystems #Subsystem sftp /usr/lib/ssh/sftp-server Subsystem sftp internal-sftp ...
6
votes
2answers
5k views

Get postfix to forward root's mail

I have an Ubuntu server running postfix. It is not the mail server for my domain. Whenever a cron job runs for root, the output mail is not delivered locally, instead it gets sent to ...
0
votes
1answer
23 views

Monitor WiFi association attempts

I'm using hostapd to create an access point and I was wondering if there's any way for me to get an output of current or recent association attempts. Ideally I'd like to see the MAC ID and any other ...
0
votes
1answer
20 views

Why does Apache need o+x permissions for a Virtual Host running under suEXEC?

Running Apache 2.4.10 on Arch Linux. I'm trying to restrict an SFTP user to only be able to access his home directory, a public folder under a vhost directory, without being able to access that vhost ...