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

learn more… | top users | synonyms (1)

1
vote
0answers
17 views

Can't connect to a socket file, despite being owner?

I am working on Debian Jessie with Django 1.8, trying to set up Gunicorn to run my Django site. I have made a user called opuser, and made this user the owner of the gunicorn.sock file and of the ...
3
votes
2answers
71 views

Linux: Why does the CPU frequency fluctuate when using the performance governor?

I'm using a Debian 8 amd64 machine for benchmarking. During experimentation, I would like the CPU to operate at a fixed frequency (preferably the maximum possible). This will rule out the CPU clock ...
77
votes
6answers
80k views

Can I automatically add a new host to known_hosts?

Here's my situation: I'm setting up a test harness that will, from a central client, launch a number of virtual machine instances and then execute commands on them via ssh. The virtual machines will ...
1
vote
1answer
41 views

gzip select directories into separate archives

How would I go about compressing a list of directories into separate archives? I have read solutions that just archive all the directories within a given dir, but there are some I want to skip. ...
3
votes
3answers
4k views

MySQL Table not repairing

Table info: Database name: user_motiva Table name: wp_options.frm wp_options.MYD wp_options.MYI wp_options.TMD when I do a mysqlcheck -r --all-databases it gets hung on that table even if you ...
0
votes
1answer
18 views

Unable to log into a rsyslog filter using logger

Ubuntu 64 14.04 comes with rsyslog (7) built-in. I've added test.conf to /etc/rsyslog.d with the following line: :syslogtag,isequal,"test" /var/log/test.log I then restart rsyslog and log ...
0
votes
0answers
9 views

ProFTPD server - SFTP only for 1 user

We have an FTP server setup using ProFTPD and CentOS, ProFTPD has been setup with FTP, FTPS, FTPES and SFTP access. We have a user who only wants to allow access to their account via SFTP. Is there ...
2
votes
3answers
951 views

monitoring switches with Nagios

