LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2011, 07:13 AM   #1
rahulvishwakarma
Member
 
Registered: Aug 2010
Posts: 125

Rep: Reputation: 2
Unhappy 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?
 
Old 09-27-2011, 11:37 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,268

Rep: Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522
Quote:
Originally Posted by rahulvishwakarma View Post
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?
 
Old 09-29-2011, 12:21 PM   #3
rahulvishwakarma
Member
 
Registered: Aug 2010
Posts: 125

Original Poster
Rep: Reputation: 2
/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] : " : "
 
Old 09-29-2011, 04:12 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,268

Rep: Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522Reputation: 6522
Quote:
Originally Posted by rahulvishwakarma View Post
/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.
 
  


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
Trying to install Oracle 11g on RHEL 5.2 louisb Linux - Enterprise 38 08-21-2014 02:38 PM
[SOLVED] oracle 11g install prerequisite fails for valid rhel 4 kernel parameter value clozarks Linux - Enterprise 5 12-21-2010 05:19 PM
OpenLDAP in RHEL 4 ES and oracle 11g fadu Linux - Newbie 1 07-11-2010 01:43 PM
problem accessing oracle 11g in ubuntu rahulkya Linux - Software 1 02-25-2010 05:23 PM
Having problem while inatalling oracle 11g kapila_sr Linux - Server 3 03-05-2009 12:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:24 PM.

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
Open Source Consulting | Domain Registration