`
天梯梦
  • 浏览: 13763758 次
  • 性别: Icon_minigender_2
  • 来自: 洛杉矶
社区版块
存档分类
最新评论

解决 ubuntu 无法关机 Dell Studio 1569 Cannot Shutdown in Ubuntu 11.10 or 12.04

 
阅读更多

Shutdown computer using terminal in Ubuntu

f you want to shutdown your computer what do you do ? Simply go to shutdown button and click shutdown isn’t?

 

Have you ever wondered how would you shutdown your pc if your gdm (Graphical User Interface) is not working. Or you are only working in command line mood or running a computer user account with ssh(secured shell) ??

 

Shutdown command

The command used in ubuntu to shutdown is shutdown.

If you want to shutdown your computer right now enter the command below

$ sudo shutdown -h now
 

or

$ sudo shutdown -h 0
 

Shutdown computer at a scheduled time

if you want to shutdown command at a scheduled time enter the following command

$ sudo shutdown -h 12:00 "System is shutting down" 
 

This will shutdown your computer on 12pm with sending this message to all user.

You can also use power off or halt command to do this.

$sudo halt
 

or

$sudo poweroff
 

Reboot computer

Use any of this following command

$ sudo reboot
 

or

$ sudo shutdown -r 0
 

from: http://www.dscripts.net/2010/06/27/shutdown-computer-using-terminal-in-ubuntu/

 

解决 ubuntu 无法关机

 

1. Type in terminal:

sudo gedit /etc/default/grub
 

2. Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"


3. Change this to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"


4. Save the file and close the file.

 

5. Finally, in terminal:

sudo update-grub
 

 

I found it here: Dell Studio 1569 Cannot Shutdown in Ubuntu 11.10 or 12.04

 

 

Entering BIOS usually by pressing Del button when computer starting. Go to Advanced Settings and make sure APM is Enabled.

 

If you have installed Windows Operating System, and you succeed to shutdown your computer on Windows, it means your APM is Enabled.

 

If it still don’t fix your problem, try it in terminal,

$ sudo gedit /etc/init.d/alsa-utils
 

Change gedit with your favorite text editor. This will open alsa-utils or if it doesn’t exist, create new one.

Type,

ifconfig wlan0 down
ifconfig eth0 down
EXITSTATUS=0
 

Save file, and try to shutdown Ubuntu.

 

 

 

分享到:
评论

相关推荐

    Ubuntu 12.04 菜鸟使用手册(全)

    **Ubuntu 12.04 菜鸟使用手册(全)** Ubuntu 12.04 是一个基于Debian的开源操作系统,以其用户友好性和稳定性而受到广大用户的喜爱。这个版本,也被称作Precise Pangolin(精确的穿山甲),在2012年发布,提供长达...

    Oracle initialization or shutdown in progress 解决方法

    Oracle Initialization or Shutdown in Progress 解决方法 Oracle Initialization or Shutdown in Progress 是 Oracle 中一个常见的问题,即 Oracle 初始化或关闭过程中无法连接数据库的问题。今天,我们将详细介绍...

    ora-01033:oracle initialization or shutdown in progress 解决方法

    ### ora-01033: Oracle Initialization or Shutdown in Progress 解决方法 #### 一、问题背景及原因 **标题**: “ora-01033: Oracle initialization or shutdown in progress 解决方法” **描述**: “ora-01033: ...

    ubuntu设定开关机命令

    Ubuntu 设定开关机命令 Ubuntu 中设置定时开关机命令的语句是非常有用的,可以帮助用户在特定的时间关机或重启计算机。下面我们将详细介绍如何使用 Ubuntu 中的关机、重启、注销命令。 一、shutdown 命令 ...

    ORACLE initialization or shutdown in process

    解决方法: 进入dos: 以DBA用户登录,具体命令是 sqlplus /NOLOG SQL>connect sys/change_on_install as sysdba 提示:已成功 SQL>shutdown normal 提示:数据库已经关闭 已经卸载数据库 ORACLE 例程已经关闭 ...

    ora-01033 oracle initialization or shutdown in progress

    - 如果遇到问题(如:无法正常关闭),尝试使用`shutdown abort`强制关闭数据库,然后再次启动。 3. **启动数据库至mount状态**: - 在数据库关闭后,使用`startup mount`命令启动数据库到mount状态。这一步可以...

    Ubuntulinux关机、重启、注销命令.pdf

    本文将详细介绍 Ubuntu Linux 中的关机、重启、注销命令,包括 shutdown、halt、init、telinit 等命令的使用方法和参数说明。 一、shutdown 命令 shutdown 命令是 Ubuntu Linux 中最常用的关机命令。它可以用来...

    Ubuntu12.04配置KVM方法操作步骤20150901.docx

    【标题】:Ubuntu12.04配置KVM虚拟化环境详解 【描述】:本文将详细介绍如何在Ubuntu 12.04操作系统上配置并使用KVM(Kernel-based Virtual Machine)虚拟化技术,包括硬件支持检测、软件安装以及网络配置等关键...

    Ubuntu 12.04 安装配置 Tomcat 7.0.40Tomcat 服务器.docx

    在本文档中,我们详细介绍了如何在Ubuntu 12.04系统上安装和配置Tomcat 7.0.40服务器。以下是整个过程的详细步骤: 1. 首先,由于Ubuntu官方源中的Tomcat版本可能不是最新的,因此我们需要从Apache官方网站下载...

    Ubuntu常见的几个小错误

    Ubuntu 常见的小错误解决方法 Ubuntu 是一个功能强大且流行的 Linux 发行版,但是在使用过程中,可能会遇到一些小错误,本文将解决 Ubuntu 中的一些常见错误。 1. 安装程序时的锁定问题 在使用 sudo apt-get ...

    Ubuntu11.10安装JDK+Tomcat+Maven+jenkins

    Ubuntu 11.10 安装 JDK+Tomcat+Maven+Jenkins 本文将指导读者在 Ubuntu 11.10 版本中安装 JDK、Tomcat、Maven 和 Jenkins,从而构建一个完整的 Java 开发环境。 JDK 安装 JDK(Java Development Kit)是 Java ...

    Ubuntu linux 关机、重启、注销 命令.docx

    Ubuntu Linux 关机、重启、注销命令 在 Ubuntu Linux 系统中,关机、重启和注销都是非常重要的操作。今天,我们将学习如何使用不同的命令来实现这些操作。 shutdown 命令 shutdown 命令是 Ubuntu Linux 系统中最...

    SHUTDOWN-定时开机关机

    SHUTDOWN-定时开机关机 SHUTDOWN-定时开机关机 SHUTDOWN-定时开机关机 SHUTDOWN-定时开机关机 SHUTDOWN-定时开机关机

    定时关机Shutdown Agent

    "定时关机Shutdown Agent"正是为满足此类需求而生的软件工具,它以极简的设计和方便的操作流程,让用户能够轻松管理电脑的关机时间。 软件的界面设计简洁直观,即便是非技术用户也能快速上手。用户可以设置一个具体...

    定时关机命令shutdown

    在IT领域,定时关机命令“shutdown”是一个极为实用的功能,尤其对于系统管理员或需要自动化管理计算机的用户来说,它提供了高效且灵活的系统控制手段。本文将深入解析“shutdown”命令在Windows XP系统中的应用,...

    不使用shutdown情况下系统关机

    "不使用shutdown情况下系统关机"这个主题主要关注的是在不依赖`shutdown`命令的情况下,如何安全地关闭计算机。这对于一些特定环境或者特殊需求来说非常重要,比如在没有权限使用`shutdown`命令,或者在系统故障或...

    CentOS关机大法之shutdown应用实例.pdf

    "CentOS关机大法之shutdown应用实例" 在本文中,我们将详细介绍CentOS系统中的shutdown命令的使用实例,包括其基本用法、参数设置、取消关机命令等内容,同时也会介绍halt、poweroff命令与shutdown命令的区别。 ...

    vista 关机命令 shutdown

    ### Vista关机命令Shutdown详解 在Windows Vista操作系统中,`shutdown`命令被广泛用于执行诸如关闭、重启系统等操作。本文将围绕“Vista关机命令shutdown”这一核心主题,详细解析该命令的各种参数及其使用场景,...

    Android 关机和重启(reboot and shutdown)源码.rar

    在Android系统中,关机和重启是两个基本但至关重要的操作。它们涉及到系统服务的停止、内核的关闭以及硬件的电源管理。本压缩包文件包含的源码为我们揭示了这些过程背后的细节。以下是关于Android关机和重启源码的...

    Linux系统关机命令shutdown

    Linux系统关机命令shutdown introduction

Global site tag (gtag.js) - Google Analytics