Search This Blog

Wednesday, April 8, 2009

OpenSolaris Slow Shutdown on VBox

When running OpenSolaris as a guest OS for Virtual Box on Mac OS I noticed it was taking quite a while for OpenSolaris to shut down and the display was showing the following message:
 svc.startd[7]: application/graphical-login/gdm:default failed. Transitioned to maintenance. See svcs -x -v
It seems that instructions below solved my problem. Please go to the original posting to download necessary files...
clipped from sites.google.com
OpenSolaris 2008.11 Tips >


Fix Slow Shutdown

OpenSolaris 2008.11 has a bug which causes it to take a long time to shutdown. You will also see this error message on the console:
    svc.startd[7]: application/graphical-login/gdm:default failed. Transitioned to maintenance. See svcs -x -v

This is defect 4887. You can fix your system by doing the following:
  1. Replace /var/svc/manifest/application/graphical-login/gdm.xml with the attached gdm.xml .
  2. Ensure that the new gdm.xml file has is owned by root:sys and has 444 permissions:
    chown root:sys gdm.xml
    chmod 444 gdm.xml
  3. Place the attached svc-gdm file in /lib/svc/method .
  4. Ensure that it is owned by root:bin and has 555 permissions:
    chown root:bin svc-gdm
    chmod 555 svc-gdm
  5. Remove the following lines from /usr/sbin/gdm :
    # GConf now needs D-Bus, so to launch AT programs it is necessary for D-Bus to
    # be started with gdm. We start D-Bus as the "gdm" user. We do not do not
    # need root privilege for this since the GUI and AT programs all run as the
    # "gdm" user.
    #
    eval `/usr/bin/su - gdm -c /usr/bin/dbus-launch --sh-syntax
    --exit-with-session`
    export DBUS_SESSION_BUS_ADDRESS
    export DBUS_SESSION_BUS_PID
  6. Restart the machine.

  • svc-gdm 1k - on Dec 28, 2008 7:18 AM by {4} (version 2 / earlier versions)

  • gdm.xml 3k - on Dec 28, 2008 7:18 AM by {4} (version 2 / earlier versions)

  • blog it

    No comments:

    Labels

    problems (8) windows 10 (7) Windows 7 (6) thunderbird (5) iPhone (3) Excel (2) MacOS (2) calendar (2) chrome (2) lightning (2) problem (2) tips (2) Apple on windows (1) Bluetooth (1) Costco (1) Disk Incentory X (1) Excel tips (1) GrandPerspective (1) MS Office (1) Mac (1) MacMini (1) Magic trackpad (1) Microsoft Compatibility Telemetry (1) N900 (1) Netgear (1) Office 2007 (1) OneNote (1) TWS (1) ThunderBrowse (1) Timezone (1) Trello on Thunderbird (1) Ventura (1) WNDR4500 (1) Web (1) WebPG (1) Window Maximize (1) Windows XP (1) adobe (1) associations (1) auto-complete (1) autocomplete (1) cell color (1) changes (1) conditional format (1) consolidation (1) day of the week (1) disabled (1) dish (1) dish network (1) disk (1) embedded document (1) excell (1) extension (1) file utilities (1) finger (1) fingerprint (1) firefox (1) folder consolidation (1) font (1) font size (1) forgot password (1) google sheets (1) high cpu usage (1) i7-TWS (1) iOS 10 (1) iPhone 5 (1) iPhone device (1) issue (1) itunes (1) japanese (1) java (1) keyboard (1) language (1) lock screen (1) log in problems (1) login problems (1) lower bill (1) mac os (1) magic mouse (1) mail (1) maximize (1) media server (1) mouse drifting (1) mouse problems (1) pdf (1) picture management (1) pictures (1) pivot table (1) portege z30-a (1) reading japanese (1) recovery (1) reduce (1) reference same cell (1) rename device (1) rikai (1) search (1) security (1) snipping (1) snipping tool (1) spotlight (1) telemetry (1) time (1) todo (1) toshiba (1) treemaps (1) unique values (1) update (1) utilities (1) weekday format (1) word (1) worksheets (1)