View previous topic :: View next topic |
Author |
Message |
sreelakshmi.madisetty n00b
Joined: 28 Nov 2012 Posts: 6
|
Posted: Wed Nov 28, 2012 9:44 am Post subject: Unable to rexec to gentoo client from other linux client. |
|
|
Hi,
I have installed gentoo. I am able to do rexec to gentoo succesfully but unable to do rexec to gentoo client from other linux client.
Please help me in resolving this. |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Wed Nov 28, 2012 5:13 pm Post subject: |
|
|
welcome to gentoo.
a few questions:
is there a particular reason for using rexec? why not use ssh?
which way does not work? from gentoo? or to gentoo?
what did you install/emerge?
V. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
sreelakshmi.madisetty n00b
Joined: 28 Nov 2012 Posts: 6
|
Posted: Thu Nov 29, 2012 8:36 am Post subject: |
|
|
Hi Veldrin
Thanks for you reply.
I am not able to rexec to gentoo.
I emerged net-misc/netkit-rsh.
Even ssh is not working so i wanted to use rexec. |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Thu Nov 29, 2012 9:39 am Post subject: |
|
|
you need to start the daemon the target machine in order to get it working.
Run as root the following commands for ssh and rexec respectively
Code: | /etc/init.d/sshd start
/etc/init.d/rexecd start |
if you want the system to start a daemon automatically us the following commands for ssh and rexec respectively
Code: | rc-update add sshd default
rc-update add rexec default |
like i mentioned my the initial post, if there is no good reason to use rexec, I strongly recommend to use ssh.
if you haven't done so, you have to emerge openssh (or dropbear) for ssh to work.
HTH
V. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
sreelakshmi.madisetty n00b
Joined: 28 Nov 2012 Posts: 6
|
Posted: Thu Nov 29, 2012 10:11 am Post subject: |
|
|
Hi,
When i restart sshd it throws the following error:
gentoo / # /etc/init.d/sshd restart
* stopping sshd
* starting udev
* start-stop-daemon: /sbin/udevd already running
* Failed to start udev
* ERROR: udev failed to start
* starting sshd
if i give.. ssh hostname date, it throws error saying connection refused. |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Thu Nov 29, 2012 11:11 am Post subject: |
|
|
are you trying this inside a chroot?
are you currently installing gentoo?
V. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
sreelakshmi.madisetty n00b
Joined: 28 Nov 2012 Posts: 6
|
Posted: Thu Nov 29, 2012 12:04 pm Post subject: |
|
|
yes i am inside chroot.
I installed gentoo, but after compiling i didnt reboot the gentoo due to fear it will go to kernel panic.
So i am trying all the commands without rebooting itself. |
|
Back to top |
|
|
sreelakshmi.madisetty n00b
Joined: 28 Nov 2012 Posts: 6
|
Posted: Thu Nov 29, 2012 12:54 pm Post subject: |
|
|
Hi Veldrin,
After compiling the kernel and configuring the grub, when i reboot my gentoo it throws the following error
VFS: Cannot open root device sda3 or unknown-block(0,0)
Please apend a correct "root=" boot option:here are the avilable partitions:
sr0 driver:sr
Kernel panic-not syncing: VFS:unable to mount root fs on unknown-block(0,0)
I am not understanding where i am going wrong. Appreciate ur help in solving this.
Let me know if you have any link for installing gentoo properly.
Sree... |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Thu Nov 29, 2012 1:10 pm Post subject: |
|
|
ok, that would explain the message.
from the later error message, I can read, that it is able to boot the kernel, but unable to mount /
please post /etc/fstab and your grub.conf.
are you using a custom kernel? are you using genkernel?
for a custom kernel, http://kernel-seeds.org/ is a good source. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu Nov 29, 2012 2:45 pm Post subject: |
|
|
Moved from Gentoo Chat to Installing Gentoo.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
sreelakshmi.madisetty n00b
Joined: 28 Nov 2012 Posts: 6
|
Posted: Fri Nov 30, 2012 5:14 am Post subject: |
|
|
Hi Veldrin,
I am using custom kernel.
Please find the /etc/fstab and grub.conf entries:
/etc/fstab entries:
============
/dev/sda1 /boot ext2 defaults,noatime 0 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext3 noatime 0 1
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
grub.conf entries:
============
default 0
title Gentoo Linux 3.5.7
root (hd0,0)
kernel /boot/kernel-3.5.7-gentoo root=/dev/sda3
title Gentoo Linux 3.5.7 (rescue)
root (hd0,0)
kernel /boot/kernel-3.5.7-gentoo root=/dev/sda3 init=/bin/bb |
|
Back to top |
|
|
|