LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2011, 04:57 AM   #1
samuel882
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Rep: Reputation: Disabled
urgent : Connection Refused


Hi All the experts there,
I edited my fstab file and rebooted the linux server
I can ping with the IP after reboot but I cant telnet nor SSH to the server remotely now with the connection refused error messages
Please help..
Our server is located a thousands miles away from here and it is very critical to get it up

Appreciate any advise
 
Old 08-24-2011, 05:12 AM   #2
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 535

Rep: Reputation: 79
Huuuummm,

What did you change in your "fstab"?
Did you change some partitions and put them in read only?

Last edited by angel115; 08-24-2011 at 05:15 AM.
 
Old 08-24-2011, 05:34 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
This is not urgent for us. Please do not use such language.

Nothing to do with networking. Moved to Linux - newbie.

You need ILO access to the machine. Log in that way and investigate. If you have no ILO. you need to start driving.
 
Old 08-24-2011, 05:49 AM   #4
samuel882
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks for the quick response

This is how my fstab file looks like
LABEL=/ / ext3 defaults,usrquota $
1 1
LABEL=/swap /swap ext3 defaults,usrquota $
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sda2 /tmp ext3 defaults 1 2


Can someone pls tell me what is wrong in the above fstab?

we did not installed ILO in the first place so any other alternatives to telnet or SSH to that server?


Thanks
 
Old 08-24-2011, 05:51 AM   #5
samuel882
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
And sorry for the URGENT thread title. I am totally newbie here
 
Old 08-24-2011, 06:09 AM   #6
kostya
Member
 
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 173
Blog Entries: 5

Rep: Reputation: 17
Quote:
Originally Posted by samuel882 View Post
Thanks for the quick response

This is how my fstab file looks like
LABEL=/ / ext3 defaults,usrquota $
1 1
LABEL=/swap /swap ext3 defaults,usrquota $
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sda2 /tmp ext3 defaults 1 2


Can someone pls tell me what is wrong in the above fstab?

we did not installed ILO in the first place so any other alternatives to telnet or SSH to that server?


Thanks
And yet you said you'd edited it, so what did it look like before being edited?
And why use these LABELs instead of real device names, or, better still, UUIDs? The latter is the most secure cause the UUID doesn't change even disk order is changed.

Last edited by kostya; 08-24-2011 at 06:18 AM.
 
Old 08-24-2011, 06:19 AM   #7
samuel882
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
If I am not mistaken , this is the original fstab file looks like

LABEL=/ / ext3 defaults 1 1
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/swap /swap ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/tmp /var/tmp ext3 defaults,bind,noauto $


I am not perfectly sure about that becoz the server has been completely down as of now and I couldnt access it remotely at all
 
Old 08-24-2011, 08:23 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
I don't see why it matters what your fstab looks like if you can't get in. Unless you already know of another way in then there won't be one. It would be mad for that not to be the case. If this server has any form of remote hands etc. That is your only option.
 
1 members found this post helpful.
Old 08-24-2011, 08:24 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Erm you have an ext3 partition called "swap "??? What is that all about?
 
Old 08-24-2011, 11:00 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,277

Rep: Reputation: 4443Reputation: 4443Reputation: 4443Reputation: 4443Reputation: 4443Reputation: 4443Reputation: 4443Reputation: 4443Reputation: 4443Reputation: 4443Reputation: 4443
Quote:
Originally Posted by samuel882 View Post
If I am not mistaken , this is the original fstab file looks like
LABEL=/ / ext3 defaults 1 1
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/swap /swap ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/tmp /var/tmp ext3 defaults,bind,noauto $

I am not perfectly sure about that becoz the server has been completely down as of now and I couldnt access it remotely at all
Spell your words out, please.

And I totally agree with acid_kewpie...if your server is down, and you don't have any way of getting in to it, then you need to GO TO THE SERVER, and log in at the console. Either that, or you can talk someone at the remote location through booting it up via a rescue CD, and undoing what you changed in the fstab file, then trying to reboot.

If you didn't make a backup of the fstab file before editing, and you don't know what's supposed to be in it, it's going to be a tough fix.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
vsftpd not working: Connection attempt failed with "ECONNREFUSED - Connection refused davidlu766 Linux - Server 7 05-03-2010 09:34 PM
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 02:17 AM
eth0 going down (connection reset by peer, then connection refused) Astarath Slackware 1 09-05-2007 06:14 AM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 08:23 AM
lp filename yields "cannot open connection to localhost - Connection refused" jjge Linux - General 3 12-29-2003 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration