Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Login Script "hanging" for some (not all) users

Posted on 2004-04-13
5
Medium Priority
?
2,873 Views
Last Modified: 2007-12-19
Mid morning yesterday Users started complaining that they could not access the network.  We have a Netware 5.1 SP5 Server, 250 User Lic., W98,W2K & WXP workstations running clients v.4.43 SP2 and v4.90SP1a.  Everything was working properly, login script started "hanging"...the script file would just freeze...had to do an "end task" to get out of it.  BUT.....approx. 60% of the users logged in fine and had resources without any problems, any user that came in later in the day, just booted their machine...they would have the problem.  I had some users log into Workstation Only, then Browse the Novell Server and see everything fine.  I have run DSRepair, Vrepair, update DS to 7.62c.  Ran DSTrace logs...In the Sys$log.err I have several instances of:  Policy Manager: Update Connection License failed (for individual user objects).  The DSRepair.log file have 7 instances referencing my Server object (with the correct ID) ERROR: Invalid server ID in backlink obituary is purged.  I have run the DSTRACE with the +j switch and nothing changes.  Also, as another test this morning, thinking maybe the script file is corrupt I deleted all entries in the script, saved the file, tested my ID, logged in properly, tested with another standard user and attached properly to the server, browsed to the server, saw the volumes, browsed down thru, attempted to manually map a drive (with both Netware map a drive and Microsoft's Map a drive), received error that the drive was unaccessable!...I could go on more but for now I will quit.....I'm sure I have lost your attention by now!  :-)  Has anyone out there seen something like this?

Thanks,

Pam
0
Comment
Question by:ESTPIT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 34

Expert Comment

by:PsiCop
ID: 10814396
Hey, Pam. Let's see what we can do.

One important thing is that Login Scripts are not stored in separate files. They are part of the OU's directory object, just like the Full Name field of a User object or the Location field of a Volume object. IF DSRepair did not report any errors, then removing and replacing the text of the script didn't really do anything.

It would be very helpful to know if there is a specific command in the login script that is causing the hang. I would suggest that you employ an old programming trick to try to determine where it is hanging up. You could insert a series of statements into the script like this:

WRITE "Start of script"
...
...some script commands...
...
WRITE "Check Point #1"
...
...some more script commands...
...
WRITE "Check Point #2"
...
...some more script commands...
...
WRITE "Check Point #N"
...
WRITE "END OF SCRIPT"

This would allow you to determine WHERE in the script the hang was occurring. If it always hangs between Check Point #1 and #2, then you could remove the other WRITE statements (I'd keep the "Start" and "End" ones no matter what) and concentrate on just the series of commands between those two checkpoints (putting a WRITE statement before and after each one).

Once you've narrowed it down to a specific statement (or statements) it will probably be easier for us to help you.
0
 

Author Comment

by:ESTPIT
ID: 10815052
I created login script with a "write check#n" after each drive mapping (I had 4 different mappings), the results on each was:  Login-lgnwnt32.dll-430:   The following drive mapping operation coulld not be completed.  The error code was 8901.  
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 10815488
Pam,

Hmm.. Was your initial setup does using Evaluation licenses? Novell TID #10067152 (http://support.novell.com/cgi-bin/search/searchtid.cgi?/10067152.htm) suggests that the problem you're experiencing may be due to un-removed Evaluation licenses. The TID includes corrective actions.

Also, please confirm that you have an SLP Directory Agent (SLPDA.NLM) running on a NetWare server in your Tree and that it is either unscoped or has the right scope.
0
 

Author Comment

by:ESTPIT
ID: 10816523
Hi, my initial setup did not use Eval Licenses, this Server was put in place in Sept. 2000.  As for SLP Directory Agent is unscoped.

Novell is saying it is corrupt servcfg.* files in the nwserver directory.  After deleting them a few times (which the said would probably be the case), I have succussfully ran DSRepair's without errors. I have made a new ds copy, my login script is working properly now.  Am in the process of downloading SP7 which we will apply.
0
 
LVL 34

Accepted Solution

by:
PsiCop earned 1500 total points
ID: 10823141
Pam,

Glad to hear its working.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Screencast - Getting to Know the Pipeline

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question