Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to PERMANENTLY set semaphores in Linux - Suse Personal Edition 8.2?

Re: How to PERMANENTLY set semaphores in Linux - Suse Personal Edition 8.2?

From: <linuxquestion_at_yahoo.com>
Date: 14 Nov 2003 10:17:47 -0800
Message-ID: <672ceaed.0311141017.594e61d6@posting.google.com>


HI,

Sorry, I should have mentioned that I did look for those files. But they don't exist on my edition of Linux. Suse Personal 8.2

Note that I haven't installed any databases yet. I've managed to install Oracle, but not created any databases. First, I want the OS to behave properly, so that I can rely on it.

file /etc/sysctl.conf
/etc/sysctl.conf: can't stat `/etc/sysctl.conf' (No such file or directory).

(I have since created this file, but I'm not sure if it's right. See my other post.)

file /etc/sysconfig/oracle
/etc/sysconfig/oracle: can't stat `/etc/sysconfig/oracle' (No such file or directory).
linux:/etc/init.d #

file /etc/rc.config
/etc/rc.config: can't stat `/etc/rc.config' (No such file or directory).

file /etc/profile.d/oracle.sh
/etc/profile.d/oracle.sh: can't stat `/etc/profile.d/oracle.sh' (No such file or directory).

file /etc/oratab
/etc/oratab: ASCII English text

cat /etc/oratab
*:/oracle/ora92:N

file /proc/sys/fs/file-max
/proc/sys/fs/file-max: empty

cat /proc/sys/fs/file-max
78587


Do you think that there are there some fundamental things that are missing on my system?

Thanks for all your help.

"Howard J. Rogers" <hjr_at_dizwell.com> wrote in message news:<3fb4acfe$0$13681$afc38c87_at_news.optusnet.com.au>...
> <linuxquestion_at_yahoo.com> wrote in message
> news:672ceaed.0311140053.9aa959e_at_posting.google.com...
> > Thanks for your responses.
> >
> > I created a script. The script was made up of
> > commands that worked perfectly at the dot prompt (bash).
> >
> > --------------------
> >
> > #! /bin/sh
> > # File to set shmmax during boot.
> >
> > echo "Setting size for /proc/sys/kernel/shmmax"
> >
> > echo ` expr 2048 \* 1024 \* 1024 ` > /proc/sys/kernel/shmmax
> >
> > echo "Value for shmmax is now: `cat /proc/sys/kernel/shmmax` "
> >
> >
> > ----------
> >
> > But when I run this file, it doesn't want to work:
> >
> > Setting size for /proc/sys/kernel/shmmax
> > : No such file or directoryne 5: /proc/sys/kernel/shmmax
> > Value for shmmax is now: 33554432
> >
> >
> > This occured in both bash, and sh.
> >
> > Any ideas?
> >
>
> Well, as I posted elsewhere, the better way is to edit /etc/sysctl.conf. But
> I used to find that
>
> cd /proc/sys/kernel
> echo 9876 9876 9876 > shmmax (insert appropriate numbers)
>
> ...used to work fine.
>
> Regards
> HJR
Received on Fri Nov 14 2003 - 12:17:47 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US