PostgreSQL: could not open file “/var/lib/pgsql/data/pg_clog/0726”: No such file or directory

when selecting a specific date from a table, at times due to database corruption Postgres might report the file was not found. hsphere=# select * from TABLE; ERROR:  could not access status of transaction 1918986094 DETAIL:  could not open file “/var/lib/pgsql/data/pg_clog/0726”: No such file or directory   In Such instances, we will need to re-create […]

Read More

joining Esxi to domain fails with LW_ERROR_INVALID_MESSAGE [code 0x00009c46]

Joining Esxi to doamin fails with the below message: [root@esx:~] ./usr/lib/vmware/likewise/bin/domainjoin-cli join ikigo.net Joining to AD Domain: ikigo.net With Computer DNS Name: esx. adm@INN.LAN’s password: Error: LW_ERROR_INVALID_MESSAGE [code 0x00009c46] The Inter Process message is invalid   Cat /etc/hosts show below: # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost.localdomain localhost 192.168.1.104 esx. esx […]

Read More

Few Handy VMware Powershell commandlines

Add a HDD to a virtual machine: $VM=’name of the VM’ $size=’Size in GB, Numeric only’ $Datastore=’Name of the Datastore’ $ProvisionType=”Thin/Thick/EagerZeroedThick”) $Controller=’SCSI Controller 0′ New-HardDisk -VM $VM -CapacityGB $size -Datastore $Datastore -StorageFormat $ProvisionType -Controller $Controller $DiskType   Clone VM $Name=’Name of the new VM’ $source=Name of the Source virtual machine’ $Datastore=’Datastore name’ $host=’host name or […]

Read More

VMware PowerCLi Install on windows 10, 1809

Install PowerCli from Windows Gallery Open powerCLI as an administrator and then run: Install-Module -Name VMware.PowerCLI List available VMware module: Get-Module -ListAvailable -Name VMware*   Import Module  Get-Module vmware* | Import-Module Set execution policy to remote signed if the importing fails: Set-ExecutionPolicy RemoteSigned   the failure generally would look like the below: PS C:\windows\system32> Import-Module […]

Read More