sysadmin

How to update contacts in Zimbra by scripting ?

I have a Zimbra installation and I need to programmaticaly update contacts in it. It seems that its REST interface is only working to add new contacts, but I need to update existing ones. Is there a way, tool or something, open-source, to do that ? ...

Next step for System administrator?

I have been a system administrator for about 8 years. Have worked on various technologies including various linux/unix flavours as well as MS technologies. I have also dabbled in perl and bash programming purely for sysad jobs. I am planning to switch to programming. Is it advisable for a sysad to shift to programming. If no, why? If...

Please recommend me a professional keepalive solution for our monitoring server

I'm looking for a tool that can be installed on our monitoring server and which allows us to perform scheduled requests to our web sites in order to keep them from shutting down (asp.net). I don't want to use a web service since we already have a dedicated monitoring server. Our monitoring software doesn't really have the ability to do ...

How to change MySQL root password to default?

My initial installation for the MySQL had no password for root. I assigned a password for root and everything worked fine. Due to some reason (don't ask why) I had to revert back to the original settings where root didn't have any password. I changed the root password to '' (empty string). The problem now is that MySQL doesn't run with ...

Is there any performance hit involved in choosing gzip over deflate for http compression?

We recently switched some of our sites from deflate to gzip and noticed a significant increase in cpu load on our servers. ...

Are there better clients for viewing System Monitor logs?

Does anyone know of a better GUI client for displaying Windows System Monitor log files? (System Monitor is sometimes called Performance Monitor.) I'm trying to track a long-term memory leak in a C# application running on Windows XP or 2K3 by comparing memory usages to run logs. Specifically I want a client that will allow me to see the...

How do you handle bandwidth billing on shared servers in apache?

What solutions do you have in place for handling bandwidth billing for your vhosts on a shared environment in apache? If you are using log parsing, does your solution scale well when the logs become very very large? Anyone using any sort of module out there for this? ...

How can I automate running commands remotely over SSH?

I've searched around a bit for similar questions, but other than running one command or perhaps a few command with items such as: ssh user@host -t sudo su - However, what if I essentially need to run a script on (let's say) 15 servers at once. Is this doable in bash? In a perfect world I need to avoid installing applications if at all ...

partition full, or not?

Hi, my partition /tmp is full... and its empty at the same time. So the partition is full. Check the directory: # du -sh /tmp 28K /tmp What? It is empty... And it is really empty... just two empty directories are located in /tmp Checking partition details: # df -h Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0...

How do I debug GRUB handing on "GRUB Loading stage2..." ?

I've seen this asked a lot around on the internet, with no satisfactory answers or root cause. Sometimes it's just 'well, replace your RAID controller', or 're-run grub install', etc. I'm running into this issue on a substantially large amount of hosts as to convince me there's some non-hardware reason it's happening - but it's also no...

What is the best Event Log viewer for windows 2003 server?

I'm Looking for a free or open source Event Log viewer on windows 2003 server with these capabilities 1.Remote log view 2.Filter and search 3.Popup notification of a new Log entry in windows Taskbar any recommendations? ...

How can openvpn deal with both dynamic and fixed IP addresses?

I have an OpenVPN server that dynamically assigns IP addresses (dhcp-style) to its clients. The address range is specified with a --server directive in the config file. I need to exclude a small number of addresses within that range and reserve them for clients that need to fixed IP addresses. I suppose I need to modify the config file c...

How do you handle developer access to windows servers?

When it comes to code launches how do you handle developer access to the server? Do they have RDP access to the machines to deploy code and make changes? Are they only given ftps access to the servers docroots and any .NET configuration changes are handled by the sysadmins? Do the developers even have access to the production docrooot...

How do I get sendmail to work reliably on a Mac OS 10.5?

I need to use sendmail from Macs in an office. At the moment, I can get it to work on the two development Macs (which I think is due to MAMP being installed and working), but getting it to go on the others seems to be a problem... I assume it's down to some config issue, and hope there's someway to fix it (without resorting to installin...

I would like to find something like gkrellm for the Mac

I have a linux dev server I watch, and lately its chugging at some points so I'd like to keep a better eye on it. I used to use Gkrellm, but its been a pain to try get Gkrellm to build on my Mac. Besides servering X remotely (which would not be optimal), I guess i'm looking for alternatives to Gkrellm. I would like a program that will...

how to use ssh to run shell script on a remote machine?

Hi, could you please suggest me how to run a shell script on remote machine? I have ssh configured on both machine A and B. My script is on machine A which will perform a task on machine B. Awaiting response! Will be great help for me. Regards, Arun ...

How to I export a system scope environment variable in bash

I need to set a system environment variable from a bash script that would be available outside of the current scope. So you would normally export environment variables like this: export MY_VAR=/opt/my_var But I need the environment variable to be available at a system level though. Is this possible? ...

Comprehensive methods of viewing memory usage on Solaris

On Linux, the "top" command shows a detailed but high level overview of your memory usage, showing: Total Memory, Used Memory, Free Memory, Buffer Usage, Cache Usage, Swap size and Swap Usage. My question is, what commands are available to show these memory usage figures in a clear and simple way? Bonus points if they're present in the...

How to install system packages into oracle?

I am creating a copy of our testing Oracle DB (10g both) and run into a problem in that our testing database has UTL_SMTP and UTL_FILE system packages installed and my local OracleXE version does not. Our system administrator has gone home for the day and given his state earlier I really would rather not bother him. How do I get these ...

Apache2 won't start - Mac OS X - Passenger

I've installed passenger a little while back and when I restarted my mac tonight, Apache2 won't start. Here is what I get. Anyone have any ideas? Re-install Apache2? dyld: Library not loaded: /usr/lib/libaprutil-1.0.dylib Referenced from: /usr/sbin/httpd Reason: no suitable image found. Did find: /usr/lib/libaprutil-1.0.dyli...