STILL trying to get Oracle to work on linux -- HELP!!

Hi all-- a dumb newbie problem if I may:
I have Oracle 8.0.5 installed now on Linux (RH5.2).. As per the
install instructions, I created a file /etc/rc.d/init.d/dbora
containing the following:
# Set ORA_HOME to be equivalent to the ORACLE_HOME
# from which you wish to execute dbstart and
# dbshut
# set ORA_OWNER to the user id of the owner of the
# Oracle database in ORA_HOME
ORA_HOME=/home/oracle/8.0.5.0.0
ORA_OWNER=oracle
if [! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME]
then
echo "Oracle startup: cannot start"
exit
fi
case "$1" in
'start')
# Start the Oracle databases:
su - $ORA_OWNER -c $ORA_HOME/bin/dbstart &
'stop')
# Stop the Oracle databases:
su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
esac
In the instructions, it then says:
5) Link dbora by entering:
# ln -s /etc/rc.d/init.d/dbora /etc/rc0.d/K10dbora
# ln -s /etc/rc.d/init.d/dbora /etc/rc2.d/S99dbora
.. this is where I am assuming it is set so that this dbora gets
executed on system boot.. correct?
Anyway, it doesn't work. First of all, I am logged in as root.
Second of all, I am assuming the # signs in there are a mistake
since they are comments in the bash shell. Third of all, if I
just try:
ln -s /etc/rc.d/init.d/dbora /etc/rc0.d/K10dbora
It returns an error saying:
ln: cannot create symbolic link `/etc/rc0.d/K10dbora' to
'/etc/rc.d/init.d/dbora': No such file or directory
So, I tried a 'ls /etc/rc*' and I got:
init.d rc.local rc.sysinit rc1.d rc3.d rc5.d
rc rc.news rc0.d rc2.d rc4.d rc6.d
... so, rc0.d IS there... so, THEN I tried: ls /etc/rc0.d and
got:
ls: /etc/rc0.d: No such file or directory
huh?? why won't this work? does it or doesn't it exist?
Thanks for any help.
null

A very obnoxious feature of ls in many UNIXes is that
'ls foo*' will show you the contents of the
subdirectory that matches foo* without reminding you that
the file names you are seeing displayed are NOT in your
current directory but, rather, in some subdirectory whose
name happens to begin with foo (you have NO IDEA, precisely,
WHICH directory contents you are seeing.)
For example, in RedHat 5.2, do the following:
cd /etc
ls pp*
What you will (probabably) see displayed APPEARS to be a
list of files in /etc:
chap-secrets ip-down ip-up options pap-secrets
What, IN FACT, you are seeing are files in /etc/ppp.
One way to avoid this confusion is to use the -d option to ls.
'ls -dl pp*' will display one line, showing you the existence
of the directory ppp within /etc, rather than its contents.
As an exercise, also try doing: ls -dF /etc/p*
And, don't forget to thourougly read: man ls
Continuing to the specific problem at hand...
Derek Bumpas (guest) wrote:
: ln: cannot create symbolic link `/etc/rc0.d/K10dbora' to
: '/etc/rc.d/init.d/dbora': No such file or directory
: So, I tried a 'ls /etc/rc*' and I got:
: init.d rc.local rc.sysinit rc1.d rc3.d rc5.d
: rc rc.news rc0.d rc2.d rc4.d rc6.d
: ... so, rc0.d IS there... so, THEN I tried: ls /etc/rc0.d and
: got:
: ls: /etc/rc0.d: No such file or directory
: huh?? why won't this work? does it or doesn't it exist?
: Thanks for any help.
The problem here is [email protected] thinking that ls /etc/rc*
was showing him files in /etc. This was not the case. Rather,
ls /etc/rc* was showing him a list of file names in /etc/rc.d
and rc0.d in in /etc/rc.d, not in /etc.
This further implies that the Oracle instructions (as quoted by
[email protected]) are incorrect. Instead of:
ln -s /etc/rc.d/init.d/dbora /etc/rc0.d/K10dbora
On should instead do:
ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc0.d/K10dbora
(and similarly for other startups)
(at least this is how the file system on my RedHat 5.2 is
structured -- your milage may vary -- another somewhat
annoying issue with the different UNIXes -- but they all
still make NT amd its registry nonsense look silly)
Cheers,
Dennis
http://oceanpark.com
null

