Steve Kemp | 1 Jan 2007 17:21
Picon
Favicon
Gravatar

Re: running gnump3d on NetSecL without Apache

On Sat, Dec 30, 2006 at 10:21:02PM -0500, Marty Huntzberry wrote:

> Is Apache a requirement for gnump3d to serve?

  No.

  Run :

    gnump3d2 --fast --debug 

  Then try to connect and see what error(s), if any, are produced.

  Failing that check that nothing else is using the port you're running
 it upon, and verify that something is listening on that port once it
 starts..?

Steve
--

-- 
Marty Huntzberry | 1 Jan 2007 17:51
Picon

Re: running gnump3d on NetSecL without Apache

that gave some output on the server....the screen connection on the connecting pc was all white (Firefox
found a connection).  This is the output on
the server before trying to connect from another pc:

root <at> LinuxHippy:/home/huntz# gnump3d2 --fast --debug 
Registered plugin : plugins::bug
Registered plugin : plugins::copying
Registered plugin : plugins::info
Registered plugin : plugins::now
Use of implicit split to  <at> _ is deprecated at /usr/lib/perl5/5.8.8/gnump3d/plugins/playlist.pm line 321.
Registered plugin : plugins::playlist
Registered plugin : plugins::prefs
Registered plugin : plugins::random
Registered plugin : plugins::recent
Registered plugin : plugins::search
Registered plugin : plugins::size
Registered plugin : plugins::stats
Registered plugin : plugins::tagbrowse
GNUMP3d v2.9.9.1 by Steve Kemp
http://www.gnump3d.org/

GNUMP3d is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions.

For full details please visit the COPYING URL given below:

  Copying details:
    http://linuxhippy:8001/COPYING

(Continue reading)

Marty Huntzberry | 1 Jan 2007 18:37
Picon

Re: running gnump3d on NetSecL without Apache

Also, gnump3d is using port 8001 on my router.  I checked it with nmap (nmap -p8001 -O LinuxHippy) and the port
was open in NetSecL.  For some reason
it cannot find /usr/share/gnump3d/default/index.html.  I checked my /etc/gnump3d/gnump3d.conf and
~/.gnump3d files and all was good.  I'm out of
ideas.

Marty

On Mon, 01 Jan 2007 16:21:33 +0000
Steve Kemp <steve@...> wrote:

On Sat, Dec 30, 2006 at 10:21:02PM -0500, Marty Huntzberry wrote:

> Is Apache a requirement for gnump3d to serve?

  No.

  Run :

    gnump3d2 --fast --debug 

  Then try to connect and see what error(s), if any, are produced.

  Failing that check that nothing else is using the port you're running
 it upon, and verify that something is listening on that port once it
 starts..?

Steve
--

-- 
(Continue reading)

Marty Huntzberry | 1 Jan 2007 21:13
Picon

Re: running gnump3d on NetSecL without Apache

This is the output of my error.log file:

gnump3d starting at Mon Jan  1 12:17:10 2007
Header: HTTP/1.0 200 OK
Connection: close
Server: GNUMP3d 2.9.9.1
Content-type: text/html
Set-Cookie: album=;path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;
Set-Cookie: artist=;path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;
Set-Cookie: dir=;path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;
Set-Cookie: genre=;path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;
Set-Cookie: sort_order=$FILENAME;path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;
Set-Cookie: theme=default;path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;
Set-Cookie: title=;path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;
Set-Cookie: type=all;path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;
Set-Cookie: year=;path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;

Caught a SIGTERM at /usr/lib/perl5/5.8.8/i486-linux/IO/Socket.pm line 183

-----------------------------------------------------------------------------------------------------------------------------

Maybe there's a problem with Perl?

Marty

On Mon, 01 Jan 2007 11:51:29 -0500
Marty Huntzberry <linuxhippy@...> wrote:

that gave some output on the server....the screen connection on the connecting pc was all white (Firefox
found a connection).  This is the output on
(Continue reading)

Steve Kemp | 1 Jan 2007 21:16
Picon
Favicon
Gravatar

Re: running gnump3d on NetSecL without Apache

On Mon, Jan 01, 2007 at 11:51:29AM -0500, Marty Huntzberry wrote:

> The 'index.html' doesn't exist for the theme 'default'

  There is one error which should be fixed.  Either reinstall,
 or otherwise install the theme file which it is complaining about.

  Or try a different theme ..

Steve
--

-- 
Marty Huntzberry | 1 Jan 2007 22:20
Picon

Re: running gnump3d on NetSecL without Apache

