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

NFS lock not working properly

I'm getting the following error on an oracle database. ORA-27086: unable to lock file - already in use It tries to lock a file that resides in an NFS mount. The NFS is on a loopback setup (long ...
4
votes
0answers
266 views

Not Able to Mount USB HDD in Linux

I'm having a problem with a server that I just installed kernel 2.6.18-371.el5 on. It's an old kernel for Red Hat 5, I know, but due to certain "restrictions" I am forced into using that for the time ...
0
votes
1answer
57 views

How to raise max no of file descriptors for daemons running on Debian Jessie?

I'm playing with pgBouncer as a connection pooling system for PostgreSQL. My system is a 12-core with 64GB RAM and 1Gbps network interface running Debian 8.1. Now I want to raise the limit for open ...
0
votes
0answers
10 views

User created with useradd instead of adduser loads a wrong Prompt

I've designed my bash prompt like this \u@\h> When i now create the User example with adduser, my prompt looks like example@host> But when i create a User with useradd, my prompt looks like ...
3
votes
1answer
56 views

difference between ifdown, ifconfig stop and ONBOOT=no

my ifcfg-eth1 config as below DEVICE=eth1 TYPE=Ethernet UUID=5e4f36f8-14eb-4f0c-8fa9-3af9be3899a7 ONBOOT=no NM_CONTROLLED=yes BOOTPROTO=dhcp DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no ...
0
votes
2answers
57 views

Larger than 4GB file corrupted on Centos. How to extract?

I zipped a folder on centOS 5. It zipped up to around 4.1GB. Now i am trying to unzip it but it gives error. I have tried a number of options. First with using the unzip command it says then i ...
0
votes
0answers
23 views

Server not finding files created on certain date

I'm getting this error on 4 .svg images when loading a page: Failed to load resource: the server responded with a status of 404 (Not Found) There are about 15 other .svg images located in the ...
0
votes
0answers
4 views

Linux: root filesystem via network (with authntication) [migrated]

I try to create a linux computer which loads its rootfilesystem from the network. This currently works with NFS, but unfortunately it is not very secure. The network is just a home network, which ...
3
votes
1answer
30k views

Create new vsftpd user and lock to (specify) home / login directory

I need to periodically give temporary and limited access to various directories on a CentOS linux server that has vsftp installed. I've created a user using useradd [user_name] and given them a ...
17
votes
7answers
12k views

Linux: Schedule command to run once after reboot (RunOnce equivalent)

I'd like to schedule a command to run after reboot on a Linux box. I know how to do this so the command consistently runs after every reboot with a @reboot crontab entry, however I only want the ...
0
votes
0answers
7 views

Samba 4 join active directory, good tutorial? [on hold]

I tried two separate tutorials found on the web about joining a Samba 4 to an Active Directory domain, but each time I cannot access the shares, neither the computer to browse for the public shares, ...
0
votes
1answer
22 views

Linux Software RAID10: Mysterious renaming /dev/md0 to /dev/md127: Why?

During the last two nights we had mysterious events on a server running Ubuntu Linux 12.04 LTS with a Linux mdadm software RAID10: DeviceDisappeared /dev/md0 NewArray /dev/md127 Both messages ...
2
votes
1answer
75 views

Hosting websites in our Workplace custom-built datacentre

I'm faced with unique learning opportunity at work at the moment. Due to the slowdown (amongst other reasons), the powers that be at my office have decided to abandon our shared hosting providers ...
0
votes
3answers
946 views

Use AssignUserId as variable in Apache MPM ITK

I heard that the MPM-ITK module for Apache can change Apache server's behaviour to access some folder / file using the UID or GID from the default UID (www-data) into a given UID on the configuration. ...
4
votes
2answers
974 views

Packets only get forwarded when tcpdump running on bridge

I ran into the oddest thing when trying to debug a networking issue with OpenStack. I was doing a ping test between virtual machines. The ICMP request packets only made it to the destination host if I ...
-2
votes
0answers
12 views

How to redirect traffic on specific port to another non-local machine using IP tables

I operate two virtual linux machines (server A and server B) (both running debian), but one of them (server B) does not have dedicated IP. This means, I was given a range of ports for use, that are ...
-4
votes
0answers
11 views

