Endless Login Screen Loop

I recently installed the latest software updates to my G4 Powerbook with Leopard. It rebooted fine, but I couldn't get any sounds to play (though the volume up and down did work). The application would just quit (tried it with Quicktime, Mail, and Firefox).
Now after rebooting, I get past the login screen, see the desktop for a moment, then get kicked back out to the login screen. This happens in safe mode as well.
Any thoughts on how I can get around this?
Note: I do have a time machine backup, but it's a few weeks old (I don't plug it in often). I also lost my Leopard DVD, which I just found out I need to do a system restore. Is there any other way to recover from Time Machine?

it's pretty clear that you had a failed update. you need to restore from a backup or reinstall. both restoring system from TM and reinstalling require a leopard install DVD. there is nothing you can do without one. either find yours of buy a new one.

Similar Messages

  • After the latest updat to Mavericks 10.9.3, my imac continues to loop back to the login screen...Suggestions??? THANK YOU VERY MUCH!

    After the latest updat to Mavericks 10.9.3, my imac continues to loop back to the login screen...Suggestions??? THANK YOU VERY MUCH!

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the request of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports 'com.autodesk.AutoCad com.evenflow.dropbox com.google.GoogleDrive' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[45]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n\t(%s)\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}')printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ s/ *:$//;x;s/\n//;/Apple|Capacity:|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;};/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;} ' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/:/;END { if(NR<100)print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}')print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR==2'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' ' s/^.{52}//;s/ .+//p ' ' /Launch[AD].+\.plist$/;END{if(NR<100)print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/;END{if(NR<100)print "/System/"};' '/^\/usr\/lib\/.+dylib$/p' '/\/etc\/(auto_m|hosts[^.]|peri)/s/^\.\/[^/]+//p' ' /\/(Contents\/.+\/Contents|Frameworks)\//d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| ","||kMDItem'${p[35]}'=");sub("^.."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' /lR/ { if($2<='${p[25]}')print $2;} ' ' BEGIN { FS=":";} $3~/(sh|ng|ic)$/ { n=split($3,a,".");sub(/_2[01].+/,"",$3);b=b"\n"$2" "$3" "a[n]" "$1;c=c$1;} END { d="sort|tail -n'${p[38]}'";print b|d;close(d);if(c)print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(A.+ E.+ text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ +B/{ s/.+= |(-[0-9]+)?\.s.+//g;p;} ' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' /:/{$0="'"${p[28]}"'"};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil PlistBuddy whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil );c2=(com.apple.loginwindow\ LoginHook '-c Print /L*/P*/loginw*' '-c Print L*/P*/*loginit*' '-c Print L*/Saf*/*/E*.plist' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' '-c Print\ :'${p[35]}' 2>&1' '-c Print\ :Label 2>&1' '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status "-F '\$Time \$Message' -k Sender kernel -k Message Req 'Beac|caug|dead[^bl]|FAIL|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL'" '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/*/*.{BS,Bas,Es,OSXU,Rem}*.bom' '{/,}L*/Lo*/Diag* -type f \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;' '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto_master,{cron,fs}tab,hosts,{launchd,sysctl}.conf} /usr/local/etc/periodic/*/* .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP RSSI Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear;};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ test "$v"&&echo "$_";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;A0;{ A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D22 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D23 24 24 32 31;D13 25 37 32 33;A1 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D23 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;D22 32 31 43 38;D23 20 42 32 41;D23 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 14 3 49 5;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-  
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with "Model Identifier." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Endless login/re-auth loop in Wordpress - with Firefox only

    Hi All,
    I have a problem in some long-standing WP installations.
    In Firefox only, I am stuck in a session timeout/login loop.
    I go to admin... it shows me the login screen, I login with a known and working username and pass and then it comes back to the login screen again. This is continuous and I often can not login at all.
    On occasion when I can login, as soon as I go to save a post, I get tossed to the login screen again.
    Additionally If I have more than one tab open on these sites, then I will get the WP session expired dialog. I will login in again via this dialog, but within seconds, the session expired dialog will pop back up.
    I have cleared browsers cache, deleted cookies, deactivated cache plugins etc etc,.. but can not find a solution to this issue.
    Any help appreciated.
    G

    This can be caused by corrupted cookies or cookies that are blocked (check the permissions on the about:permissions page).
    *https://support.mozilla.org/kb/fix-login-issues-on-websites-require-passwords
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox profile folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies

  • Looping login screen in Crystal Reports for Visual Studio 2008

    Hello,
    I am using Visual Studio 2008 with the Crystal Reports Basic for Visual Studio 2008. Visual Studio and the Crystal Reports Basic Runtime for Visual Studio 2008 (x64) are installed on both the development and production boxes.  I am using Crystal Reports via Visual Studio and do not have the full blown version of Crystal Reports installed on my machine.
    We have used Visual Studio to create an aspx webpage and would like to use Crystal Reports to display a graph. The report displays fine in debug mode, but displays a looping login screen when moved into production on the web server. The web server is using Windows Server 2008 (x64) with IIS 7. We have tried passing the logon parameters to the crystal report during the page init event with the auto-bind feature enabled on the crystal report viewer. A MySQL database provides the data for the report. All ODBC data sources have been configured the same on both machines. 
    Any help would be greatly appreciated!  Thanks!

    Hello,
    Use a tool called ProcessMonitor from Microsoft and watch what happens when you try to log on.
    Also can you verify you created your DSN using the 64 bit ODBC Admin and that you are using a System DSN so IIS can find it.
    And that the MySQL ODBC drive is also 64 bit?
    If you can read ODBC trace logs you could enable it also and see what error you are getting.
    Thank you
    Don

  • Mac on Snow Leopard keeps looping back to login screen

    Hi, Everyone,
    I have a MacBook, late 2008 It originally had 120 GB hard drive. Because I had less than 10 GB of space left, I replaced that with a 320 Western Digital Scorpio Blue HD (by myself, with an antistatic strap, etc). Everything seemed fine for a few days. Lots of space, immediate responsiveness with programmes, etc....nothing could be better. Then the system started getting sluggish, and I started getting spinning beach ball clicking between apps. Every time I ran verify disk permissions, there was a long list of permission repairs. Running repair disk never yielded a result other than everything being okay. I even created a flashdrive with the installation software. And I ran Onyx to try to clean things out.
    Then a few days ago, after restarting my computer (I may have done an update, but am not sure), my computer slowly booted up, came to the login screen, I entered my password, my desktop appeared and it "hung" for about 30 seconds, then the screen turned blue and went back to login screen. I made several attempts to login, but always got the same result.
    I used my bootable flashdrive (which I created with SuperDuper to contain the installation disk before I installed the new hard drive) to check and repair permissions. Each time I did that, I got the same permission errors. Again, nothing detected with disk verification/repair.
    When I start up the computer in safe mode, everything is fine except Safari kept crashing.
    Deleted and reinstalled safari to no avail. Still crashed. No problem in Firefox.
    In the regular mode (not safe mode), I reinstalled Flash, restarted, then back to the looping to the login screen.
    Still no problems in safe mode.
    At first I thought there would have been something with the new hard drive, but everything works fine in Safe Mode, so I'm wondering if there is something with Safari or Flash.
    I've updated ClamX and run a ClamX scan as well to check for viruses/Trojans.
    Please help.
    Help!

    Monique Mayer wrote:
    Okay, I reinstalled Safari under another admin account. No problems there, and --so far--no problems in my main account now. 
    What has happened is this.
    You installed a new hard drive, it came from the factory with some bad sectors on the drive.
    You laid your new OS X and data over these bad sectors and now having issues in various locations.
    The drive automatically maps off these bad sectors when it gets a read request from something your using, however it takes some time before it realizes such is the case, (thus the spinning beach ball as OS X is waiting) then it moves the data to a new sector and maps off the old one.
    Also as you use the computer, your writing data to new bad sectors on the drive, which haven't had their turn yet enough to be read and hopefully mapped off by the drive.  This is why your problem appears to be changing as it goes on.
    Look at your problem timeline:
    Then the system started getting sluggish, and I started getting spinning beach ball clicking between apps.
    This is likely a problem with the swap file which is stored on the hard drive when you run out of RAM memory with a lot of programs and files open.
    The swap file was stored across bad sectors, which the drive couldn't read well and thus you got the OS X spinning beach ball effect.
    This file location moves locations to free space on the drive, expands and contracts as you load things up to use.
    Then a few days ago, after restarting my computer (I may have done an update, but am not sure), my computer slowly booted up, came to the login screen, I entered my password, my desktop appeared and it "hung" for about 30 seconds, then the screen turned blue and went back to login screen. I made several attempts to login, but always got the same result.
    You  have done a update, which added more data to the drive and/or triggered a response from OS X data written on a bad sector which has hung your computer.
    When I start up the computer in safe mode, everything is fine except Safari kept crashing.
    Safe Mode disables  at boot software, video and other things so OS X is in a reduced state, the bad sectors are being avoided as their data is not being called.
    Safari is crashing because it too is corrupted, which your later post you reinstalled it and now it's fine, because it was written to a clear space on the drive without bad sectors issues.
    So your going about a "piece meal" restore method, next will be OS X, then all your programs, then a new user account because your User/Library will get screwed up etc., etc.
    Instead of this long pain, just follow my first post instructions and it will cure everything in one clean shot
    If the drive itself is bad and that's causing your bad sector problems, which you will soon find out and can get it replaced. The way your going it's going to keep giving you problems of various sorts for quite some time.
    I also tried the SMART check and it passed--no errors or bad sectors.
    That only provides a current bad sector count, which you say is zero, which is typical for a new drive as it hasn't read enough from the drive to find the bad sectors yet.
    In order to really find bad sectors on the drive, software would have to continously read data written to the entire drive over and over and over again so the drive will finally "trigger" the mapping off process. This would take days or even weeks to complete on large drive, so obviously the software isn't doing this.
    All drives come with a few bad sectors, the automatic mapping off process upon reads usually takes care of it, however you have more bad sectors than normal, which might have occured:
    1: Higher than normal amount of bad sectors from the factory.
    1: Bad drive from the factory causing bad sectors.
    2: Your moving the computer while the drive is in operation that the heads struck the platters causing the bad sectors.
    So a Zero Erase in Disk Utility, a fresh OS X install from the disk, fresh programs from original sources and vetted files from backup is the sure means to cure the whole mess. Bad sectors and data corruption.
    The DU Zero Erase proceedure does a pretty adequate job mapping off failing sectors, it takes hours to complete and not days.
    Bad sectors causes data corruption, so you really can't trust a previous clone or TimeMachine backup of this corrupted data to restore with (except vetted user files), some here have done that only to wonder why their problems returned after the zero erase was completed.
    If you restored the new drive with SuperD from the earlier drive, you also might have carried data corruption from that drive over too.
    So with a fresh install of everything, only thing that can be corrupted is your user files, which you restore from a clean backup and/or delete the ones causing problems.
    Take care and good luck.

  • Looped Login Screen

    I had Yosemite but found out it doesn't support After Effects and others apps so I tried to reistall 10.6.8 from Time Machine. I keep being directed to the blue login screen over and over again. Each time I enter my login correctly,but each time it redirects me to the blue login screen. I can boot up in safe mode and tool around no problem. How do I fix this?

    Greetings monkeytoesfilm,
    Thanks for participating in the Apple Support Communities.
    If you only see a blue screen after reverting to OS X 10.6.8 with Time Machine, but Safe Mode works normally, try these troubleshooting steps next:
    Mac OS X 10.6: If you see a blue screen at startup
    If you see the login window prompting you for a user name and password, but starting up doesn't progress, you may have incompatible login items.
    Eliminating incompatible login items
    Repair your startup disk or disk permissions by starting up from your Mac OS X installation disc and using Disk Utility.
    Repairing a disk
    Back up your disk and then reinstall Mac OS X by starting up your computer with your Mac OS X installation disc.
    Reinstalling Mac OS X
    Sincerely,
    Jeremy

  • My MacBook Pro is now asking for a login. When I enter my passcode, it goes to a blue screen and back to the login screen. I saw several older posts, but nothing recently. I am running Snow Leopard.

    My MacBook is now asking for a password. When I login, it loops to a blue screen, and back to the login. Incorrect logins create a shaking of the login screen. I tried restarting with the shift key depressed, with no luck.

    I performed a hard shutdown, and upon start I could access my system without logging on. I'm not sure what caused the issue, but I have not booted up in almost a week.

  • Ix2 fails to respond, cannot get past login screen

    I am having intermittent problems with my Iomega ix2 failing to respond. After some time being on the drive fails to respond. I cannot open any files through Windows explorer. If i attempt to connect using the web interface i cant get past the login screen. I put in my user name and password and hit enter. The page simply reloads the login screen. The only solution is to power the drive down using the button on the back of the unit. Powering it up it works fine. Eventually though this will happen again. It's happened a half dozen time or more in the last few days. Now I'm stuck out in the field and cannot access any files. Please help.

    No. No errors in the event log of any kind other than the time sync error. I recently replaced one of the disks as it had failed. I receieved a warranty disk from Lenovo/Iomega about a month ago. i installed it and it rebuilt the RAID with no problems. This error has been happening since then. When the time sync error happens i get all kinds of strange behavior. SFTP, which is how I access the files, will start giving Goodsync 'cannt reach end of file error' type errors. Like I've mentioned before I also get an issue where the web login screen gets caught in a loop too. I type in the user name and the password, hit enter, and it just reloads the login screen again. Rebooting the device from the power button on the back is the only solution.

  • Why after logging in with my account on facetime it tells me to pick an email account to be used then when I hit next it sends me back to login screen?

    When I attempt to set up facetime it asks me to log in with my account. After doing this it takes me to a screen telling me to pick an email address to use. I only have one so it is set by default. After hitting next it takes me back to the login screen. This is a seemingly infinite loop. Any suggestions?

    Try a different browser. Try OpenDNS servers.

  • 10.5.3 won't install... stuck in blue screen loop

    I chose to install it from software update. It told me to restart. I did.
    I got hung up on a blue screen loop.
    But no error messages or anything.
    I had to hard reset.
    Then started up fine- but system profiler shows I'm still 10.5.2.
    And software update still shows the update as "downloaded".
    If I click "install" it immediately asks me to reboot, and sticks in the blue screen loop again.
    I have done this three times now.
    If I choose restart from the apple menu- same thing.
    So I decided to shut down- can't shut down. Get stuck in the looping blue screen.
    So it seems like something is gumming up the shut down process. I've heard of startup items making things freeze- can the same thing happen when shutting down?
    Not sure what the issue is.
    The other people posting problems seem to be getting error messages, etc.
    I am going to try to repair permissions, and if that doesn't work maybe I'll try the standalone installer- but why is this happening? this is like a 2 week old MBA with next-to-no third party stuff installed on it... what could be corrupted already?
    fortunately I have backups if worse comes to worse...
    Any other tips/thoughts?
    Thanks!

    Alexroet wrote:
    should i try the standalone installer?
    You could try, it's been known to sort system issues because it's fuller than the incremental "delta" update, so it should overwrite any files that are damaged or missing.
    Remember to Verify Disk before update and repair permissions after update from /Applications/Utilities/Disk Utility.
    But if you can't boot into Safe Mode something is amiss*. Since, you are able to use your system (not stuck on blue screen, try this first:
    Go to System Preferences >> Accounts >> Login Items and remove them. Boot normally and test. If not go to ~(yourHome)/Library/Contextual Menu Items and move whatever is there to the desktop. Then do the same with /Library/Contextual Menu Items. Lastly, try moving ~(yourHome)/Library/Fonts to your desktop and restarting.
    *EDIT: You do have to hold the shift key for Safe Boot until you see the spinning gear, just in case you didn't do that.
    -mj
    Message was edited by: macjack

  • Endless "Recovery Mode" loop on my iPhone 5.

    Last night I decided to update my iPhone 5 to iOS 7.0.3. I connected my phone to my PC using the lightning cable and opened up iTunes, which prompted me to update my iOS. I hit "Cancel" so I could do a sync and backup before updating (as I always do). I then went back to the phone summary page and clicked the button to update the phone. It took about 40 minutes to download the update and after it downloaded, it failed. My phone went into Recovery Mode (picture of cable pointing to iTunes symbol). The summary page now prompted an alert saying that it has detected a phone in Recovery Mode and will need to be restored before being used. I hit "Ok" and then hit the "Restore iPhone" button.  I got the warning that all data will be lost and I agreed to the terms of iOS 7.0.3 etc. The download then began. At the end of the download, nothing happenes at all. No error message appears. The phone screen simply goes black and then the Recovery Mode screen appears again. Once again, I am prompted to restore the phone. I have restored six times now and everytime it does the same thing. It is an endless loop.
    I have tried different methods such as using a different lightning cable, different USB ports on my PC, and holding the power button and home screen to force it out of Recovery methods. My wife has the extact same phone and hers updated fine on my PC.
    Any suggestions?

    akorman     Feb 9, 2014 8:21 AM 
      Re: Endless "Recovery Mode" loop on my iPhone 5.  in response to MFothy      
    I was having this same problem (endless recovery mode loop) but I also have a broken Home button, so I'm not able to enter DFU mode. The fix for me was to go through the recovery, but after it restores the firmware, iTunes will tell you to leave the phone connected to your computer while it reboots.
    If I leave it connected, the phone re-enters recovery mode. But, if I unplug the phone at this point (during the reboot) the phone goes to the Welcome screen and I can set it up again. If I try to restore from the iTunes backup, I get put back into recovery mode, but if I restore from iCloud backup, everything works.
    So, in short:
    Plug in the phone, start the recovery
    After firmware is installed (while the phone is rebooting), unplug from the computer
    Restore backup from iCloud, not iTunes
    I have been messing with this for hours now, I finally came across your response. This worked like a charm, thank you so much!!!

  • Redevelop oracle forms login screen in adf

    hi i have the login screen in my oracle forms application which do the following
    -able the user to login in the application,by the username,password which are store in the table
    -in my screen i got the following username and password column and the login button.
    -the login button got two trigger> when-button-pressed and when-new-item-instance
    -i also have an option for new user to type new password and confirm the password when they start,every new user got default password and is force to change the password before login in the application
    -when the application start it does not show the new password column only if the user is new and when user password has been resert which is done by system admistrator.
    -i have one screen which list all the user in the application where system administrator can resert the password by clicking the button
    -i also have change password button which come if the user is new under this button i only have one trigger when-button-pressed which got
    -the user is the only person who enter the new password the system admistrator only resert the password he does not have option to enter new password
    if :logon.pwd is null then
    sms_code.error_message('SMS-'||to_char(0000002)||': '||'Password must be specified','', 'E', 'SMS');
    end if;
    login_pwd_title;
    perform_sdms_new_password;
    under my when-button-pressed trigger i got
    :logon.logon_ind := 1;
    perform_sdms_logon;
    and under my when-new-item-instance trigger i got
    if nvl(:logon.logon_ind,0) = 1 then
         :logon.logon_ind := 0;
    else     
    if :logon.usr_id is not null
    and :logon.pwd is not null then
    :logon.logon_ind :=1;
    perform_sdms_logon;
    end if;
    end if;
    and my perform_sdms_logon sp is below. which is in the form programm unit
    PROCEDURE perform_sdms_logon IS
    error_message varchar2(100);
    usr_id integer;
    fail_cnt integer;
    fail_limit integer;
    pwd sms_users.pwd%type;
    pwd_dt date;
    pwd_dt_period integer;
    sysdt date;
    msg_lvl varchar2(20) := :system.message_level;
    cursor usr is
    select id,pwd_change_dt,sysdate,pwd,login_failure_count
    from sms_users
    where user_id = :logon.usr_id
    -- and pwd = sms_secure.crypt('USR',id,:logon.pwd)
    BEGIN
    set_clnt_details;
    if :logon.usr_id is null then
         error_message := 'User id must be specified';
    sms_code.error_message('SMS-'||to_char(0000001)||': '||error_message,'', 'E', 'SMS');
    end if;
    if :logon.pwd is null then
         error_message := 'Password must be specified';
    sms_code.error_message('SMS-'||to_char(0000002)||': '||error_message,'', 'E', 'SMS');
    end if;
    pwd_dt_period := sms_global.ref_code('SMS','PWD_PERIOD',30,1);
    fail_limit := sms_global.ref_code('SMS','PWD_FAIL_LIMIT',3,1);
    open usr;
    fetch usr into usr_id,pwd_dt,sysdt,pwd,fail_cnt;
    if usr%NOTFOUND then
    close usr;
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,:logon.usr_id
    ,'Not SMS User'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Logon to SMS Denied';
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,'', 'E', 'SMS');
    end if;
    close usr;
    if fail_cnt > fail_limit then
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD'
    ,:logon.usr_id ||':'||fail_cnt||':'||fail_limit
    ,'Password retry limit exceeded'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Password error limit have been exceeded contact the Administrator';
    sms_code.error_message('SMS-'||to_char(0000014)||': '||error_message,'', 'E', 'SMS');
    end if;      
    if pwd <> sms_secure.crypt('USR',usr_id,:logon.pwd) then
    sms_global.set_user_id(:logon.usr_id);
         update sms_users
         set login_failure_count = nvl(login_failure_count,0) + 1
         where id = usr_id
         :system.message_level := 15;
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Error'
    ,:logon.usr_id ||':'||:logon.pwd
    ,'Wrong user Password'
    ,:logon.usr_id
    ,'sms0000');
         commit;
         :system.message_level := msg_lvl;
         error_message := 'Logon to SMS Denied';
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,'', 'E', 'SMS');
    else
         if fail_cnt > 0 then
         update sms_users
         set login_failure_count = 0
         where id = usr_id
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Correct'
    ,:logon.usr_id
    ,'Reset Failed count'
    ,:logon.usr_id
    ,'sms0000');
         :system.message_level := 15;
         commit;
         :system.message_level := msg_lvl;
    end if;           
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Correct'
    ,:logon.usr_id
    ,'Success'
    ,:logon.usr_id
    ,'sms0000');
    end if;
    if trunc(pwd_dt + pwd_dt_period) < sysdt then
         login_pwd_title;
    hide_an_item('logon.new_pwd1',1);
    hide_an_item('logon.new_pwd2',1);
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Expired'
    ,:logon.usr_id
    ,'Password use Expired'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Password Expired. Please change password.';
    sms_code.error_message('SMS-'||to_char(0000004)||': '||error_message,'', 'E', 'SMS');
    end if;      
    sms_global.set_user_id(:logon.usr_id);
    :global.User := :logon.usr_id;
    validate_usr_profiles (:logon.usr_id);
    END;
    and my validate_usr_profiles is
    PROCEDURE validate_usr_profiles (i_usr varchar2) IS
    cnt number := 0;
    clnt_user varchar2(80);
    clnt_ip_addr varchar2(30);
    clnt_host_name varchar2(80);
    novell_user number;
    single_terminal number;
    found boolean;
    l_usr_id integer;
    BEGIN
    select count(*) ,usr.id
    into cnt,l_usr_id
    from sms_user_roles urol
    ,sms_users usr
    where user_id = i_usr
    and usr.id = usr_id
    group by usr.id
    if cnt = 0 then
         sms_code.error_message('SMS-'||to_char(0000020)||':No profiles have been granted.', '', 'E', 'SMS');
         exit_form;
    end if;     
    novell_user := sms_global.ref_code('SMS','NOVELL_USER',1,1);
    if novell_user = 1 then
         if lower(:global.clnt_user) <> lower(i_usr) then
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,i_usr ||':'||novell_user
    ,'Not Novell User'
    ,i_usr
    ,'sms0000');
              sms_code.error_message('SMS-'||to_char(0000019)||':User id not same as Host User.', clnt_user, 'E', 'SMS');
         end if;
    end if;      
    single_terminal := sms_global.ref_code('SMS','SINGLE_TERMINAL',1,1);
    if single_terminal = 1 then
         found := false;
         for c_uscon in (select * from sms_user_session_controls
         where usr_id = l_usr_id ) loop
         found := true;      
         if c_uscon.status = 0 then -- not logged on
         update sms_user_session_controls
         set status = 1
         ,status_date = sysdate
         ,computer_name = :global.clnt_host_name
         ,ip_addr = :global.clnt_ip_addr
         ,connections = 1
         where usr_id = l_usr_id
         commit;
         else
         if c_uscon.computer_name = :global.clnt_host_name
         and c_uscon.ip_addr = :global.clnt_ip_addr then
         update sms_user_session_controls
         set status_date = sysdate
         ,connections = connections + 1
         where usr_id = l_usr_id
         commit;
         else
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,c_uscon.computer_name ||':'||:global.clnt_host_name||':'||c_uscon.ip_addr||':'||:global.clnt_ip_addr
    ,'Multiple Session Failure'
    ,i_usr
    ,'sms0000');
              sms_code.error_message('SMS-'||to_char(0000021)||':User Logged onto computer ', c_uscon.computer_name, 'E', 'SMS');
         end if;
         end if;
    end loop;
         if not found then
              insert into sms_user_session_controls
              (usr_id,computer_name,ip_addr,status,status_date,connections)
              values
              (l_usr_id,:global.clnt_host_name,:global.clnt_ip_addr,1,sysdate,1);
              commit;
         end if;
    end if;      
    check_application_system;
    END;
    if there is more information you like from me ,you can ask
    my login_pwd_title sp is
    PROCEDURE login_pwd_title IS
    BEGIN
    set_item_property('logon.CHANGE_PWD',label,'Login & Change Password');
    END;
    and my perform_sdms_new_password sp ;
    PROCEDURE perform_sdms_new_password IS
    error_message varchar2(100);
    usr_id integer;
    fail_cnt integer;
    fail_limit integer;
    pwd_dt date;
    pwd varchar2(50);
    pwd_dt_period integer;
    pwd_history sms_users.pwd_history%type;
    sysdt date;
    pwd_length integer;
    pwd_special integer;
    pwd_numeric integer;
    pwd_alpha integer;
    pwd_list integer;
    o_aplha integer;
    o_number integer;
    o_special integer;
    new_pwd sms_users.pwd%type;
    prev_pwd sms_users.pwd%type;
    new_pwd_history sms_users.pwd_history%type;
    msg_lvl varchar(20) := :system.message_level;
    cursor usr is
    select id,pwd_change_dt,sysdate,pwd,pwd_history,login_failure_count
    from sms_users
    where user_id = :logon.usr_id
    --and   pwd     = sms_secure.crypt('USR',id,:logon.pwd)
    BEGIN
    set_clnt_details;     
    if get_item_property('logon.new_pwd1',visible) = 'FALSE' then
    hide_an_item('logon.new_pwd1',1);
    hide_an_item('logon.new_pwd2',1);
    else
    if :logon.usr_id is null then
         error_message := 'User id must be specified';
    sms_code.error_message('SMS-'||to_char(0000001)||': '||error_message,'', 'E', 'SMS');
    end if;
    if :logon.pwd is null then
         error_message := 'Password must be specified';
    sms_code.error_message('SMS-'||to_char(0000002)||': '||error_message,'', 'E', 'SMS');
    end if;
    pwd_dt_period := sms_global.ref_code('SMS','PWD_PERIOD',30,1);
    fail_limit := sms_global.ref_code('SMS','PWD_FAIL_LIMIT',3,1);
    open usr;
    fetch usr into usr_id,pwd_dt,sysdt,pwd,pwd_history,fail_cnt;
    if usr%NOTFOUND then
    close usr;
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,:logon.usr_id
    ,'Not SMS User'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Logon to SMS Denied';
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,' Password can only change after a successful logon', 'E', 'SMS');
    end if;
    close usr;
    if fail_cnt > fail_limit then
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD'
    ,:logon.usr_id ||':'||fail_cnt||':'||fail_limit
    ,'Password retry limit exceeded'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Password error limit have been exceeded contact the Administrator';
    sms_code.error_message('SMS-'||to_char(0000014)||': '||error_message,'', 'E', 'SMS');
    end if;      
    if pwd <> sms_secure.crypt('USR',usr_id,:logon.pwd) then
         error_message := 'Logon to SMS Denied';
    sms_global.set_user_id(:logon.usr_id);
         update sms_users
         set login_failure_count = nvl(login_failure_count,0) + 1
         where id = usr_id
                        sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Error'
    ,:logon.usr_id ||':'||:logon.pwd
    ,'Wrong user Password'
    ,:logon.usr_id
    ,'sms0000');
         :system.message_level := 15;
         commit;
         :system.message_level := msg_lvl;
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,'', 'E', 'SMS');
    end if;
    if :logon.new_pwd1 is null then
         error_message := 'New Password must be specified';
    sms_code.error_message('SMS-'||to_char(0000005)||': '||error_message,'', 'E', 'SMS');
    end if;      
    pwd_length := sms_global.ref_code('SMS','PWD_LENGTH',6,1);
    pwd_special := sms_global.ref_code('SMS','PWD_SPECIAL',1,1);
    pwd_numeric := sms_global.ref_code('SMS','PWD_NUMERIC',1,1);
    pwd_alpha := sms_global.ref_code('SMS','PWD_ALPHA',1,1);
    pwd_list := sms_global.ref_code('SMS','PWD_LIST',24,1);
    if length(:logon.new_pwd1) < pwd_length then
         error_message := 'New Password must be of length ';
    sms_code.error_message('SMS-'||to_char(0000009)||': '||error_message,' ' || pwd_length ||' characters', 'E', 'SMS');
    end if;
    find_special(:logon.new_pwd1,o_aplha,o_number,o_special);
    if o_special < pwd_special then
         error_message := 'New Password must contain at least ';
    sms_code.error_message('SMS-'||to_char(0000010)||': '||error_message,' ' || pwd_special ||' special characters', 'E', 'SMS');
    end if;      
    if o_number < pwd_numeric then
         error_message := 'New Password must contain at least ';
    sms_code.error_message('SMS-'||to_char(0000011)||': '||error_message,' ' || pwd_numeric ||' numeric(s)', 'E', 'SMS');
    end if;      
    if o_aplha < pwd_alpha then
         error_message := 'New Password must contain at least ';
    sms_code.error_message('SMS-'||to_char(0000011)||': '||error_message,' ' || pwd_alpha ||' alphabetic charater(s)', 'E', 'SMS');
    end if;      
    if :logon.new_pwd1 = :logon.pwd then
         error_message := 'New Password can not be the same as old password';
    sms_code.error_message('SMS-'||to_char(0000006)||': '||error_message,'', 'E', 'SMS');
    end if;      
    if :logon.new_pwd1 <> nvl(:logon.new_pwd2,:logon.pwd) then
         error_message := 'New password are not equal values - retry';
    sms_code.error_message('SMS-'||to_char(0000007)||': '||error_message,'', 'E', 'SMS');
    end if;      
    for i in 1..pwd_list loop
         if utility.get_field(i,pwd_history||'~~','~') is null then
              exit;
         end if;
    prev_pwd := sms_secure.decrypt('USR',usr_id,utility.get_field(i,pwd_history,'~'));
         if :logon.new_pwd1 = prev_pwd then
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Used'
    ,:logon.usr_id
    ,'Password have been used'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'New password was found in history list - retry';
    sms_code.error_message('SMS-'||to_char(0000012)||': '||error_message,'', 'E', 'SMS');
    end if;           
    end loop;
    new_pwd := sms_secure.crypt('USR',usr_id,:logon.new_pwd1);
    new_pwd_history := utility.put_hash(pwd_list,'~');
    for i in 1..pwd_list loop
         new_pwd_history := utility.put_field(i+1,utility.get_field(i,pwd_history,'~'),new_pwd_history,'~');
    end loop;
    new_pwd_history := utility.put_field(1,new_pwd,new_pwd_history,'~');
    update sms_users
    set pwd = new_pwd
    ,pwd_history = new_pwd_history
    ,pwd_change_dt = sysdate
    where user_id = :logon.usr_id
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Change'
    ,:logon.usr_id
    ,'Success'
    ,:logon.usr_id
    ,'sms0000');
    commit;
    sms_global.set_user_id(:logon.usr_id);
    :global.User := :logon.usr_id;
    validate_usr_profiles (:logon.usr_id);
    end if;
    END;
    i hope this will make it clear of what am trying to achive your help will be appriciated
    Edited by: user603350 on 2012/01/04 10:48 AM

    On your login page have 2 fields for username and password. On the button click call a AM Impl method which calls your above procedure passing the required fields.
    This is the way you can call a prodecure/function from AM IMPL
    cstmt = getDBTransaction().createCallableStatement("{call pkg.procedurename(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}", getDBTransaction().DEFAULT);

  • Restart to main login screen

    Greetings,
    We have an issue accessing our admin account and due to a series of events - cannot access the login screen.
    Below is what was attempted to reset the password and the current status.
    1. It followed steps here http://osxdaily.com/2010/08/10/forgot-mac-password-how-to-reset-mac-password/ to "Boot into Single User Mode and remove a setup file" - this was done as the original discs had been lost
    2. Turning the machine on bypasses the login and continues straight to the "setup process" for new machines.
    3. The original discs were found a day later and if we try and reset password from the discs, it only offers the disc drive to reset and not the machine
    Current Status:
    Our IT department (located in another country) cannot find the serial number so we cannot complete the setup process
    Question: Can we use a command in the terminal (through the Single User Mode startup) to return to the login screen or can we but a new license key?
    Thank you all - it is an unusual circumstance.

    try recreating the .AppleSetupDone file:
    touch /var/db/.AppleSetupDone
    there is nothing special about this file, if it doesn't exist it triggers the system setup.
    http://www.hackint0sh.org/tutorials-217/how-get-out-already-own-mac-loop-ideneb- 102156.htm

  • Logging in sends me to the login screen again. Over and over....

    Have an old MacPro (early 2008). Used to have OS 10.6.8 but subdued to the temptation and installed Mavericks last week.
    Regretfully, it made my machine slower than ever. I mean REALLY slow. I tried various remedies to no avail.
    Eventually, I realised I had to go back to 10.6.8.
    Installed 10.6.3 (from the disc  I have) to another 1Tb drive. Transferred accounts, applications, etc, from the Mavericks drive.
    Booted from the fresh 10.6.3 drive. No problems. Could log in to every account (three) and as root. Nice.
    Then updated to 10.6.8 and that's where I hit the brick wall.
    Regardless which account I'm trying to log in to, I'm reverted back to the login screen after a while.
    No error message, nothing like "the password doesn't match" or anything. Just kept in this loop.
    Have repaired the disc using the OS on another disc. Fixed permissions, etc. No go.
    Hints, anyone? Please?

    If the re-install didn't fix the problem, try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don't do them all at once.
    Safe Mode
    Safe Mode - About

  • Stuck in login screen / cannot login

    I'm running Snow Leopard 10.6.1 and I didn't recently have a software update on last power down, but for some unknown reason, my Macbook Pro that I got this summer got stuck in a login screen. I never had to login before, and for some reason, I kept trying to login, putting in my password, and even trying to power down, but it went to a blue screen, and then back into a login screen. After a hard reset (holding down the power button and pressing it again once it turned down), it seemed to power up normally. Does anyone have that problem? Thanks.

    I've just encountered the same issue this AM. Rolling along fine with SL on my iMac for over a month, I was streaming a movie to my appleTV and it stopped. I went to my iMac hosting iTunes to see what the problem was and for some reason the iMac was running extremely slow so I did a hard shut down. Upon rebooted I got stuck in the login loop you mentioned. You've probably figured this out by now but I was able to break-in by doing a safe boot (start up with shift key down). Scary but everything appears to be OK now.

Maybe you are looking for