The problem is not with the trigger but the remote database. Since you are working over a DB link , the remote DB should always be available from the calling / referring DB.
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
So the problem is since you are referring to the remote DB in the INSERT statement inside the trigger, the trigger becomes invalid once the remote DB is not available / goes off line.
What about trying to use EXECUTE IMMEDIATE for the insert statement inside the trigger !
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434