All Questions
18,533
questions
3
votes
2
answers
4k
views
ulimit not reflected for jenkins slave
Problem
Got java.io.IOException: Too many open files in solr indexing through jenkins.
Did some googling and found we have to set the ulimit for the box in where we are running the job.
So set the ...
3
votes
1
answer
7k
views
Disabling CPU management
If I add the following processor.max_cstate=0 to the kernel command line for boot up, does that disable all CPU power management and throttling?
I also found:
http://www.experts-exchange.com/OS/Linux/...
3
votes
1
answer
3k
views
Site-specific folder redirection through group policy
Suppose I have two sites - A and B - both with 5/5 Mbps WAN links that are connected via L2L VPN. Each Site is defined in AD Sites 'n Services with its own domain controllers, etc. The problem is that ...
3
votes
2
answers
1k
views
Security of symlink to directory outside webroot set to 777?
I have a few websites that use the same cached weather reports so I wanted them all in the same folder. It seemed the most logical way to do this would be to but this folder outside of the webroot. It ...
3
votes
1
answer
4k
views
Smart Array P400i Physical Drive failed after being replaced
We have replaced the bad drives in a few HP systems (ProLiant DL360 G5), but they continue to show failed. The drives are part of RAID, and I think this might be why they are appearing as failed. The ...
3
votes
2
answers
832
views
Determing the Execution Environment of Apache
I am having this error:
[Mon Dec 05 10:22:23 2011] [warn] mod_rewrite: Running external rewrite maps without defining a RewriteLock is DANGEROUS!
[Mon Dec 05 10:22:23 2011] [error] (13)Permission ...
3
votes
1
answer
7k
views
Does an SMTP server have to have a public IP?
We have an SMTP server setup on an internal IP (10.x.x.x) that will send email to our customers. Since the server is inaccessible to DNS lookups from the outside, will this cause issues for sending ...
3
votes
3
answers
7k
views
accept all incoming emails with unknown name and redirect into a known user with postfix
when i send mail into my [email protected] address, this works.
but when i send mail into another inexistent user mail address (like [email protected]) this reject the e-mail:
Recipient address ...
3
votes
1
answer
4k
views
Online resize logicaldrive on Smart Array P410i
On my HP Proliant server I have hot added 2 extra drives. To expand the current raid 1 array I used the following commands:
hpacucli ctrl slot=0 logicaldrive 1 modify raid=1+0
hpacucli ctrl slot=0 ld ...
3
votes
1
answer
2k
views
Varnish purge on POST or PUT
In my application stack, I'm using CouchDB (in this scenario, to all intents and purposes it's a simple REST server) and I want to put Varnish in front of it to alleviate read load.
I know that ...
3
votes
2
answers
5k
views
How to set up internal routing between virtual interfaces and real ethernet interface (Linux)
I have a Linux box with one real (as opposes to virtual, a.k.a. aliased) Ethernet interface I can use (eth0 is used for other purposes - can't use it, nor can I add more NICs).
Say it's eth1
I need ...
3
votes
1
answer
10k
views
RAS log analyzer (PPTP / L2TP VPN)
I'm looking for a free log analyzer for windows 2003 RAS logs, specifically VPN logs. My goal is to determine how many times a particular user connects.
I googled of course and found 100s of links, ...
3
votes
4
answers
8k
views
Monitor multiple webs within a server in nagios
I would like to monitor/test multiple virtual hosts in an Apache Webserver and besides, I would like that these checks appears as a one service in Nagios -> HTTP. And if one of the web/URL fails, the ...
3
votes
3
answers
287
views
Taking an image backup of an entire server?
I am currently using a dedicated server for my hosting needs. However, the costs are too high and I would like to suspend everything until I work out my business strategy again.
Is there a way I can ...
3
votes
3
answers
338
views
Running a process within a limited amount of resources, in Linux
Is there a way to run a process (e.g. ls, du, find .. etc) within a strictly limited amount of resources (i.e. cpu, memory, I/O) aside from using nice & ionice, as I didn't find them effective ...
3
votes
5
answers
23k
views
How to implement cheap LFF 3.5" SATA storage on a HP ProLiant ML350 G6 with 2.5" SFF SAS
In a series of bad, hasty decisions, a HP ProLiant ML350 G6 server was bought for file server use at my place of work. The intention was to build a FreeNAS 8 server using cheap 3.5" SATA drives.
Only ...
3
votes
2
answers
5k
views
Finding Nginx/PHP-FPM bottleneck that is causing random 502 gateway errors
I work for a rather busy internet site that is often gets very large spikes of traffic. During these spikes hundreds of pages per second are requested and this produces random 502 gateway errors.
Now ...
3
votes
3
answers
4k
views
Loopback Device Not Configured On Boot
My knowledge of network interfaces on linux is limited at best, so I was hoping someone could help me figure out the best solution to a problem I have inadvertently caused.
After boot, the loopback ...
3
votes
1
answer
6k
views
Preventing email blasts with Exchange 2010 IP Throttling (or any other technology)
We need to slow down the rate email spam is sent through the Exchange system from our developers' buggy applications.
How can I throttle email messages in Exchange 2010 by Source IP, or sender, so ...
3
votes
2
answers
917
views
tomcat6 behind xinetd - real client ip
In server.xml, at the Connector I specify proxyPort as 80.
Here's the xinetd service:
service http
{
socket_type = stream
protocol = tcp
user = tomcat6
...
3
votes
2
answers
4k
views
How do I evaluate a class not on every puppet run?
I would like to have a method that only evaluates a particular class once a day at a specific time. Right now I am running my puppet agent from the cron, but I would like to change it to either run ...
3
votes
1
answer
5k
views
Postfix Postscreen: how to use postscreen for smtp and smtps both
I'm trying to get postscreen work. I've followed the man page and it's already running correctly for smtp.
But it I want to use it for smtps as well (adding the same line as smtp in master.cf but ...
3
votes
3
answers
8k
views
Remove userid from Recieved header
When sending mail through PHP mail() - Postfix adds the following header:
Received: by myhost.mydomain.com (Postfix, from userid 48)
id XXXXXXXXXXX; Sun, 20 Nov 2011 21:22:13 +0100 (CET)
Is ...
3
votes
1
answer
6k
views
Can switch SFP/SFP+ uplink ports connect to a SFP/SFP+ NIC and how?
What I'm looking for is a solution to connect workstations with RJ-45 Ethernet NICs with a workstation with SFP/SFP+ NIC.
I found that many switches have both RJ-45 and SFP/SFP+ ports available, ...
3
votes
1
answer
9k
views
MS DPM - Slow performance of consistency check
I have a fileserver with an 8TB volume for which MS DPM is doing a consistency check, its now running 16 hours and it is probably less than 30% through the volume. Why is that so slow? My MS SQL ...
3
votes
1
answer
11k
views
Exchange 2010: Outlook clients refusing to update to new CAS server
I recently installed the CAS role on an internal mail server in an attempt to move CAS to that server instead of an outward facing web server (which also happens to be the DC).
After installing CAS ...
3
votes
4
answers
8k
views
How can I use shared functions in a remote Powershell session?
I have some Powershell scripts for setting up IIS web applications, message queues, etc.
They use a set of shared function libraries we've created - so each script starts with the line
. .\common....
3
votes
3
answers
15k
views
How to implement Nat loopback/reflection?
I'm trying to access a server on my LAN via its public IP address. External clients can connect just fine, but I'm unable to do so from within the LAN. There is a separate rule in the NAT settings of ...
3
votes
1
answer
2k
views
Is it possible to configure Nginx to allow for new domains to be added without me having to add a VirtualHost for each?
I have a SaaS application wherein users can enter their domain names. The application uses the hostname of incoming requests to determine the account based on the domain they entered for their account,...
3
votes
2
answers
17k
views
heartbeat: find out machine's status within a cluster?
I'm trying to do some heartbeat debugging.
Is there a simple way to ask a machine whether it thinks it's part of a cluster, and whether it's the master or the slave?
I've tried
$ heartbeat -s
...
3
votes
5
answers
7k
views
User permissions for both apache and local user
I'm trying to allow permissions to files on the /home/user1/public_html/ folder for both user1 and for www-data (apache).
I've been instructed to run these commands:
sudo chown -R www-data:user1 /...
3
votes
2
answers
4k
views
KVM on RHEL 6.1 makes host sluggish
I have been running RHEL 5.7 on a host just fine with several VMs (KVM). No major issues. Time came to upgrade to RHEL 6.1 as a few bugs had been fixed in this release.
When I start a VM or two under ...
3
votes
4
answers
30k
views
VSFTPD says "500 OOPS: cannot change directory"
As soon as I login with my virtual users in ftp I get "cannot change directoy", I have the following configuration in vsftpd.conf. Please suggest
listen=YES
anonymous_enable=NO
local_enable=YES
...
3
votes
1
answer
11k
views
Mod-proxy with query string alternatives?
I am currently trying to use mod_proxy to make search requests on another server. The remote server requests must be structured as follows:
http://path.to.remote/search.php?key=MYKEY&term=...
3
votes
1
answer
543
views
Troubles with Dovecot + Webmin on Debian 6.0
I installed Apache, PHP5, MySQL and Webmin on a vps. I host my website on that.
I completely reinstalled whole VPS with fresh installation of Postfix and Dovecot. But Dovecot fails to start, so ...
3
votes
2
answers
2k
views
My linux server "Number of processes created" and "Context switches" are growing incredibly fast
I have a strange behaviour in my server :-/. Is a OpenVZ VPS (I think is OpenVZ, because /proc/user_beancounters exists and df -h returns /dev/simfs drive. Also ifconfig returns venet0). When I do cat ...
3
votes
1
answer
5k
views
Tomcat 7.0.22 Windows service breaks with JRE update
If JRE update is run without first manually stopping the Tomcat service, Tomcat will no longer start after the next time it is stopped. This most often happens after rebooting per the JRE installer's ...
3
votes
2
answers
3k
views
When NOT to use virtualisation?
When virtualisation was new, we tried to virtualise everything, but then we noticed use cases where the our virtual machines were much slower than a bare metal.
For us, we use the following rules ...
3
votes
6
answers
52k
views
Pop up a message or run a program on remote windows 7 computer so currently logged on user can see it
How can you pop up a message or run a program on remote computer so the currently logged on user can see it.
We have done this on WinXP, but these don't work with Win7.
at.exe \\computername time /...
3
votes
1
answer
4k
views
No RDP after Server 2008 R2 SP1 install
I've painted myself into a corner. I've just installed Service Pack 1 on a Windows 2008 R2 server that is hosted in a remote datacentre with no possibility of logging in with a 'real' screen and ...
3
votes
4
answers
5k
views
SSH failing authentication after manual edit of /etc/passwd and /etc/shadow
Recently, I needed to add a user to our CentOS server. For some reason, I could not add or remove them using useradd or userdel, so I edited /etc/passwd and /etc/shadow manually, adding them. I was ...
3
votes
3
answers
6k
views
SELinux is preventing Perl CGI script from accessing Oracle libraries
I'm trying to configure SELinux on a Red Hat Enterprise Linux 6.2 web server that runs Apache 2.2.15 and Perl 5.10.1, and connects to remote Oracle databases. The Oracle 11.2g client is installed. The ...
3
votes
2
answers
3k
views
Xen host and guest sharing same IP
Is it possible for both Xen host and Xen guest to share same IP (albeit with different ports)?
We have a single public IP, and want to have both the Xen host (as host only, no other role) and the Xen ...
3
votes
1
answer
7k
views
How to point a subdomain to local server with dynamic IP
I see there are many related questions to this one, however the answers given seem to be a little vague for a novice like me.
I've got a dedicated LAMP stack running Fedora 16 locally on my home ...
3
votes
1
answer
3k
views
How to pass a vendor-specific options to a DHCP server using dhclient?
I need to send vendor-options to DHCP server using dhclient (ISC).
As I understand I need to describe that options in the dhclient.conf.
Do I need make new "space" for options? Or I can do "send"?
...
3
votes
1
answer
1k
views
Migrate Maildir between courier and dovecot servers
I have several tarballs that make up all the previous emails for two or three accounts on a mail server. This machine we be shut down within a few weeks and so I need to migrate all the previously ...
3
votes
2
answers
7k
views
IIS Connection String not being inherited
I have an issue where I've set up a connection string at the Machine level in IIS, and it is inherited all the way down as expected... EXCEPT for the application I want to use the string in. Other ...
3
votes
2
answers
10k
views
What does apc.mmap_file_mask really do?
I want to use APC in a shared environment, but the main problem is of course, opcode sharing.
To overcome this, I've thought about using different apc.mmap_file_mask for each user (they're chrooted ...
3
votes
1
answer
1k
views
How to share print drivers from a 64 bit Windows server to 32 bit client machines
I'm sure this is a dumb question, but I can't for the life of me figure out what the heck is going on. I've looked around and I've seen similar questions of this nature, but nothing exactly matching ...
3
votes
2
answers
1k
views
Linux Software RAID recovery
I am seeing a discrepancy between the output of mdadm --detail and mdadm --examine, and I don't understand why.
This output
mdadm --detail /dev/md2
/dev/md2:
Version : 0.90
Creation ...