Just checked my current config again on Solaris. ps
-ef shows me two httpd processes owned by root and 10
that I assume are spawned via these as oracle.
Also see 2 dwhttpd running under daemon.
I assume it is under port 80 since I have not changed
the httpd.conf file.
Yes, I guess you are right, these should run under
nobody, but these are my first steps into setting this
up and so I installed it as-is. No tweaks.
mkb
- "MacGregor, Ian A." <ian_at_SLAC.Stanford.EDU> wrote:
> The httpd daemons need to be started as root? Since
> when? Is it because you're using the standard HTTP
> PORT OF 80? Starting these daemons under the nobody
> account is much safer.
>
> Ian MacGregor
> Stanford Linear Accelerator Center
> ian_at_SLAC.STANFORD.edu
>
> -----Original Message-----
> Sent: Wednesday, July 17, 2002 10:49 AM
> To: Multiple recipients of list ORACLE-L
>
>
> No books or tips. Just my recent experience
> *trying*
> to install 9iAS R2 (I hope that's what you meant
> when
> you wrote OAS).
>
> I downloaded 9iAS J2EE and Web Cache for Solaris and
> HP-UX.
>
> Oracle recommends about 1GB ram, 1GB swap and lots
> of
> free disk space. Anyway, my target Solaris box had
> 500MB swap, 256MB ram and a 400 MhZ SparcII CPU.
> Not
> the ideal platform. On the HP-UX box, I had 3GB
> ram,
> a 2 CPU L class machine, lots of swap and lots of
> disk.
>
> In any case, what I learned is that root privs are
> vital. Had them on the Solaris box but not on the
> HP-UX machine. The installs in both cases where
> fairly standard. I had ran through them quite a few
> times on both servers. On Solaris becuase of
> resource
> issues and HP-UX because of root permission issues.
>
> There are two types of installs. A mid-tier (less
> config, easier, fewer components) and an
> infrastructure (more config, more components, needs
> a
> database repoistory). I did the mid-tier install in
> both cases.
>
> Make sure you have JDK 1.3 or later installed.
>
> Before the install for mid-tier in particular,
> export
> ORACLE_SID=iasdb even if you do not intend to use a
> repository or have a database.
>
> I created a separate ORACLE_HOME for my install.
>
> Also, Oracle recommends that you use hostnames, so
> naming methods should reflect hostname.com instead
> of
> 123.45.67.8.
>
> During the install, you will be asked for a password
> for the Eterprise Manager website. NOTE IT DOWN!!!
> You'll need it to start and stop the EM website.
> Oracle recommends that you start and stop services
> via
> the EM website and not the command line and I'll go
> along with this since I had trouble shutting down
> services via the command line (sometime it worked
> and
> sometime it did'nt).
>
> Also, during the install when prompted to run the
> root.sh script, run as root since this script starts
> the Apache httpd daemons. These need to be started
> as
> root. It does a bunch of other config things
> aswell.
> See root.sh. This is vital since after the install
> is
> complete, the installer then configures the
> components
> such web cache, OC4J components, Apache config etc.
> This is the problem I was having on HP-UX, late in
> the
> day, govt client, sysadmin has left the building.
>
> Ok, after the install has completed and started all
> the services (hoepfully), you need to apply all
> relevant patches. For the mid tier install, install
> the patch in the following order:
>
> 9.0.1.3 patch set
> RDBMS bundled patch
> Oracle Internet Directory path
> Oracle HTTP server patch
>
> You'll see this in the install notes for the patch.
> Note that the RDBMS bundled patch is slightly
> different on HP-UX versus Solaris. Just read the
> instructions carefully if you are on HP-UX. Solaris
> was a little easier.
>
> After the patch, you can login to the EM website at
> http://myhostname.com:1810. If the website does not
> come up, you can start it from the prompt using
> emctl
> start|stop|status. Stopping requires password which
> was entered earlier during install. Password can
> also
> be changed using emctl set password <pwd>.
>
> Using the website, you can/start stop other services
> such as web cache, BC4J, OC4J containers etc.
>
> The default website can be accessed (hopefully) at
> http://myhostname.com:7777
>
> Also, you can start|stop the httpd daemons from the
> command line from $ORACLE_HOME/dcm/bin/dcmctl
> start|stop -ct ohs if the EM website is inaccessible
> for some reason. Again, Oracle recommends that you
> do
> all admin through EM the website.
>
> Similarly, web cache can be started/stopped from the
> prompt by webcachectl start|stop|status.
>
> Finally, just a couple days ago, we seemed to have
> trouble starting 9iAS. Seems like some log files
> had
> their ownership changed. Don't know how this
> happened. My guess is some sort of bug. The way I
> tracked this is tailing the logs while trying to
> start
> the server. Since I could'nt get the EM website up,
> I
> had to use $ORACLE_HOME/dcm/bin/dcmctl start -ct
> ohs.
>
> Useful logs were:
> $ORACLE_HOME/opmn/logs/ons.log and ipm.log
> $ORACLE_HOME/dcm/logs/emd_logs/ and dcmctl_logs/
> and of cource
> $ORACLE_HOME/Apache/Apache/logs/error_log and
> access_log
>
> hth
>
> mkb
>
> --- "Freeman, Robert" <Robert_Freeman_at_csx.com>
> wrote:
> > Folks,
> >
> > I'm a DBA who is really an old developer at heart.
> I
> > know a little Java, a
> > little Asp
> > (enough, as they say, to be really dangerous!), I
> > used to do C code that now
> > makes
> > my head swim to look at. (I think to myself, what
> > the devil was I doing??)
> >
> > Anyway, I've finally found some time and a machine
> > here at work to start
> > playing with
> > OAS just to see what it's all about. Anyone have
> any
> > good suggestions with
> > regards
> > to:
> >
> > 1. Sites, books, white papers and the like with
> good
> > install tips, hints,
> > warnings and the like.
> > 2. Sites, books, white papers and the like Quick
> > getting started tips.
> > 3. Your own "getting started" experiences of
> things
> > to do or not to do.
> > 5. Anything I should do before I mess with OAS.
> >
> > Optimistically hopeful that this will all just go
> > really smooth and I'll
> > have a cool
> > web page that I can bring up soon!
> >
> > RF
> >
> > Robert G. Freeman - Oracle OCP
> > Oracle Database Architect
> > CSX Midtier Database Administration
> > Author
> > Oracle9i RMAN Backup and Recovery (Oracle Press -
> > Oct 2002)
> > Oracle9i New Features (Oracle Press)
> > Mastering Oracle8i (Sybex)
>
=== message truncated ===
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: mkb
INET: mkb125_at_yahoo.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Wed Jul 17 2002 - 16:54:13 CDT