Myself and young Mathew are currently enjoying listening to 90.3 FM the Core extended, what a fab stations
Myself and young Mathew are currently enjoying listening to 90.3 FM the Core extended, what a fab stations
This fixed the problem for me so I thought I would blog it (saves me remembering it) and lets anyone else fix the problem themselves.
To completely solve “Generic Host Process for Win32 Services” problem you should:
1) Scan your PC for the following viruses: CashToolbar Downloader-MY, System1060, CoolWebSearch Svchost32, ADCLICK-AG, ADCLICK-AX, ADUYO-A, AGENT-V, AGOBOT-KL, AUTOTROJ-C.
2) Go to Windows Automatic Updates properties (right-click on My Computer, then click on Properties and switch to Automatic Updates tab).
3) Choose “Turn Off Automatic Updates”, click OK and reboot your PC.
4) Manually update Windows using “Windows Update” shortcut in the start menu.
5) Turn automatic updates on.
6) If your problem is not solved on this step, uninstall old Hewlett-Packard printer and scanner drivers (if any) and download new drivers from the manufactures web site.
7) If your problem is not solved on this step, use the following command to show all svchost.exe instances and associated services or libraries:
tasklist /svc /fi “imagename eq svchost.exe”
Then search for each of services and libraries shown in that list in the Internet to find out whether the entry is malicious or not. In case you find malicious entry, use msconfig.exe utility to disable the appropriate service entry.
This is long but effective way of Generic Host Process or svchosts.exe repair.
Reference:
Generic Host Process Svchost.exe Problem Solution.
Update – Monday 26th December 2011.
Being a long term Logitech Squeezebox owner, I’m pleased to see that they have now incorperated a DNLA Server into their software and renamed it “Logitech Media Server“. I now no longer use Twonkyserver as the above software now serves my needs.
However, I’m keeping the instructions below so that other people can configure Twonkyserver on Linux.
Before we begin.
This is a commercial product, you will have to buy a license, however IMHO, it’s well worth the asking price, as it vastly outperforms the opensource products like Fuppes and MediaTomb with much better stability, and much lower runtime resources. There is a free trial, so you can evaluate it’s performance before you buy.
First thing you need to do is download twonkyserver to your machine.
wget http://www.twonky.com/upfiles/twonkymedia-i386-glibc-2.2.5-6.0.23.sh
Next we have to install it as root
chmod 744 twonkymedia-i386-glibc-2.2.5-6.0.23.sh
sudo ./twonkymedia-i386-glibc-2.2.5-6.0.23.sh
Set up the appropopriate multicast address to broadcast your files on your network.
sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
Of course, the above will only be in your routing table until the next time you reboot your server. So a better solution is to append the following file.
sudo nano /etc/network/interfaces
Add the following to the bottom of the file (append to the bottom of your network settings, usually eth0 if you only have one network card.
# Adding a multicast static route for Twonkymedia Server up route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0 down route del -net 224.0.0.0 netmask 240.0.0.0 dev eth0
We need to start twonkyserver on the default runlevels. I’m including two ways of doing this. One specifically for Ubuntu 10.04 onwards using upstart and another for a default Debian install.
Stop tonkyserver running.
sudo /etc/init.d/twonkyserver stop
Delete the installed twonkyserver startup script.
sudo rm /etc/init.d/twonkyserver
Create an upstart startup file called twonkyserver.conf in directory /etc/init/
sudo nano /etc/init/twonkyserver.conf
Copy and paste the following code snippet.
# Mostly Raymond Day's work, thanks for the suggestion. # If your going to run Twonkyserver as a daemon, # append the -D to the command line at the bottom. # Not currently running as a daemon to support # transcoding. The default is with a -D so feel # free to add it if you don't intend to use # transcoding. description "TonkyMedia UPnP Server" start on (local-filesystems and net-device-up IFACE!=lo) stop on runlevel [!2345] exec /usr/local/twonkymedia/twonkymediaserver
Create a symbolic link in the init.d directory to start the upstart job on reboot.
sudo ln -s /lib/init/upstart-job /etc/init.d/twonkyserver
Start twonkyserver from the command line.
sudo start twonkyserver
You should get a message similar to the following.
twonkyserver start/running, process 1258
If you need to stop twonkyserver, you type the following.
sudo stop twonkyserver
At this point, it may be worth rebooting your linux server to ensure that twonkyserver comes up correctly. After you’ve done so, you can check to make sure that twonkyserver is running by typing the following.
sudo status twonkyserver
If all is well, it should come back with the message
twonkyserver start/running, process 1699
All done, you of course will most likely have a different process id
sudo update-rc.d twonkyserver defaults 99 20
I’ve recently had to install Squeezebox 7.5.1 server on a virtual machine running Ubuntu Hardy Heron, so I though I would blog some instructions (just to remind me) and help anyone else.
wget http://downloads.slimdevices.com/ SqueezeboxServer_v7.5.1/squeezeboxserver_7.5.1_all.deb
sudo apt-get install linux-libc-dev libc6-dev zlib1g-dev libmysqlclient15-dev
sudo dpkg -i squeezeboxserver_7.5.1_all.deb
All done.
sudo apt-get install faad flac lame mplayer ffmpeg alac-decoder sox wavpack shntool
References:
Linux Lore : Trancoding
I eventually got round to installing SMART tools on my home Linux server, so now if one of the hard disks decides to start playing up or fails, I should get a nice little e-mail telling me there’s a problem. I’ve already set up e-mail on my server so I won’t go into how to set it up here, you can read all about it yourself on the Official Ubuntu Documentation pages.
First thing you need to do is install smarttools
sudo apt-get install smartmontools