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
vote
1answer
21 views

I have a Linux VHD with multiple partitions on it. How do I mount them ALL and migrate to Hyper-V?

I have a Linux-VHD that I pulled from from Azure. The VHD has partitions for os, sdc1, sdd1 and sde1 (4 Part). The files I want to recover are on one main partition for Hyper-V. How do I mount and ...
0
votes
1answer
35 views

How to make Thunderbird use Exim4 as SMTP?

I have one Exim4 server, and I configured it followed this website: https://technpol.wordpress.com/2013/03/09/part-three-configuring-exim-to-accept-and-deliver-mail-and-for-secure-outbound-smtp-mail/ ...
0
votes
1answer
27 views

Fix program freeze with ram

I'm using program with small bug. It's closed - source, so i cant change it code. It's very good for what its doing, and there is no apps like that one. So i can't use other programs. But that ...
3
votes
1answer
123 views

VMXNET3 nic loses the ability to update ARP table after N hours

I have a fedora 18 VM that stops updating the arp table on eth1 after running for a number of hours to days. There are other VMs on the same hypervisor that can access all of the same networks without ...
3
votes
0answers
199 views

TCP connection stuck in SYN_RECV state despite ACK received

My client and server are both internal machines. tcpdump on both client and server show all three parts of handshake are communicated, however netstat on server shows SYN_RECV, and on client shows ...
36
votes
5answers
16k 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 ...
7
votes
4answers
8k views

EPEL Repo for CentOS 6 causing error

I've got a VM running CentOS 6 (64bit) and I'm attempting to add the EPEL repo like usual to install various packages as I do quite regularly. Today, I'm experiencing some strange errors yet I'm ...
3
votes
2answers
1k views

Why is Linux kdump not writing to /var/crash?

It's happened again! I have 4 servers which are crashing periodically, and there is no information printed to the system logs or the serial console. In addition, the Linux kdump service isn't writing ...
0
votes
2answers
486 views

Running Mathematica-5 remotely

I have Mathematica 5 - a powerful CAS. I have a cheap netbook (running Windows XP), wich not only is too slow to run mathmatica on, I doubt it has the harddrive space. I do however have remote access ...
0
votes
0answers
7 views

SolusVM KVM-Virtualisation: Add IPs from multiple Subnets to VPS

I would like to add IPs from different networks to my SolusVM-KVM-Virtualisation. The virtualisation is working fine and is accessible via 81.95.3.xxx. But other IPs I added (82.199.134.xxx) are not ...
13
votes
2answers
10k views

Effects of configuring vm.overcommit_memory

My VPS web server running on CentOS 5.4 (Linux kernel 2.6.16.33-xenU) irregularly (like once a month give or take a few weeks) becomes unresponsive due to oom-killer kicking in. Monitoring of the ...
-1
votes
0answers
20 views

How to run command after receiving email in Exim 4? [duplicate]

i want to ask how to run command everytime new mail has been delivered to vmail and include email sender and receiver in the command like: php ...
-2
votes
0answers
30 views

Run command after receiving mail in Exim 4 [duplicate]

i want to ask how to run command everytime new mail has been delivered to vmail and include email sender and receiver in the command like: php ...
-7
votes
1answer
46 views

Trying to understand linux script [on hold]

I have this Linux script I found and I'm trying to understand it. Could someone please help me to understand it. The script if [ ! -d "/home/ftp/$PAM_USER" ]; then /bin/su - ftp -s /bin/sh -c ...
1
vote
0answers
14 views

Rsync does not delete destination files [rsync protocol / module]

An automatic backup script executes the following rsync command to sync a local directory tree with a remote one: env RSYNC_PASSWORD=$rsync_password rsync -aqrxz --delete --timeout=30 \ ...
1
vote
5answers
8k views

Linux - How to figure out what harddrives are attached?

So I have a server that has a few harddrives in it, all formatted and mounted. However I'm told there is another drive attached to it. How do I find out what drives are attached? How do I find out the ...
2
votes
1answer
69 views

Ubuntu 12.04.2 LTS Server - Randomly hangs with no logging

My server randomly hangs and becomes unresponsive without any logging (dmesg, syslog, kern.log, boot.log, and messages). I cannot predict when it is going to happen. Sometimes the server runs fine for ...
2
votes
1answer
3k views

