Unix Technical Forum

Re: oninit fails using onsoctcp on linux

This is a discussion on Re: oninit fails using onsoctcp on linux within the Informix forums, part of the Database Server Software category; --> --- Ruediger Maehl <ruediger.maehl@web.de> wrote: > Hi folks, > > I installed Informix 10 on my linux (SLES9) box, ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 12:05 PM
Anup Nair
 
Posts: n/a
Default Re: oninit fails using onsoctcp on linux

--- Ruediger Maehl <ruediger.maehl@web.de> wrote:

> Hi folks,
>
> I installed Informix 10 on my linux (SLES9) box, everything ok.
> All necessary environment variables set, "oninit -i" starts
> but stops when it is about to build the sysmaster, ONLY if I
> use "onsoctcp" in the sqlhosts file. No other process uses the
> service port.
> When (only) using "onipcshm", everything is fine, Informix
> comes up without any problems.
>
> Any help is greatly apreciated.
>
> Many regards,
>
> Rüdiger
>
>
> -----[ online.log ]-----
> 08:55:30 IBM Informix Dynamic Server Started.
> Tue May 9 08:55:30 2006
> 08:55:30 Warning: ONCONFIG dump directory (DUMPDIR) '/tmp' has
> insecure
> permissions
> 08:55:30 Event alarms enabled. ALARMPROG =
> '/home/informix/INFORMIX_TOOLS/ifmx_alarm_0'
> 08:55:31 Booting Language <c> from module <>
> 08:55:31 Loading Module <CNULL>
> 08:55:31 Booting Language <builtin> from module <>
> 08:55:31 Loading Module <BUILTINNULL>
> 08:55:42 DR: DRAUTO is 0 (Off)
> 08:55:42 IBM Informix Dynamic Server Version 10.00.UC4
> Software
> Serial Number AAA#B000000
> 08:55:43 IBM Informix Dynamic Server Initialized -- Complete Disk
> Initialized.
> 08:55:43 Checkpoint Completed: duration was 0 seconds.
> 08:55:43 Checkpoint loguniq 1, logpos 0xd0, timestamp: 0x70
> 08:55:43 Maximum server connections 0
> 08:55:43 Dataskip is now OFF for all dbspaces
> 08:55:43 On-Line Mode
> 08:55:43 Building 'sysmaster' database ...
> 08:55:56 listener-thread: err = -930: oserr = 0: errstr = linux4:
> Cannot connect to database server (linux4).
> 08:55:56 sql_listener: ASF_LISTEN failed
> 08:55:56 Attempting to bring listener thread down.
> 08:55:56 Server stopped.
>
> -----[ Shared memory does work ]-----
>
> environment:
> INFORMIXDIR=/opt/IBM/informix
> INFORMIXSERVER=idbs
> ONCONFIG=onconfig
>
> onconfig:
> DBSERVERNAME idbs
>
> sqlhosts:
> idbs onipcshm linux4 egal
>
> /etc/services:
> (not used)
>
> /etc/hosts:
> 10.1.7.13 linux4
>
> -----[ TCP does not work ]-----
>
> environment:
> INFORMIXDIR=/opt/IBM/informix
> INFORMIXSERVER=ol_idbs
> ONCONFIG=onconfig
>
> onconfig:
> DBSERVERNAME ol_idbs
>
> sqlhosts:
> ol_idbs onsoctcp linux4 idbs_serv
>
> /etc/services:
> idbs_serv 1551/tcp
>
> /etc/hosts:
> 10.1.7.13 linux4
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>


Try these:
- Give complete host name (linux4.xxx.xxx)
- Give ip address instead of the name
- Check if the port is free
- Use a different port
- Use the port number directly instead of the service name
sqlhosts:
ol_idbs onsoctcp 10.1.7.13 1151
- Ping the port to see if it is active
- Configure firewall to accept connection to this port

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com