I'm trying to monitoring switch with Nagios. I had made everything like in this tutorial, but I'm getting Status Information in Nagios browser window like this: (Return code of 127 is out of bounds - ...
0
votes
1answer
5k views

How to set up server/domain name correctly in hosts file with HTTPS

I am trying to setup a local network and I am using these kind of types of network. Main server which connects to internet with static IP Second computer connected to first one locally with address ...
1
vote
1answer
431 views

/proc/loadavg shows incorrect huge values

On a shared web server I have a strange readings in /proc/loadavg: # cat /proc/loadavg 2145237816.60 2145245358.02 2145270263.79 10/1409 410568 The load is in fact normal and server is very ...
-4
votes
0answers
13 views

How to installing a build Ceph

I insert my code to ceph project and I want to compile and install it on my server. I know command to build and install them but I don't know what I have to do first before make install , Because in ...
0
votes
0answers
10 views

PHP Cannot Write to Directory the Process User Owns (Fedora LEMP)

I am having a permission issue with PHP running on a Fedora 22 LEMP install. PHP cannot write to a directory owned by user 'nginx' in the group 'nginx' with permissions of '744'. The PHP FPM socket ...
1
vote
1answer
3k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
20
votes
6answers
49k views

how can I schedule a reboot in Linux?

I'm new in Linux and I want to schedule a reboot at midnight. How should I do it? Edits: I'm sorry I didn't put the complete details. I want a reboot every 3rd Saturday of the month at 23:30. I ...
0
votes
1answer
9 views

Log in to a single LUN of a target with iscsiadm (open-iscsi)?

Is it possible to connect to only a single LUN of an iscsi target when using iscsiadm? I have a target like "iqn.0000-00.iscsi.foo:bar" this target has 1000 LUN's. If I do iscsiadm -m node -l -T ...
5
votes
2answers
12k views

IPTables and DHCP questions?

On my other thread I was talking about some interesting things about the iptables policy and states, now I would like to understand more about how the DHCP works and how iptables understands it. ETH0 ...
-5
votes
1answer
20 views

Webdomain on my static public IP [on hold]

I want to create a web server using Ubuntu Server, so I have installed Apache php Sql ecc. Now I want to permit to visit my site on internet and I have token a static public Ip, but I want to have ...
6
votes
2answers
118 views

Preventing specific folder deletion in CentOS

I have a CentOS server running PureFTPd with multiple virtual users mapping to a single system user. Each of these virtual users gets chrooted to a directory corresponding to their username. The ...
2
votes
2answers
27 views

Can idle NFS mounts on several clients impact performance

We had a NFS server at work which was working with slight lag. However as more mount points were getting created at several clients(serviced by the same server) we noticed the performance coming to a ...
0
votes
1answer
23 views

Postgres /root": Permission denied

why on ubuntu 14.10 every time that i try to start the postgres on: sudo -p 'sudo password: ' -u postgres /usr/lib/postgresql/9.4/bin/initdb -D /mnt/postgresql/9.4/data show this: could not ...
20
votes
2answers
16k views

SSL Certificate Location on UNIX/Linux

Is there any standard or convention for where SSL certificates and associated private keys should go on the UNIX/Linux filesystem? Thanks.
-2
votes
1answer
39 views

Linux check availability [on hold]

How can I do an infinite ping to a server, and when the server is down put the server IP in the server where i'm running the program? Is it possble with a while?
0
votes
1answer
19 views

network link aggregation centos7 issue

I cannot ping/connect to "Team device IP". Below are steps I took to create link aggregation on Centos7.The slave ethernet are up and i can ping successfully before .what am i missting here? # nmcli ...
-2
votes
0answers
11 views

How to block extension files in pfsense without using squid and squid guard? [on hold]

I want to block all extensions like tar,gz,exe in PFsense without using squid and squid guard.
1
vote
0answers
10 views

Why does ausearch skip entries?

I am trying to use the ausearch tool search my auditd logs for specific entries. The problem is that most of the entries in audit.log appear to be unsearchable. Searching with matching parameters ...
0
votes
0answers
22 views

CentOS 6.7 VM missing “Committed_AS” line in /proc/meminfo

The system is a virtual machine, and cat /proc/meminfo is missing the "Committed_AS" line which causes the some application processes to fail. [root@node1 ~]# more /etc/centos-release CentOS ...
1
vote
2answers
779 views

squid reply_body_max_size not working

I have been tasked to limit bandwidth consumption. I have setup squid as a transparent proxy and am blocking various content types i.e video, x-flv... The content type acl's seems to work fine. I have ...
1
vote
1answer
1k views

How to reset a tcp connection immediately on both ends on a certain condition using linux netfilter/iptables?

Dear Serverfault community, I have the following problem: I need to reset (disconnect) tcp connections on both network sides immediately if a certain string is encountered in the packet data. I don't ...
2
votes
1answer
2k views

ubuntu server no audio output

I need to deploy linux ubuntu servers (no desktop) with the ability to play audio files from command line. After installing the ubuntu 12.04 server edition I installed: sudo apt-get install ...
0
votes
2answers
35 views

Linux's /etc/init.d - symlink, hard link, or actual file?

I have a Debian and an RPM package that requires a start/stop script to be added to the /etc/init.d directory. Recently, I was informed by a remote developer that "those in the know" know that "best ...
0
votes
0answers
8 views

keepalived VRRP_script not failing over

So I am running keepalived on two servers and I can't get it to failover to the other. Below I have my config for one of the servers. The only different between the two is the priority numbers master ...
1
vote
0answers
20 views

Public Key Pinning and subdomains [on hold]

Shortly I have intend to install new webserver and I'd like to secure users a little bit more. I already have domain, (virtual) server and everything else that matters when configuring a server. ...
-1
votes
0answers
25 views

error trying to install CentOS 7 and remove windows 8.1 [on hold]

I have a USB boot stick that I am trying to use to install CentOS 7 and also completely remove windows 8.1 from a computer. I pressed del to enter setup and then navigated to the boot options, and ...
0
votes
1answer
17 views

PowerMTA Not starting

I have recently installed PowerMTA server on CentOS 6, every prerequisite was installed according to Document and License was entered in correctly configuration file was also correctly setup in ...
2
votes
1answer
2k views

Windows Server 2008 x86 Services for Unix SDK (SUA) RSH

Running RSH commands on a Windows box against a Linux box works only for the administrator user. Is there a file somewhere that has a list of users that can run commands remotely? More Info The ...
0
votes
2answers
51 views

Bash move and rename folders

I have a bunch of folders like that: Team A - Folder 01/ Team A - Folder 02/ Team B - 14-12-2003 - Folder XX/ Team B - 21-03-2008 - Folder YY/ ... With the passing time, this list have became very ...
0
votes
0answers
10 views

autofs runs under root user and not as the local logged in user

I had described in this answer a solution how to use automount / autofs for mounting net drives with different credentials depending on the logged in user. To do that I can use ${HOME} like this: ABC ...
0
votes
2answers
33 views

Trying to access port 3306 (only using it locally)

I am trying to open port 3306 on my archlinux distro. I've tried multiple different iptables settings, but I can't seem to get it to work. (Locally) Here's my current iptables setting: Chain INPUT ...
-3
votes
2answers
25 views

Child proc in highload

I need to know why this child proc is using 208% of my CPU. I think it would be a good idea to find the pathname of it. Do you have any idea how to find it? 4910 root 20 0 9691M 2006M 7924 R 208. ...
1
vote
1answer
3k 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) ...
-1
votes
1answer
33 views

