sqlplus / as sysdba
alter system set log_archive_dest_1='location=\archive\' scope=spfile;
alter system set log_archive_format='ARC%S_%R.%T' scope=spfile;
shutdown immediate;
startup mount;
alter database archivelog;
alter database open;

sqlplus / as sysdba
alter system set log_archive_dest_1='location=\archive\' scope=spfile;
alter system set log_archive_format='ARC%S_%R.%T' scope=spfile;
shutdown immediate;
startup mount;
alter database archivelog;
alter database open;