LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rhel 6 startup problem after oracle 11g R2 installation. (https://www.linuxquestions.org/questions/linux-software-2/rhel-6-startup-problem-after-oracle-11g-r2-installation-905211/)

rahulvishwakarma 09-27-2011 06:13 AM

rhel 6 startup problem after oracle 11g R2 installation.
 
In RHEL 6 (downloaded from internet) I have installed oracle 11g R2 (downloaded from internet). Everything was fine, I installed all packages needed by oracle by downloading from internet. After installation I restarted the system and then problem occured that:- many files of the location bellow has this error
/etc/rc5.d/<files>[line No.] : Syntax error : '(' expected
/etc/rc5.d/prefdm[34] : shopt : not found --> 11 times.

when i tried to go to single user mode then there is not any problem, these are when i m going to init 5 mode.
how to solve this?

TB0ne 09-27-2011 10:37 AM

Quote:

Originally Posted by rahulvishwakarma (Post 4483402)
In RHEL 6 (downloaded from internet) I have installed oracle 11g R2 (downloaded from internet). Everything was fine, I installed all packages needed by oracle by downloading from internet. After installation I restarted the system and then problem occured that:- many files of the location bellow has this error
/etc/rc5.d/<files>[line No.] : Syntax error : '(' expected
/etc/rc5.d/prefdm[34] : shopt : not found --> 11 times.

when i tried to go to single user mode then there is not any problem, these are when i m going to init 5 mode.
how to solve this?

Well, both RHEL 6 and Oracle 11g are commercial, pay-for products. If you're using them, you should be paying for support, and using it. Give either RHEL or Oracle a call. Oracle installation documents are very detailed.

That said, you are not providing any information that would help us diagnose this problem. WHAT packages did you download, from where? How did you install them? What <files> are giving error(s)? Have you looked in the system logs? Can you start the server in runlevel 3, without the GUI?

rahulvishwakarma 09-29-2011 11:21 AM

/var/log/messages:-
-----------------------
Sep 30 02:02:50 home abrtd: Registered Analyzer plugin 'Python'
Sep 30 02:02:50 home abrtd: Registered Reporter plugin 'RHTSupport'
Sep 30 02:02:50 home abrtd: Registered Analyzer plugin 'Kerneloops'
Sep 30 02:02:50 home abrtd: Registered Analyzer plugin 'CCpp'
Sep 30 02:02:50 home abrtd: Registered Action plugin 'KerneloopsScanner'
Sep 30 02:02:50 home abrtd: Registered Action plugin 'SOSreport'
Sep 30 02:02:50 home abrtd: Registered Reporter plugin 'Logger'
Sep 30 02:02:50 home abrtd: Can't load public GPG key

/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-auxiliary
Sep 30 02:02:50 home abrtd: Can't load public GPG key

/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta-2
Sep 30 02:02:50 home abrtd: Can't load public GPG key

/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-beta
Sep 30 02:02:50 home abrtd: dbus error: Failed to connect to socket

/var/run/dbus/system_bus_socket: No such file or directory
Sep 30 02:02:50 home abrtd: Error requesting DBus name com.redhat.abrt, possible

reasons: abrt run by non-root; dbus config is incorrect; or dbus daemon needs to be

restarted to reload dbus config
Sep 30 02:02:50 home init: rcS-sulogin main process (1094) killed by KILL signal
Sep 30 02:03:17 home init: prefdm main process (1725) killed by TERM signal
Sep 30 02:03:17 home init: tty (/dev/tty2) main process (1730) killed by TERM signal
Sep 30 02:03:17 home init: tty (/dev/tty3) main process (1732) killed by TERM signal
Sep 30 02:03:17 home init: tty (/dev/tty4) main process (1734) killed by TERM signal
Sep 30 02:03:17 home init: tty (/dev/tty5) main process (1736) killed by TERM signal
Sep 30 02:03:17 home init: tty (/dev/tty6) main process (1738) killed by TERM signal
Sep 30 02:03:17 home init: plymouth-shutdown main process (1757) terminated with

status 1
Sep 30 02:03:17 home init: splash-manager main process (1753) terminated with

status 1
Sep 30 02:03:17 home xinetd[1594]: Exiting...
Sep 30 02:03:20 home acpid: exiting
Sep 30 02:03:21 home auditd[1387]: The audit daemon is exiting.
Sep 30 02:03:21 home kernel: type=1305 audit(1317328401.196:11): audit_pid=0

old=1387 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0

res=1
Sep 30 02:03:21 home kernel: IPv6 over IPv4 tunneling driver
Sep 30 02:03:21 home kernel: sit0: Disabled Privacy Extensions
Sep 30 02:03:22 home kernel: Kernel logging (proc) stopped.
Sep 30 02:03:22 home rsyslogd: [origin software="rsyslogd" swVersion="4.6.2"

x-pid="1412" x-info="http://www.rsyslog.com"] exiting on signal 15.

packages installed by rpm command:-
---------------------------------------------
compat-libstdc++-33-3.2.3-47.3.i386.rpm
libaio-0.3.105-2.i386.rpm
libaio-devel-0.3.105-2.i386(2).rpm
libaio-devel-0.3.105-2.i386.rpm
libgcc-3.4.6-8.i386.rpm
libreadline5-5.2-141.16.x86_64.rpm
libstdc++-3.4.6-11.el4_8.1.i386.rpm
ncurses-libs-5.7-3.20090208.el6.i686.rpm
pdksh-5.2.14-21.x86_64.rpm
pdksh-5.2.14-43.i386.rpm
readline-4.3-13.i386.rpm
readline-4.3-13.x86_64.rpm
unixODBC-2.2.11-1.i386.rpm
unixODBC-2.2.11-7.1.x86_64.rpm
unixODBC-devel-2.2.11-7.1.i386.rpm

unixODBC-2.2.11--> by source code

I have downloaded these packages from site http://rpm.pbone.net/

I can't login in runlevel 3.

the files giving errors are :-
---------------------------
/etc/rc5.d/S07iscs[33] : syntax error : "$rootopts" missing expression operator
/etc/rc5.d/S08ip6tables[33] : [: 0: unexpected operator operand
/etc/rc5.d/S08iptables[33]: [: 0: unexpected operator operand
/etc/rc5.d/S13cpuspeed[260] : syntax error : '(' unexpected
/etc/rc5.d/S13irqbalance[57] : " : "
/etc/rc5.d/S13iscs[67] : " : "
/etc/rc5.d/S13rpcbind[63] : " : "
/etc/rc5.d/S20kdump[42] : " : "
/etc/rc5.d/S22messagebus[47] : " : "
/etc/rc5.d/S23NetworkManager[16] : " : "
/etc/rc5.d/S24avahi -daemon : " : "
/etc/rc5.d/S24nfslock[20] : " : "
/etc/rc5.d/S25cups[86] : " : "
/etc/rc5.d/S26haldaemon[50] : " : "
/etc/rc5.d/S50bluetooth[24] : " : "
starting abrt daemon [failed]
/etc/rc5.d/S90crond[54] : syntax error : '(' unexpected
/etc/rc5.d/S75atd[44] : " : "
/etc/rc5.d/S97libvirtd[66] : " : "
/etc/rc5.d/S98libvirt -guests[219] : " : "

TB0ne 09-29-2011 03:12 PM

Quote:

Originally Posted by rahulvishwakarma (Post 4485669)
/var/log/messages:-
packages installed by rpm command:- I have downloaded these packages from site http://rpm.pbone.net/

Well, you've corrupted something(s) on your system by downloading packages from a third-party source, instead of installing them via yum from the online repositories. Since you've installed so many packages and some from source, it would be far better to do a clean install, and start over. Mixing packages from i386, i686, and x86_64 is also a horrible idea.
Quote:

I can't login in runlevel 3. the files giving errors are :-
---------------------------
/etc/rc5.d/S07iscs[33] : syntax error : "$rootopts" missing expression operator
See the part where it's saying /etc/rc5.d?? That means you're coming up in runlevel 5. At boot time, type in "3" in the grub menu.

And again, since it seems to have been ignored the first time: BOTH RHEL6 and Oracle are PAID FOR PRODUCTS. Call their tech-support lines, since you're paying for it, from both of those sources. If you are NOT paying, then you should not be using RHEL or Oracle. Use CentOS and MySQL instead, which are freely available and community supported. If you were in a supported environment, you could have installed packages easily with the "yum" command, and would not be having this problem now.


All times are GMT -5. The time now is 08:13 PM.