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
1answer
37 views

How to use pNFS in NFSv4.1

As I know, pNFS is an extended protocol over NFSv4.1. So, I have two questions: How to use pNFS in NFSv4.1? Is there any special requirement for kernel version in server side?
3
votes
3answers
1k views

How to use cursor keys in vi under screen?

If you run vi/vim in screen, when you press a cursor in insert mode, you get a new line + a character, which is a pain. How can I configure vim to move around instead?
1
vote
0answers
18 views

Chef Server opscode-reporting with wrong Postgresql credentials

I'm using Chef 12.5.0 and I recently discoverd that after an update the reporting isn't working anymore. So I executed: opscode-reporting-ctl reconfigure and got the following error: FATAL: ...
1
vote
1answer
1k views

Debugging frozen Gnu screen session?

We've been using GNU screen on our jump box to have ssh sessions open to multiple hosts within our private network. One window per host. Recently we've built a new environment and are experiencing ...
0
votes
1answer
56 views

Connection refused to local port

I'm trying to setup a dedicated server for Rust (a game) on an AWS EC2 VPC instance running Ubuntu 14.04 64-bit. Following the instructions, I got the application started and listening on its default ...
0
votes
2answers
2k views

Samba default permissions not respected

I'm almost ready to tear my hair off (At least i have a decent amount of it :P) I built a Ubuntu 11.04 box at work for all the development team to work on it. Everything working fine so far but there ...
4
votes
1answer
4k views

Fresh Proxmox VE 2.1 installation with defaults can't be reached or pinged

I am using the lastest Proxmox VE 2.1. My server has two NICS with a uplink only connected into eth0. My Server is a co-located server utilizing public IPv4 IPs. It is not behind a firewall or any ...
-2
votes
1answer
88 views

top: sy higher than 70: What is going on here?

From the man page of top: sy: time running kernel processes The sy-value has peaks with values above 50, and then goes down to about 5 again. What could be the root of it? Here are two ...
0
votes
2answers
29 views

Apache returns empty response and must restart

I have the classical LAMP configuration on several servers, on one server I can frequently see Apache returned an empty error. I have PHP-FPM running to serve .php file, static pages like .html is ...
-1
votes
1answer
25 views

How can I only allow TCP connections for 1 port using iptables on Unbantu? How can I also set a maximum packet on a connection?

I'm running a server for public. I just want to allow TCP connections and I want to limit the packet to prevent ddosing a bit and setting a maximum IP/new connections per seconds with iptables. How ...
0
votes
2answers
611 views

serial port forwarding/virtualisation?

I have a python script(UBUNTU) reading and writing info from local serial port. It works fine! What if instead of using the local serial port, I want to use another machine serial port, remotely? ...
-1
votes
1answer
45 views

Linux SSH abnormal activity

I found an IP 192.168.1.100 accessed to localhost with public key successfully for 38204 times within two weeks. I checked secure file for more detail about this IP. This client logged in for every ...
1
vote
2answers
92 views

Failed to start MariaDB database server

Since / partition is only 50G, and my data is larger than that. And there are 500G space in /home. So, I move all the data of MySQL into /home. The following are my steps(under root account): shout ...
1
vote
0answers
107 views

SSL/TLS certificate OpenMediaVault [closed]

Please help me configurate FTP acess to OpenMediaVault server. I dont know how to enable certeficate. When try to acess via Total Commander, get next error: "2:500 Illegal PORT command".
0
votes
3answers
1k views

How many subdirectories does the XFS filesystem support within a given directory?

EXT3 supports 32,000 subdirectories. EXT4 supports 64,000... I've read about people having millions of subdirectories on the XFS filesystem, but can't find an exact value referenced anywhere. How ...
1
vote
0answers
24 views

ifconfig output different for non-root user

we use a montoring system to capture network traffic. the output as root user is fine: eth0 Link encap:Ethernet HWaddr 00:1E:67:E6:D6:FE inet addr:149.56.19.13 Bcast:149.56.19.255 ...
-6
votes
1answer
58 views

Someone else domain is pointed to my IP [closed]

I've just done a routine reverse IP check. And saw that 2 domains are pointing to my IP. This is getting me really worried, as I was told they could be preparing to attack my server. What exactly ...
2
votes
3answers
84 views

What does -P INPUT ACCEPT mean with regards to iptables?

