GnuMP3d is broken

GnuMP3d is broken. It doesn’t start.

[root@ipfire ~]# pakfire info gnump3d
Name: gnump3d
Summary: GNU MP3 Streaming Server
Version: 3.0-9
Size: 530.00 KB
Dependencies: 
Pakfile: gnump3d-3.0-9.ipfire
Service InitScripts: gnump3d
Installed: yes
Status: up-to-date
[root@ipfire ~]# pakfire status
Core-Version: 2.27-x86_64
Core-Update-Level: 176
Last update: 17d 23h 25m 3s ago
Last core-list update: 1d 21h 29m 32s ago
Last server-list update: 18h 31m 13s ago
Last packages-list update: 15m 24s ago
Core-Update available: no
Package-Updates available: 0
Reboot required: yes

Install it:

[root@ipfire ~]# pakfire install gnump3d
...

It was not started and cannot be started:

[root@ipfire ~]# /etc/init.d/gnump3d status
/usr/bin/gnump3d is not running.
[root@ipfire ~]# /etc/init.d/gnump3d start
Starting GNUMP3d Server...                                                 [  OK  ]
[root@ipfire ~]# /etc/init.d/gnump3d status
/usr/bin/gnump3d is not running.

Try start from CLI:

[root@ipfire ~]# /usr/bin/gnump3d --fast
  The plugin directory you've chosen, /usr/lib/perl5/5.32.1/gnump3d/plugins, doesn't exist.

  Please update your configuration file to specify the actual plugin
 directory you wish to use.

  You can fix this problem by changing the line which currently
 reads:

    plugin_directory = /usr/lib/perl5/5.32.1/gnump3d/plugins

[root@ipfire ~]# 

I fixed plugin_directory:

[root@ipfire ~]# grep plugin_directory /etc/gnump3d/gnump3d.conf
# plugin_directory = /usr/lib/perl5/gnump3d/plugins
#plugin_directory = /usr/lib/perl5/5.32.1/gnump3d/plugins
plugin_directory = /usr/lib/perl5/5.36.0/gnump3d/plugins

and started it again:

[root@ipfire ~]# /etc/init.d/gnump3d start
Starting GNUMP3d Server...                                                 [  OK  ]
[root@ipfire ~]# /etc/init.d/gnump3d status
gnump3d is running with Process ID(s) 8383.

I can access it on port 8888 but that port is not limited to BLUE or GREEN interface, I hope that firewall will block access from RED…

[root@ipfire ~]# netstat -ntlp | grep 8888
tcp        0      0 0.0.0.0:8888            0.0.0.0:*               LISTEN      8383/perl 

It looks like gnump3d is not that much used. perl was updated from 5.32.1 to 5.36.0 nearly a year ago and you are the first person to flag this up.

It was obviously missed that gnump3d.conf explicitly specified the perl plugin directory version.

I will submit a patch for updating that. It should end up in Core Update 178.

Traffic coming in on red is blocked by default unless you have created a port forward to allow that traffic.

2 Likes