init.d scripts not executed [message #38022] |
Mon, 09 November 2009 12:55 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
shatter
Messages: 18 Registered: September 2009 Location: Germany
|
Junior Member |
|
|
Hi *,
to get an Oracle virtual server I have installed a Suse Linux Enterprise Server 11.1 in a KVM, installed an Oracle 11.2 Server in it and tested it. When it worked just fine I then did a "physical to virtual" migration".
The result is a container which runs just fine too IF I run the needed startup scripts (network/xinetd,sshd,oracle) in /etc/init.d by hand.
Runlevel is 3
Kernel version is 2.6.24-pve
Basi OS is Debian (Proxmox)
Any ideas/hints why those scripts are not executed automaticially?
Joachim
[Updated on: Fri, 13 November 2009 11:15] Report message to a moderator
|
|
|
|
Re: init.d scripts not executed [message #38081 is a reply to message #38078] |
Fri, 13 November 2009 17:55 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
shatter
Messages: 18 Registered: September 2009 Location: Germany
|
Junior Member |
|
|
Good questions ... right after boot:
dhsrv03vz:/ # ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 20:52 ? 00:00:00 init boot
root 31 1 0 20:52 ? 00:00:00 [init-logger]
root 32 1 0 20:52 ? 00:00:00 init boot
root 33 32 0 20:52 ? 00:00:00 /bin/bash /etc/init.d/boot
root 60 33 0 20:52 ? 00:00:00 startpar -p4 -t 30 -T 3 -M boot
root 71 1 0 20:52 ? 00:00:00 /sbin/udevd --daemon
root 163 60 0 20:52 ? 00:00:00 /bin/sh /etc/init.d/boot.klog st
root 262 163 0 20:52 ? 00:00:00 /sbin/klogd -s -o -n -f /var/log
root 575 0 0 20:52 ? 00:00:00 vzctl: pts/0
root 576 575 0 20:52 pts/0 00:00:00 -bash
root 613 576 0 20:53 pts/0 00:00:00 ps -ef
dhsrv03vz:/ #
dhsrv03vz:/ # chkconfig
SuSEfirewall2_init off
SuSEfirewall2_setup off
aaeventd off
acpid on
alsasound on
amavis off
atd off
auditd on
autofs off
autoyast off
bluetooth off
bluetooth-coldplug on
chargen off
chargen-udp off
clamav-milter off
clamd off
cron on
cups on
cups-lpd off
cvs off
cyrus off
daytime off
daytime-udp off
dbus on
discard off
discard-udp off
earlysyslog on
echo off
echo-udp off
fbset on
freshclam off
gpm off
haldaemon on
inn off
ipmi off
irq_balancer on
ivman off
joystick off
kbd on
kexec off
mailman off
mdadmd off
microcode.ctl on
multipathd off
mysql off
netstat off
network on
network-remotefs on
nfs on
nfsserver off
nmb off
nscd on
ntp off
openct off
openwsmand off
oracle on
pcscd off
pm-profiler off
postfix on
powerd off
pure-ftpd off
random on
raw on
rexec xinetd
rlogin xinetd
rpasswdd off
rpcbind on
rpmconfigcheck off
rsh off
rsync xinetd
rsyncd off
sane-port off
saslauthd off
servers off
services off
setserial off
sfcb off
skeleton.compat off
slpd off
smartd on
smb off
smbfs on
spamd off
splash on
splash_early on
sshd on
swat off
syslog on
systat off
telnet xinetd
tftp off
time off
time-udp off
uuidd off
vnc off
winbind off
xdm on
xfs off
xinetd on
ypbind off
dhsrv03vz:/
![Wink](images/smiley_icons/icon_wink.gif)
[Updated on: Fri, 13 November 2009 17:55] Report message to a moderator
|
|
|
Re: init.d scripts not executed [message #38082 is a reply to message #38078] |
Fri, 13 November 2009 17:58 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
shatter
Messages: 18 Registered: September 2009 Location: Germany
|
Junior Member |
|
|
My script for manual startup:
dhsrv03vz:~ # cat init.sh
echo "emergency startup ..."
cd /etc/init.d
echo "... starting network"
./network start
sleep 3
echo "... starting xinetd"
./xinetd start
sleep 3
echo "... starting sshd"
./sshd start
dhsrv03vz:~ #
|
|
|