PostgreSQL server failed to start, could not create lock file: permission denied

Change the owner of /var/run/postgresql and set it to postgres: sudo chown -R postgres:postgres /var/run/postgresql If the user you are running as does not have sudo privilege, then Change to root: su – Change ownership of /var/run/postgresql to user postgres and group postgres: chown -R postgres:postgres /var/run/postgresql I had the same problem when installing postgres … Read more

Why does Ubuntu 14.04 stick with (old) Eclipse 3.8 when 4.3 is out?

Eclipse Juno was released 2012-06-27. On 2012-07-17 a bug concerning the responsiveness of the UI was reported. Four months later, around 2012-11-14 the first patch was released to the official update-site. Many users, however, completely missed the release of the patches. I assume the information drowned in the FUD, and other more important news, that … Read more

Timed out while waiting for the machine to boot when vagrant up [closed]

I increase the time using config.vm.boot_timeout. But for me it was not the reason although the error tells about a timeout. I opened the Vagrantfile using vim and add the following lines which turns on GUI for the VM. config.vm.provider :virtualbox do |vb| vb.gui = true end After re-running the vagrant up i saw the … Read more

Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE Phonegap Installation

I got the same error, given I was behind a corporate firewall/proxy and my connection was passed the proxy’s certificate. In your command line run: npm config set strict-ssl false NOTE: that this is not best practice to blindly accept untrusted or invalid SSL certificates, which is what the command does (turn off certificate checking). … Read more

Error building : fatal error: pcre.h: No such file or directory

The latest version of Phalcon uses PCRE libraries. You can install them like so: sudo apt-get install libpcre3-dev and then try and install Phalcon again For CentOS you will need to use sudo yum install pcre-devel Credits: @xgretsch For Mac you can use brew install pcre Credits @Brandon Romano For Mac without brew Go to … Read more

gpg: no valid OpenPGP data found

This problem might occur if you are behind corporate proxy and corporation uses its own certificate. Just add “–no-check-certificate” in the command. e.g. wget –no-check-certificate -qO – http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add – It works. If you want to see what is going on, you can use verbose command instead of quiet before adding “–no-check-certificate” … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)