ping works but ssh fails

machine1 IP: 172.30.11.119 machine2 IP: 172.30.11.120 machine3 IP: 172.30.11.121 machine4 IP: 172.30.11.122 Note: These machines are connected to LAN. I have configured the static ...
-3
votes
0answers
27 views

Server running, but can't connect with WinSCP, Putty or Total Commander [on hold]

My server is running, I can connect with HTTP, but not with WinSCP, Putty or Total Commander. It shows "Server unexpectedly closed network connection". (I can control the server and enter shell with ...
-1
votes
0answers
35 views

3ware array limited to 6TB in linux

I have a server with a 9650SE-24M8 in it. which has a 7x2TB drive RAID5 array. tw-cli shows the following: Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ...
-2
votes
0answers
21 views

linux dont ping the server where as windows does with the same configuration [on hold]

I have a gateway local IP 192.168.2.1, this gateway has a built in DNS server in it and is having authentication and authorization module for data restriction. Every request from the whole network ...
1
vote
1answer
31 views

How to set number of inodes during initial Centos 6 ext4 install?

There are similar questions, but nothing that was exactly on par with what I am inquiring. Completely fresh install of Centos 6, the server is setup with a BIOS RAID 1. I'm trying to set the number of ...
0
votes
1answer
29 views

Safest way to allow a user to write in www directory?

I mean allowing a user to modify the web files in the server. Should I change the ownership of the www directory to a certain user, or put it in a new group and give write permission, or something ...
3
votes
1answer
169 views

ping: sendmsg: Operation not permitted (sometimes)

On a Ubuntu 14.04 running Haproxy, after a service haproxy reload, Haproxy is suddenly reporting all servers behind it as down. After some digging around, I noticed that ping is not working properly, ...
1
vote
1answer
3k 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
350 views

smtp auth with postfix reject with error 'need fully-qualified hostname'

I have some kind of a problem with a mail server consist of postfix + dovecot + roundcube on a debian squeeze. Sending and receiving mail from roundcube workd perfectly. But I can't send mail from an ...
2
votes
3answers
1k views

apcupsd slave client keeps loosing and restoring communications with UPS master

On a VMWare ESXI 5.0.0 (vSphere Hypervisor - the free version) I have three server images. All running CentOS 6 - Linux. All are configured to run the apcupsd ( http://www.apcupsd.org/ ) daemon for ...
3
votes
2answers
34 views

Linux: What application is using my ram cache

I am wondering if I can see which application is using my ram buffer and cache. Also is there any time specified in kernel, when data is dropped from cache. My Ram is being full used by buffer and ...
3
votes
1answer
2k views

Windows 7 Samba issue

We have a strange samba issue affecting only one user. Our samba setup is as follow : Red Hat Enterprise Linux Server release 5.4 (Tikanga) - Samba Server Samba version 3.0.33-3.14.el5 ...
1
vote
1answer
27 views

how to meter an SSH network usage?

It may be a simple question, but how can I see how much bandwidth an SSH connection, in Unix and Linux, has consumed since the login time until the SSH session is terminated (logged out)? Thanks, ...
1
vote
3answers
2k views

Tomcat: how to change location of manager and host-manager to a subdirectory

I'm running a Tomcat 6.0.28 at port 8080 in a Debian Squeeze box. I'm a newbie in tomcat. I would like to change the location of manager and host-manager applications. That is, instead of going to: ...
0
votes
0answers
16 views

How to setup Linux DNS server for Azure VMs in virtual network?

I'm trying to use Linux Bind9 to set up a DNS server for my Azure VMs in virtual network. I got one web server and one mail server. My goal is making GoDaddy connect to my own DNS server, and redirect ...
1
vote
0answers
12 views

How to restore redmine on an ubuntu server after a dist-upgrade?

I just became a new admin on a server (ubuntu-server virtual machine) that host redmine on apache2 and subversion in my company. I discovered that the OS is Ubuntu Raring 13.04 that is out of date ...
4
votes
2answers
947 views

Serial Over Lan doesn't redirect OS terminal

I'm trying to create a monitoring system for a remote machine using an IPMI Serial Over Lan (SOL) console. The remote OS is RHEL 6, the mobo manufacturer is Supermicro. I've successfully enabled SOL ...
2
votes
1answer
41 views

Limit su attempts

Is there a way to limit the number of su attempts from a user? For example, malicious user gets into a user login that has su access. Repeatedly runs su to try to gain superuser access. This ...
1
vote
1answer
15 views

Nginx - opens the 1st project when a non existing server name is typed

I have an nginx server running that has multiple projects inside the sites-enabled. The problem comes when trying to access and nonexistent project url, nginx will render the 1st available. Example, ...
-4
votes
0answers
19 views

Linux domain name and FQDN [on hold]

I am beginner in Linux and Networks. My question is very weird I know, but I could not find answers on internet. Okay, so I want to send e-mail from my laptop to my gmail account. I am using Postfix ...
0
votes
0answers
18 views

Web server opens old index file in a strange way

PC: Old desktop PC, OS: Ubuntu LTS (latest), Web Server: Using Apache (latest), FTP: Gadmin PROFTPD, DNS: Using NOIP, Also using the NOIP dynamic update client, in my var/www/html I kept an ...
0
votes
2answers
16 views

Creating a log file inside a script works when manually run, but not when run through cron

I'm using Percona's Xtrabackup tools to back up a database nightly. I wrote a wrapper script to keep the proper number of backups around, write the output to a log file, and email the log file if the ...
2
votes
1answer
1k views

logrotate is not executing custom shell script in postrotate

I have following logrotate configuration file /home/application/*/shared/log/*.log { daily rotate 10 missingok nocompress notifempty copytruncate sharedscripts postrotate echo ...
0
votes
0answers
7 views

openssl 1.0.1x Red Hat make errors - ec_asn1.o - ec_asn1.c:201: error: expected expression before 'X9_62_PENTANOMIAL' [migrated]

I am trying to install a separate version of openssl 1.0.1k to red hat. I tried on Centos first with no real issues. Before getting to this error I did the following: yum install -y libxml2 ...
1
vote
2answers
580 views

How to use ssh to copy a file multiple hops with agent forwarding?

I have a group of servers all properly configured with SSH agent forwarding. It is a typical bastion server style configuration where the only machine you can connect to from the outside is server A. ...
0
votes
1answer
23 views

Running multiple ubuntu (or other distro) inside Docker containers on CoreOS, is this efficient?

From what I have read I believe CoreOS to be a bare-bones Linux distribution which essentially facilitates running Docker containers that contain any applications or services that you require. From ...
-5
votes
0answers
22 views

which email software do I need to install [on hold]

I am in the process of building an event management system. Part of the system is going to be sending emails. What should I use to send emails and would give me proper control and monitoring ...
0
votes
1answer
27 views

How to avoid GRUB errors after runing apt-get upgrade - ubunut

I'm running ubuntu 14.04 on an EC2 After running apt-get upgrade I'm prompted with a screen that asks me to reinstall GRUB boot loader The GRUB boot loader was previously installed to a disk ...
0
votes
0answers
23 views

As a user with a home server, is it particularly bad or dangerous to open port 22 to my server? [migrated]

I have a CentOS home server that I use for various things, which sits on my home network behind my router. Normally when I want to do something remotely I will VPN in (my router has a built-in OpenVPN ...
2
votes
1answer
319 views

NTP: ntpdate to sync time between the PCs on a private network

I have two systems. One acts as Primary/Active and has Internet connection and gets time from NTP server. The second system is Secondary/Passive and has no connection to the external world. Primary ...
4
votes
5answers
1k views

Alerting on Failed Puppet Status

I can view "Currently failing" nodes in the puppet dashboard web GUI, and even drill into it to see what policy has gone awry. I can also see if nodes are not reporting. Is there any way I could get ...
0
votes
0answers
13 views

Using RTC to synchronize ntpd when offline

I need a stable configuration, presumably using ntpd, to keep system clock as precise as possible. Background: I have several embedded devices (arm9) running linux (currently: 3.16.1 / debian 7.2) ...
0
votes
0answers
13 views

Linux FSTAB error mounting corrupted SD card

i've problem. I've a linux embedded system with an Sd Card that i mount at startup using fstab. This is a commercial produt of my company, so i can't know in advance if i've a bad sd card. # ...