Ubuntu Servers :: 8.04 Server: Media Playback Is Interrupted
May 12, 2010
I use a headless 8.04 server for media storage. The system is a P4, 2Gb RAM, gigabit network. Some cpu/IO heavy processes are scheduled to run at night, typically the server is at about 3-6% CPU load, but memory is pretty fully used:
can't get no playback through banshee or rthymbox rthymbox does nothing won't even find media banshee has libary full but won't play dosn't even give me and error or ask for codecs like it did before. every thing worked sweet a month ago but the players kept losing my songs but they never moved. iv've reinstalled both still no joy this is what i have on my system
I've seen a couple of unsolved topics on this while researching, but they're all old and I'm hoping somebody's found a solution by now.My laptop has the following keys that I want to assign as global hotkeys to VLC Media Player so that I can use them for... well, for their intended purpose:
I currently have a server running Windows Home Server and was wanting to know if Ubuntu Server could do the following requirements I currently enjoy
1. Media Streaming, to multiple devices simultaniously i.e. pc/xbob360/PS3 all at the same time. Possibly re-encoding OTF.
2. Remote Access, not just to the server but linking(so i can rdp to my main rig through the server from any internet location) to other systems on the "Home" Network both Linux and Windows.
3. Drive Pooling with redundancy, I want to be able to add and remove HDD and just have it expand the pool so current folders can just grow, but also have it duplicate or make redundant copies so if a HDD fails it can still be recovered.
4. Backup of machines on the network, either manual or scheduled, of both Linux and Windows machines
5. App sharing would be a plus but not required, so I could run a Linux app from the server seamlessly on my windows pc.
6. Basic file storage and browsable structure from windows machines.
I realise this may be a tall order and I don't expect it to be easy or straight forward in any way, but I really hate WHS, it has the slowest file access speed of any os i have ever seen, and is so buggy its unbelievable.
I'm building a new file/media server for my household to use, and would like to hear the experiences of others, and suggestions, or links to appropriate howto's. I'll be using two (2) 250 GB Western Digital RE4 drives mirrored via mdadm RAID 1 for the Operating System. The storage area will be handled by four (4) 500 GB Western Digital RE4 drives in a RAID 5 array, managed by an Areca 1210 controller.
What I'd like to configure is a basic Samba file server, on which we have individual user folders, and a shared drive. As well, I'd like to add the ability to manage our movie collection so it can be accessed by the Boxee Box attached to the television. Twonky looks promising (and I don't mind paying the $19.95 for something that works well). However, as this is new to me, there may be other solutions out there that are better, and easier to administer. Moving forward, I'd like to explore the feasibility of configuring LDAP on this machine to authenticate users on the network (perhaps even integrate the mail server somehow), and the remote users (only two) who VPN into the network using the pfSense firewall appliance. There are no Windows servers, so Active Directory is not a factor.
I'm having a very strange problem with my ubuntu apache2 server running wordpress. i want do download media files (from within a flash-mp3-player onsite or by link [url]) but the file transfer just stops after a while. (at least sometimes) at random positions. after that i have to clear the browsers cache and try again.
It is really annoying, though it is my band's website and we want to share our songs with our friends. i checked from several clients, seems to happen everywhere (linux, mac or windows clients)
compaq presario sr2150nx <-- my computer.[URL]NO operating system but vista home appears to work with this computer. I know my CD/DVD im burning server 10.10/04 (have tried both) work, the HDD is bran new and works in my other server and desktop.Any input would be much appreciated. Im willing to give any other info needed assuming i can find it.------ Using google ive found you can downgrade to windows xp... but does that also mean ubuntu as well?On boot. this is there error the computer give me."Reboot and Select proper Boot device. or Insert Boot Media in selected Boot device and press a key"
I'm planning on setting up a home file server. I was wondering what platform would be recommended for something like this. The server would be used mainly for media storage which would be shared between an HTPC and a couple desktops and laptops. I was thinking of just getting whatever motherboard had the most SATA headers on it (which currently seems to be something P55-based) and setting up a RAID5 fakeraid with some 1.5 or 2TB drives and the OS in RAID1 with whatever drives I have laying around. It there anything flawed with this approach? P55 boards with 10 SATA headers are currently upwards of $200, which is kind of pricey. Is there a more economical route that I should consider? Also, are there any known problems with setting up a fakeraid like this using certain motherboard's SATA controllers?
I have a LAN of about 70 computers that I would like to share media files between. I have gotten to the point with Samba that I can view the files without a username/password from client PC's. I would like to make all the folders read only except for one which will be writable for everyone. The thing that I am having a hard time with is allowing a couple of administrators (on Windows 7 machines) read/write access for all files/folders. I am completely new to Ubuntu and Samba so please make explanations thorough. Here is /etc/samba/smb.conf file:
We have a headless linux server (Debian 5) we use for running integration tests of our web-page code. Among these tests are ones implemented using Selenium, which practically simulates a user browsing our pages and clicking on things. One of these tests is failing now, because it involves starting a flash-based audio player and checking to see whether the progress bar gets displayed properly. The reason this test fails is that there is no way to play the audio, and no sound card on the machine, which has simple webserver hardware.
So, my question would be: Is there a simple way of giving a program the impression that its audio output is being processed, and playback is taking place? I don't have to record the playback, or redirect it or anything like that, just a dummy soundcard, like the dummy X-server we are using, which actually does not need to display stuff.
I have tried using JACK, but it's too complicated, and the documentation does not even answer this very simple question. I also installed alsa on the server; it 'pretends' to run, but when a program tries to play audio, just spews error and debug information having to do with the non-existence of a soundcard.
I've recently come into the possession of a nice little pentium 4 box and I have a 1TB drive to go with it. I'm looking to make a media server out of it.
Setting up a server over my LAN was really simple to do with Firefly and Ubuntu's built in vino (remote desktop server). BUT I've run into the problem of not being able to serve my media outside of the LAN.
Now I realize that I could configure Remote Desktop in Ubuntu (10.04) to also allow connections from outside the LAN, but isn't there a better way of doing this? You know, streaming media WITHOUT using VNC?
I was running Update manager and my old system pull a 'freeze/lockup' before things were completed so I have tried using apt-get; I first updated then upgraded and get the same issue as in Update mgr with 2 small packages, 1 Rythmbox and 1 software center. This is the terminal just before, during and after:
-desktop:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: libsmbclient libwbclient0 rhythmbox samba-common samba-common-bin smbclient software-center 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 6 not fully installed or removed. Need to get 18.4MB/20.2MB of archives.....
I was installing 10.04 as a dual boot with Win7, the install was interrupted and now I can't do anything with it. Booting, I get as far as '[0.541227] kernal_thread_helper' and it stops there with or without a disc. How do I complete the install or strip out something so that I can start again?
My laptop is sadly rather elderly and the battery is broken, so if it is unplugged it loses power and immediately turns off. Unfortunately I managed to accidentally do exactly this in the middle of upgrading from Lucid to Natty. I turned the computer back on, some automated disk checks were run, and I'm now apparently using Maverick.
Launching Update Manager, I get the following message: "Not all updates can be installed Run a partial upgrade, to install as many updates as possible.
This can be caused by: *A previous upgrade which didn't complete *Problems with some of the installed software *Unofficial software packages not provided by Ubuntu *Normal changes of a pre-release version of Ubuntu"
Clicking the "Partial Upgrade" option, the system starts to upgrade but exits with the following in the Terminal: "dpkg: parse error, in file '/var/lib/dpkg/updates/0121' near line 42 package 'texlive-xetex': duplicate value for 'Status' field"
Basically I have no idea what to do from here. The functions that I need from my computer are working (internet, music player) and I don't really need much more than that but I'd rather it was working. Also I can't install any updates or upgrade to Natty until this is solved.
I've been having strange problems with my server/media center setup lately: The movie just stops in XBMC, as if it had reached the end, randomly, some times only once in a movie, sometimes every 5 min. Then, I have to rewind all the way to where I was to resume the movie.
I'll explain my setup:
Server with Ubuntu Server 8.04 with samba/lighttpd/proftpd/etc. which contains all the media (192.168.0.104) -10meters cable-> dlink di-634 router (192.168.0.1) -> internet -30meters cable-> dlink di-624+ router (192.168.10.1) -10meters cable-> Media PC which runs Xubuntu 8.10 (due to massive slowdown with the integrated intel gpu in 9.04) running XBMC 9.04. (192.168.10.102)
I use samba to serve the videos to the media center. I have considered putting them all into the hdd of the media center, but then I would have to put more HD's into it, and that would cause cooling issues due to the case being very small. Having a server has proven quite useful too. The movies I'm watching are in 480p or smaller resolution. First, my routers were in opposite positions. But the di-624+ couldn't take all the traffic going through it anymore after a couple of additional laptops were added to the network, and started rebooting frequently. I thought this was the reason for the stopping, so I decided to switch places (the DI-634 is more stable and also has much better wireless range, being newer and having dual antennas). After doing this, the same thing still happens, and looking at the routers' logs, they don't say anything about rebooting (also I was connected to IRC all the time, no disconnects there either).
Then, I figured my server was running out of RAM or something similiar, but I ruled that out after checking it (it only uses about 10% RAM, processor loads stay at about 1 all the time. I probably forgot to mention this, but this setup used to work 100% before. I haven't changed anything, besides updating both machines with apt-get update & upgrade.
I was trying to change the mounting point of a usb external drive from '/media/disk' to '/media/Movies'
Here is were the stupid part takes over... I right clicked on the desktop icon for the device and selected Properties. From there I selected the Volume tab and in there I changed the mounting point to '/media/Movies' It accepted it and said the changed would take place when I unmounted it and remounted it. However, when I did this it now says it cannot be mounted as it says mount_point contains invalid characters usually /
Unfortunately, now I cannot get back into the properties to remove my error.
I attempted to install gnucash just now to test it out, but, in the middle of the installation (which I was doing through Terminal), something happened and dpkg was interrupted. I'm unable to provide the Terminal output because (a) for some reason, prior to the error messages about a segment fault, the terminal shows a number of blank lines and does not show me what happened before the segfault, and (b) after the segfault, when I tried starting up gedit or make a screen capture, the prompt windows were blank, so I was unable to save the terminal output to either.
When I restarted Ubuntu, it told me that /tmp was not ready; I waited for it to mount, and, apparently, it did, as Ubuntu restarted fine. I tried updating my software, as the icon in my panel was telling me I needed updates. However, it told me that dpkg had been interrupted and that I needed to troubleshoot it with sudo apt-get install -f, which then told me to run sudo dpkg --configure -a, which I did, receiving the following output:
Code: sqlu@thalamus:~$ sudo apt-get install -f [sudo] password for sqlu: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. sqlu@thalamus:~$ sudo dpkg --configure -a Setting up libktoblzcheck1c2a (1.24-2) .....
It looks like there were errors with a number of packages, and I'm guessing something else might have also broken. Since I'm already using homebank and don't really need to use gnucash, I was wondering if there was a way for me to check what was installed by gnucash and remove those packages, since they're cluttering my system, and I'm concerned that they might interfere with other packages if they're broken or something. I've been using Ubuntu for about two years now and have some knowledge of the command line and such, but I'd say my skills are still pretty basic. I'm running 64-bit 10.04.
When installing build-essential and ubuntu-restricted-extras the internet connection was interrupted. How can I force re-installation in terminal? I'm looking all over for the commands but I can't find them. If i just type "sudo apt-get install build-essential ubuntu-restricted-extras" it returns the message that they are both up to date. I know one of them was interrupted and needs to be finished.
I keep getting the following error when the Update Manager runs.
Code: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report. If I open up a terminal and run sudo dpkg --configure -a I then get the following error.
Code: dpkg: parse error, in file `/var/lib/dpkg/updates/0002' near line 1: newline in field name `
I have installed ubuntu 10.04 on a new laptop siemens xi3650. I have Vista installed on it, and it works perfectly. On Ubuntu the wifi connection stops after a few seconds, and it wont reconnect until I restart the pc. The only mean I have to connect to internet is vie ethernet on ubuntu, or ethernet or wifi with vista. here is the results of the OS information:
and the result of commands related to the network manager and the wifi connection. lsusb
genni@genni-laptop:~$ lsusb Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 002: ID 04b3:310c IBM Corp. Wheel Mouse Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
The computer crashed during an update and "An error occurred". The following details are provided: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report."
So, "michael@freegeek:~$ sudo dpkg --configure -a [sudo] password for michael: dpkg: parse error, in file '/var/lib/dpkg/updates/0117' near line 0: field name ' michael@freegeek:~$"
My distribution upgrade got interrupted in a hard way and when I start the computer I get some errors: Code: kernel panic - not syncing: VFS: unable to mount root on block 0, 0 or sth like this and a few more errors. Can't look the exact message as I am writing from the liveCD. On Gparted the boot looks normal and it is said that it's mounted but there is no mount point. There are things on the hard drive that I must save.
I'm an intermediate Linux user and a relative beginner to servers. I would like some help finding resources on setting up a basic server. I have Googled, and am a member of the Ubuntu Forums, but just figure it can't hurt to ask the Stack Overflow community for help as well. I plan on installing on an old laptop (Lenovo Thinkpad R61i or Toshiba Satellite A105). I have downloaded the latest Ubuntu (9.10) but don't know how to do any of the configurations.
I just want a server to store my files where I can access (download and/ or stream) from a browser.