I'm fairly new to iptables, and am trying to figure out if I've configured my ruleset appropriately. With regards to the -P INPUT ACCEPT part of my question, I am trying to determine if this is valid ...
0
votes
2answers
1k views

Intel Corporation 82540EP NIC and “rx_missed_errors” at 140Mbps

I have an Intel Corporation 82540EP Gigabit Ethernet Controller which uses module e1000 version 7.3.21-k8-NAPI. While it is a GigE NIC, I receive "rx_missed_errors"(ethtool -S eth0) already in case of ...
17
votes
5answers
8k views

Is there a way to get Cache Hit/Miss ratios for block devices in Linux?

Is it possible to see in Linux how many read and write requests from user space end up causing cache hits and misses for block devices?
3
votes
2answers
4k views

ip static route, make changes permanent/persistent upon reboot

On CentOS 5 I manually added a static route to make all packets to one specific IP address use the second network interface: ip route add 123.456.7.89/32 via 192.168.10.101 dev eth1 Is there a way ...
2
votes
2answers
44 views

Check if iptables rules are working

I have three virtualboxs. 1) Virtual machine VM-A that works as a router with two interfaces: eth0 - 10.160.10.254 eth1 - 172.10.0.254 2) Virtual machine VM-B that works as an internal network ...
1
vote
3answers
3k views

Disable user_deny.db in Cyrus/imapd

We have a cyrus 2.4.12 on Debian, we use packages, rather than building each software ourselves. I am getting the this "log" constantly, a lot of, various users, and 8-10 times per user request: ...
1
vote
1answer
24 views

dd: zero-out all the remaining unused space of a drive

In the second answer of this question about disk cloning with 'dd', I read this command: dd if=/dev/zero of=/mnt/hdb/zero It is supposed to write '0' in the unused space of drive 'hdb', however I ...
1
vote
0answers
53 views

samba4: session setup failed: NT_STATUS_UNSUCCESSFUL

I am having trouble with my samba4 installation. For a long time it has been working without issue. I use webmin to configure users and although the module is only supposed to support samba3 it works ...
4
votes
2answers
2k views

OpenVPN bypass on some ports

I have a server running Debian 7 and I would like to connect to a VPN and let all the traffic pass via the VPN except for some ports (SSH, hosted websites, etc). I've searched for some time now in ...
1
vote
2answers
33 views

Make user or group own port

In some situations a web application will talk to clients through a reverse proxy (e.g. Apache with mod_proxy) where the reverse proxy is listening on port 80 and the web application is listening on a ...
0
votes
0answers
64 views

ssh to ubuntu system works but putty to same system does not

I have a Ubuntu linux box. Putty to it used to work. after upgrading to Ubuntu 15.10 I can no longer use putty to access the system. When I try to access it with Putty it just hangs. But if I access ...
0
votes
1answer
1k views

CentOS 6 init script doesn't work properly

I'm setting up my ruby production server based on CentOS 6. I need a process called god (which is a process monitoring tool) to start at boot. I'm using an init script that I found here. Just as ...
1
vote
2answers
3k views

Problem with apache + ssl: length mismatch error and ocasional bad request

we migrated a server from slicehost to linode recently, we copied the config from one server to the other. Everything works perfectly except that we get: Occasional errors with "Bad Request", this ...
1
vote
4answers
1k views

Samba - permission issue