Hard Disk read/write latency calculations in linux

How do i calculate Disk read and write latency in Linux? Is it possible to do the calculation using /proc or /sys file system? else is it possible to get through iostat command ?. screenshot here
0
votes
1answer
8 views

How to config network bridge nic?

The network files in Fedora 22 server edition looks very different compared to those in F17, where I can find this howto. My aim is to have KVM guests to be accessible over ssh and http as if they ...
5
votes
1answer
5k views

What command needs to be issued to check whether a ZooKeeper server is a Leader or a Follower?

A ZooKeeper Quorum consisting of three ZooKeeper servers has been created. The zoo.cfg located on all three ZooKeeper servers looks as follows: maxClientCnxns=50 # The number of milliseconds of each ...
3
votes
2answers
3k views

How to mount vfat drive on Linux with ownership other than root?

I'm running into trouble mounting an iPod on a newly upgraded Debian Squeeze. I suspect either a protocol has changed or I've tickled a bug, which I don't know where to report. I'm trying to mount ...
1
vote
2answers
2k views

user smmsp found in repeatedly in auth.log

Running an Ubuntu server that hosts about 10 Wordpress websites Is it normal to find this in my auth log? Oct 26 08:40:01 andre CRON[4737]: pam_unix(cron:session): session opened for user smmsp by ...
1
vote
0answers
13 views

Ansible: run different plays on the same host as different users

I want to manage two user accounts, which happen to be on the same host (mylaptop). I have a separate play for each of them. However, Ansible keeps executing both plays as the same user, despite ...
0
votes
1answer
3k views

Postfix and Sendmail smmsp cron job

I'm running Ubuntu 13.10 and have recently replaced the default Sendmail installation with Postfix. From what I've read elsewhere Ubuntu requires Sendmail for system functions so Postfix emulates the ...
7
votes
1answer
120 views

Kerberos service login only possible for 30 minutes after running ktpass.exe

I'm trying to Kerberize an Apache-server, and allow the created server principal to sign on to the Active Directory. I've followed one of the numerous tutorials available online, and it seems to work ...
2
votes
2answers
186 views

Upgrade SSL/TLS/Openssl?

I have a requirement to upgrade SSL/TLS/OpenSSL. The server is RHEL 6 Enterprise. In that server I am going to remove apache, which has not been not in use for a long time. After uninstalling ...
0
votes
1answer
1k views

Gre Tunnel Cisco Linux traffic forwarding

I setup a gre tunnel a cisco router and a Linux machine, the tunnel interface in the Linux box named pic. Well i have to forward traffic coming from cisco through the Linux box. the rules i've set in ...
0
votes
1answer
26 views

Linux secure file sharing without ssh login access

I'm looking for a way to make a directory on a linux system available for reading to other linux and windows clients. The share must require some authentication from the client and the passwords and ...
1
vote
0answers
25 views

Postfix's received emails put in /var/mail/user/.Sent Messages

For some reason, emails that I receive on my Amazon Linux EC2 instance, running postfix and dovecot, are put in the directory /var/mail/<user>/.Sent\ Messages, instead of the expected ...
-1
votes
0answers
8 views

CirrOS server has ports filtered; its IP address pings but from a different IP address in the echo

nmap to a CirrOS server shows that ports 22 and 135 are filtered. On the CirrOS server, I can ssh to 127.0.0.1. I've noticed that pings to the CirrOS server return from an IP address different from ...
0
votes
0answers
7 views

Vulnerability assessment for JAVA based application

A organisation has hosted a web application which has been developed over java based platform. Administrator has hosted a application on Apache TOMCAT running over privateip and mapped it with some ...
7
votes
3answers
6k views

Can the Linux ps command output be filtered by user AND command?

I need the pid for a process given its owner and its command. I can filter a process per user with "ps -u xxx" and its command by "ps -C yyy", but when I try "ps -u xxx -C yyy", they are combined ...
0
votes
0answers
22 views

After installing a new disk, can't use old mount points on linux

So, I'm stumped on this one. I have functionally two volume groups. vgold and vgnew, and I migrated the lvms from the old one to the new one (via rsync of the files to an external drive first, not ...
0
votes
1answer
2k views

