1833758 Members
2207 Online
110063 Solutions
New Discussion

vi - line too long

 
Dave Chamberlin
Trusted Contributor

vi - line too long

I have two servers (rp7400s) running hpux 11.11. On one, vi can edit an oracle init file without any problem. On the other, vi truncates the sam file with ..line too long error. I can't see any difference in any environment settings, or the .exrc files but know there must something that acounts for the different behavoir. Any ideas?
5 REPLIES 5
Kenan Erdey
Honored Contributor

Re: vi - line too long

Hi,

have a look at this thread.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=535153

it's mentioned a patch for 11.11.

Kenan.
Computers have lots of memory but no imagination
Suraj K Sankari
Honored Contributor

Re: vi - line too long

Hi,

Did you try to open the same file into both the server? If yes then are you able to open the init file without any error. I think here also you will get the same error because or line is too long.

Suraj
Gokul Chandola
Trusted Contributor

Re: vi - line too long

Hi,
please check that is there any OS user for Oracle.
If yes please go through that.
If not you can define and set right for that USER as an ADMIN user.

Or there may be other reasions like DB Siza, SGA, Memory issue, Buffer Issue.

Please make analysis and send the more detail for think what is more near about.

see logs..

Regards,
Gokul Chandola
There is always some scope for improvment.
Ken Martin_3
Regular Advisor

Re: vi - line too long


It's been a while but did you try and 'od' the files on both machines? See if there is any hidden characters in one and not the other.

I think it is like: od -c filename

But check me with: man od

Another thing on both machines is vi and the tty termcap settings set the same? Numbers of colums, etc?


Dave Chamberlin
Trusted Contributor

Re: vi - line too long

This does appear to be patch related - though not the patch indicated above. I will apply the same cumulative patch set and I think this will take care of it. Thanks