gnump3d-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnump3d-users] blank page and user field


From: alessandro pasotti
Subject: Re: [Gnump3d-users] blank page and user field
Date: Fri, 28 Apr 2006 12:42:07 +0200

I don't know, but maybe gid and uid could be out of sync, i.e. the process runs as user gnump3d but with a different group and hence cannot enter the folder.


BTW your problem is definitely with permissions.


I re-add the list in copy, maybe someone could be more helpful than me.

Bye.

2006/4/28, Onur Akgün <address@hidden>:
changing permissions to 655 works for the themes. Here's the new error:

Testing for directory: /mp3//
No password file found.
No password file found.
Cannot open directory : /mp3/ :Permission denied at
/opt/lib/perl5/site_perl/gnump3d/files.pm line 181.
Cannot open directory : /mp3/ :Permission denied at
/opt/lib/perl5/site_perl/gnump3d/files.pm line 119.
Cannot open directory : /mp3/ :Permission denied at
/opt/lib/perl5/site_perl/gnump3d/files.pm line 119.


and this the permissions for /mp3/  (ls -ld mp3/) :

drwxr-x---  148 someuser   gnump3d     49152 Apr 27 08:09 mp3/

unless I give read-execute permission to everyone for /mp3 , I get the
error above.

According to "top" command, gnump3d falls back to user "gnump3d" which
is a member of the same group. user is set in passwd and group is set
in groups files. My linux knowledge doesn't help me further :o)

I do not want to give any access to other users for my /mp3 directory,
but it looks like I have to give read access at least (and
read-execute for folders)

cheers,

Onur

On 4/28/06, alessandro pasotti < address@hidden> wrote:
> Try
>
> chmod -R 777 /usr/share/gnump3d/
>
> (if it solve the problem, then change file permissions to 644).
>
> Check also your /etc/gnump3d/gnump3d.conf, mine is here (note the user, it
> must exists in /etc/passwd and permission to this user must be granted on
> all directories/files where it must read/write):
>
>
> advanced_playlists = 1
> allowed_clients = all
> always_stream = 1
> directory_format = <tr><td width="10%">&nbsp;</td><td><a
> href=""
> $NEW</td><td>$SONG_COUNT</td><td>$DIR_COUNT</td><td>[$RECURSE]</td></tr></a>
> errorlog = /var/log/gnump3d/error.log
> file_format = <tr><td width="10%">&nbsp;</td><td><a
> href="" align="right">[<a
> href="" [<a
> href=""
> hostname = nas
> log_format = $connected_address - $user [$date] "GET $REQUEST" $HTTP_CODE
> $SERVED_SIZE "-" "$USER_AGENT"
> logfile = /var/log/gnump3d/access.log
> mime_file = /etc/gnump3d/mime.types
> new_days   = 7
> new_format = <font color="red"><b>New</b></font>
> now_playing_path = /var/cache/gnump3d/serving
> plugin_directory = /gnump3d/plugins
> port = 8888
> root = /home/mp3
> shoutcast_streaming = 1
> song_format = $TRACK - $ARTIST - $ALBUM - $SONGNAME [ $GENRE - $LENGTH /
> $SIZE ] $NEW
> sort_order = $TRACK
> tag_cache = /var/cache/gnump3d/song.tags
> theme = Tabular
> theme_directory = /usr/share/gnump3d/
> use_client_host = 1
> user = guest
>
>
>
>
>
> 2006/4/28, Onur Akgün < address@hidden>:
> > thanks for help. here's the debug lines i'm receiving:
> >
> > Testing for directory: /mp3//
> > No password file found.
> > No password file found.
> > The 'index.html' doesn't exist for the theme 'SchwartzNGrau'
> >
> >
> > but of course index.html is in it's place. I'm going to try to put
> > them in another directory which has full access to "gnump3d" user.
> > I'll post the results.
> >
> >
> > On 4/28/06, alessandro pasotti < address@hidden> wrote:
> > > I installed gnump3d to my linksys NSLU2 box two weeks ago (unslung), I
> just
> > > remember I had to start the server with the debug switch to see some
> > > permission issues that have to be fixed in order to run gnump3d.
> > >
> > > Try starting gnump3d by hand with debug activated and see what happens.
> > >
> > > Hope it helps.
> > >
> > >
> > > 2006/4/28, Onur Akgün <address@hidden >:
> > > >
> > >  Hi everyone,
> > >
> > > I've installed gnump3d to my linksys NSLU2 box, and I have a problem.
> > > When I try to access server from a web browser, it sends me a blank
> > > page.
> > >
> > > If I change "user = nobody" to "user = root" in gnump3d.conf,
> > > everything works great. But other than root, it's always blank page. I
> > > have created a group called "gnump3d" and a user belongs to that group
> > > with the same name, "gnump3d", and my mp3 folder's owner is my user
> > > "blabla" , group is "gnump3d". File/folder permissions are set at 750,
> > > which is rwx r-x r-- . Even if I change the permissions to 777 (which
> > > is, full access for everyone), if the gnump3d.conf is set to anything
> > > other than "user = root", I still get a blank page.
> > >
> > > Any ideas?
> > >
> > >
> > >
> > > --
> > > Onur
> > >
> > > _______________________________________________
> > > Gnump3d-users mailing list
> > >   address@hidden
> > > http://lists.gnu.org/mailman/listinfo/gnump3d-users
> > >
> > >
> > >
> > >
> >
> >
> > --
> > hareket yapma, hareketin kralini gorursun. (Anonim)
> >
>
>


--
hareket yapma, hareketin kralini gorursun. (Anonim)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]