Detección y resolución de problemas en Mac

Contenido

Descripción

El objeto de este Wiki es proveer de recursos y ayudar a los usuarios de Mac a detectar fallos y solucionarlos. Esta guía de problemas no se refiere a ninguna versión en concreto de Mac OS X, aunque puede que algunas de las características aquí descritas no se encuentren presentes en todas las versiones.

Primeros auxilios

  • Reinicia
  • Comprueba/soluciona problemas en el sistema de ficheros
  • Asegúrate de que no estás quedándote sin espacio en disco
  • Repara permisos
  • Create otra cuenta de usuario y comprueba si los problemas siguen persistiendo en ella
  • Vacía la caché del sistema y de usuario
  • Reinicia en modo seguro y comprueba si el problema persiste
  • Resetea el firmware
  • Resetea la PRAM
  • Desconecta todos los dispositivos USB y Firewire excepto el ratón de Apple
  • Vuelve a aplicar el último Combo Updater
  • Ejecuta el Hardware Apple Test
  • Comprueba el disco en busca de bloques dañados
  • Quita la RAM de otros fabricantes y usa la original
  • Desconecta tarjetas PCI de otros fabricantes
  • Resetea la PMU
  • Archiva y reinstala el Sistema Operativo
  • Reinstala el sistema operativo desde cero
  • Envía la máquina al Servicio Técnico
  • Notas adicionales


Reinicia

Si el reinicio arregla el problema y este no vuelve a aparecer, enhorabuena.

Comprueba/soluciona problemas en el sistema de ficheros

Hay varias formas de hacer esto. Puedes arrancar desde la partición de Recovery (cmd+r en Lion o superiores), o arrancar desde el CD/USB de instalación ejecutar la Utilidad de Discos y seleccionar Reparar Disco. Si no dispons de esos medios, puedes arrancar en Single Mode (cmd+s) y ejecutar el comando Unix fsck.

La Utilidad de Discos reportará si había problemas o no y si pudo arreglarlos o no. En el caso de que no pudiese reparar un problema detectado, antes de formatear es recomendable probar otra herramienta alternativa, como por ejemplo DiskWarrior.

Si hubo errores que necesitaban ser reparados y la Utilidad de Discos consiguió arreglarlos satisfactoriamente tienes muchas posibilidades de que tu problema esté solucionado.


Asegúrate de que no estás quedándote sin espacio en disco

Cuando el sistema se está quedando sin memoria, necesita escribir archivos de intercambio en tu disco duro. Si tu disco duro está casi lleno, entonces el sistema irá perdiendo facultades útiles. Controla cuánto espacio libre tienes en tu disco de arranque obteniendo dicha información en el Finder. Por otro lado, puedes usar la excelente aplicación DiskSpace, que te mostrará en la barra de menús una imagen del espacio disponible.

Deberías tener al menos entre 500Mb y 1Gb de espacio libre en todo momento. Realmente, tú querrás más que eso, especialmente si tienes pensado quemar CDs o DVDs. Recuerda que incluso si tienes más espacio libre que el mencionado la primera vez que arrancaste, los archivos de intercambio pueden comerse el espacio muy rápidamente (2Gb o más es algo que no se sale de lo normal). Así que es una buena idea tener al menos 3Gb de espacio libre después del arranque.


Hay varias maneras de solucionar este problema: intenta eliminar de tu sistema tantos ficheros y aplicaciones que ya no uses como puedas para liberar espacio en disco, aunque eso no solucionará el hecho de que tu sistema se coma la memoria RAM, en cuyo caso será necesario pensar en una ampliación de la misma.

Repara permisos

A veces un problema puede estar determinado porque los permisos del sistema o de una aplicación en concreto no son los que debieran. Para repararlos, abre la aplicación Utilidad de Discos, que se encuentra en Aplicaciones / Utilidades. Selecciona el volumen que contiene el sistema operativo (si no le has cambiado el nombre probablemente se llame Macintosh HD) y luego haz click en la pestaña Primera Ayuda y después un poco más abajo, haz click en el botón Reparar permisos del disco. Comprueba

Create otra cuenta de usuario y comprueba si los problemas siguen persistiendo en ella

Si el problema persiste puedes crear otra cuenta en el Sistema y comprobar si el fallo sigue reproduciéndose. Para crear un nuevo usuario puedes hacerlo desde Preferencias del Sistema / Usuarios y Grupos. Después de hacerlo cierra tu sesión y haz login con la cuenta que acabas de crear. Si el problema desaparece, significa que el problema está en la cuenta de usuario. Lo normal sería que le dieras permisos de administrador a tu cuenta nueva y te deshagas de la problemática.

Aunque es recomendable intentar averiguar cual es la causa de un problema hay muchos factores y cosas a tener en cuenta si el problema reside en la cuenta de usuario, por lo que por lo general vas a perder mucho tiempo intentando averiguar el motivo del problema, aunque en ocasiones puede ser que el problema lo esté causando algún fichero de ~/Librería/Preferencias/. Si no tienes ni idea de qué fichero puede ser, puedes intentar ir copiando esos ficheros poco a poco a la nueva cuenta que creaste antes y descubrir por eliminación cuál es el problemático.


Vacía la caché del sistema y de usuario

Prueba a vaciar la caché del sistema y del usuario usando Onyx. Después de borrar las cachés, reinicia y comprueba si eso ha solucionado el problema.


