Cmdbuild 3.1 installation on CentOs7

I believe that some people might find this small script useful.

Anyway, watch out the variables, also keep in mind that not everything as been set as variable. There are no checks on existing things (except on postgres listening) and it will execute commands anyway, it should be idempotent though..

Continue reading “Cmdbuild 3.1 installation on CentOs7”

CMDBUILD 3 REST API EXAMPLE AUTHENTICATION

Geez, how hard is it to slap an example in the documentation, Tecnoteca?

here, guys i know you’ve been looking hard for this and here you go:

curl -X POST '//10.0.0.26:8080/services/rest/v3/sessions/?scope=service' --header 'Content-Type: application/json' --data-binary '{"username": "admin", "password": "admin"}' | jq '.'
Continue reading “CMDBUILD 3 REST API EXAMPLE AUTHENTICATION”

Postgresql scl enablepfffff. Persist already!

It might happen (usually to people who are sane in their mind) that you use the software collection just to get a newer version of Mariadb or Postgres or whatever is in there. So just to be clear: this is not the situation where you want to run two different version of the same package on the same system. That is booboo and if you found that in your workplace it means that the people preceding you didn’t exactly give a dam about having a safe environment and a pleasant workplace.

Continue reading “Postgresql scl enablepfffff. Persist already!”

Zimbra multi server – servers and services show as down in admin interface.

Solution for servers and services shown as down in zimbra admin console:

But they are actually up and running.

In a m ultiserver setup servers and services show as down in admin interface.

Continue reading “Zimbra multi server – servers and services show as down in admin interface.”

postgresql FATAL: database system identifier differs between the primary and standby

This is due to two possible reasons:

  1. you did not do the initial filesystem sync (usually rsync)
  2. the recovery.conf contains errors

this page actually helped me

//www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-on-postgresql-on-an-ubuntu-12-04-vps

Hope this helps

ISP: ERROR Shibboleth.SSO.SAML2 [xx]: failed to decrypt assertion: XMLSecurity exception while decrypting: OpenSSL:SymmetricKey::decryptFinish – Out of range padding value in final block

The Sp (service provider) replaced the SSL certificate and the metadata used from the Idp are not up-to-date with the public key of the ISP.

This instead is the error message on MS ADFS:
Continue reading “ISP: ERROR Shibboleth.SSO.SAML2 [xx]: failed to decrypt assertion: XMLSecurity exception while decrypting: OpenSSL:SymmetricKey::decryptFinish – Out of range padding value in final block”

Docker cheat-sheet

Docker is great for development, but also, it gives you the superpower of extremely small images to easily move around docker containers.

I need this for personal stuff, but I think it can be useful to others, so let’s share it.
Continue reading “Docker cheat-sheet”

Unable to configure permitted SSL ciphers SSL Library Error: 336486680 error:140E6118:SSL routines:SSL_CIPHER_PROCESS_RULESTR:invalid command

You copy/pasted the virtualhost configuration from an output that truncated the long line that starts by

SSLCipherSuite

 

Am I right?

😉

Extend Xen guest partition on a live system without restart

No restart of the guest VM is required

on Dom0:

lvextend /dev/lvm/domU.lan-var -L +5G
Extending logical volumedomU.lan-var  to 7.00 GiB
Logical volume domU.com-var successfully resized

Continue reading “Extend Xen guest partition on a live system without restart”

Asus X202E touchpad sensitivity with Ubuntu

The ones out there who decided to drop Windows 8 in favor of Ubuntu after buying an Asus X202E will probably face the issue of a too sensitive touchpad which makes the laptop barely usable, with a lot of random unwanted clicks especially during the “two finger scrolling”. The two finger scrolling is a feature I really don’t want to give up as well as the touch to click one, as i find them really convenient as long as I have to use the laptop as laptop, which means without an external pointing device such as a mouse.
Continue reading “Asus X202E touchpad sensitivity with Ubuntu”