LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-14-2009, 03:10 PM   #1
jens1245
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 5
Alsactl store doesn't work


When i try to store my alsa sound levels using "alsactl store" I get the following error:

Command 'alsactl' is available in '/sbin/alsactl'
The command could not be located because '/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative priviledges associated with your user account.
bash: alsactl: command not found

Since it says i don't have the privileges i tried "sudo alsactl store", but now i get the following error:

E: core-util.c: Home directory /home/daan not ours.

I don't understand it, anyone does?

Thanks in advance!
 
Old 05-14-2009, 06:29 PM   #2
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
What distribution you using?
 
Old 05-15-2009, 08:30 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,737

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
The commands could be

1) 'su'

2) # '/sbin/alsactl store'

if you are using Redhat EL, CentOS or Fedora.
The command is usable by root only ( or sudo .. if Ubuntu.)
.....

Last edited by knudfl; 05-15-2009 at 08:33 AM.
 
Old 05-15-2009, 08:43 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183
Hi,

You need root privileges to make any system changes on Linux. If you run the 'su' command and have access to the 'root' password then you can do a 'alsactl store' from the cli after setting up the 'alsamixer'.
 
Old 05-16-2009, 09:00 AM   #5
smke
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Heyho,

I've got the same problem on xubuntu 9.04.
Even if I enter the command "alsactl store" with root privileges.

root@giri-desktop:/home# /sbin/alsactl store
E: core-util.c: Home directory /home/giri not ours.

Any suggestions?
 
Old 05-16-2009, 10:17 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183
Hi,

If you are going to direct the command then it should be '/usr/sbin/alsactl store'. As root you should not need to provide the full path as long as the root path is correct.

BTW, you should have created a new post.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need to run 'alsaconf' at every boot, even with 'alsactl store'. wtn2die Linux - Hardware 7 03-12-2010 02:48 AM
alsactl store not saving settings JosephS Linux - Software 2 12-14-2008 09:14 AM
Alsa doesn´t save my configuration, alsactl store neither fedivh Linux - Hardware 1 01-25-2005 07:31 PM
alsactl store doralsoral Linux - Software 2 05-20-2004 10:14 PM
alsactl store promblem doralsoral Linux - Software 0 05-17-2004 11:38 PM

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

All times are GMT -5. The time now is 03:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration