If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > ONTAPE logs on Disk (/dev/null)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-13-04, 12:08
stjacqd stjacqd is offline
Registered User
 
Join Date: Jul 2003
Location: Boisbriand, Qc, Canada
Posts: 25
ONTAPE logs on Disk (/dev/null)

Hello everyone

I am trying to backing up the logs on disk.

My onconfig is in the /informix/PRD/ertc directory.
ONCONFIG.SERVER.PRD:
TAPEDEV /backup/prd/prd
TAPEBLK 1024
TAPESIZE 2000000
LTAPEDEV /backup/prd/log/prdlog
LTAPEBLK 1024
LTAPESIZE 2000000

when I am running ontape -a I do obtain the following error:
Performing automatic backup of logical logs.
Logbackup failed - Log backup to device '/dev/null' not allowed


Program over.


What did I missed? Why ontape still try to send to /dev/null and not at /backup/prd/log/prdlog?
Reply With Quote
  #2 (permalink)  
Old 09-13-04, 17:36
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
Please make sure that you are editing the correct onconfig file.
echo $ONCONFIG
will give you the file name of the onconfig file that your engine is using
Reply With Quote
  #3 (permalink)  
Old 09-14-04, 15:29
stjacqd stjacqd is offline
Registered User
 
Join Date: Jul 2003
Location: Boisbriand, Qc, Canada
Posts: 25
I did verify the ONCONFIG environment variable.

It is setted correctly.

when i perform an ontape -s -L 0, it is going at the right place.

But the ontape -a is not.

Is there any known bug with ontape under Informix 7.31 on Linux OS?
Reply With Quote
  #4 (permalink)  
Old 09-14-04, 16:29
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
I have not heard of any bugs regarding this.

Can you post you $ONCONFIG file
and the output of the "env" command
Reply With Quote
  #5 (permalink)  
Old 09-15-04, 11:20
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
Did you change onconfig with an editor without bouncing the engine? If so - it's still set to /dev/null. You have to use onmonitor if you want an immediate change.
__________________
Fred Prose
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On