Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I've just installed (from the repository) uShare on my Ubuntu Server 11.10 to play my media files on my PS3. When trying to execute it, I get this error:

Interface eth0 is down.
Recheck uShare's configuration and try again !
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team.
See for updates.
Listening on telnet port 1337
Initializing UPnP subsystem ...
Starting in DLNA compliant profile ...
UPnP MediaServer listening on
Sending UPnP advertisement for device ...
Listening for control point connections ...
Building Metadata List ...
Looking for files in content directory : /home/media/content/videos/
Segmentation fault

eth0 is up and running.

This is my config file:

# /etc/ushare.conf
# Edit this file with 'dpkg-reconfigure ushare'
# Configuration file for uShare

# uShare UPnP Friendly Name (default is 'uShare').

# Interface to listen to (default is eth0).
# Ex : USHARE_IFACE=eth1

# Port to listen to (default is random from IANA Dynamic Ports range)
# Ex : USHARE_PORT=49200

# Port to listen for Telnet connections

# Directories to be shared (space or CSV list).
# Ex: USHARE_DIR=/dir1,/dir2

# Use to override what happens when iconv fails to parse a file name.
# The default uShare behaviour is to not add the entry in the media list
# This option overrides that behaviour and adds the non-iconv'ed string into
# the media list, with the assumption that the renderer will be able to
# handle it. Devices like Noxon 2 have no problem with strings being passed
# as is. (Umlauts for all!)
# Options are TRUE/YES/1 for override and anything else for default behaviour

# Enable Web interface (yes/no)

# Enable Telnet control interface (yes/no)

# Use XboX 360 compatibility mode (yes/no)

# Use DLNA profile (yes/no)
# This is needed for PlayStation3 to work (among other devices)

Any ideas??


share|improve this question

closed as off topic by Jorge Castro, jrg Mar 11 '12 at 19:29

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This question should instead be filed as a bug report, thanks! Instructions here. – Jorge Castro Mar 11 '12 at 19:17

2 Answers 2

We can only guess what may be the cause for the segmentation fault in your setup. It oviously occurs with ushare trying to read your media directory. I have not seen this on my system here but I can think of two possibilities:

  • The media directory contains a huge number of files that can not be held in memory.
  • Some (or a single) file names can not be parsed.

To further debug this I suggest you try the following:

  1. Make sure ushare has read permissions for your media directory

  2. Try running ushare with a test directory containing only few files

ushare -c /path/to/testdirectory
  1. Try other settings in /etc/ushare.conf:
USHARE_OVERRIDE_ICONV_ERR= # leave blank for default setting

If that fails you may want to consider filing a bug against ushare.

share|improve this answer
Thanks for your suggestions @Takkat, I tried them all, and the problem persist, so just filled a bug report on it. – yorch Feb 14 '12 at 16:08

I have had this problem on Arch Linux since a couple of months ago when I did an upgrade on a lot of packages. Ushare reads my folder fine, but as soon as I try to browse it with my Xbox it crashes with a segmentation fault.

As this happened when I upgraded some packages while ushare did not get upgraded, I'm thinking this could be a problem with the libupnp package. I haven't had time to dig deeper into this problem yet though!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.