I am trying to get samba to work properly... I have a "Movies" share (//server/Movies), I want only root account to be able to upload and delete. Guest can view "Movies" share without password/login ...
0
votes
2answers
287 views

Rewrite sh script for freebsd

I have an sh script: #!/bin/bash fullpath="$1" filename="${fullpath##*/}" dir="${fullpath:0:${#fullpath} - ${#filename}}" base="${filename%.[^.]*}" ext="${filename:${#base} + 1}" if [ -f ...
1
vote
1answer
1k views

Error in osm data data import while nominatim installation

I am doing nominatim installation on my server. I run the following command ./utils/setup.php --osm-file /usr/share/osm2pgsql/planetfile/planet-latest.osm.pbf --all to import the pbf file and Few ...
1
vote
1answer
44 views

No disks visible behind SAS Expander

I'm trying to hook up an Infortrend SAS shelf and I have a big issues to get the disks visible. The shelf is connected via a LSI Logic SAS1068E B3 HBA with current IT firmware, and 2 SAS cables. The ...
49
votes
7answers
37k views

Allow SFTP but disallow SSH?

I'm starting a very little hosting company for a few friends and little clients, nothing big. I want to give my "clients" the right to manage their files on the server. I hate FTP as it is not secure ...
0
votes
0answers
8 views

Joomla 3.5 VServer write

I am using Joomla 3.5.1 and copied it from my existing Hosting to my new Vserver. I can access the /administrator login etc. also the frontend looks nice. I wanted to upload an extension (I corrected ...
0
votes
1answer
28 views

Nginx: Map URL to different path

I would like to have my server serve files from a different path to the specific url. Example: www.domain.com/some_catchy_name/image.jpg should serve file from ...
0
votes
1answer
21 views

How to suppress file output from aws s3 ls?

I am using the aws cli to summarize the number of files and the total size of an s3 bucket using the following command (documentation): aws s3 ls s3://mybucket --recursive --human-readable ...
0
votes
1answer
1k views

Logstash: Failed to flush outgoing items

First of all, I'm a total newbie to logstash. Despite the fact that I've managed to achieve some basic logging (trying to parse an apache log file without the build in COMBINEDAPACHELOG). However, I ...
1
vote
1answer
69 views

open-iscsi initiator on linux does not see the passive side of an active/passive open-e target

I have a Linux server running SLES11 SP4 which uses open-iscsi and multipathing to connect to a LUN that is presented from an Open-E DSS v7 storage cluster with active/passive failover. The Linux ...
0
votes
2answers
1k views

Traceroute doesn't reach gateway

i have problem with my opensuse 11.3 network. So, i've assigned ip 192.168.137.2 to it, and another computer (win7) with ip 192.168.137.1 On the opensuse, the gateway is the 192.168.137.1. and the ...
1
vote
1answer
1k views

Ubuntu Server 14.04LTS Swappiness for server with 16GB memory

(don't worry I'm not asking what my setting should be, asking for the theory behind some conflicting advice I've read) My application is one that is lightweight and not under much load, but needs to ...
0
votes
1answer
39 views

Running LAN services on a router/firewall [on hold]

So I work in a company where we have a linux machine acting as a router/firewall, and I like all the control you get in this kind of setup compared to having a consumer grade router that ISPs usually ...
0
votes
1answer
1k views

can not install glibc-devel 'Requires: libnss_files.so.2' error

I'm using Linux 6.1 I need to install glibc-devel but it fails with this error. [root@server1 Packages]# yum install glibc-devel-2.12-1.25.el6.i686.rpm Loaded plugins: refresh-packagekit Setting up ...
2
votes
3answers
89 views

How to limit memory for a service managed by systemd

I am aware of ulimit and I know how to limit memory for a process that I explicitly start, or start using a script. But in this case I have a service that is managed and launched by systemd. How can ...
2
votes
1answer
37 views

LDAP Remote Login Logs

How would I log who authenticated against my ldap system on Linux in my lab? I have a lab with several workstations, and one server running openldap. I would like to have similar functionality as with ...
6
votes
3answers
5k views

How to enforce sender address to be “logged-in-user@example.org” in Postfix?

I have set up a Postfix server with SMTP AUTH (STARTTLS on port 587). All my users are in the domain "example.org". I want to enforce the sender address to be "logged-in-user@example.org". I learned ...
0
votes
1answer
1k views

Mod_cache is not logging or caching

Apache 2.2 on RedHat 6.3. I have a virtual host that is setup like so: <VirtualHost xxx.xxx.xxx.xxx:80> ServerAdmin some@email.com DocumentRoot /home/xxxxx/Sites/xxxxxxx.com/htdocs ServerName ...
0
votes
0answers
10 views

How to make a local interface, accept a packet that's coming from another local interface which is destined to the first one

before starting, let me say that I'm not talking about ip forwarding. ip forwarding is enabled and working. My problem despite being hard to explain in one sentence, is rather simple, and yet it seems ...
1
vote
3answers
3k views

Cant find my harddrives in ubuntu installation?

I was trying to setup a Microserver with two 1TB harddrives as a software RAID. Somehow it didnt work and now ubuntu 14.04 is not starting. My problem is that I dont see the drives anymore when I go ...