LinHES Forums
http://forum.linhes.org/

7.1 Upgrade failed --- badly
http://forum.linhes.org/viewtopic.php?f=21&t=22356
Page 1 of 1

Author:  jayb282 [ Fri Dec 02, 2011 11:27 pm ]
Post subject:  7.1 Upgrade failed --- badly

Tried the upgrade to 7.1 this weekend. Went worse than usual. Advice very welcomed:

On my system, OS is on a 5GB partition that Knoppmyth setup literally years ago.

Running the upgrade:

- did the package uploads for a while.... then ran out of disk space. Ack!
-script claimed because of an error there would be no upgrade and rebooted.
-on reboot, I get the following errors:
(there may be more.... goes by fast. Need to go through it closer)

"portmap: unable to change to service directory! File does not exist".

-all the services starting are set to BKGD.

-Then in gets stuck in a loop of:
Starting MMBD
Starting Samba
Starting SSH
Starting Mysql
Starting lighthttpd
Starting NTPD
fetching time.
Starting MMBD
Starting Samba
Starting SSH,
etc etc

I can boot into the Linhes-init mode. Poking around i found the pacman cache directory and cleared out 120MB of old cruft (packages dating back to 2009).

Was hoping giving the drive some space would successfully boot in regular mode-- no luck.

While the script claimed it wouldn't update because of the error, it's obviously changed SOMETHING that has broken.

I don't have time at the moment, but i'm going to dig into this more later tonight. Any suggestions welcome.

cheers - j

Author:  jayb282 [ Sat Dec 03, 2011 4:25 am ]
Post subject: 

Found this thread with similar looping:

http://mysettopbox.tv/phpBB2/viewtopic.php?t=22336

While i was able to open another term with alt-ctrl-F3 and stop the looping services with "sv stop <service>" it never completes the boot - it stays blocked.

Obviously missing something. Completely unfamiliar with the Arch boot process so learning as I go here....

Author:  Martian [ Sat Dec 03, 2011 6:38 am ]
Post subject: 

boot

<ctrl>+<alt>+F3

clean up your / partition to make some more space (look at logs and old package files)

sudo upgrade_linhes.sh (hopefully should finish successfully this time)

Author:  mattbatt [ Sat Dec 03, 2011 11:59 am ]
Post subject: 

you can also boot into a gparted live cd and increase your root partition. without loosing anything. Be careful though.

Author:  jayb282 [ Sat Dec 03, 2011 6:54 pm ]
Post subject: 

Thanks for the replys. Got further, but close to giving up.

Cleaned out some space. Managed to get the upgrade script to run again. Downloads packages for a while and then falls over with the wget/ssh problems others get. Fixed that.

Run upgrade script again.... then it gets stuck trying to download the wallpaper from knoppmyth.net.

I assume it eventually finished or gave up (i left it alone for a while).

Now when booting it gets stuck in a loop of

rpc.nfsd: writing fd to kernel failed: errno 11 (Connection refused)
rpc.nfsd: unable to set any sockets for nfsd
:: Starting NFSD
> using
rpc.nfsd: writing fd to kernel failed: errno 11 (Connection refused)
rpc.nfsd: unable to set any sockets for nfsd

repeat repeat....

In /var/log/messages there are more complaints about nfsd:

svc: failed to register nfsdv2 RPC service
svc: failed to register nfsaclv2 service.

repeat repeat repeat...

Thats as far as i've traced. I'm about 90% at the point of giving up. I don't have the enthusiasm to spend days trying to troubleshoot everything this upgrade has trashed. I'll give it another couple hours and then it's fresh install time. Sigh.

j

Author:  mattbatt [ Sat Dec 03, 2011 10:30 pm ]
Post subject: 

got a spare drive yo can do a fresh install on?

Author:  jayb282 [ Sun Dec 04, 2011 5:36 am ]
Post subject: 

Thanks - i sorted a few more things but i've finally given up. The upgrade has pretty much been a disaster. Caveat emptor.

I've wiped the drive and gone for a clean 7.1 install, which is causing it's own problems. I'll start a different thread about that.

j

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/