How to get Skype for Business components version

skype-for-businessYou can get all Skype for Business components versions grouped in a table with the following Powershell cmdlet.

Open Skype for Business Management Shell as Administrator on a Front End Server and execute the following cmdlet: Continue reading

Error Duplicate entry for key on query

mysql-logo-imageOn checking MySQL/MariaDB slave status we can see the following error:

There are a few ways how to treat such kind of errors. Continue reading

Reset your Skype for Business Conferencing ID and PIN

skype-for-business

There are three pieces of information used for establishing a dial-in Skype for Business conference:

Conference Dial-in Numbers – used by the conference attendees.
Conference ID – used by the conference attendees; each conference organizer has their own ID.
Skype for Business Conferencing PIN – used by the conference organizer.

Since Skype for Business Phone users have 3 PINs in total (Phone PIN, Voice Mail PIN, Conferencing PIN), you may wish to reset them so they all use the same 6 digits. Continue reading

Could not find target log during relay log initialization

mysql-logo-imageWhile a setting up MariaDB slave I ran in the following issue:
180118 14:14:11 [ERROR] Failed to open the relay log './-relay-bin'
(relay_log_pos 7654336)
071118 16:44:10 [ERROR] Could not find target log during relay log initialization
071118 16:44:10 [ERROR] Failed to initialize the master info structure

Continue reading

How to Install PHP 7 in CentOS 7

The CentOS 7 official software repositories have PHP 5.4 that is reached end of life and no longer actively maintained by the developers.

Thus you need a newer PHP 7 on your CentOS server.

The commands below will help you install PHP 7 on CentOS. All of them are executed as root account or with sudo

Continue reading

Unable to set php_value soap.wsdl_cache_dir

I php-fpm access.log we can see the following:

[18-Jan-2018 15:03:38] WARNING: [pool www] child 2148 said into stderr: “ERROR: Unable to set php_value ‘soap.wsdl_cache_dir'”

By default this parameter looks like the following:

php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache Continue reading

Apache HTTPOnly and Secure Cookie

Apache HTTP ServerHaving HTTPOnly and Secure in HTTP response header can help to protect your web applications from cross-site scripting and session manipulation attacks. Here is how to configure HTTPOnly Secure Cookie Attribute in Apache. Continue reading

Nginx HTTPOnly and Secure Cookie

Having HTTPOnly and Secure in HTTP response header can help to protect your web applications from cross-site scripting and session manipulation attacks. There are two ways to configure HTTPOnly Secure Cookie Attribute in Nginx. Continue reading

The target principal name is incorrect. Cannot generate SSPI context.

It is a good practice to use a domain or service account to run the SQL service.

However, once you do the right thing and change the SQL Service account, you may start getting the following error message when attempting to connect to the sql server:

“The target principal name is incorrect.  Cannot generate SSPI context.” Continue reading

Apache SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

For Apache error message is:
[Tue Jan 23 12:51:37 2017] [error] Unable to configure RSA server private key
[Tue Jan 23 12:51:37 2017] [error] SSL Library Error: 185073780 error:0B080074:
x509 certificate routines:X509_check_private_key:key values mismatch

Continue reading

Load more