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

MongoDB Building From Source and Versioning

I checked out "r2.6.4" from github and build it successfully(on Ubuntu 14.04 64bit). When I run mongod --version I get db version v2.6.4 2014-09-02T08:50:43.896+0300 but when I connect to the ...
1
vote
0answers
21 views

VM with 2 network cards

I have a VM with 2 network interfaces which is running CentOS. One connects to a private network (192.168.6.x) and another to our company wide network. When I try to ssh the private address from a ...
0
votes
2answers
20 views

Bash Script keeps respawning after it should die

#!/bin/bash PID=$(pidof daemon) kill $PID while ps -e | grep "[d]aemon" >> /dev/null; do sleep 30 done sh -c /root/daemon This script is set on a cronjob to kill and restart this program. It ...
8
votes
5answers
9k views

Should I be concerned about a high SMART Hardware_ECC_Recovered value?

I got such a message in /var/log/messages: Jun 25 06:29:27 server.ru smartd[4477]: Device: /dev/sda, SMART Usage Attribute: 195 Hardware_ECC_Recovered changed from 46 to 47 #smartctl -a /dev/sda: ...
1
vote
1answer
809 views

Iperf bidirectional bandwidth measurement

Server side: # iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ...
0
votes
0answers
12 views

HA router with keepalived showing unexpected traceroute

I have a couple of routers in HA using keepalived vrrp daemon under linux. Here are the addresses x.x.x.129 floating (keepalive) x.x.x.130 router1 (static) x.x.x.131 router2 (static) Something ...
-2
votes
0answers
34 views

Ubuntu server hangs and blocks out entire network

This is a very strange situation with a very general and open question asked at the end. we have a Ubuntu 12.04 server that has ran without problem for about year and a half. No fancy hardware. Just ...
-2
votes
0answers
15 views

Port forwarding lxc

I am trying to configure ssh for an LXC container with iptables port forwarding. But it is not working. The following is the result of iptables-save. *mangle :PREROUTING ACCEPT [10428:3784706] :INPUT ...
-2
votes
1answer
31 views

Find RAID controller under Linux

I have been trying to find the RAID controller for good purpose. I need to find the right driver that works with the RAID controller. I can assure you i have a raid system in my server, here is an ...
0
votes
2answers
46 views
+50

Corosync :: Restarting some resources after Lan connectivity issue

I am currently looking into corosync to build a two-node cluster. So, I've got it working fine, and it does what I want to do, which is: Lost connectivity between the two nodes gives the first node ...
-2
votes
0answers
14 views

My apache and vnc config suddenly don't work anymore (debian/mint)

Last night it worked, but this morning, all of a sudden apache2 is not working anymore, the config files seem to be overwritten, I get the following error: [FAIL] Restarting web server: apache2 ...
-3
votes
0answers
13 views

Create bootable Windows USB on CentOS 6.5 [on hold]

Any tool that works to create: Bootable Windows 7 USB Bootable Windows 8 USB on CentOS 6.5? Thanks!
6
votes
2answers
104 views

Processes hanging indefinitely when reading from network connections

