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

learn more… | top users | synonyms (3)

0
votes
2answers
31 views

Display IP & TCP statistics per interface (netstat -s with interface)

Linux has the ability to display protocol statistics with netstat -s. The output looks something like: Excerpt: 7487 times unabled to send RST due to no memory TCPDSACKIgnoredOld: 817 ...
0
votes
0answers
13 views

Count apache processes by domain requested

Found this rather handy script on http://www.thingy-ma-jig.co.uk/blog/25-10-2007/the-price-of-sucess-too-many-users which I modified a little to just show a running count of the number of apache ...
-4
votes
0answers
20 views

How to upload local file to server through Linux terminal [migrated]

I am trying to upload local files to server by using Putty or SSH but not getting upload there. Is there any direct method to upload file from local to server from Linux terminal without using FTP ...
0
votes
0answers
21 views

Linux kernel bug w/ netns and/or Xen guest - “unregister_netdevice: waiting for lo to become free”

I am running a web crawler in a Xen-based VM (on Linode); it makes heavy use of network namespaces to control use of VPNs on a per-crawl-process basis. It's been running mostly continuously for the ...
0
votes
0answers
27 views

rsyslog: one of two ruleset-specific main queues isn't processed

there is a Debian Wheezy server with stock rsyslog 5.8.11 which aggregate messages from two hosts, putting them into files at dynamically generated paths. A while ago we came to realization that a ...
0
votes
1answer
47 views

403 Forbidden Error on Azure Linux virtual machine [closed]

I am trying to access the freshly created virtual machine on azure via winscp and putty, through putty I am able to access the VM but via winscp I get following error, Proxy Error: 403 Forbidden. I ...
0
votes
0answers
19 views

Google Apps email forward verification failure

Our corporate email accounts are handled via Google Apps, however I am attempting to setup a forwarder from Google Apps to a support desk email. For example: support@example.com is setup as an inbox ...
-2
votes
0answers
20 views

free and htop show no free ram but ps doesn't show who consumes it

Can someone please explain the following: [kait@prod0 tmp]$ sudo ps -e --format rss | awk 'BEGIN{c=0} {c+=$1} END{print c/1024}' 3538.48 [kait@prod0 tmp]$ free -m total used ...
-1
votes
0answers
21 views

Images 503 when using Kirby and Dropbox Sync

I have a Dropbox folder on my Media Temple server at ~/Dropbox and I have a sub folder symlinked to a folder (a subdomain) in my web root using a Kirby CMS install at ~/domains/example.com/content ...
0
votes
0answers
5 views

Proxy all requests on a port [migrated]

I have a closed webservice in my network (a thermostat), which can be access on 192.168.0.1 port 80. Now I want to access that thermostat from the internet but I don't want to just forward that port ...
1
vote
1answer
15 views

dict_pcre.so missing on debian

I've installed postfix as I normally do, using apt-get install postfix, but for some reason it's not including dict_pcre.so in the install. Is there something I've overlooked, or rather how and where ...
0
votes
1answer
19 views

Memory errors despite plenty of headroom (Ubuntu VPS)

I'm getting all sorts of memory-related errors from python and php, plus segmentation faults - yet the output of free -m constantly shows plenty of spare memory - i.e. greg@greg-brown:~$ free -m ...
0
votes
2answers
55 views

Add cron job to save a web link into txt file

I need to setup a cron job to save a webpage info into a text file in a specified folder at every hour. here is what I've tried: crontab -e in insert mode I typed: 0 * * * * wget http : // ...
13
votes
1answer
168 views

Does the “bs” option in “dd” really improve the speed?

Every now and then, I'm told that to increase the speed of a "dd" I should carefully choose a proper "block size". Even here, on ServerFault, someone else wrote that "...the optimum block size is ...
0
votes
0answers
10 views

RewriteCond file-exists check fails for files existing with different case

The problem occurs in Drupal, but is more universal. So Drupal have this rewrite for files: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} ...
0
votes
0answers
28 views

Getting groups and permission right for apache uploads

I did have all this working for a long time but something had got messed up I am going round in circles. So I allow uploads to a site. Before the file is uploaded a folder is created using mkdir in ...
1
vote
1answer
72 views

postfix multiple IP SMTP banner

I've installed postfix 2.11.3 and we have multiple IP addresses on our server which we want to host two domains, isolated and running on their own IPs. domain1 unix - - n - - ...
0
votes
0answers
60 views

