Author Archives : techstruggles


Gray disabled sound icon on mac

Fix WITHOUT reboot:   chown -R _coreaudiod:admin /Library/Preferences/Audio # Fix the dynamic linkers using the following command sudo update_dyld_shared_cache -force # Restart the coreaudio service sudo killall coreaudiod


apache unresponsive

apache2 hangs.  Check logs, see: [error] could not make child process 16190 exit, attempting to continue anyway check your php files (such as drupal’s includes/common.inc and sites/all/modules/advagg/advagg.missing.inc ) for: ignore_user_abort Try to comment all out, and restart apache.


apt-get upgrade getting: Err http://security.ubuntu.com raring-security/universe amd64 Packages 404 Not Found [IP: 91.189.91.15 80]

To make apt-get update work, we simply need to edit /etc/apt/sources.list and update all URLs from security.ubuntu.com and archive.ubuntu.com to point to old-releases.ubuntu.com, as per the following sed command: sudo sed -i.bak -r ‘s/(archive|security).ubuntu.com/old-releases.ubuntu.com/g’ /etc/apt/sources.list After this, sudo apt-get update seems to run without a hitch. Of course if you do this, you’re accepting to […]


ssh warning

When ssh, if you get:   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the DSA […]


Drupal site not loading

Drupal site just sits there loading and eventually times out?  Check sites/default/settings.php.  In particular, you may be loading stuff that will slow you down/bring your site to a halt.  For instance, try commenting out: $conf[‘cache_backends‘][] = ‘sites/all/modules/memcache_storage/memcache_storage.inc‘; $conf[‘cache_default_class‘] = ‘MemcacheStorage‘; $conf[‘cache_class_cache_form‘] = ‘DrupalDatabaseCache‘; $conf[‘cache_backends‘][] = “sites/all/modules/memcache/memcache.inc“; $conf[‘cache_default_class‘] = ‘MemCacheDrupal‘; $conf[‘cache_class_cache_form‘] = ‘DrupalDatabaseCache‘; Or any one that […]


Upgrade drupal manually

To update drupal manually, download and unzip drush, then go into the directory where you unzipped, and run: ./drush pm-update projects drupal-7.33 -r  <path to your drupal installation>   I later had to rebuild content access permissions. With drush:   sudo ./drush php-eval ‘node_access_rebuild();’ -r<path to your drupal installation> -y -l http://<url> -v I had […]