
Oracle EBS Close Payable Period By Query
July 14th, 2026, posted in Oracle EBS Application, Oracle Queries
First find the GL Ledger ID :
select * from Gl_Ledgers_v
Now select and find the period to confirm :
SELECT * FROM GL_PERIOD_STATUSES GLP
WHERE GLP.APPLICATION_ID = '200'/* PAYABLES */
AND GLP.SET_OF_BOOKS_ID = '2149'
AND GLP.CLOSING_STATUS = 'O'
AND GLP.PERIOD_NAME = 'SEP-22'
Once done update the period :
UPDATE GL_PERIOD_STATUSES GLP
SET GLP.CLOSING_STATUS = 'C'
WHERE GLP.PERIOD_NAME = 'SEP-22'
AND GLP.APPLICATION_ID = '200'/* PAYABLES */
AND GLP.SET_OF_BOOKS_ID = '2149';
ntp Service In Maintenance Mode In Solaris 10
July 5th, 2026, posted in Solaris, UncategorizedA newly configured Solaris 10 server, successfully configured a ntp client. But when trying to start ntp service its getting failed and going into maintenance mode.
Due to this there a 15 minutes of time difference between this server and other servers.
bash-3.00$ svcs ntp
maintenance 16:12:09 svc:/network/ntp:default
After checking in detail :
bash-3.00$ svcs -x ntp
svc:/network/ntp:default (Network Time Protocol (NTP))
State: maintenance since Sun Jan 08 08:12:07 2012
Reason: Start method failed repeatedly, last exited with status 1.
See: http://sun.com/msg/SMF-8000-KS
See: xntpd(1M)
See: ntpdate(1M)
See: ntpq(1M)
See: /var/svc/log/network-ntp:default.log
Impact: This service is not running.
In logfile:
[ Aug 11 13:11:15 Executing start method ("/lib/svc/method/xntp") ]
/sbin/sh: /lib/svc/method/xntp: not found
[ Aug 11 13:11:15 Method "start" exited with status 1 ]
To resolve the same encounter error here is a solution :
Actually there is a library and daemon file is missing on server where ntp is not starting.
So here just we need to copy these two files from a server where ntp is working fine.
“xntp” and “xntpd”
If you copy only “xntp” then another error will be recorded in ntp log file like:
[ Jan 15 16:02:56 Executing start method ("/lib/svc/method/xntp") ]
/lib/svc/method/xntp: /usr/lib/inet/xntpd: not found
[ Jan 15 16:05:54 Method "start" exited with status 1 ]
[ Jan 15 16:12:02 Leaving maintenance because disable requested. ]
Here check if you already have “xntpd” file at its place then not required to copy. If doesn’t exists then copy these two files on server where you’re facing issue.
1) /lib/svc/method/xntp
2) /usr/lib/inet/xntpd
After copy :
root@proderp # cd /lib/svc/method/
root@proderp # chmod 555 xntp
root@proderp # chgrp bin xntp
root@proderp # cd /usr/lib/inet/
root@proderp # chmod 555 xntpd
root@proderp # chgrp bin xntpd
After copying, changing permission and ownership disable and enable ntp service it should work :
root@proderp # svcadm disable svc:/network/ntp:default
root@proderp # svcadm enable svc:/network/ntp:default
root@proderp # svcs ntp
STATE STIME FMRI
online 16:12:09 svc:/network/ntp:default
ORA-32001: Write To SPFILE Requested But No SPFILE Is In Use
June 3rd, 2026, posted in Oracle QueriesPROBLEM :
While altering parameter in parameter file got below error :
ALTER SYSTEM SET processes = 800 SCOPE=SPFILE;
ALTER SYSTEM SET processes = 800 SCOPE=SPFILE
*
ERROR at line 1:
ORA-32001: write to SPFILE requested but no SPFILE is in use
SOLUTION :
This error comes, if the database is running with pfile instead of spfile.
1. Check whether DB is running with pfile or spfile:
SQL> show parameter pfile
NAME TYPE VALUE
------ -------- ------------------------------
spfile string
Here value is showing BLANK, Means database is running with pfile. So with pfile , if we are trying to alter any init parameter in database, it will throw error.
To fix it, create an spfile from the pfile and restart the database.
2. Create spfile from pfile ;
create spfile from pfile;
3. Check whether spfile has been created in $ORACLE_HOME/dbs location :
cd $ORACLE_HOME/dbs
ls -ltr spfile*
4. Restart the database :
shutdown immediate;
startup
When we start the database, if both pfile(init$ORACLE_SID.ora) and spfile(spfile$ORACLE_SID.ora) are present at dbs location, Then bydefault spfile will be used for db startup.
5. Check whether spfile is used or not :
show parameter pfile :
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /oracle/app/oracle/product/12chome/spfiledbaclass.ora
6. Now run alter statement :
ALTER SYSTEM SET processes = 800 SCOPE=SPFILE
System altered.

