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
0answers
4 views

While executing vgdisplay command on RHEL 6.5 gives me Input/output error for disk. But the server doesn't have that disks

Complete errors as given below: /dev/mapper/mpathcq: read failed after 0 of 4096 at 107374116864: Input/output error /dev/mapper/mpathcq: read failed after 0 of 4096 at 107374174208: Input/output ...
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
0answers
15 views

why my nat iptables rules dont work with marked packets?

System: debian squeeze, Linux server 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC 2014 x86_64 GNU/Linux, iptables v1.4.8 lsmod | grep iptable iptable_security 2176 0 iptable_mangle ...
1
vote
1answer
39 views

Why would updating postgresql-client uninstall postgresql?

On a Debian 7 server, apt-get was offering me to upgrate the following 2 packages: postgresql-9.1 and postgresql-client-9.1. Since I didn't want to restart the database server, I decided only to ...
0
votes
0answers
49 views

Precision Time Protocol on AWS

We have a problem that requires a group of AWS linux servers to have the time exact by the millisecond between each other. (different nano seconds is ok, and we don't care if it is the real hour.) ...
0
votes
0answers
16 views

Some processes using 100% CPU and hangs on select() call for some time

So I have this strange scenario: there is a server this apache/passenger/Rails and some other services. For example top command itself takes 100% Cpu time (also iostat and ruby, other processes seems ...
2
votes
2answers
1k views

How to create an else statement with the expect command?

I have the follow expect script which adds a known host if a known host does not exist. #!/usr/bin/expect spawn ssh user@domain "cd /home/user" expect "Are you sure you want to continue connecting ...
0
votes
1answer
47 views

How much memory must be left to the OS with a java server application?

Suppose I am running tomcat with -Xms256m -Xmx1024m, but would like to increase my heap usage. What is the largest safe heap size I can allocate? For the purpose of this question, please assume, ...
-4
votes
0answers
20 views

What means high ram vps and [on hold]

I want to rent a vps server for personal needs, so i found hosting provider who provides high ram vps and premium vps. What are the advantages and disadvantages respectively for high ram vps and ...
2
votes
0answers
18 views

Add a custom header to Postfix with the relayed domain

I've got a Postfix setup that allows relays only from certain domains. I accomplish this using the relay_domains flag in main.cf and it queries mysql to find the list of allowed domains. ...
0
votes
0answers
5 views

Who was the original author of logrotate and what year was it written? [migrated]

The question started as an internal team debate. But we realized we couldn't find any information about when the original version of logrotate was authored and who wrote it. Any idas?
0
votes
1answer
16 views

Match BIND's view to certain users

It's easy to make a BIND's view to match certain IPs with the aid of match-clients directive. But is it possible at all for a view to match not IPs, but users? For example service a is run under user ...
0
votes
1answer
29 views

Got blocked by server after starting TCP nodejs sever. Why?

I recently installed node on my VPS, and tried to complete a tutorial. I saved this code into server.js and hit node server.js in putty. I got instant "ban" from my VPS, I can't access it, however on ...
1
vote
1answer
16 views

AUFS: How to create a read/write branch of only part of a directory tree?

AuFS (another union file system) allows us to merge two trees into one, even when those trees overlap. We can then direct writes to the merged tree towards one of the branches and reads to another. ...
5
votes
7answers
27k views

SSH Connection Error : ssh_exchange_identification: read: Connection reset by peer

When I tried to connect to the server via SSH, I'm getting the following error, [root@oneeighty ~]# ssh -vvv -p 443 root@xxx.xxx.xxx OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: ...
0
votes
1answer
20 views

Linux detach from process after certain string

So, I have a command which starts a webserver, it goes step by step and puts output to standard output. It goes like: step 1... step 2... step 3... server up and running on port 9000 However, this ...
2
votes
1answer
11 views

EBS volume mount point should be disk or partition

With community CentOS 7 HVM image, after adding another EBS volume to my EC2 instance, lsblk command shows this NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 8G 0 disk -xvda1 ...
0
votes
1answer
18 views

EC2 volumes & partitioning

With Amazon EC2 CentOS 7 HVM community image machine just thinking for volumes & partitioning. Would it not be good that I create default 8GB volume sda for root device for all operating system ...
1
vote
1answer
3k views

Setting up Linux VPN Client on Mint: Never sends “Set-Link-Info” packet

I have tried to set up a VPN Connection on the Linux Mint disto, but could not get it working. When I use a Windows 7 VPN client it works fine. I brought up Wireshark on both Windows and Linux ...
0
votes
1answer
33 views

MySQL, NFS and symbolic links

I have been migrating an older server running apache2 + mysql under ubuntu to a new server running debian (wheezy). The migration works fine while the databases are storted localy (in our case ...
0
votes
0answers
12 views

CentOS 7 mount ebs thorugh systemd unit

CentOS 7 HVM community image is not mounting the drive if as recommended we do it via rc.local(since doing it via /etc/fstab entry may halt the machine and make it not reachable if any issue occurs in ...
1
vote
1answer
1k views

Red Hat 6 connect to MS SQL server 2005 using freetds; pdo_dblib and php

I'm having a problem connecting to my Microsoft SQL Server 2005 from a Red Hat box using freetds. My end goal is to be able to connect using php's PDO, but I don't appear to be able to connect when ...
1
vote
2answers
1k views

Capturing output from a remotely executed command via SSH fails in CRON

This question is in a direct relation to this one: ssh fails to execute remote command when run from cron bash script - works from CLI I'm not able to comment on the accepted answer as I don't have ...
0
votes
1answer
58 views

Nginx Proxy not working

I'm trying to redirect all traffic from www.impactteachers.com/teach to application.impactteachers/teach. This way, our application form is also accessible from the following URL: ...
20
votes
9answers
1k views

Toolkit & Habits for Linux Network & System Administration [closed]

I am tasked with the administration of a small office network as well as several workstations running mostly Debian and Ubuntu. There are two servers: one database & print-server, and one backup ...
0
votes
0answers
16 views

DNS records for mail server [duplicate]

I've been toying with an old box I've got at home and decided it might be fun to set up a mail server. It's running a lightweight debian distro, postfix, and dovecot, along side a web server, PHP, ...
0
votes
0answers
46 views

Dropbox Linux Segmentation Fault

Everything worked great for a year, and the server was untouched. All of a sudden my automation file transfers depending on Dropbox didn't work anymore. The dropbox tray icon is unavailable so I try ...
-3
votes
3answers
10k views

Blocking WhatsApp and other IM traffic

In my office, I have set up a linux machine as router and provide internet connectivity to all clients. Behind this linux router I have set up a cisco wireless router, with which I have made internet ...
2
votes
1answer
98 views

BIND SERVFAIL after upgrade to Debian Jessie

I've done absolutely nothing to my BIND configuration, but looks like Debian Jessie upgrade has broke it. Maybe some new options got introduced to it, or the old things now work differently, but I ...
5
votes
2answers
390 views

Concatenating files to a virtual file on Linux

On a Linux system, is there any way to concatenate a series of files into one exposed file for reading and writing while not actually taking up another N bytes of disk space? I was hoping for ...
8
votes
4answers
41k views

How can I get processor/RAM/disk specs from the Linux command Line? [duplicate]

Possible Duplicate: How to find out details about hardware on the Linux machine? How can I get processor/RAM/disk specs from the Linux command Line?
0
votes
1answer
56 views

How to auto-start Degraded Software RAID1 under Debian 8.0.0 on boot?

If you remove a component HDD from an array, it drops into a "busy box" shell under "(initramfs)" saying something similar to "cannot mount root device" as the RAID1 array becomes "inactive". It is ...
1
vote
2answers
59 views

Low CPU and Memory utilization. Does that mean server is healthy?

On a fairly busy RHEL6 server I keep noticing on average following indications CPU Usage : 2%. CPU Load AVG: 0.4,0.2,0.1 Memory Usage: 1.3 out of 16 GB This is the CPU this server has Intel(R) ...
0
votes
1answer
28 views

Cannot find error in iptables firewall configuration

I'm struggling with a firewall problem on my Centos server. I have the following configuration which when I use it with a service iptables restart and I try to ssh to the server with putty, I cannot ...
1
vote
3answers
104 views
+250

Windows - mount network drive with client-side read/write caching from Linux storage server

Is there a way to mount network drive on Windows with client-side read/write cache enabled? In my case drive is guaranteed to be mounted by 1 user, and performance is way more important than ...
1
vote
3answers
12k views

Serial port forwarding over TCP/IP (linux server)

I am looking for a way to use a remote serial port on a linux machine over LAN. The machine is running ubuntu 10.04 and I have a arduino board connected to it, that I would like to be able to ...
0
votes
0answers
11 views

Installing LTTng-modules 2.5.4 on CentOS 7

I am trying to install LTTng-modules 2.5.4 on CentOS 7, by building it from source because CentOS 7 is unable to install this package from RPM. Running "make" to build package contents results in the ...
3
votes
2answers
884 views

Winbind/AD: Local users with identical AD usernames

We are getting ready to add Winbind/Samba to some CentOS servers. Identity Management for UNIX is running on our DC, and it's testing well so far. There is one scenario I'm having trouble with, and ...
-1
votes
1answer
17 views

Minimum System Requirements for MariaDB [duplicate]

I recently set up a CentOS 7 server on digitalocean, I went with the $20 a month plan because i found these minimum specs for MYSQL. When i did a LAMP install it had me install MariaDB instead. I'm ...
0
votes
1answer
16 views

Forwarding over a vpn

I have a group of AWS web servers which will need to get into the business of initiating and speaking TCP over a VPN to a third party. Don't ask me why a VPN is the third party's chosen solution; ...
2
votes
2answers
782 views

Proper Bash Daemon Script Creation

On Ubuntu, I copied /etc/init.d/skeleton as a new file and made it "all" executable (just like the others in that directory). In it, I made a "foo" that was just another Bash script in /usr/sbin, but ...
0
votes
0answers
18 views

Clone Linux user (copy user, based on another one) [migrated]

How can I create a new system user, an exact copy of another one (having the same groups, permissions, privileges and settings), but with different username, password and home directory?
3
votes
1answer
144 views

How to stop hidden mac hidden files are showing in other systems? [on hold]

If i copy the Images or files from mac to other os systems, it shows the files "._.DS_Store, .DS_Store" in other os systems.How to stop it?
1
vote
1answer
920 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 ...
2
votes
1answer
318 views

DNS setup for a Mandriva Directory Server 5.0

I just inherited an intranet where a Mandriva Directory Server 5.0 acts as internal DNS and DHCP server, based on an LDAP server for configuration storage. The idea is that all intranet hosts get a ...
1
vote
0answers
336 views

How do you set up pam_check_host_attr auth on Mandriva MMC?

I was recently tasked with trying to set some servers up to do LDAP auth to our existing LDAP db (OpenLDAP on a Mandriva MDS server running MMC to manage it). I managed to get it somewhat working, in ...
2
votes
1answer
1k views

Linux- Permission denied?

I'm installing Neo4j server as a linux service, but when I install it, I get the following message: /sbin/insserv: Permission denied What is this? What should I do? I'm running everything with ...
31
votes
12answers
35k views

Linux: how to prevent a user from login in, but allow “su - user”

How do you allow a user to log in using "su - user" but prevent the user from login in using SSH? I tried to set the shell to /bin/false but the when I try to su it doesn't work. Are there several ...
0
votes
0answers
10 views

Scalix - Finding out when a mailbox received its last email

I have an old email-server that I want to shutdown. To do that I want to know when each mailbox on that email-server has received its last email. Sadly i don't know much about Scalix, just a few ...
1
vote
1answer
37 views

Download kernel+rootfs and boot on it with u-boot

We are working with a few single board computers (SBC). We generate linux embedded images with Yocto (using U-boot as bootloader), and we deploy it manually on SD cards. This works well for now, when ...