PHP White Screen

Scenario: A new webserver setup. HTML pages load fine but PHP shows blank white screen. Apache 2.x / Centos 6.x / PHP 5.3.3   First of all make sure PHP is installed. Then ensure the following lines are in the Apache configuration LoadModule php5_module modules/libphp5.so AddHandler php5-script .php If the same symptoms still persist then Read More…

Setting up vsFTPd to use SSL on FreeBSD

Notes: FreeBSD 9.1 / vsFTPD 3.0.2  / using a CA certificate 1) Ensure both private key and certificate are located in .pem. I named this vsftpd.pem   2) Edit the the vsftpd.conf file # vi /usr/local/etc/vsftpd.conf ### PASV FTP pasv_enable=YES pasv_min_port=49152 pasv_max_port=65535 port_enable=YES ssl_enable=YES ### SSL STUFF allow_anon_ssl=NO force_local_data_ssl=NO force_local_logins_ssl=NO ssl_tlsv1=YES ssl_sslv2=NO ssl_sslv3=NO rsa_cert_file=/usr/local/etc/vsftpd.pem   3) Read More…

Cannot connect to vCenter Single Sign On Server via Web Client

Problem: None of our users (including admin@system-domain) could log in via the web client. The normal vSphere client was accepting logins.   Looking at the vsphere_client_virgo.log file in C:\Program Files\VMware\Infrastructure\SSOServer\security\ we could see the following error: [2013-11-21 10:55:57.553] ERROR [ERROR] http-bio-9443-exec-29        9D007B355802AF829F8A1DF1B5D4EFD6 com.vmware.vsphere.client.security.sso.SsoAuthenticationHandler   Error during authentication com.vmware.vise.vim.security.sso.exception.SsoServiceException: java.security.cert.CertificateExpiredException: certificate expired on 20131107113017GMT+00:00   All Read More…

Equallogic Load Balancing

A have written a very brief overview of the techniques Equallogic use for load balancing in a storage pool. These can be split into 3 different components: 1) NLB – Network Load Balancer Depending on network load, Equallogic can redistribute ISCSI connections across Ethernet ports. This is accompolished automatically by using an inbuilt feature of iSCSI called redirection. The Read More…

Remove vCloud Director and Components

To  completely uninstall vCloud Director 1.5 and its components then use the following steps as a guidline: 1) Log into your VCD administrators portal and remove everything possible. That includes VMs, VAPPs, VSEs, networks, organizations etc 2) Disable then Unprepare Hosts (this requires maintenance mode) Just for reference. If you ever want to manually put your hosts Read More…

Trimming MySQL bin logs

During MySQL replication, changes on the Master are written to binary logs for the Slave(s) to update. By default these binary logs will continue to grow indefinitely unless you apply a specific setting. In this scenario I have chosen to keep 4 days worth of bin logs. The amount of bin logs is dependant on how much lag you Read More…