SOLVED: "random" crashes

akreaxun
Posts: 41
Joined: Sun Jun 21, 2015 1:59 am

SOLVED: "random" crashes

Postby akreaxun » Mon Jul 06, 2015 12:22 am

Hi

By now managed to install Amahi 7 an have Greyhole and MiniDLNA up and running - the minimum requirements I have.

System information:
- Hostsystem: Xubuntu 14.04 LTS
- Amahi 7 (64bit) runs on Virtualbox 4.3.10 (from official repos)
- DHCP is managed by the router

Problem:
The server has what appears to be random crashes. This is annoying especially while streaming media. I already had Amahi 6 running in similar set up and the same problem though not that frequent. Now I would finally get rid of it an make the system stable.

Additional info:
- Letting Amahi handle DHCP does not influence the problem - still random crashes.
- Crashes occurred also before MiniDLNA was installed. Not sure if crashes occurred before Greyhole was installed.
- Greyhole shows its usual idling at the time of the crash.

If somebody could lead me through the diagnostics and the hopefully subsequent problem solving, it would be most appreciated.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: "random" crashes

Postby bigfoot65 » Mon Jul 06, 2015 1:13 pm

This is likely due to the networking setup with the VM.

Recommend you check out Amahi on VirtualBox in the wiki. There are other articles in the wiki as well that might address configuration of the VM and networking.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

akreaxun
Posts: 41
Joined: Sun Jun 21, 2015 1:59 am

Re: "random" crashes

Postby akreaxun » Tue Jul 07, 2015 10:30 am

The indicated site states that bridged mode can be used as well. After trying the other alternatives on that page (written for Fedora 14) I can say, that i can make it work only with Bridged Adapter setting.

I really only know the very basics of a network. Hence, I am not at all qualified to update that article. I also consulted the respective Category having no luck...

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: "random" crashes

Postby bigfoot65 » Tue Jul 07, 2015 2:04 pm

We don't officially support Amahi on a VM. If I used VirtualBoxI might be able to assist, but I use Proxmox for my HDA. No issues and works much better than VirtualBox in my opinion. Nice Web UI and simple to configure.

I do recall when I tried VirtualBox, I did not use the bridged network device. I believe I used NAT instead. Could be wrong, but searching the internet might yield the solution you seek.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

akreaxun
Posts: 41
Joined: Sun Jun 21, 2015 1:59 am

SOLVED: Re: "random" crashes

Postby akreaxun » Wed Jul 08, 2015 11:43 pm

I think I got the problem sorted out. The Server has now been running for almost 24 hours and all functions were used. No crash :-) The problem seems to be that I used the same physical network connection for the host and the guest simultaneously.

What I did, that apparently solved the problem:
- On the host system I disconnected the pirmary ethernet connection and
- assigned the primary ethernet connection to VirtualBox.

Luckily I had an USB-ethernet adapter which I could use to get a second ethernet connection on my host system to use. (I know normally you don't use the host system, but the temporary setup, where I live now made it convenient.)

Lesson learned: In Bridged Adapter settings, the physical network connection must be disconnected on the host while VirtualBox is running.

I'll get back to this post in case I have any issues again.

akreaxun
Posts: 41
Joined: Sun Jun 21, 2015 1:59 am

Re: SOLVED: "random" crashes

Postby akreaxun » Mon Jul 13, 2015 3:18 am

Unfortuantely, the problems returned. Still wondering why. I may chnage the whole system set up.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: SOLVED: "random" crashes

Postby bigfoot65 » Mon Jul 13, 2015 12:46 pm

Yea sometimes it's hard to get the networking right with VirtualBox which is why I don't use it.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 14 guests