The index file is there with the same permissions as my working gnump3d install.  I removed gnump3d and
reinstalled with the same error about
index.html (it is still there).  I noticed that NetSecL is changing permissions on files so that they can
only be rw for the root user....the
group and all other users have no permissions (-rw------).  I compared the permissions on the perl scripts
in 
/usr/lib/perl5/5.8.8/gnump3 and the files in /etc/gnump3d and found they were this way.  I did a chmod 644
to make the permissions -rw-r--r-
but still got the error about index.html missing (it's still there).  It's not changing permissions on any
html files it installs.  I'm thinking it's
changing permissions on a key gnump3d file from x or r  to -.  Any ideas?

Marty

On Mon, 01 Jan 2007 20:16:09 +0000
Steve Kemp <steve@...> wrote:

On Mon, Jan 01, 2007 at 11:51:29AM -0500, Marty Huntzberry wrote:

> The 'index.html' doesn't exist for the theme 'default'

  There is one error which should be fixed.  Either reinstall,
 or otherwise install the theme file which it is complaining about.

  Or try a different theme ..

Steve
--

-- 
Marty Huntzberry | 1 Jan 2007 22:27
Picon

Re: running gnump3d on NetSecL without Apache

This may be helpful...I uninstalled gnump3d, removed the directory. and re-extracted gnump3d.  The I did
this and got a lot of failures:

root <at> LinuxHippy:/home/huntz/gnump3d-2.9.9.9# make test
prove --shuffle tests/
tests/template-handling....ok                                                
tests/gnump3d-md5..........ok                                                
tests/gnump3d-config.......ok                                                
tests/executable...........ok                                                
tests/modules..............NOK 2                                             
#   Failed test 'use ConfigFile;'
#   in tests/modules.t at line 14.
#     Tried to use 'ConfigFile'.
#     Error:  Can't locate ConfigFile.pm in  <at> INC ( <at> INC contains: /usr/lib/perl5/5.8.8/i486-linux
/usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i486-linux
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl . lib/) at (eval 4) line 2.
# BEGIN failed--compilation aborted at tests/modules.t line 14.
tests/modules..............NOK 42                                            
#   Failed test 'require ConfigFile;'
#   in tests/modules.t at line 15.
#     Tried to require 'ConfigFile'.
#     Error:  Can't locate ConfigFile.pm in  <at> INC ( <at> INC contains: /usr/lib/perl5/5.8.8/i486-linux
/usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i486-linux
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl . lib/) at (eval 65) line 2.
tests/modules..............ok 59/0# Looks like you failed 2 tests of 80.     
tests/modules..............dubious                                           
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2, 42
        Failed 2/80 tests, 97.50% okay
tests/gnump3d-files........NOK 2                                             
(Continue reading)

Marty Huntzberry | 1 Jan 2007 22:36
Picon

Re: running gnump3d on NetSecL without Apache

Got it working...though it may not be a secure solution.  I changed user = nobody to user  = root in
/etc/gnump3d/gnump3d.conf and started it in
debug mode.  How can I start this with user = nobody?

Marty

On Mon, 1 Jan 2007 16:20:59 -0500
Marty Huntzberry <linuxhippy@...> wrote:

The index file is there with the same permissions as my working gnump3d install.  I removed gnump3d and
reinstalled with the same error about
index.html (it is still there).  I noticed that NetSecL is changing permissions on files so that they can
only be rw for the root user....the
group and all other users have no permissions (-rw------).  I compared the permissions on the perl scripts
in 
/usr/lib/perl5/5.8.8/gnump3 and the files in /etc/gnump3d and found they were this way.  I did a chmod 644
to make the permissions -rw-r--r-
but still got the error about index.html missing (it's still there).  It's not changing permissions on any
html files it installs.  I'm thinking it's
changing permissions on a key gnump3d file from x or r  to -.  Any ideas?

Marty

On Mon, 01 Jan 2007 20:16:09 +0000
Steve Kemp <steve@...> wrote:

On Mon, Jan 01, 2007 at 11:51:29AM -0500, Marty Huntzberry wrote:

> The 'index.html' doesn't exist for the theme 'default'

(Continue reading)

linuxhippy | 2 Jan 2007 16:54
Picon

pda users and pc users

I currently have my server setup with gnump3d and the default theme for regular pcs.  I see there is a handheld
theme for pdas and pocket pcs with smaller screens.  Can I set up my server so that it can determine what
device is on the server and serve either the default theme or the handheld theme?

Marty
Nano _ | 4 Jan 2007 09:53
Picon
Favicon

Downsampling based on user instead of ip

I've been a gnump3d for years, already, and I always found this problem.
I'm connecting to my home server to listen to my music, and in all the 
places I connect from there is dynamic ip, which means that every day I have 
to manually ssh home and change no_downsampling ips.
Now, is there a way to set downsampling properties based on user name 
instead of ip?

Thanks a lot in advance,

Mariano

_________________________________________________________________
Moda para esta temporada. Ponte al día de todas las tendencias. 
http://www.msn.es/Mujer/moda/default.asp

Gmane