Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

learn more… | top users | synonyms (1)

-3
votes
0answers
12 views

Logging traffic in a file?

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? ...
1
vote
0answers
12 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
10 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
0answers
9 views

Tomcat7 pointing to a symbolic link WAR

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
77 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
2answers
153 views

Persistent Bash Prompt Prefix Linux

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

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

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
41 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
20 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
10 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
0answers
13 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
27 views

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

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

How to see if an user is connected [on hold]

I have a linux server and the users connect over ssh. I want to create a shell script to verify if a specific user has been connected to the server in the last month. If so, I should print the last 3 ...
1
vote
1answer
40 views

Apache on CentOS 6 Unresponsive [on hold]

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
29 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
20 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
14 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
12 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
30 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
0answers
6 views

Open VZ + DirectAdmin solution

I am using DirectAdmin for many years and I like it but I always hate the fact that everything running inside single instances of Linux. From other side OpenVZ is good but missing those nice features ...
0
votes
1answer
41 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
29 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
17 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
19 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
12 views

rpm -qa return's nothing [on hold]

I am getting below output on my lx-container host rpm -qa | wc -l 0 which rpm /bin/rpm rpm --version RPM version 4.8.0 rpm --verify rpm package rpm is not installed I did rebuild rpm db but no ...
-1
votes
0answers
9 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
24 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
174 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
22 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
13 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
22 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 ...
0
votes
0answers
27 views

OpenVZ can't reach the internet [on hold]

I have a vps running and it seems to be ok, but I am unable to access to internet. I am only able to access the internal network. What I want to do is give the vps a ip (access to the outside world), ...
-2
votes
1answer
34 views

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

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: ...
-1
votes
0answers
19 views

Find which php files are causing high CPU load on linux [on hold]

I have a wordpress site running on my server. It's eating a lot of cpu. Searched all internet and didn't find any script or command to view which files are causing this load. Tried commands like top, ...
-1
votes
0answers
17 views

Linux Minecraft Server Connection errors [on hold]

I set up Minecraft on a Linux server. When I use the following command, the server starts up successfully and I'm able to log into it. I can then use Minecraft for some time without any problem. ...
0
votes
1answer
69 views
+100

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

Debian diffence between kernels [on hold]

Debian Wheezy installer What's the difference between the first and the second kernel?
-1
votes
1answer
22 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 ...
-2
votes
0answers
12 views

cmake error in mysql extension installation [on hold]

I am trying to install a MySQL extension (http://mychem.sourceforge.net/doc/apas03.html#linux_installation) and i follow instructions. When i write >cmake . it raises an error, also i get "MYSQL not ...
0
votes
2answers
56 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
19 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 ...
0
votes
0answers
22 views

Unable to get any type of connection using mysql on LAN [on hold]

My question is rather simple, I have a Windows 7 machine that is hosting an Apache server and a MySQL server using the XAMPP control panel. Both of these have been installed as a service on the ...
-3
votes
0answers
33 views

nginx not start , site down [on hold]

today my vps not function , every web site hosted is down, i have centos 6.6 and web hosting panel (vesta) in service of vesta nginx not start, i try to deactivate the nginx for the site but the web ...