RHEL 6.6: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 403 Forbidden”

First of all, it's the first time I setup RHEL machines, I'm more used to Debian. We're installing many machine at the same time. We've upgraded from RHEL 6.3 to RHEL 6.6 and we're now trying to ...
5
votes
4answers
3k views

Openvpn, forward packets very slowly

I rebooted my server, and an odd issue just came out. I am running on ArchLinux, the clients are Ubuntu, Android and Mac. The problem is that accessing the internet via the clients is slow, about ...
1
vote
1answer
15 views

How can I set up sendmail to use CRAM-MD5 authentication?

I have sendmail running on a RedHat 7.1 machine. I want to configure it to authenticate using either PLAIN or CRAM-MD5. I have it working with PLAIN (so I know the client works, I have the ...
0
votes
1answer
19 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 ...
0
votes
3answers
2k views

Forward traffic to local LAN IP while keeping the originator IP

I am trying to forward traffic from one server to another, while keeping the origin requestor IP. Therefor I cannot use SNAT or MASQUERADE. SERVER A: Public IP: 111.111.111.111 Private IP: 10.0.0.1 ...
-1
votes
2answers
22 views

Access Centos7 server through windows network for Nagios

We have a windows network setup at work. A new server was spun up that has Centos 7 on it for us to install Nagios to monitor some services. I need to be able to access the Centos server from a ...
0
votes
0answers
26 views

No volume groups found - CentOS

I have migrated a CentOS 5.11 server from VmWare to Hyper-V and when trying to boot the server. I'm getting the following error messages: "No volume groups found" ""VolumeGroup00" not found" and ...
0
votes
0answers
87 views

Cannot get current device settings: Operation not supported ethtool CentOS 7

Received an error "Cannot get current device settings: Operation not supported ethtool" while changing network speed using ethtool command on centos, # ethtool -s eth0 autoneg off speed 100 duplex ...
0
votes
1answer
12 views

What are the directories and files that I should keep in sync for a cluster server

I am currently wanting to set up new clusters. Each cluster is defined by its software installed, software settings, and its home folder files. I want only the above to be cloned and not things ...
13
votes
4answers
631 views

SSH into NAT'd servers on the same public IP address

I am trying to SSH from in office X to a few Linux boxes in office Y. The Linux boxes in office Y are behind NAT and each run on their own ports. I can successfully reach all of them through SSH, but ...
0
votes
0answers
8 views

docker0 boot2docker network changing between restarts

I'm experiencing an issue where after restarting my boot2docker VM the docker0 network segment changes between 172.17.0.0/16 to 172.18.0.0/16 That is a problem since I have a DNS container running ...
1
vote
2answers
2k 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 ...
0
votes
0answers
19 views

Monitor network using bandwidthd without dedicated machine

I'm setting up bandwidthd in order to be able to monitor who's eating our monthly cap. Here's my bandwidthd.conf without the comments: subnet 192.168.1.0/24 dev "wlan0" promiscuous true ...
0
votes
1answer
1k views

AH01630: client denied by server configuration Apache

I get this error when trying to access localhost via a browser. 403 Forbidden I use Ubuntu 14.04 LTS Here is my configuration file: etc/apache2.conf # This is the main Apache server ...
0
votes
1answer
21 views

What are the benefits of configuring rsync with rsync shares vs. without?

I know there are two or more methods of working with rsync: The first one requires that rsync would be installed on the destination machine and then you can run something like that: rsync -avz file ...
15
votes
4answers
11k views

What are the advantages/disadvantages of hard versus soft mounts in UNIX?

This question may vary between distros but, in general, what are the advantages/disadvantages of using a hard or soft mount in the UNIX world? Are there certain situations where one is more ...
0
votes
4answers
58 views

Can I detect hardware RAID infromation from inside Linux?

When I'm inside of Linux, I can get the following information from lsblk (irrelevant drives removed from output): NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 298G 0 disk sdb ...
0
votes
3answers
174 views

Randomize destination port for *every* packet with iptables

There is a program at server side listens on port 3333, and a dedicated client box which sends and receives packet to the server, I'd like to setup a set of iptables rules, make every packet ...