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

cron job sporadically not running

I have a CentOS 6.6 server with the following packages installed: crontabs-1.10-33.el6.noarch cronie-1.4.4-12.el6.x86_64 cronie-anacron-1.4.4-12.el6.x86_64 kernel-2.6.32-504.3.3.el6.x86_64 ...
0
votes
1answer
19 views

Master and slave devices talking to each other through another device with two interfaces. All in the same network

I have three devices, one is a master which will talk with the slave and Device3 but it is only physically connected to the Device3. The slave will speak only with the master(also through the ...
0
votes
0answers
22 views

Who can change ACL?

I'm using ACL to control access to individual roots of webs for different instances of Apache and different groups of admins. I've got a Unix group admins-web22 for admins of a particular website and ...
0
votes
0answers
19 views

Settings don't match when script runs (automatically) on startup with manual call

i have an init.d service wich simply calls node.js program cd /impress whoami > whoami.txt nohup node --stack-trace-limit=1000 server > /dev/null 2>&1 & The task of that programm ...
-4
votes
1answer
67 views

How to enable `dbox` for a particual mail account?

I need to enable http://wiki2.dovecot.org/MailboxFormat/dbox/ formailarchive account. I want to enable dbox only for the mailarchive account & the other accounts continue to use the Maildir ...
0
votes
0answers
46 views

What is the difference between setting the environment variables in these 2 ways?

For a project I'm working on, we require nginx and lua, and we start it like this: MYVAR1=some_value MYVAR2=some_value /usr/local/openresty/nginx/sbin/nginx -p `pwd`/ -c nginx.conf And everything ...
0
votes
0answers
5 views

Installing Ubuntu Server 14.04.2 in a VMware [migrated]

Hi everyone I'm trying to install Ubuntu Server 14.04.2 in a VMware station on my iMAC which is running on an intel core i5. My question is which kernel should I install? The options are: 1) ...
-3
votes
1answer
26 views

Logging traffic in a file? [closed]

today I'm looking for a tool that allows me to log any traffic that goes in and out. It would be perfect if it would store that data in text files on the server. Does anyone have a tool like this? ...
4
votes
1answer
75 views

cp -p will preserve times for some files but not all?

I have a source directory on a machine with a bunch of files, all with the same permissions, that I want to copy to another directory, that is mounted via SMB. [tmark@dexter JR09141045 ...
-1
votes
1answer
22 views

how to configure fail login delay using iptables

Like in Subject, I need to set particular delay i.e. when wrong password is provided. I can't use PAM. Thanks for any help.
-2
votes
1answer
18 views

Tomcat7 pointing to a symbolic link WAR [closed]

I have Tomcat7 running on a Linux server. Tomcat is pointing to a symbolic link WAR for my application. The link is pointing to the actual WAR. I am looking to upgrade the app. What I have done is ...
3
votes
1answer
104 views

ps show column name

Using these ps options I cut 10 lines and order output of ps by cpu usage (pcpu): ps -eo pcpu,etime,pid,user,args --no-headers| sort -t. -nk1,2 -k4,4 -r |head -n 10 I need also show the name of ...
4
votes
0answers
154 views

Persistent Bash Prompt Prefix Linux [migrated]

I want to have the FQDN as bash prefix instead of just using the hostname. So I can change root@web: ~$ to root@web.domain.tld: ~$ I already know that that is possible by using: ...
0
votes
0answers
11 views

system log file not getting updated [migrated]

I am trying to add my system call to the Ubuntu. It is a simple hello world function that I am trying to write to the log file using printk(). The code is as follows: #include <linux/kernel.h> ...
0
votes
0answers
11 views

Debian Linux Bridge Mode not forwarding

I am trying to bridge lan adaptor eth0 with the eth1 interface exposed by sierra wireless lte modem. When i create a bridge using the following commands brctl addbr br0 brctl addif br0 eth0 eth1 then ...
0
votes
1answer
17 views

Daemontools (djbtools) freezes processes after system restart

We are currently using the latest daemontools (http://cr.yp.to/daemontools.html) to manage our background linux (AWS-linux) application servers. Our application servers run in JVMs: ...
0
votes
0answers
18 views

Can I get Vsphere cluster networks (and thier details) using Ruby?

(On linux) I am looking for a way to get my VMware Vsphere networks details using a Ruby script. I tried to find a way using rlane/rbvmomi on [1]: https://github.com/rlane/rbvmomi but I could nt ...
-2
votes
1answer
27 views

How do we extract ftp client information from proftpd logs [closed]

using proftpd 1.3.4. Needs to see which FTP client is being used by end user any idea where it will be logged. or what configuration changes it will need
0
votes
1answer
50 views

Bash linux increment variable

i am trying to increment a variable name inside a for loop to get 4 dynamic variable in each loop, this is an example while read line do for n in `seq 1 4` do ...
0
votes
0answers
3 views

How to force a Linux DHCP client to get a different IP address [migrated]

Situation: unconfigured network interface eth1. As root, I give command dhclient eth1, and get an IP. Now I want to change this IP from client side, force DHCP client to get a new address. Answers of ...
0
votes
1answer
27 views

IO does not share in multiple CPU

In my linux server IO doesnot share in multiple CPU. as below output ata_piix intrupts share in only cpu0 [root@manage ~]# uname -a Linux manage 3.14.24-1smp #12 SMP Tue Mar 17 15:33:27 IST 2015 ...
0
votes
0answers
22 views

Unexpected reboot on linux clustered servers with init: tty (/dev/tty2) main process (9390) killed by TERM signal

I managed 2 linux server clustered. And only 1 of servers is rebooted suddenly. It happens several times. Then I checked /var/log/messages. I just found below logs. Mar 24 09:25:52 xxxxx init: tty ...
0
votes
1answer
36 views

Back up incremental snapshots to another volume

I'm looking for a way to implement something close to the following backup scheme: Initially, a full image is copied to the backup target. Periodically (e.g. nightly), only blocks that have changed ...
1
vote
1answer
32 views

How do I stop my domain from being redirected to my IP using apache webserver? [closed]

I have forwarded my IP using Google Domains to a specific URL. But when I access that URL it gets forwarded to my IP. Why is the url not showing up in my browsers address bar? I am running Ubuntu ...
1
vote
1answer
47 views

Apache on CentOS 6 Unresponsive [closed]

Twice this morning, somewhere early this morning, and then again around 8-9AM, our Apache server was unresponsive, though the service showed as running. We reset it with service httpd restart, which ...
0
votes
1answer
37 views

Creating High Availability Netflow Collector

I'm currently working on replacing our existing Netflow collector that is EOL with a new one. The goal is to support around 4 million flows/minute and have HA capabilities. Below is my initial ...
2
votes
1answer
26 views

What's a good RLIMIT_CORE setting if I only want backtrace?

all My C++ program generates core dump as large as 2GB and it quickly fills up all usable disc space. What I really need is only backtrace. I was wondering what's the safe size of core dump file if I ...
0
votes
0answers
16 views

Put “.nfs” files created by NFS client in another location?

The setup is a Linux machine that mounts a filesystem over NFS. There is a process that needs to recursively remove directories on the NFS filesystem and ensure the directories are successfully ...
0
votes
0answers
15 views

Traffic accounting with iptables with multiple chains

I have a linux firewall setup with 3 zones: - green for LAN (192.168.0.0/24) - blue for WLAN (192.168.1.0/24) - orange for DMZ (192.168.2.0/24) All zones have systems running and I want to know what ...
2
votes
0answers
50 views

Problems on mounted NFS: 'No such file or directory' but files and directories exist

So we are having a medium-sized NFS4 storage server running CentOS 6.6 exporting an NFS share /storageDat (which is the NFS root, with two RAID volumes bound in there: ./dat1 and ./dat2); Export ...
0
votes
1answer
46 views

Prevent changing ownership of a file

I have file with 777 permission. How can I prevent changing ownership of that file by others? ie I need to prevent chown x:y myfile myfile is a log file written from web. it's ownership is www-data.
1
vote
0answers
33 views

Webserver on linux times out outside local network

Apologies ahead of time if I mess up any terminology here; I am new to this realm. I have setup Jira (bug tracking software) on a linux box in my local network. I have a subdomain ...
0
votes
0answers
3 views

How to remove local host dns settings on mac [migrated]

I'm having an issue removing some local dns settings on my mac that's running yosemite. I normally use the /etc/hosts file to direct requests from development sites to my guest Vagrant VM. Sometimes ...
0
votes
1answer
24 views

Migrate vagrant Ubuntu VM to physical machine

I am attempting to use vagrant and a puppet workflow to configure a Ubuntu production server VM which will host a web application. I want to be able to reuse this workflow to configure multiple ...
0
votes
1answer
25 views

Mount VM filesystem on host

I'm using Proxmox for virtualization and I need to mount my KVM VM filesystem inside the hypervisor. Is this possible without shutting down my VM? Basically, I need a script that could do following ...
-1
votes
0answers
14 views

creating snapshot for mongodb

I am trying to create snapshot for mongodb on centos 6.6. root@ ~]# lvscan File descriptor 12 (pipe:[23409]) leaked on lvscan invocation. Parent PID 3579: /bin/bash File descriptor 13 ...
0
votes
0answers
31 views

Can ping but not connect to Samba

I have installed Samba on my machine (192.168.178.50) and altered /etc/samba/smb.conf to add a share: [vs] comment = Visual Studio path = /home/mrt/Dokumente/vs/ browseable = yes read only = no ...
2
votes
1answer
191 views

Can't access domain internally via public IP address [duplicate]

I have a dedicated server running Proxmox and a VM inside Proxmox running Debian 7 (Wheezy). As I only have one IP address, I'm using iptables to forward ports to the VM. My ...
1
vote
1answer
26 views

(ssh) Connection closed by

unfortunately I don't have access to ssh server, I can only see: Platform: i586-pc-linux-gnu Compiled with: liblua-5.2.3 openssl-1.0.1k libpcre-8.35 libpcap-1.6.2 nmap-libdnet-1.12 ipv6 Compiled ...
1
vote
1answer
18 views

Script triggered by udev to examine partition tables and test if it's a ceph disk

I'm wanting to trigger using udev under CoreOS a script on disk add/remove. The purpose/goal is to automatically mount ceph data partitions to a specific directory in preparation for ...
0
votes
0answers
24 views

how to match up setting in security/limits.conf with nginx.conf for at least 5k users per minute?

I know by reading similar posts that worker_connections * worker_processes = user connections per second so I would need to set soft nofile to same as above result? Also, how do I count max ...
-2
votes
1answer
71 views

Error when trying to install Ubuntu 14.10 Hyper-v VM from Virtual DVD .iso [closed]

I'm trying to install a Hyper-v Gen 2 Ubuntu 14.10 Virtual Machine via a DVD .iso that I have attached as a virtual DVD on my Windows Server 2012 R2 First, two things that I know will be asked: ...
2
votes
6answers
237 views

Group directory challenge

Have a challenging question for you. Have a linux box. Need to create directory where users would be able to create files, but remove/modify only files created by them. Simple enough to have sticky ...
-2
votes
1answer
34 views

Debian diffence between kernels [closed]

Debian Wheezy installer What's the difference between the first and the second kernel?
-1
votes
1answer
40 views

Pros and cons of installing php 5.6 and mysql 5.6 on debian 7 wheezy

I was setting up a VPS server for my client and we had talked that I would install the last stable versions of the programs. Now, in Debian 7 wheezy by default php 5.4 and mysql 5.5 are available. I ...
1
vote
0answers
15 views

Can't access my apache server from outside LAN (Raspberry Pi) [migrated]

I know this question was asked a lot, but unfortunately none of the posts really helped.. I'm trying to set up an Apache server on my Raspberry Pi. I managed to set it up correctly I think, but I ...
0
votes
2answers
60 views

Can you change raid type on an active server?

I was just dabbling with a few different raid types recently for some performance testing and I was hoping someone could answer this question for the sake of knowledge. Is it possible to change the ...
-1
votes
1answer
23 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
1answer
20 views

Investigate to /proc/loadavg

Review linux load average documentation (to try to solve a problem) I'm ask if a kind of state of process (zombie process?) can affect to anomaly that causes an high load average of my system. So, ...
0
votes
1answer
47 views

How to scp file to remote servers' root directory and run sudo commands?

NOTE: The servers does not share the same password but I will setup no-password login at first. Here's the use case, I need to do these below step by step in my deploy.sh: scp files to remote ...