Skip to contentSkip to conversation

Fc3 xm boots always maintenance mode

DISCUSSION sada 2 participants 4 messages Mar 23, 2005 – Mar 25, 2005

lore
Share & tools
lore

sada

author
#0 lore raw

I really wants to know.

When I start "xm create fc3 -c" but always maintenance mode. Is someone kind enough to point whats wrong with me?

Configfiles are like this.

kernel ="/boot/vmlinuz-2.6.11-1.1177_FC4xenU"
memory =128
name = "fc3"
nics = 1
disk = ['file:/root/fedora.img,hda2,w']
ip="210.166.211.245"
netmask="255.255.255.0"
gateway="210.166.211.244"
hostname="NS.TECH-A.INFO"
root = "/dev/hda2 ro"

Continuing...

SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
INIT: version 2.85 booting

/etc/rc.d/rc.sysinit: line 28: /dev/null: Read-only file system /etc/rc.d/rc.sysinit: line 80: /dev/tty1: Read-only file system /etc/rc.d/rc.sysinit: line 80: /dev/tty2: Read-only file system /etc/rc.d/rc.sysinit: line 80: /dev/tty3: Read-only file system /etc/rc.d/rc.sysinit: line 80: /dev/tty4: Read-only file system /etc/rc.d/rc.sysinit: line 80: /dev/tty5: Read-only file system /etc/rc.d/rc.sysinit: line 80: /dev/tty6: Read-only file system /etc/rc.d/rc.sysinit: line 84: /dev/tty7: Read-only file system /etc/rc.d/rc.sysinit: line 85: /dev/tty8: Read-only file system
Welcome to Fedora Core
Press 'I' to enter interactive startup.
/etc/rc.d/rc.sysinit: line 136: /dev/null: Read-only file system /etc/rc.d/rc.sysinit: line 137: /dev/null: Read-only file system Initializing hardware... open /dev/zero: No such file or directory open /dev/zero: No such file or directory /etc/rc.d/rc.sysinit: line 168: /dev/null: Read-only file system /etc/rc.d/rc.sysinit: line 168: /dev/null: Read-only file system
storage/etc/rc.d/rc.sysinit: line 185: /dev/null: Read-only file system
ls: ifcfg*: No such file or directory
/etc/rc.d/rc.sysinit: line 196: /dev/null: Read-only file system
network audio done[ OK ]
raidautorun: unable to autocreate /dev/md0
mount: can't find /dev/pts in /etc/fstab or /etc/mtab Configuring kernel parameters: [FAILED]
hwclock is unable to get I/O port access: the iopl(3) call failed. Setting clock : Tue Mar 22 23:50:58 EST 2005 [FAILED] Setting hostname localhost.localdomain: [FAILED]
Checking root filesystem
[FAILED]

*** An error occurred during the file system check. *** Dropping you to a shell; the system will reboot *** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):

Mail:[email protected]

-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click

#1 lore raw
Quoted 9 lines · sada

I really wants to know.

When I start "xm create fc3 -c" but always maintenance mode.

/etc/rc.d/rc.sysinit: line 28: /dev/null: Read-only file system

You need to have the proper initrd image to boot FC3 or RHEL4.
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/faq.html#a5.2

However, I prefer to add the line

mount -n -t tmpfs none /dev

after

mount -n -t proc /proc /proc

on /etc/rc.sysinit. That should work.

Regards,

Fajar

-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click

author
#2 lore raw

Thanks for quick answer I really appreciate. I did try one then "It worked" like Apache. (joke)

You exactly point out my BAD settings.
And even that almost slove my privious question exept I couldn't connect from out side. From Mater IP address I can get login but from outside I've got this error and ssh connection refused .

# error: openpty: No such file or directory
# session_pty_req: session 0 alloc failed

I'm managing more than 4000 dedicated server so I know original sshd_config has to be. But I really don't Know XEN networking.

ICMP( PING ) is OK . SSH is NG.
Do I have to do some special Setting for connecting xm from Outside?

Quoted 9 lines
Quoted 4 lines

When I start "xm create fc3 -c" but always maintenance mode.

/etc/rc.d/rc.sysinit: line 28: /dev/null: Read-only file system

You need to have the proper initrd image to boot FC3 or RHEL4.
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/faq.html#a5.2

However, I prefer to add the line

Quoted 7 lines

mount -n -t tmpfs none /dev

after

mount -n -t proc /proc /proc

on /etc/rc.sysinit. That should work.

[email protected]

-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click

author
#3 lore raw

It was my mistake and I fix my image and work fine now (just because of my fc3.img dosen't have proper setting. Coparering mine and the one you

Thanks Fajar

Quoted 1 line

Do I have to do some special Setting for connecting xm from Outside?

sada <[email protected]>

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click