Our production database just crashed. When I check alert file, it says:

Errors in file /opt/oracle/admin/A/bdump/lgwr_1830.trc:
ORA-00313: open failed for members of log group 3 of thread 1
ORA-00312: online log 3 thread 1: '/dbms2/oradata/A/redoB03.log'
ORA-27086: skgfglk: unable to lock file - already in use
Intel SVR4 UNIX Error: 46: No record locks available
Additional information: 8
ORA-00312: online log 3 thread 1: '/dbms1/oradata/A/redoA03.log'
ORA-27086: skgfglk: unable to lock file - already in use
Intel SVR4 UNIX Error: 46: No record locks available
Additional information: 8
Fri Oct 26 12:17:51 2001
LGWR: terminating instance due to error 313
Instance terminated by LGWR, pid = 1830

I tried to mount the database, not it does not let me. So I terminated all the instance on the system and managed to mount. When I try to open, I got an error. The trace file looks like this:

Errors in file /opt/oracle/admin/A/bdump/dbw0_25200.trc:
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/dbms3/oradata/A/users01.dbf'
ORA-27086: skgfglk: unable to lock file - already in use
Intel SVR4 UNIX Error: 46: No record locks available
Additional information: 8
Fri Oct 26 13:46:55 2001
Errors in file /opt/oracle/admin/A/bdump/dbw0_25200.trc:
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/dbms2/oradata/A/users02.dbf'
ORA-27086: skgfglk: unable to lock file - already in use
Intel SVR4 UNIX Error: 46: No record locks available
Additional information: 8
Fri Oct 26 13:46:55 2001
Errors in file /opt/oracle/admin/A/bdump/dbw0_25200.trc:
ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
ORA-01110: data file 7: '/dbms2/oradata/A/rbs02.dbf'
ORA-27086: skgfglk: unable to lock file - already in use
Intel SVR4 UNIX Error: 46: No record locks available
Additional information: 8
Fri Oct 26 13:46:55 2001
Errors in file /opt/oracle/admin/A/bdump/dbw0_25200.trc:
ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
ORA-01110: data file 8: '/dbms2/oradata/A/rbs03.dbf'
ORA-27086: skgfglk: unable to lock file - already in use
Intel SVR4 UNIX Error: 46: No record locks available
Additional information: 8
Fri Oct 26 13:46:55 2001
Errors in file /opt/oracle/admin/A/bdump/dbw0_25200.trc:
ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
ORA-01110: data file 9: '/dbms3/oradata/A/rawdata01.dbf'
ORA-27086: skgfglk: unable to lock file - already in use
Intel SVR4 UNIX Error: 46: No record locks available
Additional information: 8
Fri Oct 26 13:46:55 2001
Errors in file /opt/oracle/admin/A/bdump/dbw0_25200.trc:
ORA-01157: cannot identify/lock data file 10 - see DBWR trace file
ORA-01110: data file 10: '/dbms4/oradata/A/index01.dbf'
ORA-27086: skgfglk: unable to lock file - already in use
Intel SVR4 UNIX Error: 46: No record locks available
Additional information: 8
Fri Oct 26 13:46:55 2001
Errors in file /opt/oracle/admin/A/bdump/dbw0_25200.trc:
ORA-01157: cannot identify/lock data file 11 - see DBWR trace file
ORA-01110: data file 11: '/dbms4/oradata/A/index02.dbf'
ORA-27086: skgfglk: unable to lock file - already in use
Intel SVR4 UNIX Error: 46: No record locks available
Additional information: 8
Fri Oct 26 13:46:55 2001
Errors in file /opt/oracle/admin/A/bdump/dbw0_25200.trc:
ORA-01157: cannot identify/lock data file 12 - see DBWR trace file
ORA-01110: data file 12: '/dbms2/oradata/A/rawdata02.dbf'
ORA-27086: skgfglk: unable to lock file - already in use
Intel SVR4 UNIX Error: 46: No record locks available
Additional information: 8
Fri Oct 26 13:46:55 2001
Errors in file /opt/oracle/admin/A/bdump/dbw0_25200.trc:
ORA-01157: cannot identify/lock data file 13 - see DBWR trace file
ORA-01110: data file 13: '/dbms3/oradata/A/users03.dbf'
ORA-27086: skgfglk: unable to lock file - already in use
Intel SVR4 UNIX Error: 46: No record locks available
Additional information: 8
ORA-1157 signalled during: alter database open ...


Does anyone know what is going on? Is it a o/s problem or a database problem?

Thank you in advance.