Similar Messages

  • I have downloaded OSX v10.7 lion and i still can't get it to work I need help!!!

    I have downloaded OSX v.10.7 Lion 3 times...I have gone through all the steps downloaded installed everything and re started my computer and each time it does nothing! I am sick of this and really starting to hate my brand new " MacBookPro"....My family has been switching to apple but I am going to tell them not to if I have to deal with this every single time..this is RIDICULOUS!!! Isn't the point of apple to have Lion?---so ANNOYING PLEASE HELP!!!!

    If its brand new it should have come with Lion already installed. Up the top menu click on the Apple symbol on the left and see what system it is running, eg. 10.6.8.  10.7.3. etc.
    Pete

  • Tried both ways in the Wiki, still can't get network printing work

    Hi,
    I have tried both the client and server ways following the Wiki, still could not get network printing work.
    For the first way, I tried to put either the host name or the ip address (starting with 192) of the remote printer into /etc/cups/client.conf. But both Okular and Evince failed to see the printer in the dialog.
    For the second way, with cups-browsed running, it only managed to discover printers in my local network (ip starting with 137) which I have no access. I tried to manually add the printer using its ip, but it still did not work.
    What can I do? I have spent hours trying to work it out but failed. I would appreciate a lot your help. Thanks.

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"? Ones with a green checkmark are solved.

  • Hello, all of a sudden without apparent reason I can't get "MAIL" to function. It starts up but I get the color wheel turning like crazy and never ends. I've tried restarting and I still can't get it to work. PLEASE HEEELP!?

    hello, all of a sudden without apparent reason I can't get "MAIL" to function. It starts up but I get the color wheel turning like crazy and never ends. I've tried restarting and I still can't get it to work. PLEASE HEEELP!?

    In the Desktop Manager > Sync > Configuration, make sure the calendar options are set to override Outlook.
    Set it also to notify you of the changes, so you will have to approve any changes.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Still trying to get unconfused about drives

    Coming from the Mac world and using a MBP and external storage, all this talk of drives, raids, etc. is making my head spin!
    I know that I will be backing up extensively and can handle the downtime/risk of losing a days data (I'm compulsive about syncing my work on backups as I make progress), so I'm probably going to be avoiding raid since I will likely have 4 drives to start with.
    I'm going to have 1 x Crucial M4 256gb SSD for OS/Programs and most likely (3x) seagate barracuda xt 2tb drives in addition.
    So my first question is, should I be looking at also getting a small SSD for media cache/page files, or am I fine putting this onto a regular harddrive? If I do the latter, should the harddrive have a partition for the page files/cache to help with speed? How big are these files typically? Should I reserve the entire 2tb drive for them?
    I've read through the disk guide, but being a newb to a lot of this I'm still trying to get my head around it.
    So far I think I want:
    1. SSD for os/programs
    2. Drive for page files/media cache (what else goes on here?)
    3. Drive for media/input
    4. Drive for export
    Which drive should my project files go on again?
    Any help clarifying this is much appreciated! When everybody starts taking the math of throughput my head begins spinning still. I'm starting to gain a tiny bit of understanding, but I'm trying to still keep it really simple for myself right now, as I'm building my first workstation and this is only one of many technical concerns I'm currently wrapping my head around!

    should the harddrive have a partition for the page files/cache to help with speed?
    Partitions do not help speed. On the contrary, it reduces speed but increases wear and tear. Compare it to a large loft you have to store your stuff. You can easily walk around your loft and get the stuff you need. That is comparable to a non-partitioned disk. Now imagine that same loft, but partioned into two or more parts with a wall and a door to separate the parts. You have stuff stacked against the wall you need, so you get it, but instead of getting the other stuff you need just  1 foot behind it, you have to walk 12 feet over to the door, open it, walk 12 feet to the other stuff you need, return 12 feet to the door, close it and then go about your thing.  You have just walked 36 feet, where without those partitions 1 foot would have sufficed. Not very efficient, right? Same with partitioning your disk.
    The basic thought on where to put what, is to distribute disk accesses across as many disks as you have. If you have a workflow where you export only a few times, or once when finished, then put your projects and exports together. Remember that SATA is half duplex, so you can only read at one time and write at another time. You can't do both at the same time. When exporting the project is already loaded, the media need to be read and written to the export disk.

  • Just trying to get the basics working...

    Hi,
    I have been trying to get just the basics working, and have spent almost all day, and now into the night, trying to get it to work....with no logical sucess.....
    All I am trying to do, using VB.net 2008 with Crystral Reports 2008, is to disply my report on a web page using the crystalreport viewer in Visual Studio.
    I created a report in CR2008, and during the process of creating the report I had to create a connection to the SQL Server 2005 database and set a parameter on my report to show the data for a single record from the database.
    The issue is that the connection string I use in CR2008 is NOT the connection string that is to be used in the browser, so the first task I have attempted to do is to set new log in details for the report. I just want to use a trusted connection.
    I have searched high and low on the internet, and taken a look at the samples provided on this site.
    My code, as it is at the moment for setting the connection for the report at run time is at the end of this email: ( I got this code from the samples on this site)
    The problem I have is if the integratedsecurity set to true(as I need it) then the myconnectioninfo.servername and database name are totally ignored. I have changed them to be just randon characters, which should result in the report not being able to connect, yet the report still works fine.
    No errors are generated at all, so its very confusing. I know the code is being executed via breakpoints and stepping through the code, but it would seem that it makes no difference.
    What am I doing wrong here.....
    Private Sub ConfigureCrystalReports()
            Dim reportPath As String = Server.MapPath("CrystalReport1.rpt")
            myCrystalReportViewer.ReportSource = reportPath
            Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
            SetDBLogonForReport(myConnectionInfo)
            myConnectionInfo.ServerName = "SQL1"
            myConnectionInfo.DatabaseName = "MPx
            ' myConnectionInfo.UserID = "limitedPermissionAccount"
            'myConnectionInfo.Password = "1234"
            myConnectionInfo.IntegratedSecurity = True
        End Sub
        Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
            ConfigureCrystalReports()
        End Sub
        Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo)
            Dim myTableLogOnInfos As TableLogOnInfos = myCrystalReportViewer.LogOnInfo
            For Each myTableLogOnInfo As TableLogOnInfo In myTableLogOnInfos
                myTableLogOnInfo.ConnectionInfo = myConnectionInfo
            Next
        End Sub

    Hi,
    Couple of things:
    1) Please make sure that you are using CR2008 with SP0 at least. Dlls versions should be 12.0.2000.0 and File version 12.0.1100.0.
    2) Please make sure that the destination database can be accessed from that machine. You can create a UDL file or a new report hitting the target database to see if we can see data into it.
    3) Please make sure that we are not changing the schema of the report.
    4) Can you try this code mentioned below:
    ConnectionInfo crConnection = new ConnectionInfo();
                   crConnection.ServerName="Server";
                   crConnection.DatabaseName="DB";
                   crConnection.UserID="uid";
                   crConnection.Password="pwd";
                            crConnection.IntegratedSecurity=true;
                   crReport.Load(Server.MapPath("CrystalReport1.rpt"));
                   Tables crTables=crReport.Database.Tables;
                   foreach(CrystalDecisions.CrystalReports.Engine.Table crTable in crTables)
                        TableLogOnInfo crTLOI = crTable.LogOnInfo;
                        crTLOI.ConnectionInfo=crConnection;
                        crTable.ApplyLogOnInfo(crTLOI);
                        crTable.Location=Database.Owner.Tablename
                   CrystalReportViewer1.ReportSource=crReport;
    Regards,
    AG.

  • Just upgraded my Mac laptop to Lion to take advantage of iCloud, spent hours trying to get iCloud to work, no happy

    Just upgraded my Mac laptop to Lion to take advantage of iCloud, spent hours trying to get iCloud to work, not happy, tried everything still does not work, this is the first time i have been defeated.

    The initial upgrade from Snow Leopard to Lion is 10.7.1.  Have you done the system update to 10.7.2 already?
    And since there isn't any general overview of what you've tried, see if anything at this site will help" http://help.apple.com/icloud/index.html#

  • I have a Power Mac G4 and i am trying to get it to work with my LCD

    I have a Power Mac G4 and i am trying to get it to work with my LCD Monitor/TV. The connection on the computer is DVI and the connection on the Monitor is DVI. The Monitor says in the manual to hook up computers using the DVI connection. When I connect the too the monitor says there is no video input. I tried changing the settings on the monitor from PC mode to DVI mode and nothing. I have also tried changing the display on the computer to a couple of different settings and nothing. Please Help?

    Hi-
    A little more info please.
    What model G4?
    What Graphics card?
    What OS?
    What model/make of monitor?
    G4AGP(450)Sawtooth, 2ghz PowerLogix, 2gbRAM, RaptorSATAATA, ATI Radeon 9800   Mac OS X (10.4.8)   Pioneer DVR-109, 23" ACD, Ratoc USB 2.0, QCam Ultra, Nikon Coolscan

  • My iMessage for my Macbook Air is not working. It says no delivered with a red ! next to it. I have tried serval different options on trying to get it to work to include logging out of iCloud and checking my date and time. I have done about everythin

    My iMessage for my Macbook Air is not working. I have updated everything. My system is running on OS X Yosemite Version 10.10. When I go to send a message, it says no delivered with a next to it. I have tried serval different options on trying to get it to work to include logging out of iCloud and checking my date and time and updating FlashPlayer. I have done about everything I can think of. Any help would be greatly appreciate!

    Why start a new and very similar thread to your other one which you have not responded to (have you read the replies?)
    I suggest that no response is made to this duplicate thread. 

  • Security question keep saying they are wrong and I know they are right. I can't change them cuz when I try it tells me to answer the questions. I have tried everything changing my account and all and still can't get it can some one please help me out.

    Security question keep saying they are wrong and I know they are right. I can't change them cuz when I try it tells me to answer the questions. I have tried everything changing my account and all and still can't get it can some one please help me out.

    Go here and select "Reset your password."  You will receive an email message with a link that bypasses the questions.  You will then be able to select and answer the questions again.

  • Still can't get airplay to work!!!!!

    Grrrrrrrrr. Still can't get airplay to work with either my iPad or my iPhone to my atv2. Everything has the latest firmware, including my airport extreme. Airplay is turned on in options on the atv2.
    Everything is on the same network. I even switched networks but still nothing.
    I do not see the blue icon that let's me stream to the tv.
    What the heck am I doing wrong?

    Hi,
    Your profile indicates you are running v10.5.7. If that's the case, you need to update your system software to v10.5.8 which is the minimum requirement for the iPad.
    Click the Apple () menu then click: Software Update...
    And make sure Bluetooth is not enabled on either the iPad or the iPhone. Tapping Settings / General / Bluetooth.
    Carolyn

  • Trying to get home shaing working on apple tv using Cisco Access points and a Cisco WLC 5508 with 7.2.110 code.  I can get devices working individually but they never see each other.  I can ping the apple tv from my laptop and ipad.

    Trying to get home sharing working on a corporate wireless network.  Cisco wireless.
    WLC5508 controller
    Cisco 3502 access points
    All apple devices on same WLAN - security WPA2-PSK
    ITunes account up to date
    All devices laterst software.
    Can ping apll tv from laptop
    can ping apple tv from ipad
    Can ping ipad from laptop
    can ping laptop from ipad.
    Apple tv never sees any other device.
    Any ideas?

    Fascinating just reading about your setup. I have a WRT350N and have noticed that it will drop its speed, sometimes down to 1Mbps. It seems to do so at about the same time every day, but usually comes back to speed in about 5 minutes. In my experience, the Apple TV will disconnect if the speed falls this low. Try monitoring the Linksys with Netstumbler, Vistumbler, or just in the Windows Network utility.
    Check the "lease obtained" and "lease expired" times for your router to see if that is when the network fails. I've just finished reading an angry thread over at the Linksys forum about the WRT330N where someone mentioned that the router wasn't renewing its lease.
    "I cannot set it run off automatic DHCP from the WRT330N, the router will not assign it an IP every time the lease expires, causing me to have to manually set an IP on the Print server. That's annoying. Having the router drop IP's to individual machines after 12-48 hours...very annoying."
    http://forums.linksys.com/linksys/board/message?board.id=Wireless_Routers&thread .id=67412
    If that is the problem, then I would consider setting up a Static IP address for your Apple TV. You can do that through the user interface -> Settings -> Network -> Configure ... (Quite intuitive as you only have change IP address and the subsequent details remain the same.)
    My router assigns IP Addresses in the ranges of 192.168.1.100 ->149. The idea here is to choose an address outside of that range but is not greater than 192.168.1.253 (and should not end in the number 1). You shouldn't have to change the linksys router as long as 50 clients are assigned in that range. You'll have to figure that out by accessing your router webpage at browser address 192.168.1.1 -> the default password is "admin" (without the quotes).
    Good luck.

  • HT201269 Still trying to get old saved voicemail from deceased mom. Doesn't go back far enough....what to do?

    Still trying to get old saved voicemail from deceased mom. Doesn't go back far enough....what to do?

    Still trying to get old saved voicemail from deceased mom. Doesn't go back far enough....what to do?

  • My apple Id has been disabled. I have relogged on changed password and still can not get it to work on my Iphone

    My apple Id has been disabled. I have relogged on changed password and still can not get it to work on my Iphone

    Contact itunes support.  Click Contact Us at the bottom of this page.

  • Trying to get video chat working between mac and pc

    im trying to get video chat working between a mac and pc
    pc-running xp with aim 6.0
    will updating to aim 6.1 fix this ?
    we can text chat with no problem
    we can not audio or video chat
    any help would be great
    thanks santini

    Hi Z,
    Lets check the Port Forwarding at your end.
    Does this Zyxel have UPnP at all ?
    If so use that and disable the Port Forwarding.
    If not then these ports need to be forwarded.
    I will list with Protocols as some device need these.
    TCP 5190 for AIM Login and text chats (can be substituted for 443)
    TCP 5220, 5222 and 5223 for Jabber (the last is for OS X servers and GoogleTalk)
    TCP 5298 this is part of the Bonjour set up for iChat if you have other Macs
    UDP 5060 this is for the SIP negotiation that iChat needs
    UDP 5678 this is where the visible invites come and go out on.
    UDP 5190 for AIM file sending and Group chats
    UDP 16384-16403 This group of 20 ports is where any Audio or Video chat takes place.
    As the 443 port is below 1024 (the NAT threshold) you should not have to Forward this.
    10:23 PM Monday; August 13, 2007

Maybe you are looking for