Archives for 

amazon

and a typo in fstab…

note to self : when you fuck up fstab on an amazon volume and reboot there is no way you can ever repair this, so…

  1. stop the %$%$# up instance
  2. detach the root volume
  3. create a new instance
  4. attach and mount the detached root volume
  5. assign the elastic IP to the new instance
  6. go in (ssh) and fix fstab
  7. stop the instance
  8. detach the repaired volume
  9. attach to original instance again as root /dev/<rootname>
  10. assign the elastic IP again
  11. start the original instance

And after that…

  1. check that the internal IP for the database access has remained the same (otherwise adjust everywhere in database settings)
  2. check that php-fpm folders permission are not automagically reset if your tail log file is full of permission denied errors…

/etc/init.d/ … nginx, php-fpm, memcached, mysql etc…

and another hour wasted..but I think it’s up again Glimlach