LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2010, 12:36 PM   #1
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397

Rep: Reputation: 62
Using smartmontools under Ubuntu Netbook Remix.


Hi all,

This stuff is much easier under Fedora

I've got Ubuntu 10.04 NBR installed on my netbook. I've not really delved under the hood of Ubuntu, so I've got myself stuck pretty rapidly. I'm running all this as root through "sudo su - root" if it helps...

I'm trying to monitor my drive (/dev/sda) and have edited the following information into /etc/default/smartmontools: -

Code:
/dev/sda -m root@localhost -M exec /usr/share/smartmontools/smartd-runner
This was following the documentation from: https://help.ubuntu.com/community/Smartmontools


but when I try and start smartmontools service I get: -

Code:
root@joshua12:~# /etc/init.d/smartmontools start
/etc/default/smartmontools: 14: /dev/sda: Permission denied
Huh?! I'm root and have access to the disk (which is fine, btw, system is running peachy).

I had to use "/dev/sda" instead of DEVICESCAN environment variable (I assume that is what it is anyway) as recommended, because my system doesn't seem to have it and I'm not entirely certain what it should be.

Doing an "ls -la /dev/sda*" for this drive gives me: -

Code:
brw-rw----   1 root disk      8,   0 2010-09-23 17:42 sda
brw-rw----   1 root disk      8,   1 2010-09-23 17:42 sda1
brw-rw----   1 root disk      8,   2 2010-09-23 17:42 sda2
brw-rw----   1 root disk      8,   5 2010-09-23 17:42 sda5
Can anyone help please? Thanks.
 
Old 09-26-2010, 09:19 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Can you post your /etc/default/smartmontools?

Did you read /usr/share/doc/smartmontools/README.Debian? IMHO, the README.Debian file is the first place to look for documentation for anything packaged by Debian.

Evo2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resolution overclocking using Ubuntu netbook Remix 10.04 on an asus eee 4G netbook pawn0 Linux - Newbie 1 08-30-2010 04:31 PM
Ubuntu Netbook Remix Pascal Linux - Laptop and Netbook 1 06-01-2010 01:12 PM
Ubuntu Netbook Remix running very slow on my EEEPC netbook smschleidt Linux - Laptop and Netbook 1 05-05-2010 08:46 PM
keys not working on freedom netbook under ubuntu netbook remix albythom Linux - Laptop and Netbook 2 09-06-2009 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration