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

iptables, redirect all port 80 to an IP but let one IP forwards through

My router redirects all incoming traffic (interface eth0) to IP 1.2.3.4 : iptables -t NAT -A PREROUTING -i eth0 -p tcp --dport 80 --to-destination 1.2.3.4:80 When a client hits "100.80.77.8", I'd ...
0
votes
0answers
24 views

bash scripting and comparing 2 directories - Beginner [duplicate]

My problem is that i have to check what files are included in the $directory, then i have to make a new file with name specified by me and compare if the name doesn't already exist in this directory ( ...
1
vote
0answers
41 views

bash scripting comparing 2 things [on hold]

My problem is that i have to check what files are included in the $directory, then i have to make a new file with name specified by me and compare if the name doesn't already exist in this directory ( ...
-2
votes
1answer
14 views

Chown results in not being able log in VestaCP [duplicate]

so I needed to chown a folder and I accidently wrote chown -R admin:admin / And that chmowned all files for ~5sec then came up an error that it can not chown something and I stopped. After I ...
0
votes
0answers
8 views

ip command vs qdisc discrepancy in dropped packets

I am simulating packet loss via mininet network on Ubuntu 14.04. Why are there no dropped packets showing up in ip command? For switch s3, I have Qdisc (sudo tc -s qdisc show): qdisc htb 5: dev ...
1
vote
0answers
17 views

Nginx only allow directory endings, no index.html or index.php

Working on setting up an nginx server. I want to add some sort of location block that would only allow the parent folder of index.html or index.php to be served, but would redirect index.html or ...
0
votes
1answer
26 views

XFS: Internal error XFS_WANT_CORRUPTED_GOTO

After what appears to be a power outage on my standby postgres database, i'm receiving the error: XFS: Internal error XFS_WANT_CORRUPTED_GOTO after the system reboots as well as postgres error log ...
0
votes
1answer
41 views

PXE boot windows PE from Linux