“Group policy client service failed. The logon access is denied” when copying roaming profiles to new server. (Samba)

We have perfectly working roaming profiles on Samba 3.3.10 (SuSE) with Windows 7 clients. We configured our new server with same domain name, Samba 4.1.11 (Debian). On the new server, for newly ...
5
votes
2answers
186 views

Non-interactive creation of SSL certificate requests

Is there a way to create SSL cert requests by specifying all the required parameters on the initial command? I am writing a CLI-based web server control panel and I would like to avoid the use of ...
0
votes
1answer
43 views

Efficient way to parse Apache Access Log for CMS logins

I've been working on a way to parse large multiple access logs (sometimes in double digit GB in size) for CMSs. Right now I just need WordPress and Joomla, but I know the types will grow over time. ...
0
votes
1answer
62 views

Using Firewall-cmd to create address specific restrictions in centos 7

How do I create a firewall rule using firewall-cmd tool (new firewalld) such that I will limit specific network to access only one service and allow all on all service in one zone. For example: I ...
1
vote
1answer
76 views

Limit Number of TCP connections in Linux Server, to avoid attack

I want to limit the number of TCP connections in Linux server, I have used the following command. iptables -A INPUT -p tcp --syn --dport 80 -m connlimit --connlimit-above 25 --connlimit-mask 32 ...
1
vote
2answers
80 views

Linux dd: Is there a way to redirect its output for monitoring?

Sometime the servers in my workplace experience some weird behavior, it happens in random physical racks around different DC's around the world. It seems like there's a networking bandwidth issues ...
0
votes
0answers
17 views

Mirror / backup laptop btrfs drive to sometimes connected external USB disk [migrated]

I have a laptop with an internal drive using btrfs. There are several subvolumes and snapshots on here. I want a copy of this drive to be made periodically to an external USB disk of approximately the ...
0
votes
1answer
31 views

Allowing outgoing connections to a particular IP with ufw

I have disabled outgoing connections as a whole with UFW seeing that I didn't want to take chances with my vBulletin forum exposing my server's IP address to attackers (I use CloudFlare). As I've ...
0
votes
1answer
20 views

Wordpress Opening From Wrong Directory

I have an Amazon ec2 m3 medium instance running AMI(RedHat based) Linux. I am trying to host multiple domains on this instance by adding this at the end of httpd.conf: <VirtualHost *:80> ...
-2
votes
0answers
17 views

linux vlan bridge feature backport to 2.6 kernels [migrated]

The VLAN-aware bridge was introduced to the Linux mainline on the 3.x kernels, according to this article on lwn: VLAN filtering/VLAN aware bridge Has this feature been backported to the 2.x kernels ...
0
votes
0answers
70 views

Linux 'df' command not showing root filesystem?

I'm using Ubuntu 14.04 at Rackspace. What could cause the root fs to not appear here? # df Filesystem 1K-blocks Used Available Use% Mounted on none 4 0 4 0% ...
1
vote
1answer
21 views

Issues with quagga and zebra in virtual machine

I'm trying to use quagga and zebra in a virtual machine with debian. I installed and configured quagga, the deamon file and configured the zebra.conf file. When I try to start quagga (service quagga ...
1
vote
0answers
39 views

Ghost not working on CentOs 7 despite clean install

I followed most of this tutorial to install Ghost on CentOs 7 but, despite the install going perfectly I am unable to see the welcome page. Here are a list of commands I used, let me know if I made ...
0
votes
1answer
36 views

how to swap VM disks in azure?

I've have recreated a virtual machine in azure, when I did it azure assigned an OS disk to the VM which is normal and obvious, and I have a disk from my previous virtual machine. for now I got two ...
0
votes
0answers
4 views

Why are external connections to my server so slow, but internal is almost instantaneous? [migrated]

My Setup I have an Ubee cable modem provided by my cable provider and a Linksys EA6300 router that handles my internal wireless connections. There is a Fedora 20 server connected to the Linksys. I ...
-5
votes
1answer
56 views

How to check if any malevolent scripts are running on the server? [closed]

I want to give some small jobs to freelancers who would have FTP access to my websites hosted on my server. I heard that sometimes it's possible they put malevolent scripts and software on the ...
-2
votes
1answer
45 views

Understanding linux /etc/shadow file structure (Linux) [closed]

