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

[SOLVED] SSH and Samba won't autostart
Thank you for your donation

Pages (2): 1 2 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: SSH and Samba won't autostart
8th Nov, 2013, 02:09 AM
Post: #1
5moufl
Unregistered
 
SSH and Samba won't autostart
I've set SSH and Samba to autostart in the settings but these two services actually don't start on boot and I have to do it manually each time I boot up my rpi. I'm running the latest beta (1.1)
Quote this message in a reply
8th Nov, 2013, 03:37 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: SSH and Samba won't autostart
These services should be started by default. Have you "played" around at all? or installed anything new?

If not, then can you post your xbmc.log file and output from dmesg.

Also have you tried ssh into your machine and in xbian-config make sure autostart is set.

See my signature for details.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
8th Nov, 2013, 03:58 AM
Post: #3
5moufl
Unregistered
 
RE: SSH and Samba won't autostart
I only installed the xbian package for samba (which used to autostart and now don't) but nothing apart from that I think that could interfere.
I've checked the config with xbian-config.

xbmc.log
http://pastebin.com/phKWYmUE
dmesg
http://pastebin.com/DHi7tBAw
Quote this message in a reply
8th Nov, 2013, 04:25 AM
Post: #4
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: SSH and Samba won't autostart
Everything looks in order.

How did you install samba? (As this seems to be the culprit) via xbmc xbian-config, ssh xbian-config or apt-get?

I'm running a different version so I don't know - but isn't Samba installed by default on Beta 1.1?

After a reboot and not doing anything - can you post a screenshot of xbian-config Services showing ssh and Samba. Start them both, then send the output from dmesg again.

Phase 2. Reflash the SD card - does ssh start normally?

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
8th Nov, 2013, 06:24 PM
Post: #5
5moufl
Unregistered
 
RE: SSH and Samba won't autostart
iirc I installed with aptitude the xbian-package-samba package

After a reboot I get samba and ssh saying that autostart is set up (Yes) but they're (No)t running. And if I start them both you basically get the dmesg log I gave you before, maybe you'd like one BEFORE I start both services...

Phase 2: I don't think that's necessary because ssh autostarted at first.
Quote this message in a reply
9th Nov, 2013, 06:10 AM
Post: #6
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: SSH and Samba won't autostart
How did you install lirc with aptitude? Aptitude is not included in Xbian distributions.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
11th Nov, 2013, 08:44 PM
Post: #7
5moufl
Unregistered
 
RE: SSH and Samba won't autostart
I installed aptitude (cause I usually use it over apt-get). Did I do something wrong there? Maybe I did cause I know remember having to reinstall initscripts or something
Quote this message in a reply
13th Nov, 2013, 10:07 AM
Post: #8
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: SSH and Samba won't autostart
@5moufl

there was update 1.2 released recently to beta 1.1 which (including others) reacted on ssh autostart issues. samba is new with this info, but the "issue" is not related to ssh or samba, but system init scripts. I assume by installing you will go both go away. If not, report please back.

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
14th Nov, 2013, 07:20 PM
Post: #9
5moufl
Unregistered
 
RE: SSH and Samba won't autostart
I started from scratch, updated xbian with apt-get update and update and the problem is still there, ssh autostarts before I update initscripts but not after...
Quote this message in a reply
14th Nov, 2013, 07:55 PM
Post: #10
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: SSH and Samba won't autostart
even with xbian-update version 1.0-1.2 installed ?

can you please confirm with
Code:
apt-cache policy xbian-update

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
14th Nov, 2013, 08:03 PM
Post: #11
5moufl
Unregistered
 
RE: SSH and Samba won't autostart
oh... but how do I update this? I tried xbian-config > update and apt-get upgrade and it does not update Confused

edit: I also tried:
Terminal
root@qam:~# apt-get install xbian-update=1.0-1.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.0-1.2' for 'xbian-update' was not found
Quote this message in a reply
14th Nov, 2013, 08:08 PM
Post: #12
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: SSH and Samba won't autostart
it was pushed to public repo days ago so should be available.

in any case you can hack it with:

Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/pool/main/x/xbian-update/xbian-update_1.0-1.2_armhf.deb
dpkg -i xbian-update_1.0-1.2_armhf.deb
reboot

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
14th Nov, 2013, 08:27 PM
Post: #13
5moufl
Unregistered
 
RE: SSH and Samba won't autostart
I updated the package db as usual... maybe there's something wrong with the mirrors that are set up? (although I didn't change anything to the default ones). Anyhow...
(14th Nov, 2013 08:08 PM)mk01 Wrote:  it was pushed to public repo days ago so should be available.

in any case you can hack it with:

Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/pool/main/x/xbian-update/xbian-update_1.0-1.2_armhf.deb
dpkg -i xbian-update_1.0-1.2_armhf.deb
reboot
...that worked. and ssh is autostarting now. Thanks!
Quote this message in a reply
27th Nov, 2013, 07:55 AM
Post: #14
dcallebaut Offline
Registered
Posts: 5
Joined: Nov 2013
Reputation: 0
RE: SSH and Samba won't autostart
(14th Nov, 2013 08:27 PM)5moufl Wrote:  I updated the package db as usual... maybe there's something wrong with the mirrors that are set up? (although I didn't change anything to the default ones). Anyhow...
(14th Nov, 2013 08:08 PM)mk01 Wrote:  it was pushed to public repo days ago so should be available.

in any case you can hack it with:

Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/pool/main/x/xbian-update/xbian-update_1.0-1.2_armhf.deb
dpkg -i xbian-update_1.0-1.2_armhf.deb
reboot
...that worked. and ssh is autostarting now. Thanks!

Hi guys, the above link does not work anymore and I have the same problem still (ssh not autostarting). Could you update to the correct .deb? thanks!
Find all posts by this user
Quote this message in a reply
29th Nov, 2013, 07:26 AM
Post: #15
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: SSH and Samba won't autostart
(27th Nov, 2013 07:55 AM)dcallebaut Wrote:  
(14th Nov, 2013 08:27 PM)5moufl Wrote:  I updated the package db as usual... maybe there's something wrong with the mirrors that are set up? (although I didn't change anything to the default ones). Anyhow...
(14th Nov, 2013 08:08 PM)mk01 Wrote:  it was pushed to public repo days ago so should be available.

in any case you can hack it with:

Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/pool/main/x/xbian-update/xbian-update_1.0-1.2_armhf.deb
dpkg -i xbian-update_1.0-1.2_armhf.deb
reboot
...that worked. and ssh is autostarting now. Thanks!

Hi guys, the above link does not work anymore and I have the same problem still (ssh not autostarting). Could you update to the correct .deb? thanks!

cos I have seen you posted similar issue in another thread, I would suggest you do a backup of your XBMC an fresh install Beta2 as it looks you have something really messed in your installation.It would be much easier to just start over Wink

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [PROBLEM] Ssh and Samba don't start/autostart namb 2 7,939 12th Jun, 2014 12:45 AM
Last Post: IriDium

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

Current time: 12th May, 2025, 06:04 PM Powered By MyBB, © 2002-2025 MyBB Group.