New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Can't Access Squeezeserver

Got problems with your B2 or B3? Share and get helped!
Bultee
Posts: 6
Joined: 19 Jun 2011, 03:13

Re: Can't Access Squeezeserver

Post by Bultee »

I friend of mine bought a B2 at the same time as me but with a 1 TB drive instead of the 2TB in mine. He has plenty of swap (1129) compared to my 0. Is this consistent with ryz's observations?
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Re: Can't Access Squeezeserver

Post by Binkem »

I installed a 2TB HDD as well. I've got no swap space on it.
carl
Posts: 474
Joined: 07 May 2008, 04:41

Re: Can't Access Squeezeserver

Post by carl »

Binkem wrote:I installed a 2TB HDD as well. I've got no swap space on it.
The lack of swap space is a known issue in some older releases of B2 with 2TB disks, due to an error in the installer which at that time used fdisk for the partitioning of the disk. I can't tell exactly which release is was discovered, but the current installer should be able to cope with it (it uses parted instead of fdisk).

If it still doesn't work, please inform me, and I will look into it. It is possible to circumvent the problem in the old installer by pre-partitioning the hard disk and in the installer config file, set PARTITION=0.
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Re: Can't Access Squeezeserver

Post by Binkem »

I did use a new install image (downloaded 2,5 weeks ago). My problem now is that I've got a running bubba without a swap. What I would like to know is how to create a swap partition on this Bubba.
ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Re: Can't Access Squeezeserver

Post by ryz »

I am afraid that the only alternative to a reinstall is to put the hard drive into an other computer and shrink one of the partitions to make room for an swap partition. You can not shrink an partition when it is in use and that's why it is hard to do it from the Bubba itself.

One good tool to use is gparted. It is simple to use and has good support for resizing Linux partitions. It can also create swap partitions. I would also recommend to shrink the end of the partition since if you shrink it from the start gparted will first shrink it from the end and then move the partition. resizing an partition can take a lot of time up to a day or so.

If you do not have any Linux computer you could always use an live Linux cd that has gparted for instance http://gparted.sourceforge.net/livecd.php.
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Can't Access Squeezeserver

Post by Ubi »

There is an alternative: a file for swap space:

Code: Select all

dd if=/dev/zero of=/myswapfile bs=1M count=1024
chmod 600 /myswapfile
mkswap /myswapfile
swapon /myswapfile
and then edit /etc/fstab

Code: Select all

/myswapfile swap swap defaults 0 0
My suggestion would be to see if this solves problems before messing with partitions. Gparted is pretty safe but I have seen is completely bugger up hard drives as well...
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Can't Access Squeezeserver

Post by Cheeseboy »

Gparted is pretty safe but I have seen is completely bugger up hard drives as well...
As can all such tools. gparted also relies on an X Window system, so you would either have to install one and use something like vnc, or set up a X11 server on another machine and redirect the output with the $DISPLAY variable...

Examples on how to do both of these things can be found in the how-to thread and in the wiki.

Cheers,

Cheeseboy
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Can't Access Squeezeserver

Post by Ubi »

sorry but that last part is not really relevant. Gparted is meant to run from a live cd which comes equipped with a gui. nothing else is needed (except, as mentioned, you need to take the hd into another machine)

and yes all tools have flaws, but for partition toolss the flaws have horrible consequences. Hence my sugestion to try the software route first
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Can't Access Squeezeserver

Post by Cheeseboy »

sorry but that last part is not really relevant
Correct.
Sorry, didn't read the entire thread...
Bultee
Posts: 6
Joined: 19 Jun 2011, 03:13

Re: Can't Access Squeezeserver

Post by Bultee »

There is an alternative: a file for swap space:...
I loaded the swap file as per Ubi's suggestion and everything immediately began to work - thankyou very much.

I must say I am very disappointed with Excito on their customer support. No response apart from their automatic reply. They sell me a defective product and make no effort to notify me or rectify the problem. What do they understand about the concept of customer service? I guess they rely on the forum members to it for them.
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Re: Can't Access Squeezeserver

Post by Binkem »

Thanks Ubi for the outline on how to create a swap file.
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Can't Access Squeezeserver

Post by RandomUsername »

Bultee wrote:
There is an alternative: a file for swap space:...
I loaded the swap file as per Ubi's suggestion and everything immediately began to work - thankyou very much.

I must say I am very disappointed with Excito on their customer support. No response apart from their automatic reply. They sell me a defective product and make no effort to notify me or rectify the problem. What do they understand about the concept of customer service? I guess they rely on the forum members to it for them.
About nine posts up there is a post from Carl. He is a top bod at Excito. He explained the problem and offered both a workaround and more help if it's needed. Not sure what more you expect, someone coming round your house personally to fix it?

[looks like I'm channelling Ubi. Oh well.]
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: Can't Access Squeezeserver

Post by johannes »

Yes, Bultee, I apologise for the delay in answering email support lately. We are soon in pace again, we have had a peak we coudln't handle.

Carl will look in to why the 2.0 installer doesn't work properly as Binkem observed.
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: Can't Access Squeezeserver

Post by johannes »

Ok, yes, we have confirmed that this issue is still present in the latest B2 installer, for fresh installations on unpartioned disks with 2 TB size. The reason we didn't see this before is that we installed differently in production, but the last units shipped we used the installer anyways.

A fix is coming up, but it will take some time (appr. a month or so). Sorry for this. If you need help with manual fixes in the mean time either use Ubi's suggestion above or contact us and we'll help.
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Post Reply