Author Archives: zwamneus

Change files back to 644 and folders back to 755 with chmod

If you want to get rid of the nasty 777 on all files/folders see: find /path/to/base/dir -type d -print0 | xargs -0 chmod 755 find /path/to/base/dir -type f -print0 | xargs -0 chmod 644

Posted in CentOS, Linux | Tagged , , , | Leave a comment

HP Prolient disk tool hpacucli (cheat sheet)

Utility Keyword abbreviations Abbreviations chassisname = ch controller = ctrl logicaldrive = ld physicaldrive = pd drivewritecache = dwc hpacucli utility hpacucli # hpacucli # hpacucli help Note: you can use the hpacucli command in a script Controller Commands Display … Continue reading

Posted in HP Proliant, Linux | Tagged , , | Leave a comment

remove files older than X days

find example to remove files older than 5 days: find /path/to/files* -mtime +5 -type f -exec rm {} \; Note that this command will not work when it finds too many files. It will yield an error like: bash: /usr/bin/find: … Continue reading

Posted in CentOS, Linux | Tagged , , , | Leave a comment

/opt/dell/srvadmin/sbin/omcliproxy: error while loading shared libraries: libdsupt.so.1

After restoring DellOpenmanage from backup i got the following error: /opt/dell/srvadmin/sbin/omcliproxy: error while loading shared libraries: libdsupt.so.1: cannot open shared object file: No such file or directory The files (and symlinks) are located in: /usr/local/opt/dell/srvadmin/lib64/libdsupt.so /usr/local/opt/dell/srvadmin/lib64/libdsupt.so.1 /usr/local/opt/dell/srvadmin/lib64/libdsupt.so.1.100.147 I didn’t reboot … Continue reading

Posted in CentOS, Dell, Hardware | Tagged , , , , | Leave a comment

Dell Openmanage SNMP No Such Object

After upgrading your openmanage you could get a No Such Object in your monitoring. snmpget -v2c -c public localhost .1.3.6.1.4.1.674.10892.1 SNMPv2-SMI::enterprises.674.10892.1 = No Such Object available on this agent at this OID To fix this issue: sed -r -i ‘s/^(SNMP)=disable$/\1=enable/’ … Continue reading

Posted in CentOS, Dell, SNMP | Tagged , , , , | Leave a comment

Creating a custom SNMP oid for a bash script

I would like to know how many files are in a certain directory, so i create a little one liner that counts them: In my case i want to know the files on my replicated slave of postgres. I make … Continue reading

Posted in CentOS, SNMP | Tagged , , , , , , | Leave a comment

Helo command rejected: need fully-qualified hostname when sending emails (504)

Simple tip this afternoon. You may have got the following error when sending emails through ASP.Net’s built in mail server before: From: postmaster@YourWebserversName [mailto:postmaster@YourWebserversName] Sent: 29 June 2012 15:50 To: sender@sendingdomainname.com Subject: Delivery Status Notification (Failure) This is an automatically … Continue reading

Posted in Windows | Tagged , , , , | Leave a comment

Could not parse output, bad xml for package: dell_dup_componentid_00159

We sometimes see problems updating our Dell machines to the latest firmware, ie. update_firmware –yes fails: Running updates… – Installing dell_dup_componentid_00159 – 1.11.0Installation failed for package: dell_dup_componentid_00159 – 1.11.0 aborting update… The error message from the low-level command was: Could … Continue reading

Posted in CentOS, Dell, Hardware | Tagged , , , , , , | Leave a comment

‘No network adapters were detected’ error message while installing ESXi on Dell PowerEdge 12th Generation Servers

Installation of ESXi 5.0 While installing ESXi 5.0 (making use of VMware native Image), you might observe ‘No network adapters were detected’ error message. The reason for this is because the VMware native ESXi 5.0 image does not contain the … Continue reading

Posted in Dell, Hardware, Vmware ESXi | Tagged , , , , , , , , | Leave a comment