I'm attempting to get a Windows Preinstallation Environment to boot over PXE from a Linux server. The end goal will be to install Windows but that's pretty easy once I can get WinPE to start up (I've ...
0
votes
2answers
40 views

Tail, grep and count the instances found in one command?

I am tailing a files output and grepping for lines with certain data. I don't want to output the data to the screen but instead count the number of instances it found and send that to the screen. The ...
0
votes
0answers
22 views

Installation of Red5 failed to execute

I encounter a problem with instalation of Red5 on my VPS (Ubuntu 12.04). Doing installation over SSH with Java installed. I tried over Maven because I realized that newer versions of Red5 do not ...
0
votes
1answer
41 views

OpenVPN server and client configuration for openwrt

I have an OpenWRT router with WAN(eth1) and LAN(eth0) interface. I wanted to install an openVPN server on this router, so I could access from the WAN side into the LAN side. My LAN(eth0) has a DHCP ...
0
votes
1answer
27 views

Bloomfield CPU without Intel VT-x

According to my research an Intel Bloomfield CPU (more specific: a i7-920) should support Intel VT-x technology ...
0
votes
0answers
9 views

connecting webmin console to remote squid proxy server

I have a Squid proxy running on windows 2008 system. I have another linux machine where i have installed webmin. Installing webmin on windows is a pain and require perl module thus i installed it on a ...
0
votes
0answers
15 views

Laptop overheating when using Apache [closed]

I have been trying to install Prestashop locally on my Sony Vaio laptop running Ubuntu. I tried installing it using LAMPP, and tried it before using Apache and PHP separately. But few seconds into ...
1
vote
1answer
26 views

List all kerberized SPN's in Linux

Is there a way to list/show all SPN's in an kerberized AD using a Linux Client? In Windows one can use setspn -T <domain> -Q */* to get them. Is there something similar? Haven't found anything ...
-1
votes
0answers
29 views

How can I make an internal server access internet through a local PC?

I have a Ubuntu PC (10.10.3.3) which has access to a Fedora server (10.10.2.210) within the same LAN and to internet through another server (with internal and public IPs). The Fedora server has no ...
5
votes
3answers
184 views

Generate entropy for PGP key

I'm logged onto a VM remotely and trying to generate a 4096bit PGP key, it just hangs forever because there is no entropy and since I'm working through remote desktop it probably does not detect the ...
0
votes
1answer
11 views

ganeti network: change bridge name

I try to add an instance to network, first first I need to connect the network to a bridge. I'm using bridge vbr0 instead of standard xen-br0, gnt-cluster info shows that ganeti has the default set ...
0
votes
2answers
34 views

Permissions, owner, group inheritance? [duplicate]

I don't understand restrictions in terms of directories nesting. For example, /var/www/folder/index.html directories. What permissions, owner, group should every directory and file have? Is there such ...
3
votes
0answers
18 views

Sparse files significantly larger (but still sparse) after copying over a network

When attempting to copy sparse VM image files from one KVM hypervisor to another over the network, I see the following behavior: The sparse files are still sparse files The copied sparse files are ...
0
votes
0answers
11 views

response ping is expired in transit [duplicate]

I've configured my debian's network on virtual box: auto lo iface lo inet loopback auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.56.15 netmask 255.255.255.0 gateway ...
0
votes
1answer
36 views

How can I log a linux command's process tree?

I'm trying to track the usage of a certain command so I want to log its parents (to see what is actually using it) Solaris has "ptree" which would be pretty easy to parse and log: # ptree 4198 4198 ...
0
votes
0answers
23 views

Different gateway per command

I have a network with multiple gateways and one is set as the default gateway on a server. I want a single specific command to use a separate gateway for all its traffic. How would I achieve that? ...
-3
votes
0answers
25 views

Change ip address while surf web pages

I am looking for command line browser like lynx but with --bind-address command line argument, like wget does. so i can browse the webpage with one of my ip address in server
0
votes
0answers
11 views

Proper records for mail and domain [duplicate]

I am having the following question: I have a domain (let's say example.com) and I need to set up the proper records for the e-mail so that to minimize the possibility for a message to go to spam. I am ...
-1
votes
0answers
10 views

How to generate stale jar [closed]

I have some jar files mounted on a file system(say /f1). For some of my tests, I want to generate the jar file stale. My linux version is-Enterprise Linux Enterprise Linux Server release 5.8 ...
-1
votes
1answer
35 views

Draytek 2860 appears to be blocking DNS queries [on hold]

I have a custom-built Wifi "Hotspot" setup which is built like this: Draytek Vigor 2860 router connects to the Internet (via ADSL), no custom setup other than settings for connecting to our ISP via ...
1
vote
3answers
55 views

How to determine which processes have most inodes opened

Here is my problem, visibile in a munin chart: My used/opened inodes are "suddenly" constantly increasing. Is there a way to determine which process is keeping the most currently opened inodes? I ...
-1
votes
1answer
40 views

Linux Backup Methods? [closed]

I want to ask for a good methode to backup some folders on my server with many files (all files together +/- 50 GB). The Files are web of private homepages? Maybe earlier take a backup from ...
0
votes
0answers
23 views

Run a script if an error in syslog appears

Is it possible to run a shell script if a specified string is found in rsyslog 5.8.11? I couldn't find any examples so I tried this but it doesn't work: $Template MyAlert,":msg" :msg, contains, ...
-1
votes
0answers
15 views

mod_fcgid: ap_pass_brigade failed in handle_request_ipc function Fcgid Warning

I have noticed this error cropping up in my error logs, what could be the cause of this: [Tue Jul 21 13:16:06.626541 2015] [fcgid:warn] [pid 24069] (32)Broken pipe: [client 192.0.99.245:31613] ...
0
votes
0answers
33 views

how to update a package in ubuntu 10.04

So I don't have much server experience so please bear with me... I working on a system with ubuntu 10.04 and have installed a program called pdftk. When I ran apt-get install pdftk, it successfully ...
-1
votes
1answer
36 views

PHP applications worked fine on Godaddy dedicated server (which failed), now don't work at all on shared Linux hosting [closed]

The drives on the dedicated server we had with Godaddy failed (according to them) and we ended up having to get shared Linux hosting for two sites we needed up ASAP. Godaddy copied all the files over, ...
0
votes
1answer
14 views

How do you sync ipset sets across two machines?

I would like to replicate IPSet sets from one machine (server01) to another machine (server02) using rsync or btsync or something similar. Is that possible? If so how do I do it? This is a redundancy ...
0
votes
0answers
25 views

Automatic connect to Samba share on (open)VPN connect

I'm currently working on several BeagleBoneBlack, all running Debian 7.8. The setup: One BeagleBone is running an openVPN server (with easy-rsa authentication) and a samba server. The sever is ...
-1
votes
1answer
43 views

Apache website root is Forbidden [closed]

http://s284544448.onlinehome.us, my shared hosting space (meaning I have no access beyond my folder), won't allow accessing the root, but http://s284544448.onlinehome.us/index.html works just fine. It ...
-1
votes
2answers
30 views

Setting up a shared team folder (served to the web) - Best Practices?

I'm setting up a shared server on Ubuntu 14.04 for my team to be able to upload files to be served via Apache. I'd like to give each user an SSH/SFTP login that they can use to upload files via SFTP, ...
0
votes
1answer
17 views

Assigning different IP from range on dnsmasq DHCP server

I have an installed dnsmasq DHCP server. I want to assign different IP address from defined range. For instance my IP range is 10.11.12.10 - 10.11.12.50 but I want to assign different IP ...
0
votes
0answers
16 views

linux quota tools report “Cannot resolve mountpoint path”

A user (let's call them fooster) was recently removed from a large, multi-user compute cluster. Now, whenever we use quota tools such as repquota or warnquota, we get the following output: [foo ~]% ...
0
votes
1answer
37 views

HA-Proxy 301 re-direct: https to https://www

I am trying to have HA-Proxy 301 redirect an https domain. I need: https://example.com to redirect to https://www.example.com This is what I was trying to get it to work: # corp - example.com ...
0
votes
1answer
42 views

SFTP clients not respecting default UMASK permissions [duplicate]

Here's my situation: I'm setting up an Ubuntu 14.04 web server for a team to share. I'd like the team to have read/write access to everything inside var/www/html (same as CHMOD 775 on every file and ...
0
votes
1answer
19 views

run cron job only if load not too high

I need to synchronize two systems, so the producers list new entities to be created on the consumer app. It has no realtime need (mostly for datamining, so being a few hours behind isn't an issue), ...
-1
votes
0answers
13 views

Chage command giving “password must be changed”

Can someone please explain what does the below mean when we run the below command. chage -l user Last password change : password must be changed Password expires ...
0
votes
0answers
8 views

Apache Processes Randomly go to high CPU for 25 minutes on EC2/RHEL/Glassfish4

I have a server that receives large POST (100,000 chars max) requests and passes them back to a Glassfish4 application server using mod_jk. The requests are POST requests with a content-type of ...
5
votes
0answers
262 views

Renaming: How to attach a word or rename multiple files [migrated]

I have multiple files in my directory. for example: eventDataLog.txt.2015-04-23-22 eventDataLog.txt.2015-04-23-23 eventDataLog.txt.2015-04-24-01 eventDataLog.txt.2015-04-24-02 ...
0
votes
1answer
20 views

SNORT: Is a PCRE on SSNs intensive

I'm trying to write a Snort rule to look for SSNs. Due to the limitations of the appliance in place I can not use the pre-processor settings. How intense would it be to run a PCRE rule for SSNs? ...
0
votes
0answers
16 views

No package transfer from host to guest on KVM

I want to assign external static IPs to my KVM guests. I do not prefer a NAT solution. What should be the configuration of network and routing tables? I manually assing a static IP to guest. I can ...
0
votes
0answers
12 views

Cannot start xserver on client after mounting / on NFS share [closed]

As the title suggests, i'm having issues starting an x session on my client machine. Client is a Raspberry Pi 2 running raspbian, this was setup and configured to auto login and launch chromium at ...
0
votes
1answer
14 views

How to use Snort generate packet logs when in the NIDS mode?

I am using Snort act like a network IDS by implementing snort configuration file and snort rules, I also want to capture all the packets (traffic) going through the specific network interface. My ...
-1
votes
1answer
25 views

Best way to manage multiple devices via SSH? [closed]

Are there any good tools for Ubuntu or OS X that allow managing ten to twenty devices via ssh? My setup right now is such that there is a remote server to which I log on and from there I access ...