Reinicia en modo seguro y comprueba si el problema persiste

Durante el proceso de arranque puedes pulsar la tecla Shift para indicarle al Mac que no deseas que te cargue servicios y/o módulos que no sean los propios del sistema. Si haciendo esto desaparece tu problema, posiblemente éste se encuentre en los items de inicio. Estos se encuentran en /Libreria/Extensions/, /Libreria/StartupItem/ y ocasionalmente en /System/Library/Extension. Tocar en cualquiera de estar carpetas puede resultar fatal para tu equipo, ya que la mayoría de las extensiones que puedas encontrar son proporcionadas por Apple, así que toca con cuidado, usa el sentido común, haz una copia de seguridad y si tienes dudas busca en Internet o pregunta.


09 Reset Firmware

Resetting your firmware will reset all firmware settings back to factory defaults. Things like the boot rom, power management, etc. are found in the firmware. To do this hold down the following buttons on your keyboard at boot up: cmd+opt+O+F. Once in open firmware type these commands: reset-nvram (hit return) reset-all (hit return once more, the system should reboot)

10 Unplug all USB, Firewire devices except Apple mouse

Reboot with everything unplugged. If this makes the problem go away, then you have a bad external device, bad cable, or bad port on your computer. Try to isolate which one it is. Be especially wary of USB hubs.

MORE SERIOUS TROUBLESHOOTING

11 Reapply the latest combo updater

Download the latest OS X updater from Apple. These updaters come in 2 flavors, an updater which will only update the next most recent version of the OS, and a combo updater, which will update all versions since the last paid update. You want the combo updater. It will be labeled as the combo updater, and it will be much larger than the normal updaters - around 80MB at this time. Find the updater on Apply the updater, even if your system version number is already up to date. See if this cures the problem.

12 Run the Apple hardware diagnostic CD

Boot off the CD by restarting while holding down the C key on the keyboard. See if you get any useful information.

13 Check the hard drive for bad blocks

One way of doing this is to try to re-initialize your drive using Drive Setup from the OS X Installation disk. Unfortunately, this will wipe out all of your data, so back up first, if that's the route you go. If the initialization fails, your disk is worthless garbage and must be replaced.

You can use the TechTool Deluxe CD that came with the Apple Protection Plan to check for bad blocks. Norton Disk Doctor will also allow you to test for bad blocks without erasing your disk using the Check Media option. Other 3rd party disk utilities may allow this as well. Hearing odd noises coming from your drive is a tip-off that this may be your trouble.

14 Take out 3rd party RAM

See if this cures the problem.

15 Unplug 3rd Party PCI cards

If this solves the problem, replace the cards one by one until you identify the problematic card. Contact the manufacturer to see if updated drivers are available.

16 Reset PMU

The PMU's (Power Management Unit's) location, and how to reset it, varies by machine. Go to Apple Support to find out how to do it for your particular machine. See if this cures the problem. Typically this will fix issues when your system will not power on.

Make sure you only hold in the PMU button for a second. DO NOT hold it in for any longer and DO NOT press it more than once. If you do this it could result in corrupting the PMU itself.

17 Archive and Install OS X

This will archive user/network settings and replace your current system folder with a new one. Boot off your OS X cd and run through the install as normal. Once you get to the screen where you select which hard drive you want to put the OS on there should be an options button under the hard drive. Select it and then select the archive and reinstall button. Then proceed through the install as normal. This may or may not fix your problem, and it can save you time from copying back ups back over, resetting user preferences, and reinstalling applications.

18 Reinstall the system from scratch

This step is annoying and time consuming, which is why we've saved it for second to last. It requires erasing your hard drive, so you'll have to either back up, or lose, all of your data. Apple's instructions for doing this can be found here.

19 Send the machine back to Apple

This step is very annoying, very time-consuming, and if the machine is out of warranty, can be very very expensive. So try a couple of the other steps first. Call Apple Support to arrange a pickup or locate an an Apple Authorized Service Provider by clicking here (for the USA; this article explains what to do in other countries.


20 Additional Notes

Uninstall Norton Products if you've installed them

Norton Utilities, Anti-Virus, and SystemWorks are hazardous to the health of your OS X system when installed. It's perfectly safe to run Norton Utilities booted off a CD or OS 9 volume, but you should seriously consider unistalling them if you've installed them on your OS X volume. They're trouble.

As of this time, anti-virus utilities are useless on OS X. There are no known system-wide viruses on OS X. There are indeed viruses that can contaminate documents inside Microsoft Office X, but there are preferences in those applications to protect against this.

Check your error logs

Check your system logs to see if there is anything relevant to your problem listed there. To do so simply go to the apple menu and select about this computer. A window will pop up displaying some basic information about your computer. Click on the more info button at the bottom of the window. This will bring up Apple System Profiler (ASP). The last tab furthest to the right of the ASP will be labled "Logs� click on it and then select console. It should list error messages related to each application you are having problems with.

Start your system in verbose mode

Start up your computer in verbose mode, hold down cmd+V at start up. You will see the a bunch of text scroll down the screen as everything starts up. Look for anything that gives an error message and record it. Try doing google searches, or search forums to see if the problem has already been discussed and a known fix has been established. A lot of times you can find fixes on these forums, they are a great tool.

ESD safety is important when working inside your computer

You do not want to damage any component when removing it. Refer to the manual that came with your computer, or Apple Support on the web.