Most Popular
1500 questions
48
votes
1 answer
Can't start php-cgi.exe - MSVCR110.dll is missing
Trying to setup nginx and php on my Windows machine, but every time I try to start php-cgi.exe I get a system error.
The program can't start because MSVCR110.dll is missing from your
computer. Try reinstalling the problem to fix this…
Marwelln
- 599
48
votes
2 answers
How do I check what kernel options were compiled without looking at /boot/config-*
How do I check what options are compiled into a Linux kernel without looking at /boot/config-* and if I don't have access to the /boot/config-* file that's left over?
Amandasaurus
- 33,461
48
votes
6 answers
Move files to another directory which are older than a date
I am looking for a solution to move files that are year older from today. My log partition is getting full, but I can not remove them. They are needed for a long long time. Anyway one solution I came up with is:
find /sourcedirectory -mtime 365…
cr0c
- 1,038
48
votes
5 answers
100% non-interactive Debian dist-upgrade
Is there a way to do an apt-get dist-upgrade in Debian that not only automatically answers "yes" to all questions asked, but also uses reasonable defaults as answers to questions that are sophisticated enough to require various interactive dialog…
Alex Balashov
- 907
48
votes
4 answers
What is the ibdata1 file in my /var/lib/mysql directory?
Logging in to my Webmin control panel, I noticed that virtually all of my disk space is full. I searched for the ten largest files/ directories on my system and found that a file called ibdata1 is taking up around 94GB of space. It resides in my…
James
- 653
48
votes
8 answers
Getting 408 errors on our logs with no request or user agent
I'm getting a lot of requests turning up in our apache logs that look like this
www.example.com:80 10.240.1.8 - - [06/Mar/2013:00:39:19 +0000] "-" 408 0 "-" "-" -
There seems to be no request and no user agent. Has anyone seen this before?
Glenn Slaven
- 2,470
48
votes
3 answers
UFW Firewall Rules ordering?
I have the following rules on our server within UFW:
To Action From
-- ------ ----
22 ALLOW 217.22.12.111
22 ALLOW …
dannymcc
- 2,747
- 10
- 49
- 73
48
votes
7 answers
Probability of Blade Chassis Failure
In my organisation we are thinking about buying blade servers - instead of rack servers. Of course technology vendors also make them sound very nice. A concern, that I read very often in different forums, is, that there is a theoretical possibility…
ChrisZZ
- 747
48
votes
5 answers
Check the Number of active connections on port 80?
I have a webserver, i need to check number of connections in my server at that given time,
i used following
netstat -anp |grep 80 |wc -l
this returned with
2542
but from my google analytics's i know that simultaneous users is not more than…
mahen3d
- 4,682
48
votes
7 answers
How can one efficiently use S3 to back up files incrementally?
I understand how rsync works on a high-level, but there are 2 sides. With S3 there is no daemon to speak of — well there is, but it's basically just HTTP.
There look to be a few approaches.
s3rsync (but this just bolts on rsync to s3). …
Jaimie Sirovich
- 581
48
votes
6 answers
Permanent block of IP after n retries using fail2ban
I have a fail2ban configured like below:
block the ip after 3 failed attempts
release the IP after 300 sec timeout
This works perfectly and I want to keep it this way such that a valid user gets a chance to retry the login after the timeout. Now,…
BTR Naidu
- 627
48
votes
34 answers
How are you documenting your work, processes and environment?
Are you using a wiki format? If so, which product? (MediaWiki, Confluence, Sharepoint etc.)
Have you create a knowledge base? (Problem/solution-oriented short documents.)
What challenges do you find with creating documentation that works, so you…
user1804
48
votes
1 answer
Curl POST - 411 Length Required
We have a RestFUL API we build in PHP. If we make the request:
curl -u api-key:api-passphrase https://api.domain.com/v1/product -X POST
We get back:
411 - Length Required
Though if we simply add -d "" onto the request it works and no 411 error. Is…
Justin
- 5,668
48
votes
1 answer
Chef best Practices/Questions
I use and love Puppet. I moved to a new company and they are adopting Chef. So I'm trying to learn Chef but am having a hard time piecing it all together because I still think in Puppet =)
These are my questions:
Is it better to setup roles in…
rizen
- 503
48
votes
8 answers
Can a single network card have 2 IP addresses?
Are network cards and IP addresses a one-one map?
kernel
- 8,861