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

learn more… | top users | synonyms (3)

3
votes
4answers
5k views

error reading keytab file krb5.keytab

I've noticed these kerberos keytab error messages on both SLES 11.2 and CentOS 6.3: sshd[31442]: pam_krb5[31442]: error reading keytab 'FILE: / etc/ krb5. keytab' /etc/krb5.keytab does not exist on ...
-1
votes
0answers
18 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 ...
1
vote
1answer
2k views

ISC DHCP fails to sync leases between peers

I use ISC DHCP version 4.1.1 on Debian GNU/Linux on both servers. I tried to solve the following problem using various versions of ISC DHCP but it remained the same. My configuration for failover ...
0
votes
0answers
20 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 ...
3
votes
1answer
889 views

Resize openSUSE 12.3 GPT ext4 partitions in a RAID1 disk array

I have a software raid configured (/dev/md2) which has assigned the partitions sda3 and sdb3 from two 3TB disks (sda and sdb). The partition types are GPT not LVM and file system is ext4. Now, the ...
-3
votes
0answers
50 views

Is apache or IIS faster on windows? [closed]

I am setting up a server and am wondering if there will be a performance gain if, on windows, I run IIS instead of Apache? otherwise would it be better to switch to Linux? EDIT: This server will be ...
1
vote
3answers
545 views

sudo sourcing user's .bashrc without impacting /root/.bashrc or /etc/bashrc

Is there any way to make sudo use the user's .bashrc file instead of the root one? I would like to use my own .bashrc while using sudo instead of the one of root or /etc/bashrc (I would have to force ...
0
votes
0answers
25 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
2answers
52 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 : // ...
1
vote
3answers
5k views

Cannot start up haproxy

Using ubuntu as my server I'm trying to set up load balancing using HAProxy. When I try to run using "haproxy -f haproxy.cfg" i get this error. [WARNING] 035/115820 (1148) : [haproxy.main()] ...
-2
votes
2answers
1k views

Set up Ubuntu FTP with root access to whole server

I've been trying to set up Ubuntu 12.10 with FTP to give the A user access to read/write any file on the server. I understand some people discourage root access for this, but at this stage I am more ...
0
votes
0answers
12 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 ...
0
votes
2answers
1k views

volume group not showing in /dev , /dev/mapper

We configure cluster with rhcs with storage partition.we created pv and vg. we can see pvdisplay and vgdisplay with all information about pv and vg which we created. But we can not see vg file on ...
-2
votes
0answers
19 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 ...
0
votes
3answers
67 views

NRPE commands doesn't work when called from remote management host

First of all: I know there were already questions about this issue, but even using their answers I still cannot figure out why my command is not working. What I want to do is call a script on remote ...
16
votes
2answers
1k views

How are CPU time and CPU usage the same?

In the Wikipedia page for CPU time, it says The CPU time is measured in clock ticks or seconds. Often, it is useful to measure CPU time as a percentage of the CPU's capacity, which is called ...
0
votes
1answer
48 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 ...
0
votes
0answers
37 views

Simple linux management system w/ web interface, dynamic-ip friendly [closed]

Here is the scenario: We have about a dozen Linux machines running in a lab at our university as part of a club activity. They're running mostly distributed computing projects - Folding, Seti, etc. ...
12
votes
3answers
9k views

Using bash, how can i find out the average, max and min from a list of numbers?

I have a series piped greps, awks and seds which produce a list of numbers, one on each line. Something like this: 1.13 3.59 1.23 How can i pipe this to something which will output the average, ...
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 ...
13
votes
1answer
157 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 ...
2
votes
1answer
78 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 ...
1
vote
1answer
946 views

How to get notified of mdadm RAID problems?

I am running Ubuntu 12.04 LTS. Yesterday I found a message in my mailbox saying that my server was shut down. I proceeded to reboot the system, but it didn't come up after many minutes, and I didn't ...
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
0answers
9 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
35 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 ...
0
votes
0answers
26 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
137 views

Migrate Entire SVN Server

We have an SVN server with around 55 GB of code, and a second, brand spanking new SVN server which currently serves one project. I'd like to move all of the content on the old server to the new ...
0
votes
1answer
82 views

Cron occasionally fails with “grandchild #X failed with exit status 3”

I have cron jobs and every now and then they fail. Just after log message that the command has started, there is grandchild #X failed with exit status 3 message. On the next run scripts finishes ...
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 ...
0
votes
1answer
39 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. ...
63
votes
9answers
10k views

Linux - Is there a way to prevent/protect a file from being deleted even by root?

I have a very important file which an application in my workplace uses, i need to make sure it is not delete whatsoever, how can I do that?
5
votes
2answers
183 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
2answers
72 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
66 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% ...
2
votes
4answers
16k views

Cacti: How to monitor Windows Hosts?

I have Cacti installed on a computer and SNMP enabled on my Windows Hosts (Community string : public) How do I get the Windows Network Utilization, HDD, CPU, and more? I would like a guideline on ...
2
votes
1answer
3k views

500 OOPS: vsftpd: refusing to run with writable root inside chroot() Login failed on debian

I install vsftpd for running FTP server on debian 7.3. I checked vsftpd version was 2.3.5 and i configure it like so: listen=YES local_enable=YES write_enable=YES chroot_local_user=YES ...
6
votes
2answers
1k views

Is it safe to interrupt a mdadm --grow operation?

I recently changed the disks in my RAID5 from 3x2TB to 3x3TB. I also wanted to change the chunk size from default 512k to 128k. I have added all new devices to the array and I run: mdadm /dev/md1 ...
0
votes
1answer
869 views

proftpd, dynamic IP, and filezilla: port troubles

The basic setup: Two computers, one running proftpd, one attempting to connect via filezilla. Both linux (xubuntu on the server, kubuntu on the client). Both are at the moment behind a router on a ...
0
votes
2answers
875 views

Adding a static route to a virtual interface using configuration files rather than ip command

We statically assign our routes using the /etc/sysconfig/network-scripts/route-ethx files. This makes managing them fairly easy since we add the routes during the kickstart process (by way of ...
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 ...
14
votes
7answers
15k views

How to change “From:” field for emails from Cron?

I use remote SMTP via nullmailer and it requires set From field to the specific name, but cron set it as root@my.sweet.server.com. How could I change it to something like me@ya.ru?
0
votes
1answer
32 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 ...
0
votes
2answers
82 views

Export munin data, import it and rebuilt html and graph

I am trying to read data collected from a server to an other server. Reading Change a Munin server and keep the data seems show a way to do this. exporting rrd database using rrdtool dump importing ...
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> ...
9
votes
6answers
3k views

How to find the cause for growing server load

I'm having load problems with my server and even though I'm a somewhat experienced Linux admin I'm out of ideas now. The problem is a slowly but steadily increasing load on the server without any ...
-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 ...
2
votes
1answer
74 views

How long does a Ubuntu shutdown script have during a shutdown?

I have a script setup in /etc/rc6.d/ and /etc/rc0.d/ to be executed when the machine goes down. However, there seems to be a strict time limit for how long those scripts can run. (This makes sense, ...
0
votes
2answers
1k views

DNS issue with squid

I'm having DNS issues with a squid setup. I also tried using dns_nameservers directive in my squid.conf to point to the DNS servers. I have a scenario where www.example.com is supposed to go out to ...
1
vote
1answer
15 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 ...