How to I configure CentOS command sudo su with a password

I have disable accessibility on my CentOS server by using given username and password, I allow them to access server by using Public Key instead, but I noticed that every account can change to root ...
2
votes
9answers
3k views

cpu utilization over 100% in linux system

In one of our production Linux servers, CPU utilization is crossing 100 % and sometimes it is 250%. How can I find which process is using more CPU utilization and where can I find CPU utilization ...
2
votes
3answers
2k views

DNAT to 127.0.0.1 with iptables / Destination access control for transparent SOCKS proxy

I have a server running on my local network that acts as a router for the computers in my network. I want to achieve now that outgoing TCP requests to certain IP addresses are tunnelled through an SSH ...
0
votes
0answers
21 views

forward arp packets as vlan tagged arp packets

How can i forward arp packets as vlan tagged arp packets? e.g. arp packet (no vlan tag) -> eth1 -> eth2.1 -> arp packet (with vlan tag) With the following setup, the outgoing arp packets (on eth2.1) ...
2
votes
3answers
59 views

Scaling beyond 65k open files (TCP connections)

I have a requirement for my Ubuntu 14.04.3 LTS server to have >65k clients connected to it via TCP. Although I have memory & cpu to spare I'm unable to get more than 65k clients to connect. I ...
1
vote
1answer
1k views

NFSv3 + ACL: mask is gone on clients

I'm sharing a NFS folder among a user group. The default umask on the clients is 0700, and this is a problem because newly created files won't be readable/writable by another users. So, I'm using ...
0
votes
0answers
23 views

What is means in tc “Unparsable filter ID ”2:“”

I wrote a shell script for limit upload speed by tc and cgroup. #!/bin/bash -x mkdir -p /cgroup/imagecenter mount -t cgroup -o net_cls image_net /cgroup/imagecenter/ mkdir -p ...
-3
votes
2answers
38 views

How Do I resize a partition? [on hold]

I have the following FIle system setup currently. I need as much room as i can get in ./home. root@Jm2:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/md1 20G 7.6G 11G 42% ...
-4
votes
0answers
14 views

LEMP Setup on CentOS at DigitalOcean [on hold]

I'm following this tutorial. I got some issues start from step four: Configure Nginx to Process PHP Pages. After I typed this $ sudo vi /etc/nginx/conf.d/default.conf. I can't find server { listen ...
5
votes
2answers
5k views

What is creating the generated/autoconf.h?

We're trying to build a piece of software that demands the kernel source, not just the headers. So we downloaded the kernel source via the centos src rpm. However the autoconf.h is missing. We tried ...