Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] [1.0RC3] SSH broken, "starting... XBMC" endless loop
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: [1.0RC3] SSH broken, "starting... XBMC" endless loop
14th Nov, 2014, 11:02 PM
Post: #1
dafhus Offline
Registered
Posts: 9
Joined: Jul 2013
Reputation: 0
[1.0RC3] SSH broken, "starting... XBMC" endless loop
I upgraded and added the repository according to the FAQ

Quote:[All Platforms] The APT repository at xbian.brantje.com seems to be unreachable

To fix the problem, you need to manually replace the APT repository. [...]

Code:
sudo sed -i 's/xbian.brantje.com/apt.xbian.org/g' /etc/apt/sources.list.d/xbian.list
sudo sed -i 's/xbian.brantje.com/apt.xbian.org/g' /etc/apt/sources.list

apt-get update -f

But during apt-get upgrade, I had a electricity cut in the house... Bad luck :-(
Now I can not access the rPi via SSH (verbose output):

Code:
ssh -vvvv xbian@192.168.0.29
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.0.29 [192.168.0.29] port 22.
debug1: connect to address 192.168.0.29 port 22: Connection refused
ssh: connect to host 192.168.0.29 port 22: Connection refused

And the xbian is stuck at "starting xbmc..." in endless loop. Other running services run fine when accessing via web browser (Transmission, Couchpotato).

I have a backup file somewhere and don't want to start over. What should I do to repair the SSH access?
Find all posts by this user
Quote this message in a reply
15th Nov, 2014, 09:32 AM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [1.0RC3] SSH broken, "starting... XBMC" endless loop
@dafhus

sshd isn't started until XBMC is fully loaded. until then you should be able to telnet (telnet parameter in cmdline.txt) to RPI as user xbian.

so your problem would be just XBMC. if XBMC was updating at the time of power outage, it could be many things. xbmc binary or libraries messed, ... maybe some xbmc conf files not proper anymore.

try apt-get install --reinstall xbian-package-xbmc (assuming you get into RPI with telnet)

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
15th Nov, 2014, 08:07 PM
Post: #3
dafhus Offline
Registered
Posts: 9
Joined: Jul 2013
Reputation: 0
RE: [1.0RC3] SSH broken, "starting... XBMC" endless loop
Thank you for your help.

I edited the xbianboot /cmdline.txt file with parameter ip=192.168.0.29 and tried to telnet to the rPi with telnet xbian@192.168.0.29, but it prints nodename nor servname provided, or not known.
I doublechecked the IP address...
Find all posts by this user
Quote this message in a reply
15th Nov, 2014, 09:09 PM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [1.0RC3] SSH broken, "starting... XBMC" endless loop
@dafhus,

nono, you misunderstood. telnet parameter is present by default. then also if your xbmc is starting to start, xbian recognised and configured network.

so your RPI should be accessible via IP you are used to.

I was just saying, that because of looping xbmc (there is timeout of 100s for xbmc start) sshd is not started yet. but telnet is since root fs remount (or mount rw).

btw: ip= as kernel parameter is either ip=dhcp (then 1st visible network device is taken with dynamic ip config), otherwise format is that:

<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>

ip=192.168.0.29:::255.255.255.0::eth0:
(in your case, but again, not needed)

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
17th Nov, 2014, 04:23 AM
Post: #5
dafhus Offline
Registered
Posts: 9
Joined: Jul 2013
Reputation: 0
RE: [1.0RC3] SSH broken, "starting... XBMC" endless loop
Ok I see, but telnet 192.168.0.29 nor telnet xbian@192.168.0.29 still does not work, although pinging it is possible.
Sorry, what is the step I should try? I could not get it from your last reply.
Find all posts by this user
Quote this message in a reply
17th Nov, 2014, 04:32 AM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [1.0RC3] SSH broken, "starting... XBMC" endless loop
@dafhus

can you with nmap scan the rpi and post output?

Code:
nmap 192.168.0.29

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
17th Nov, 2014, 07:15 AM
Post: #7
dafhus Offline
Registered
Posts: 9
Joined: Jul 2013
Reputation: 0
RE: [1.0RC3] SSH broken, "starting... XBMC" endless loop
Code:
dafhus$

nmap 192.168.0.29

Starting Nmap 6.40 ( http://nmap.org ) at 2014-11-17 12:42 CET
Nmap scan report for 192.168.0.29
Host is up (0.043s latency).
Not shown: 997 closed ports
PORT     STATE SERVICE
111/tcp  open  rpcbind
9091/tcp open  xmltec-xmlmail
9999/tcp open  abyss

Nmap done: 1 IP address (1 host up) scanned in 0.71 seconds
Find all posts by this user
Quote this message in a reply
17th Nov, 2014, 09:18 PM
Post: #8
dafhus Offline
Registered
Posts: 9
Joined: Jul 2013
Reputation: 0
RE: [1.0RC3] SSH broken, "starting... XBMC" endless loop
// output edited
Find all posts by this user
Quote this message in a reply
21st Nov, 2014, 09:01 AM
Post: #9
dafhus Offline
Registered
Posts: 9
Joined: Jul 2013
Reputation: 0
RE: [1.0RC3] SSH broken, "starting... XBMC" endless loop
So I better reinstall everything?
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [1.0RC3] XBMC keeps restarting effemmeffe 74 222,269 4th Nov, 2016 04:25 AM
Last Post: Nachteule
  Stuck on starting xbmc ZIP 5 14,701 7th Dec, 2015 12:18 AM
Last Post: CurlyMo
  [SOLVED] slow response & starting xbmc binary_dreamer 6 17,628 15th Dec, 2014 03:23 AM
Last Post: f1vefour
  Stuck on Starting XBMC barazi 12 47,723 20th Feb, 2014 06:47 PM
Last Post: liamg

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 11th May, 2025, 10:51 AM Powered By MyBB, © 2002-2025 MyBB Group.