An update to the below: I have experienced a similar problem on an unrelated script, on a Debian virtual machine in a different datacentre. This looks suspiciously like the issue described here (and ...
-1
votes
1answer
35 views

Deny acces to all Internet hosts except several

I'm using Ubuntu 14.04, I want to restrict access to Internet to all programs and processes. I also want to allow several hosts after that. I was trying to do that with iptables, but I could figure ...
5
votes
9answers
7k views

Bash snippet to move all files in a directory into that directory

I have a directory with lots of files and directories in it. In order to tidy it up, I'm going to put all those files into a directory, so I was going to do something like this: $ ls | wc -l 123 $ ...
0
votes
0answers
6 views

squid3 wccp2 setting up gre tunnel from squid proxy to router

I am trying to setup a gre tunnel between a squid 3.1 proxy on linux debian, and a cisco router. I want to have web requests to port 80 to pass through the proxy first. I have created a gre tunnel ...
0
votes
0answers
22 views

Sharing virtualmachines between windows and linux hosts. What filesystem do I need? [migrated]

In my current setup I'm using both Windows and Linux hosts, I've a bunch of VM in a partition and I need to use and access them from either hosts. I've tested a couple of filesystems with very poor ...
14
votes
4answers
14k views

How to copy file preserving directory path in Linux?

I have Eclipse projects and ".project" file in them, the directory structure looks like 'myProject/.project'. I want to copy these '.project' files to another directory, but I want the enclosing ...
3
votes
2answers
923 views

Is it safe to interrupt a mdadm --grow operation?

I recently changed the disks in my RAID5 from 3x2TB to 3x3TB. I also wanted to change the chunk size from default 512k to 128k. I have added all new devices to the array and I run: mdadm /dev/md1 ...
3
votes
2answers
2k views

CentOS reboot apperently with no reason

My server has restarted and I can't find a reason for this...if you have any tips on what things should I search it will be appreciated. Few info about server: - CentOS release 5.6 (Final) What I've ...
-1
votes
1answer
38 views

Routing traffic through different interfaces based on incoming IP

I am trying to setup a unique setup where I have to route traffic that's incoming to one server and have the traffic based on the incoming IP address get routed through to different interfaces and ...
3
votes
1answer
98 views

`ls` causes Segmentation Fault on a specific directory

I used $HOME/.local as prefix to install some applications without root access. There is one directory inside $HOME/.local that I can't execute ls command: [tuananh@server lib]$ ls Segmentation fault ...
0
votes
2answers
686 views

How to reload AppleFileServer without unloading it?

I am using this commands to restart my AppleFileServer for sharing. But how I can reload it, without killing, or unloading it? sudo killall DirectoryService sudo AppleFileServer sudo launchctl ...
2
votes
2answers
727 views

URL Encoding force UTF-8 in CentOS 6.4

I have a simple html website in a CentOS 6.4 server. In every html page i have set <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> I have already added in a .htaccess ...
-1
votes
0answers
21 views

How can I configure myhostname to work with postfix and Ubuntu 14.04 on Azure VM

My hostname file reads as this. virtual-machine-set hostname -f virtual-machine-set /etc/hosts reads like this 127.0.0.1 localhost 191.xxx.xx.xx myazuredomain.cloudapp.net #The following ...
3
votes
1answer
84 views

HDD is acting up, but S.M.A.R.T says everything is fine

Before I begin, a quick disclaimer. I'm basically a developer forced into a sysadmin role by circumstances, so I apologize in advance if I say something stupid or seem like I don't know what I'm ...
0
votes
0answers
17 views

XL2TPD multi LNS and individual selection by LAC

I am currently looking how xl2tpd selects the name of the "session" to start pppd. In fact I wish to establish, for example, two LNS. I'm on my own local network, the scheme is as follows, and I'm ...
-5
votes
1answer
40 views

Installing Windows over Linux on a Hetzner server

I have a remote dedicated server from Hetzner which you can usually only install Linux on, because I haven't paid the ridiculous 25 euros/month for Windows. However, they have KVM access and you can ...
-6
votes
0answers
18 views

TCP port numbers for Linux ptys?

Do devices like /dev/pts/0 and /dev/pts/1 have TCP port numbers? I'd like to talk to another terminal (via telnet or rsh, say) using (hostname, TCP port number) as coordinates.
0
votes
0answers
21 views

why did pam_tty_audit stop working?

I recently installed the following updates to my system: Upgrade: libpam-runtime:amd64 (1.1.8-3, 1.1.8-3.1), libpam0g:amd64 (1.1.8-3, 1.1.8-3.1), libpam-modules:amd64 (1.1.8-3, 1.1.8-3.1), ...
-1
votes
1answer
35 views

private network with single IP multiple servers

I am trying to set up a subnet in our company. We got several (10+) Linux servers for computing but we can only get 1 static IP (company policy, 10.x.x.x address). So the idea is to place a routing ...
2
votes
2answers
149 views

How to write rules for persistent net names?

I know that a process generates persistent network card names based on rules found in /lib/udev/rules.d/75-persistent-net-generator.rules. I also know how to completely disable this process with a ...
0
votes
2answers
954 views

Allow www-data to execute shell script

I have a shell script called boot.sh on an Ngnix server I am trying to call it via PHP, but I don't think I have permissions. How can I give www-data permission to run boot.sh - and only boot.sh ...
-2
votes
1answer
36 views

Can I configure IO error proof Linux on virtualized environment?

I believe everyone who are working on virtualized environment like Xen has experienced some sort of IO problems which lead to read only mode for guest machine. We experience same issue couple of times ...
0
votes
0answers
14 views

mdadm reattached a failed drive all by itself

I have 2 drives setup in mdadm mirroring (3 partitions on each drive). Last week the second drive (sdb) dropped out of the array because of some I/O errors I am still investigating. After a server ...
0
votes
1answer
761 views

Get WebDav uploading progress and status (Linux, davfs2)

I am using WebDAV on Linux box with davfs2 1.4.6. When I copy a file to a mounted WebDAV service, it is goes rather fast, just like a regular local drive operation. And it actually is, because the ...
0
votes
2answers
747 views

Active Directory intergration with linux users and zimbra

I have the following questions about setting an active directory, that already has users and a domain, (i.e. internaldomain.edu) and real domain (i.e mydomain.edu.), and I have seeing many examples of ...
1
vote
1answer
2k views

proftpd initial directory for each user

After successfully setting up proftpd server, i want to add initial directory for each users, i have 2 user, webadmin that can access all folder and upload that can only access upload folder ... # ...
0
votes
1answer
18 views
+50

Suse 11 Sp2 pam-config doesn't work

I try to add pam_ldap module in Suse 11 Sp1 Server 64 bit using: pam-config -a --ldap OS information: node01:~ # file $(which pam-config) /usr/sbin/pam-config: ELF 64-bit LSB executable, ...
0
votes
1answer
26 views

mpstat not displaying intr/s column

I'm on CentOS 6.5, sysstat 9.0.4.22.el6 For some reason mpstat is not displaying the intr/s column I'm running it this way, for example, and only these columns get displayed: mpstat -P ALL 1 5 ...
4
votes
1answer
53 views

Linux as router - How can I determine which route to use (depends on different source addresses)

I have a Linux server and I used it as a router, which has two network interfaces. I use eth0(10.76.8.60/24, 10.76.8.50/24, router: 10.76.8.1) to connect to the network, and eth1(192.168.1.1/24) ...
0
votes
1answer
33 views

Site to site ssh tunnel

I have two virtual environment at different locations, and I want to set up site to site ssh tunnel for contact between those networks. I have configured the ssh tunnel on both sides with routes to ...
-1
votes
0answers
14 views

TCPv6: Possible SYN flooding on port … . Dropping request - how to change limit?

TCPv6: Possible SYN flooding on port ... . Dropping request My server is dropping legit connections. It is not a publicly reachable server and it supposed to handle a LOT of ipv6 connection from my ...
0
votes
0answers
5 views

Sporadic packet loss through RT-N65U router with cable Internet [migrated]

My setup looks like this: TM902S (EuroDOCSIS 3.0 cable modem) <-> RT-N65U router <-> several computers in LAN The router is running this firmware with a custom traffic shaping script. The ...
-4
votes
2answers
50 views

Error MySQL CentOS - Starting MySQLCouldn't find MySQL server

I can not make any operation in mysql: root@server2 [/]# /etc/init.d/mysql status MySQL is not running, but lock file (/var/lock/subsys/mysql[FAILED] root@server2 [/]# /etc/init.d/mysql start ...
72
votes
2answers
26k views

Why does my hostname appear with the address 127.0.1.1 rather than 127.0.0.1 in /etc/hosts?

This may be a bit of a noobish question, but I was taking a look at /etc/hosts on my new Xubuntu install and saw this: 127.0.0.1 localhost 127.0.1.1 myhostname On most 'nixes I've used, the second ...
0
votes
1answer
55 views

Nothing is written in php5-fpm.log

I have two servers which is Ubuntu 12.04 and Ubuntu 14.04. When I use Ubuntu 14.04 in my new server and enabled the php-fpm log file found under /etc/php5/fpm/php-fpm.conf that reads as follows: ...
1
vote
0answers
52 views

Client successfully connects to OpenVPN server but with no internet access over the VPN

I'm trying to setup OpenVPN with static key authentication(instead of TLS) on TCP port 443; but the client cannot access the internet over the VPN after connecting to the server. Here's my current ...
-1
votes
1answer
27 views

auto remount read only filesystem

We have an Ubuntu Server 12.04 LTS running on Xen. I believe we had a disk problem and Ubuntu switched to read only mode for partition "/". However the disk problem was just for a second and other ...
3
votes
1answer
19k views

can high load cause server hang and error “blocked for more than 120 seconds”?

Currently running a few VM's and 'baremetal' servers. Java is running on high - over 400%+ at times. Randomly the server hangs with the error in the console "java - blocked for more than 120 seconds" ...