By default the w32tm service will not automatically start if your Windows machine is not on a domain. To ensure that the service starts automatically run the following command : sc triggerinfo w32time start/networkon stop/networkoff
The main cause for this error (see below) is due to su not being set to a setuid of root. su: cannot set groups: Operation not permitted Solution chmod u+s /bin/su
BART (Basic Auditing and Reporting Tool) provides the ability to determine file-level changes at a granular level within the Solaris 10 operating system. This is achieved via the creation of 2 manifest files (a control-manifest and test-manifest), each manifest catalogs the attributes of each file and then a comparison is run between the files and … Read more
Below lists the core Windows 2008 system files. The list “Core System Files” was derived from the “System Files” list (found here). The “System Files” list was obtained using the “file name” XML tags within %WinDir%\WinSxS\Backup\*.manifest. The %WinDir%\WinSxS\Backup is a cache storage for backing up critical system files that are needed to start Windows, as … Read more
By default VSFTPD does not allow the browsing of symbolic links. When you try to browse sym links you will get a message saying, 550 Failed to change directory In order to overcome this you can use the mount command. Here are the steps : [root@server ftpuser]# pwd/home/ftpuser[root@server ftpuser]# mkdir NEW_DIR[root@server ftpuser]# mount –bind … Read more
Each Syslog message contains a priority value. The priority value is enclosed within the characters < >. The priority value can be between 0 and 191 and consists of a Facility value and a Level value. Facility being the type of message, such as a kernel or mail message. And level being a severity level … Read more
When installing Oracle 11g on Fedora 13 you may get the following error : Error in invoking target ‘agent nmb nmo nmhs tclexec’ of makefile ‘/u01/app/oracle/product/11.1.0/db_1/sysman/lib/ins_emagent.mk Solution Within the file detailed in the error edit it and find the line that reads ‘$(MK_EMAGENT_NMECTL)’ change this to ‘$(MK_EMAGENT_NMECTL) -lnnz11’ Note : edit this file while … Read more
This guide looks at running your vSphere Client through SSH tunnels. You may need to do this due to having a Proxy in place or your firewall is blocking the required ports you need in order to run vSphere. 1. First of all edit your hosts file to include an entry for you ESX box. … Read more
Below shows you the steps in order to compile Rancid on an x86 Solaris 10 platform. RANCID monitors a router’s (or more generally a device’s) configuration, including software and hardware (cards, serial numbers, etc) and uses CVS or Subversion to maintain history of changes. Space on /var If you havent much space on /var run … Read more
When compiling from source you may see the following errors occur : /usr/include/sys/siginfo.h:259: error: parse error before “ctid_t” /usr/include/sys/siginfo.h:292: error: parse error before ‘}’ token /usr/include/sys/siginfo.h:294: error: parse error before ‘}’ token /usr/include/sys/siginfo.h:390: error: parse error before “ctid_t” /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc’ /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc’ /usr/include/sys/siginfo.h:398: error: conflicting … Read more
When compiling programs in Solaris you may find you recieve the following error (or something along the same lines) complaining about grep. checking for grep that handles long lines and -e… ./configure: line 3859: 13085 Killed “$ac_path_GREP” -e ‘GREP$’ -e ‘-(cannot match)-‘ <“conftest.nl” >”conftest.out” 2>/dev/null ./configure: line 3859: 13092 Killed “$ac_path_GREP” -e ‘GREP$’ -e ‘-(cannot … Read more
When trying to install the gcc package on Solaris you may find you get the following error : cpio: Cannot write “reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/cc1obj”, errno 28, No space left on device cpio: Cannot write “reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/cc1plus”, errno 28, No space left on device cpio: Cannot write “reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/collect2”, errno 28, No space left on device cpio: Cannot write “reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/f771”, … Read more
Below shows you the basic steps in order to configure your Linux Redhat / CentOS server as a Samba server. Install and Configure yum install samba -ychkconfig –level 123 smb on cd /etc/sambamv smb.conf smb.conf.backupvi smb.confcat > /etc/samba/smb.conf [paste the text below][global]workgroup = Workgroupnetbios name = SambaServerserver string = Samba Server %vlog file = /var/log/samba/log.%mencrypt … Read more
In this article we will show you how to set the time, date and timezone within CentOS. Though I’m sure this method will remain the same through the various Linux distributions. Steps Set the time zone Set the time and date Sync the hwclock with the current time and date Commands Below are the commands … Read more
This guide will show you how to install SSH on Solaris 10 x86 from the Solaris installation DVD. Mount CD If you havent enabled the feature that will automatically mount your CDROM drive you will need to mount it using the following commands : mkdir /cdrom Find the name of your cdrom -bash-3.00# iostat -En … Read more
Using the vmware-cmd command you can perform a number of actions on your Virtual Machines from the command line. Below shows you some of the functions you can perform : List Virtual Machines [root@ESX4 ~]# vmware-cmd -l /vmfs/volumes/4c16a0ec-2c7ebe2a-6ad5-0011s8azz71c/OpenSolaris 2009.06/OpenSolaris 2009.06.vmx /vmfs/volumes/4c16a0ec-2c7ebe2a-6ad5-0011s8azz71c/CentOS 5 – Oracle/CentOS 5 – Oracle.vmx /vmfs/volumes/4c16a0ec-2c7ebe2a-6ad5-0011s8azz71c/CentOS 5a/CentOS 5a.vmx Turn On Virtual Machine Below … Read more
This article shows you how to script and alert (via email) for when any of your RAID disks show as offline or your Logical Drive is not showing as optimal. In order to obtain all the stats about your Adaptec RAID card from your ESX box you can install the asm (adaptec storage manager) rpm … Read more
In order to set the hostname on CentOS you will need to change the HOSTNAME section within /etc/sysconfig/network Your hostname will now be updated once you logout and then back in. Its also worth noting that this will survive reboots.
Want to learn more about Operating Systems and Databases?