I'm trying to write a script that will rename a computer and join it to a domain, and was planning to call on netdom.exe to do the dirty work. However, trying to run this utility in the script (same results in irb) does absolutely nothing. No output, no execution. I tried with backticks and with the system() method. System() returns fals...
I am having a problem making a sub directory act as the public_html for my main domain, and getting a solution that works with that domains sub directories too.
Background
My hosting allows me to host multiple sites, which are all working great. I have set up a subfolder under my ~/public_html/ directory called /domains/, where I creat...
Hi guys,
I have a server with AIX 6.1 , I formated some hdisks using diag tool, but in some way some of its VGDA survived.
how may I low-level format a hard disk using AIX?
or
how may I clear the VGDA of a specific hdisk?
thanks
...
In debian recently change de default version of python from 2.5 to 2.6 but i need 2.5, how i can configure apache and/or wsgi script to say it use pythons2.5 and not python default?
...
I'm looking into creating some monitoring for various aspects of our systems and wanted to see if anyone had an best practices or methodologies they use. One thing I'm trying to figure out is the best way to prevent cascading alarms.
For example if the database is down then you can expect alarms X Y and Z to go off, but X Y and Z are...
Hi Everyone
Can any one help me for the Mysql Administration Task,
I want information that how to maintain Database Space, index, cache etc..
Information related to secure MYSQL.
Thanks in advance!!!!
Riddhi
...
i found the following method to create swap, from here
dd if=/dev/zero of=/root/myswapfile bs=1M count=1024
Is there any thumb rule that to decide block size ? What is the best block size for Swap in any machine ? Here it is 1M..
...
I have a production website running apache on linux. There are all sorts of rules set up which I don't want to mess with.
I need to restart apache so I decided to do a configtest first to check that everything was ok.
My question is, will apache restart given this error?
>$ service httpd configtest
Syntax error on line 129 of /et...
Hi,
I need some advice on how to track down a weird occurence on one of my servers. I'm not a linux expert so please bear with me if I haven't explained properly. We have a test server that is running apache, php5, mysql, postgresql on linux OS. Recently the mysql database have had all tables removed apart from a few. I've investigat...
A tool that I am trying to install says:
MySQL server data directory needs to reside on an LVM volume
How do I check if my data directory is on LVM?
...
Hi,
As the title says, are there any sites for unix & windows wannabe system admins?
Thnaks
Harry
...
Consider the following setup:
There a 2 physical servers which are set up as a regular mongodb replication set (including an arbiter process, so automatic failover will work correctly).
now, as far as i understand, most actual work will be done on the primary server, while the slave will mostly just do work to keep its dataset in sync....
I want new log file copy generated and origional log to be 0 bytes and without restart of application ...it is happening but origional log file appended new data below NULL strings
...
I have a web service running in IIS, there are no errors being thrown and everything works great. BUT I notice that there are thousands of Messages in the Event viewer. Every time I send a request to the web service, a few of this messages are added to the Event viewer.
Even Type = Information
Event ID = 0
Category = None
Source = /LM/W...
So we have a production database that is 32GB on a machine with 16GB of RAM. Thanks to caching this is usually not a problem at all. But whenever I start a pg_dump of the database, queries from the app servers start queueing up, and after a few minutes the queue runs away and our app grinds to a halt.
I'll be the first to acknowledge th...
We are having a discussion at work, what is the best UNIX command tool that to view log files. One side says use LESS, the other says use MORE. Is one better than the other?
...
Does anyone have or know of a good template / plan for doing automated server upgrades? In this case I am upgrading a python/django server, but am going to have to apply this update to many machines, and want to be sure that the operation is fully testable and recoverable should anything go wrong.
Am picturing something along the lines...
Hi,
I have a linux box that I use all the time and it always work with different machines.
However, I also have a Windows box that is accessible from other windows box, but when I try access from the linux box I only get
root@hosting02:/# smbclient -L //10.10.10.5 -U Admin
Enter Admin's password:
session setup failed: NT_STATUS_INVAL...