Date and time expired oracle user
Dear Experts,
as per my daily activities now i triggered backup through legato and it is given an below error
'CONNECT system/*******'
ORA-28011: the account will expire soon; change your password now
and i checked in database and found
user system status is shown as expired (grace)
but i dont know how to set it @open status , so kindly help me in this issue
Regards
Hi Swathi,
Are you getting the following error?
brbackup -u /.....
BR0051I BRBACKUP 7.00 (18)
BR0055I Start of database backup: bbdzxyz.anf -11-19 05.30.00
BR0280I BRBACKUP time stamp: 2008-11-19 05.30.00
BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
'CONNECT /'
ORA-01017: invalid username/password; logon denied
If yes, that is why you have to use brconnect for changing the password. Your previous post is correct.
If you change the password using alter user, the table SAPUSER isn't changed, hence the error.
Br,
Venky
Similar Messages
-
Problem with getting current date and time using oracle.jbo.domain.Date
I`d like to get current date and time using oracle.jbo.domain.Date method getCurrentDate(), but it always return current date and 12:00:00. I also need to get the current time.
I think you should use java.sql.Timestamp domain.
(And set database type to TIME or DATETIME.)
Jan -
Can EBS show the last date and time of a user login
We have a requirement to display users their Last sucessfull login date and time. We would like to display after user have entered username/pwd i.e. Could someone guide how can we schive this ?
Thanks in Advance
DineshHi,
This is available through "Signon Audit Unsuccessful Logins" concurrent program.
How do you audit an Oracle Applications' user? [ID 395849.1]
Need A Way To Notify Users About Previous Failed Login Attempts [ID 357009.1]
Thanks,
Hussein -
Insert current date and time into Oracle date type field
I have a JDBC current date and time insert into Oracle 9i that almost works. It submits the current date and a fixed time into the Oracle date type field. I am using Tomcat 6.0.20.
For example if I insert the data at 7:24:04 PM on Feb 16, 2010 it will insert as: 16-Feb-2010 12:00:00 AM
The date part works but the time always shows 12:00:00 AM no matter what date or time the data is inserted.
Here is what I have for my JDBC inserts and I also tried something with DateFormat:
PreparedStatement ps; Date mydate = new Date(new java.util.Date().getTime()); //insert statement here.... stmt.setDate(1,mydate);
I also tried:
PreparedStatement ps; java.sql.Timestamp mydate = new java.sql.Timestamp(new java.util.Date().getTime()); SimpleDateFormat fmt = new SimpleDateFormat(.... //insert statement here.... ps.setTimestamp(1,fmt.format(mydate));
Both keep submitting the date into Oracle as 16-Feb-2010 12:00:00 AM
Anyway to get the current date and time? For example if I insert the data at 7:24.04 pm today it should show as 16-Feb-2010 07:24.04 PM in Oracle.sportsMarkr wrote:
Date mydate = new Date(new java.util.Date().getTime());Please see the javadocs for java.sql.Date and note the part that says "...to zero"
[http://java.sun.com/javase/6/docs/api/java/sql/Date.html]
If you want a date and time then use java.sql.Timestamp. -
Date and time stamp of user status does not appear
Hi, gurus.
For a specific transaction type, the date and time stamps for certain user statuses do not appear within the transaction although these missing date/time stamps are captured in the database upon checking by our ABAP. It seems that this problem started when I added several statuses and rearranged their status numbers in the status profile last year.
I'd also like to ask if it's really necessary that the statuses within the status profile and date profile should maintained in the same positions.
E.g.
Status Profile
Status No. --- Status Code --- Short Text
10 --- IP1L --- In Process 1st Level
20 --- IP2L --- In Process 2nd Level
Date Profile
Display Position --- Date Type
1 --- In Process 1st Level
2 --- In Process 2nd Level
We're going to create and assign a new status profile for the concerned transaction type. We'll make sure that this status profile is sychronized with the date profile. Hopefully, the date/time stamps will all be displayed in prospective transactions but the problem on the missing date/time stamps in historical transactions will still remain.
Pls. help us.
Thanks in advance,
TheresaI'd also like to ask if it's really necessary that the statuses within the status profile and date profile should maintained in the same positions.
No -
Geting and setting date and time in oracle using jdbc
can u send me a sample snippet which shows me how to set date and time to a column in oracle database where the column datatype is date.
and also send me the sample code to get the date and time from the above said column
thanks in advanceIf you want DATE with time normalized to midnight, use java.sql.Date. If you really want time, with hours/minutes/seconds/millis, use java.sql.Timestamp.
As for the best way to interact with the database, use java.sql.PreparedStatement and its get/setDate and get/setTimestamp methods. Those will escape dates for you properly.
Look for a JDBC tutorial on-line to see how to do this, or http://www.javaalmanac.com for the java.sql package examples.
% -
Display date and Time in Oracle Application Express Page
Hi
I have a requirement of showing the date and time in the top left corner of the page which should be updated at all times . The format is DD-MON-YYYY HH24:MI:SS.
I am able to display the date but not the time . Also the time should be updating on its own to the last second.
Another requirement is that on selecting a particular value from the drop down the table values displayed should be filtered
Thanks in advance for helping me out
you can also send in the responses to [email protected]
Regards
Jude FrancoHello,
I am able to display the date but not the time Probably due to your NLS settings not displaying the time component for dates. However you can manually specify the output format like this -
jes@DBTEST> select to_char(sysdate, 'HH24:MI:SS DD-MON-YYYY') as TS from dual;
TS
10:47:45 10-DEC-2008
Another requirement is that on selecting a particular value from the drop down the table values displayed should be filtered Really need more details on that (remember assume that we know nothing about your requirements other than what you tell us). However at a high-level you need to include the drop down value in the query predicate used for your report, for example -
select
e.ename,
e.sal
from
emp e
where
e.deptno = NVL(:P1_DEPTNO, e.deptno)Would use the value from the P1_DEPTNO select list (presumably displaying department names) and use it to filter the result. The NVL is there so that if no dept is selected then the query by default shows all the records.
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
Problem with Inserting Date and Time in Oracle 8i
I am using JDBC thin driver version 8.1.6. with oracle 8i and am unable to insert and update date & time in American format
(mm/dd/yyyy hh24:mi:ss).
example:
UPDATE TABLE_NAME SET DATE_COLUMN='08/16/2000 12:45:00';
Can someone please help?
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Kanwal:
I am using JDBC thin driver version 8.1.6. with oracle 8i and am unable to insert and update date & time in American format
(mm/dd/yyyy hh24:mi:ss).
example:
UPDATE TABLE_NAME SET DATE_COLUMN='08/16/2000 12:45:00';
Can someone please help?
<HR></BLOCKQUOTE>
Hey Kanwal,
You can try the following statement
UPDATE TABLE_NAME SET DATE_COLUMN = to_date('08/16/2000 12:45:00','mm/dd/yyyy HH:MI:SS'
WHERE .... ;
null -
Date and Time issue oracle job
i have wriited oracle job to execute my procedure and the job has to execute the procdedure at 11:30 pm every day.
following are the parameters of the JOB.
next_date => TRUNC(SYSDATE) + 23/24+ 0.5/24
interval => 'SYSDATE + 1'
But it is not executing the procedure at 11.30 pm everydat. Waht coud be wrong in the schedule part. please help me in this.Hi,
born2win wrote:
i have wriited oracle job to execute my procedure and the job has to execute the procdedure at 11:30 pm every day.
following are the parameters of the JOB.
next_date => TRUNC(SYSDATE) + 23/24+ 0.5/24
interval => 'SYSDATE + 1'
But it is not executing the procedure at 11.30 pm everydat. Waht coud be wrong in the schedule part. please help me in this.When you use SYSDATE in the interval parameter, it is the time when the job finishes , not the time when the job begins (which may not be the time you wanted the job to begin, if the database is down).
If, regardless of when a job finishes, you want it to run again at 11:30 PM the next day, then use
interval => 'TRUNC (SYSDATE) + 1 + (23.5 / 24)'Unless you're using a very old version of Oracle, you should use dbms_scheduler instead of dbms_job. See
http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_sched.htm#CIHHBGGI -
User login report in Active Directory for specific date and time
I want to get User login report in Active Directory for specific date and time e.g user logged in at15-01-2015 from 8:00am to 4:00pm
Is any query, script or any tool available?
Waiting for reply pleaseYou can identify the last logon date and time using my script here: https://gallery.technet.microsoft.com/scriptcenter/Get-Active-Directory-User-bbcdd771
If you would like to get back in time and see when the user did a logon / logoff then you need to have auditing enabled. Once done, you can records from Security log in the event viewer: https://social.technet.microsoft.com/Forums/windowsserver/en-US/98cbecb0-d23d-479d-aa65-07e3e214e2c7/manage-active-directory-users-logon-logoff-events
I have started a Wiki about how to track logon / logoff and it can help too: http://social.technet.microsoft.com/wiki/contents/articles/20422.record-logon-logoff-activities-on-domain-servers-and-workstations-using-group-policy.aspx
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile -
How to find the Date and time of Installation of Oracle in Windows?
Hi ,
Is there any way to find the installation Date and time of Oracle in Windows?
Regards
RajeshIf you have never recreated/restored/reincarnated the database, then CREATED column from v$database should tell you when you created the database.
If you are looking for the date/time of installation of Oracle home, check the logs under OraInventory.
Reply by Satish sir at following link:
installation date/time of a database !!
Hth
Girish Sharma -
Does anybody know how to get date and time of the user who is logged in portal? Is this noted in a system table or is there any implemented function which returnes required?
I have another problem:
when I open a form on a page, I would like that this form automaticaly executes Query. What kind of statement would I have to write? (maybe form.execute ???)
Thanks,
Bojanyou can definately call a procedure by using "Before displaying the form " block for additional pl/sql blocks.
for eg you can do something like this.
begin
htp.p('... before displaying the form. ');
<mySchema>.<procedure>('... before displaying the form. ');commit;
end;
where second line is for some rendering on the form and the third line can be used for executing procedures.
I hope this helps -
Date and Time Input Validation
Anyone know a good way to validate date and time that a user is entering on the screen. Our users want to enter AM and PM time vs. Military time.
Also, since Input fields don't have an "onBlur" command, what are other companies using in java script.What type of DATE/TIME validation are you looking for?
If you want to validate the format you could simply set the type to date/time and enable the dovalidate attribute to "TRUE".
for getting onBlur, onChange, etc for your input field you can use bsp:findandreplace.
<%
tmp_string =`<input onBlur="javascript:yourjsfunction();"`.
%>
<bsp:findAndReplace find = "<input"
replace = "<%= tmp_string %>" >
<htmlb:inputField id = "myInputField2"
value = "12345"
alignment = "left" />
</bsp:findAndReplace>
(courtesy Ulli Hoffmann)
Hope this helps.
Regards
Raja -
Getting last login dates and times for graphical/xwindows logins?
Hi,
How do I get the last login date and times for users who just use the GUI (and don't launch terminals)?
So far such logins don't seem to show up when I do "last -f /var/adm/utmpx" or for wtmpx.
What should I be using on solaris to get the last login dates and times for all users, whether they log in on the text console, graphical console, or remotely via ssh etc?
Thanks,
Link.Hi,
How do I get the last login date and times for users who just use the GUI (and don't launch terminals)?
So far such logins don't seem to show up when I do "last -f /var/adm/utmpx" or for wtmpx.
What should I be using on solaris to get the last login dates and times for all users, whether they log in on the text console, graphical console, or remotely via ssh etc?
Thanks,
Link. -
How to get Date and time of the server?
Hi, How can we get the date and time of the server while submitting a form using JSP? i.e I need the date and time , when the user is submittig a registration.
UmaUpon receiving your data in your servlet, you can do the following to get the date,
Calendar calendar = Calendar.getInstance();
int dd = calendar.get(Calendar.DAY_OF_MONTH);
int mm = calendar.get(Calendar.MONTH) + 1;
int yyyy = calendar.get(Calendar.YEAR);
String dd_mm_yyyy = dd + "/" + mm + "/" + yyyy;
To get the time, simply take a look at the Calendar API to get the corresponding field.
Maybe you are looking for
-
IOS 7 calendar; can I view activities on monthly calendar?
just updated to IOS 7: is there a way to view activities on the monthly calendar? If not why would they downgrade it?
-
For several weeks we have been working with Oracle support to find out why our Firefox browser hangs for 20-30 seconds when connecting to SSL content on 10.3.6 WebLogic only when JSSE is enabled. It occurs when first attempting to connect to an enter
-
I am having trouble printing from iphoto 8. Every time I try to print, the HP color laserjet 4700 printer displays a message "insufficient memory". However, when I print to the HP laserjet 4350 b/w, it prints. What am I missing?? I am sure it is some
-
How can i rotate and crop a lot of images (tiff) automatically?
I have over 5000 images scanned. How can i tranform this image in this image?
-
Unable to 'Create new settings'
I have Nokia PC suite ver 6.86.90, a Nokia 2630 which is succesfully connected to my PC (Win XP Pro) via Blue tooth. The PC 'sees' the 2630, I can synchronise with Outlook, and view all my contacts on my PC Trying to create a new synchronisation task