RE: Linux OS help

"scan" <[email protected]> Thu, 30 Jan 2003 00:50:30 +0100
Newsgroups gmane.linux.redhat.release.guinness
Message-ID <[email protected]>
forgot:

> should work ..

you have to insert the call of this script in the script of this service
which starts up before ready. look in start section and insert befor the end
of case statement (;;)

:)

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of scan
> Sent: Thursday, January 30, 2003 12:45 AM
> To: [email protected]
> Subject: RE: Linux OS help
>
>
> see $ORA_HOME/network/admin/listener.ora
> don't know, if correct path. so make to go sure:
> $ grep -ril  "your_old_hostname" /etc $ORA_HOME/admin
> and after change
> $ hostname -s your_hostname.at_your_domain
>
> probably change /etc/hosts to
> 127.0.0.1	localhost.localdomain	localhost
> to
> 127.0.0.1	hostname.domain	hostnick
> localhost.localdomain	localhost
> x.x.x.x	hostname.domain	hostnick
> # lan ip for x.x.x.x
>
> ( test to login after each step but hold one session open to change back
> always )
>
> restart apache
> restart oracle
>
> see if it works.
> any other conf files out of /etc dir?
>
> other way to hack if still problems is to insert a script in in your last
> service.
> see which services is last and then which fails after startup and make a
> script like
>
> #!/bin/bash
> # file: my_post_startup
> /etc/init.d/apache_script stop
> /etc/init.d/oracle_script stop
> hostname -s hostname.domain
> /etc/init.d/oracle_script start
> /etc/init.d/apache_script start
>
> should work ..
>
> good luck!
>
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]]On Behalf Of Reddy Karri
> > Sent: Wednesday, January 29, 2003 11:50 PM
> > To: [email protected]
> > Subject: Linux OS help
> >
> >
> >
> > Hi,
> >
> > I have Oracle 8.1.7 running on
> > Red Hat Linux release 7.0 (Guinness)
> > Kernel 2.2.16-22smp on an i686.
> >
> > I need help with these 3 tasks:
> > Task 1. Change server name (IP address remains the same).
> > I am looking for info. on how to change server name.
> > Does server name change effect software on the server (example
> > Oracle server
> > ...etc) ?
> > If yes, what do I have to do to correct the problems.
> >
> >
> > For below mentioned services I was told "Port is open"
> > I want to know how to close ports.
> > Just in case If I close a wrong port or a required port I want
> to find the
> > ports and
> > open a closed port (if necessary).
> >
> >  general/tcp
> >  ssh (22/tcp)
> >  telnet (23/tcp)
> >  smtp (25/tcp)
> >  finger (79/tcp)
> >  sunrpc (111/tcp)
> >  auth (113/tcp)
> >  login (513/tcp)
> >  shell (514/tcp)
> >  printer (515/tcp)
> >  submission (587/tcp)
> >  unknown (1521/tcp)
> >  unknown (1024/tcp)
> >  unknown (1025/udp)
> >  unknown (1024/udp)
> >  sunrpc (111/udp)
> >  ftp (21/tcp)
> >
> > In short I am looking for command for to find out open and closed
> > ports(services)
> > Command to close a open port (service)
> > Command to open a closed port (service).
> >
> > Task 3. Applying patches (security patches).
> > Where can I get OS patches ?
> > Where can I get instructions on how to apply patches ?
> >
> > If I run into problems who will be able to help.
> > Don't tell me Linux Support .....!
> >
> > Thanks
> > Reddy
> >
> >
> >
> > _______________________________________________
> > Guinness-list mailing list
> > [email protected]
> > https://listman.redhat.com/mailman/listinfo/guinness-list
> >
>
>
>
> _______________________________________________
> Guinness-list mailing list
> [email protected]
> https://listman.redhat.com/mailman/listinfo/guinness-list
>