Re: HELP!! oninit -i fails ... Help
Posted in 1998
Thanks for the input. Since I was doing an "oninit -i" I resolved it
like this
1) Saved the environment variables
2) Saved the onconfig, sqlhosts and /etc/services files (Critical ones)
3) Ran installonline
4) Performed an oninit -i with my onconfig, sqlhosts and /etc/services
which I had saved
5) Worked!!!
6) "dbimport"ed all my databases
There was no help from tech support on this....
Thanks for the replies..
Sham
Jacob Salomon wrote:
> Sham Vaidya wrote:
> ....
> > After performing an "oninit -i" with the original initialization
> > and shared memory parameters without any dbspace except root
> > dbspace and its chunk, the error I get in onmonitor
> > is "WARNING: Network Down". I tail the log file & it mentions
> > that I am in On-Line mode and the sysmaster databases were
> > created successfully, however as soon as I try and do an
> > onspaces -c to create a dbspace it gives me a shared memory> > error, if I try it from onmonitor it gives me a network
> > error.
>
> I have seen this symptom when I set up my OnLine system with a
> SERVERNAME like abcd but had neglected to set my INFORMIXSERVER
> environment variable to this value before starting the oninit. Hence,
>
> if you run ipcs -m you will see the shared memory siting there but any
>
> other command you run is useless because it required INFORMIXSERVER to
>
> match the name in the instance you ran.
>
> Do not run oninit -i again. Merely set this env. variable and try
> onmonitor.
>
> > I am able to create the stores7 database in root dbspace
> > and attach to it via dbaccess and run queries.
>
> I presume (and I could be wrong) that you are doing this as a user
> whose
> .profile HAS been properly set and is, therefore, able to attach to
> the
> instance. If I am worng about this - well, never mind the above
> advice
> either - it's based on as assumption.
>
> > Another error I get in the online.log is the file limits
> > cannot be changed, must be a super user...
>
> I'm in the same state of duh! as you are on this one.
> --
> -- Jake (Pondering the color of an asphyxiated smurf)
> +------------------------------------------------------------+
> | The expedient performance of a task with excessive concern |
> | regarding its duration-to-completion engenders a virtual |
> | certainty of diminished benefit therefrom. |
> | -- Benjamin Franklin (but he said it in 3 words) |
> +------------------------------------------------------------+