LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-14-2009, 02: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, 05: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, 07:30 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 07:33 AM.
 
Old 05-15-2009, 07:43 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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, 08: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, 09:17 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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



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 01:48 AM
alsactl store not saving settings JosephS Linux - Software 2 12-14-2008 08:14 AM
Alsa doesn´t save my configuration, alsactl store neither fedivh Linux - Hardware 1 01-25-2005 06:31 PM
alsactl store doralsoral Linux - Software 2 05-20-2004 09:14 PM
alsactl store promblem doralsoral Linux - Software 0 05-17-2004 10:38 PM

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

All times are GMT -5. The time now is 01:21 AM.

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