Consider the following line taken from /etc/shadow file: root:$1$NFEf74q.$bmukkxAq9dOMJINgEtP7u0:15258:0::::: From this I understand that the hashing algorithm is md5 ($1) and starting from third $ ...
2
votes
1answer
91 views

Nginx Virtual host 403 Forbidden

I have just brought a domain name (example.com) and have setup a URL frame redirection to my server's IP XXX.XXX.XXX.XXX, however I am getting a 403 forbidden error. I can access pages fine via the ...
3
votes
2answers
86 views

Prevent high swap : apache configuration for server with high traffic site

I own a server that hosts a high traffic site that serves 800 - 1400 users at a given time. These users usually stays for more than 5 minutes (given the nature of the site where users usually download ...
0
votes
0answers
4 views

Create a write-cache loop device for a much larger block device [migrated]

So, long story short. * I had a 5.5TB RAID5 array with a HP controller. * HP uses a really, really painful RAID5 algorithm (ref: Delayed Parity) * I wrote a new block driver that translates requests ...
0
votes
2answers
45 views

Run two services with the same public port

Say I have http://localhost:8080 pointing to my Jenkins instance and http://localhost:8081 pointing to my Jira instance, what do I need to do to acess my services like http://localhost/jenkins and ...
0
votes
1answer
30 views

Supermicro X7DBU, how to put it to sleep

I am very new to server administration and just learning the stuff. I have just inherited a Supermicro 1U Server X7DBU running openSuse 12.3. Is it possible to configure it to go to sleep or low power ...
-2
votes
1answer
52 views

What is the best way to measure latency via a “telnet to port” test, preferably with built-in Linux tools?

I'm writing a Graphite/Diamond collector measuring network latency. Specifically it should measure the time it takes to open up a connection to a port on a remote server. And it needs to work via ...
0
votes
1answer
26 views

RPC over HTTPS with Linux Web App

I have a PHP/MySQL web application that runs on a Linux server running postfix. I use a phpmailer script which I can configure to relay via IMAP/SSL for accounts with valid login credentials. I have ...
0
votes
1answer
53 views

How can I return a specific exit code on the Linux command line?

I've got a program that controls a long-running process which runs over ssh on a remote machine. Frequently, I'll get disconnected in the middle of the process, so I've changed the invocation from ...
1
vote
1answer
22 views

Logrotate wildcard with many users and virtual hosts

I'm hosting multiple apache virtual hosts, with similar structure: - /var/www/ - domain - documentroot - logs I've thus modified rule in logrotate.d/apache2 to start with ...
1
vote
0answers
80 views

OpenVPN ignoring openvpn.conf, throws unrecognized or missing option

I set up openVPN on Debian, but can't start the service. [FAIL] Starting virtual private network daemon: openvpn failed! Syslog says Options error: Unrecognized option or missing parameter(s) in ...
0
votes
1answer
64 views

mysqldump running extremly slow

I posted this in stackoverflow but it rightly got moved (apologies about duplication!) I'm testing a new set of db servers on dell m820s running esx5.5 with debian wheezy using ext4 as a VM on each ...
0
votes
0answers
11 views

Using a PC to replace main wireless router [migrated]

I have a media server and would like to re-purpose it as the main router machine with my wireless APs branching off it and so using it as default gateway, DHCP, Port forwarding etc.(probably with a ...
0
votes
0answers
63 views

apache is utilizing 100% of cpu usage on m3.xlarge ec2 instance running centos - how to tune apache?

I have recently migrated to amazon. I have m3.xlarge maching with 4 cpu cores and 15 GB RAM . But my site goes down suddenly due to 100 % cpu utilization. top command says apache is utilizing almost ...
0
votes
1answer
37 views

Executing local function code on a remote server

I am updating about 20 bash scripts that perform various server-side operational tasks, checking status / sending reports etc. On some environments these scripts will run locally, on others they need ...
-1
votes
0answers
8 views

Mounting HFS+ (hfsplus) RAID 1 under Linux 3.13 [migrated]

I'm using a Linux Mint liveCD to rescue data off a Hackintosh which had its boot drive fail. I also have an HFS+ RAID 1 (created with Disk Utility in OS X) on separate drives in the system. ...
1
vote
1answer
59 views

No space left on device in spite partition is not 100% [duplicate]

I am trying to do the following on my Linux machine CentOS release 5.8 cd /var/APPstoreldap/Home touch test touch: cannot touch `test': No space left on device so I verified the partition disk ...