LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-14-2007, 07:22 PM   #1
hoofer
LQ Newbie
 
Registered: Jun 2005
Location: Brazil
Distribution: Slackware, Slamd64
Posts: 28

Rep: Reputation: 16
sshd and RPC problems on headless server


I have a headless server running Slackware 11.0. I recently had some hardware problems, and I had to remove my video card, so now I REALLY need to do everything remotely.

Starting today I noticed these 2 problems:
- When I'm booting my laptop it mounts some NFS stuff from the server, but now it fails with "RPC: Program not registered"
- When I try to ssh in (with any user) it gives me "Connection refused"

Plugging a keyboard on the server, I can login and play music, so I know it's working. I can also ssh from the server to the laptop and "touch" some file and it works. By the way, I can also ping the server, so I know it's connected to the network.

I'm able to scp some files from the server to the laptop, so I checked dmesg but I found nothing. I also tried scp'ing "syslog" and "messages", but something went wrong, and I only get empty files.

I also tried manually starting sshd but still got nothing.

By the way, yesterday I moved my "home" directory. It used to be a link at /, pointing to /Documentos/home, and I removed the link and moved the home folder to /. I'm not sure if it's got anything to do with my problem, but that's the only unusual thing I did recently.

I know that's not a lot of information, but it's pretty much everything I got. I'm already looking into "headless installation" options, but I really wanted to keep this system running, so I'd really appreciate any help, or even any ideas as for what's happening with my server, because at this point I'm totally lost.
 
Old 09-15-2007, 02:43 AM   #2
Cheerful Charlie
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by hoofer View Post
I have a headless server running Slackware 11.0. I recently had some hardware problems, and I had to remove my video card, so now I REALLY need to do everything remotely.

Starting today I noticed these 2 problems:
- When I'm booting my laptop it mounts some NFS stuff from the server, but now it fails with "RPC: Program not registered"
- When I try to ssh in (with any user) it gives me "Connection refused"

Plugging a keyboard on the server, I can login and play music, so I know it's working. I can also ssh from the server to the laptop and "touch" some file and it works. By the way, I can also ping the server, so I know it's connected to the network.

I'm able to scp some files from the server to the laptop, so I checked dmesg but I found nothing. I also tried scp'ing "syslog" and "messages", but something went wrong, and I only get empty files.

I also tried manually starting sshd but still got nothing.

By the way, yesterday I moved my "home" directory. It used to be a link at /, pointing to /Documentos/home, and I removed the link and moved the home folder to /. I'm not sure if it's got anything to do with my problem, but that's the only unusual thing I did recently.

I know that's not a lot of information, but it's pretty much everything I got. I'm already looking into "headless installation" options, but I really wanted to keep this system running, so I'd really appreciate any help, or even any ideas as for what's happening with my server, because at this point I'm totally lost.

Possibly if you moved home, you moved the /home/user/.shh/ directory and files too. The sshd demon runs but can't connect to your home directory properly. I have learned long ago that messing with home wasn't a good idea, it can bust a lot of stuff up in /home/user/tmp/ also. Moving the tmp file or messing with it is often begging for trouble.

Cheerful Charlie

Cheerful Charlie

Last edited by Cheerful Charlie; 09-15-2007 at 02:56 AM.
 
Old 09-15-2007, 06:11 PM   #3
hoofer
LQ Newbie
 
Registered: Jun 2005
Location: Brazil
Distribution: Slackware, Slamd64
Posts: 28

Original Poster
Rep: Reputation: 16
Fixed

Ok, I was able to fix it.

My "var" directory was gone, somehow it was not mounting its partition at boot. I managed to copy all of the laptop's var to the server and it started working again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using laptop with headless server??? sundancekidster Linux - Hardware 4 07-23-2007 11:27 PM
Headless Server Install steve4586 Linux - General 3 12-14-2006 06:13 AM
headless server maintanence danimalz Debian 11 03-12-2006 01:29 AM
Question About Headless Server sammykrupa Linux - Software 1 09-18-2005 01:51 PM
headless server gravij Linux - General 2 06-06-2004 07:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration