LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-05-2017, 06:34 AM   #1
ilos28
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Rep: Reputation: Disabled
Permission denied with icecast2


Hi, people.

I need some help with this issue. I've installed icecast2 in debian and I've configure two files (/etc/icecast2/icecast.xml and /etc/default/icecast2). In the first one I changed this lines:

Code:
<source-password>icecast2</source-password>
<relay-password>icecast2</relay-password>
<admin-password>icecast2</admin-password>
I know that is not a secure password, but it's just an exercise.

Then, in the second one I changed the line which said "ENABLE=false" (I changed it to "true").

So, the problem is when I try to start the service: /etc/init.d/icecast2 start. It said:

Code:
WARNING: gnome-keyring:: couldn't connect to: /home/xio-server/.cache/keyring-PHlt8r/pkcs11: Permission denied.
When I installed the service (in the initial configuration) I changed the passwords too (same with the icecast.xml). So I don't know what it means with "permission denied".


I'll thank some help, please.
 
Old 01-05-2017, 10:23 AM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Quote:
/etc/init.d/icecast2
Did you try that command as root or with sudo?
 
Old 01-05-2017, 10:26 AM   #3
ilos28
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by The EzekielProject View Post
Did you try that command as root or with sudo?
Yes, actually I was in root mode.
 
Old 01-05-2017, 11:48 AM   #4
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Did you verify that /home/xio-server/.cache/keyring-PHlt8r/pkcs11 actually exists? What OS are you using?
 
Old 01-06-2017, 03:50 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
gnome keyring? icecast? are you running an icecast server from a desktop ubuntu installation?

maybe you should implement the icecast server on a seperate machine, or at least inside a vm?

what are you trying to achieve?
 
Old 01-07-2017, 04:23 AM   #6
ilos28
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
gnome keyring? icecast? are you running an icecast server from a desktop ubuntu installation?

maybe you should implement the icecast server on a seperate machine, or at least inside a vm?

what are you trying to achieve?
Yes, I'm using icecast server in a VM.
 
Old 01-07-2017, 04:31 AM   #7
ilos28
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by The EzekielProject View Post
Did you verify that /home/xio-server/.cache/keyring-PHlt8r/pkcs11 actually exists? What OS are you using?
I'm using debian, and yes, that file exists but it's empty.
 
Old 01-07-2017, 06:09 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ilos28 View Post
Yes, I'm using icecast server in a VM.
well then i recommend installing a non-GUI system (debian stable?) into a vm, and run that icecast server from that system.
not saying it will fix everything, but it should eliminate gnome-keyring errors.

there's no point running an expensive gui on a server, and more often than not it will interfere adversely on the servers main task, namely serving.

actually and in any case, you should provide us with more general info on your problem. the OS you're using is certainly one of the first things to provide.
please see the first link in my signature.

Last edited by ondoho; 01-07-2017 at 06:12 AM.
 
Old 01-07-2017, 06:28 AM   #9
ilos28
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
well then i recommend installing a non-GUI system (debian stable?) into a vm, and run that icecast server from that system.
not saying it will fix everything, but it should eliminate gnome-keyring errors.

there's no point running an expensive gui on a server, and more often than not it will interfere adversely on the servers main task, namely serving.

actually and in any case, you should provide us with more general info on your problem. the OS you're using is certainly one of the first things to provide.
please see the first link in my signature.

Ok, I'll try it then. Probably the problem was due to I've used that debian's VM for other servers. I try to install it again as a new VM.

Well, actually I said I was running icecast2 in a debian machine, but it is also true that I didn't say anything about I was running it in a VM; so I'm sorry for that.

Thank you so much for your help. I'm going to try it again in a new VM.
 
Old 01-07-2017, 07:18 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ilos28 View Post
Well, actually I said I was running icecast2 in a debian machine
my oops.
anyhow, what i meant is not installing a gui.
i achieved that by installing debian and at some point during the install UNtick the "install desktop environment" option or some such.
and debian stable because it has never caused me any trouble since.
 
Old 01-07-2017, 02:33 PM   #11
ilos28
LQ Newbie
 
Registered: Nov 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
and debian stable because it has never caused me any trouble since.

So that "debian stable" is just a command console? (sorry, I'm a newbie with linux) I've tried to install debian without gnome, and, well, it is true that "gnome-keyring" doesn't bother anymore, but now I think the problem is in other point.

The "gnome-keyring" problem just happen when I use "/etc/init.d/icecast2", but not when I use "service icecast2 start" or "restart". Ironically, if I write "service icecast2 start" it says:

Code:
Starting icecast2: Starting icecast2
Detaching from the console
icecast2.
Then I try to go to the web with the url "192.168.1.X:8000" or something like that, even I've tried with "127.0.0.1:8000", but it doesn't work, the web never loads.

So I'm asking me if I am following the correct steps.

1º apt-get install icecast2.
2º not configure icecast2 as long as the installation is running (sometimes I've tried to configure it from there but in the "icecast.xml" I've never seen the configuration has changed).
3º change passwords from "icecast.xml".
4º change false to true in the line "ENABLE" from "/etc/default/icecast2".
5º try to start icecast2.


That is what I do.


---------- EDIT ------------

Well, it seems that something good has happened. I tried to install icecast2 without ANY configuration except to change to "ENABLE=true" in "/etc/default/icecast2", and it works.

So, I have to find out why it doesn't work if I change de password or anything.

Last edited by ilos28; 01-07-2017 at 02:48 PM.
 
Old 01-09-2017, 12:13 PM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ilos28 View Post
So that "debian stable" is just a command console?
i think ALL debian versions' installers come with an option to install a desktop environment (or not).
debian stable is a version of debian - there's stable, testing, and unstable... https://www.debian.org/releases/
 
  


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
[SOLVED] Execute permission set but permission denied when unlocking IronKey mdh524 Linux - Newbie 2 11-12-2015 09:36 PM
mkdir throws Permission Denied error in a directoy even with root ownership and 777 permission surajchalukya Linux - Security 14 09-03-2012 08:34 AM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
Permission Denied lackof Linux - Networking 1 08-14-2002 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:22 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