|
Jörgen Andersson wrote: As a temporary solution, to allow you to leave your office, you could set the service to restart automatically.
In the services console, doubleclick the dns-service (or rightclick and select Properties). In the properties window select the recovery tab and select your options on failure.
Thank you very much for your comment. That is one solution that could help me to temporary solve it.
Jörgen Andersson wrote: You naturally need to address the issue why the service fails. But to help you with that we need more data, such as relevant entries in the event log.
That was my biggest challenge. I have checked in the event viewer and there is no entry that show me the reason why DNS server service is stopped. But I found the following error related to DNS server service that could give you some idea:
Event Type: Error<br />
Event Source: DNS<br />
Event Category: None<br />
Event ID: 4007<br />
Date: 18-Jul-08<br />
Time: 8:10:52 AM<br />
User: N/A<br />
Computer: SERVER<br />
Description:<br />
The DNS server was unable to open zone _msdcs.pr.org.kh in the Active Directory from the application directory partition ForestDnsZones.pr.org.kh. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and reload the zone. The event data is the error code.<br />
For more information, see Help and Support Center at http:
Data:<br />
0000: 0d 00 00 00 ....
and
Event Type: Error<br />
Event Source: DNS<br />
Event Category: None<br />
Event ID: 4007<br />
Date: 18-Jul-08<br />
Time: 4:40:01 PM<br />
User: N/A<br />
Computer: SERVER<br />
Description:<br />
The DNS server was unable to open zone pr.org.kh in the Active Directory from the application directory partition DomainDnsZones.pr.org.kh. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and reload the zone. The event data is the error code.<br />
For more information, see Help and Support Center at http:
Data:<br />
0000: 0d 00 00 00 ....
Please let me know if you have any solution with the above error escription. Thank in advance!!!
|
|
|
|
|
If you get these eventlog entries when the server is started, then it's normal, the dns service has just started before the AD.
Try to uninstall and reinstall the DNS role on the server. That will fix any eventual file and registry errors regarding the DNS, and it's done in ten minutes (no restart) so it won't really affect the users.
About the servicepack: I always servicepack my computers a couple of weeks after the packs are released. They fix more problems than they create. And if there are any serious errors in them, it would create enough articles about it that it would raise above the normal internet noise.
But of course, as always you need a proper backup before you do it!
|
|
|
|
|
Hi all,
I have a pc with pre-install winXP. Now i would like to install win2000 in it. Everytime after it inspecting my system, then will prompt me "inaccessible_boot_device" message. I know it could be cause by the hard disk controller (i am using SATA hardisk). May i know how to solve this problem?
thanks in advance
regards
cocoon_wls
|
|
|
|
|
Hi all,
I have found a solution which is said that need to extract the Intel(R) 82801GR/GH SATA AHCI Controller Windows driver to a floppy disk.After that press F6 to add the SCSI at the begining step.Last continue the installation as normal. I had follow the tips and do it,but it still prompt me the error message above.Below is the link i follow to fix the problem:
http://downloadmirror.intel.com/15551/ENG/readme.txt[^]
thanks in advance
cocoonwls
|
|
|
|
|
Hello there.
I have setup triggers on MSMQ private queues
I wanted to trace MSMQ Trigger activities for the whole day
I tried using trigmon.exe but it shows trace log from the time trigmon.exe is opened
But I want to have trace log for the whole day
One option is to let the trigmon.exe remain open
Is there any other option?
Is there some place where MSMQ Triggers activity is being saved?
|
|
|
|
|
Is there a way of knowing (through an application's code)if a process is still running or it hanged?
I'm trying to design a watchdog that has to monitor some processes. Except for killing/starting them, i have no other access to these processes.
Thanks
|
|
|
|
|
Can you see them on the Task Manager and did you test ProcessMonitor?
|
|
|
|
|
I can, the problem is that those processes might hang and i need to know when this happens and restart them from a watchdog.
|
|
|
|
|
If you can write code for the critical process, have it send a message to your watchdog on a regular basis. If the watchdog misses two or three messages, it kills and restarts the process. If you do not have access to the code, you will have to look for something the process does on a regular basis and maybe key off that. What does it do that makes it critical? That may help you find something to monitor. Can you write code to check the program counter? Where is the PC when the process hangs. What about I/O count?
Thanks for your time
|
|
|
|
|
bkelly13 wrote: If you can write code for the critical process, have it send a message to your watchdog on a regular basis. If the watchdog misses two or three messages, it kills and restarts the process. If you do not have access to the code, you will have to look for something the process does on a regular basis and maybe key off that.
Thank you. Actually this answers my question. I was wondering if there was some kind of an OS/kernel way of testing if a project is still active or not. I've done some reading and didn't find any reference to what i needed. The options you've posted above gave me the answer i was looking for.
Thanks,
Eugen
|
|
|
|
|
Hi everyone,
I have three OS's on my system Xp,server 2003 Pack2 and Vista now I want to delete and reinstall these Os's of my system,my drivers are NTFS.When I was trying to boot my system with driver A: I cant format any drive and it shows me c: or d: are not exist
how can I do it?
|
|
|
|
|
Boot your system from CDROM or DVDROM.
|
|
|
|
|
Hi,
Please know that when we boot the system with Drive A: it does not recognize the NTFS partitions of the HardDrive. The better option is Boot the system with CDROM or DVDROM.
Hope this helps
Regards,
John Adams
ComponentOne LLC
|
|
|
|
|
Hi,
I was wondering if it is possible to simulate a file in windows? i.e. The file doesn't actually exist in the file system but i can open it in any application and my executable (or dll/fsd) provides run time data to that application for that file?
e.g.
C:\Windows\notepad non-existent-file.txt
The above command will open notepad and the notepad will try to access the file 'non-existent-file.txt' in the current directory. This file as the name implies doesn't actually exist and i want the OS to provide my application's dynamically provided data?
What i am really interested is the right direction? Is it possible? and do i need to write a File System Driver or some hooking is available in Windows?
Thanks in advance.
|
|
|
|
|
I believe it could be possible.. One way you could do it would be to API hook Kernel32, where the OpenFile function is stored.. Most files use this function to open a file so you could potentially get the file parameter passed to it and then do whatever you want with it then pass your newly created handle back to the calling process.
Conveniently there is an article on API hooking on The Code Project here.
Hope this helps,
--Perspx
"Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates
BSoD during a Win98 presentation
|
|
|
|
|
Hi,
yes, you can develop your own "file system", and have it mount its files (real or virtual)
under a (so far unused) drive letter, so they become available to all programs.
It will not be an easy task though; I would not consider doing it if I can avoid it.
|
|
|
|
|
Luc Pattyn wrote: It will not be an easy task though; I would not consider doing it if I can avoid it.
Lets just say i don't seem to have a choice and i have to do it :@. Now how to go about it?
Thanks.
|
|
|
|
|
Searching CP I stumbled on this article.[^] Maybe it could be useful to you?
|
|
|
|
|
Thanks alot, i guess this will work
|
|
|
|
|
Can anyone show me a way to get system cpu usage from a batch file and return it as a percentage so I can display it in an HMI software package?
Thanks
|
|
|
|
|
You might try WMI[^]
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist
|
|
|
|
|
We are trying to get an interactive command prompt,running with 'SYSTEM' user credentials
The sequence of steps are as follows:
1) Get the local time (through the TIME shell command, for example)
2) Add one minute to this time
3) Run the AT command with this new time.
4) Wait one minute for the command window to appear.
An example set is as below:
E:\Documents and Settings\Adi>time
The current time is: *16:29*:00.96
Enter the new time:
E:\Documents and Settings\Adi>at *16:30* /interactive cmd.exe
Added a new job with job ID = 1
We do get a command prompt with 'SYSTEM' privileges.
Next,we attempt to do this on a remote w2003 host through REMOTE login.
In this case,though we find the cmd.exe running in the task manager,we DO NOT see the command prompt in the foreground.
What service/security setting prevents the command prompt to interact with the desktop in this case?
We also confirmed that in certain other environments ,we do see the command prompt on the foreground ,even via remote login.
Unfortunately,we have not been able to work out the security 'tweak',which obstructs our first environment from doing so.
Any help will be much appreciated.
|
|
|
|
|
rana74 wrote: What service/security setting prevents the command prompt to interact with the desktop in this case?
Everything. Because of the MASSIVE security risk, interactive processes are not allowed to be visible when launched on remote systems.
|
|
|
|
|
Well this definitely does not seem to be the case for all hosts - as we have this 'interactivity' working even for remote login into most of our w2003 host environments,where we have out-of-box security settings.
So,there is some security switch which 'hardens' this property - as we see in some other environments.
We are eager to find out what that 'switch' is.
|
|
|
|
|
rana74 wrote: Well this definitely does not seem to be the case for all hosts - as we have this 'interactivity' working even for remote login into most of our w2003 host environments,where we have out-of-box security settings.
Not out of the box you don't. Unless you're using a third party tool that does this to get around the limitation, like PSEXEC. Using the Win32 API, you cannot launch an interactive remote process and there is no "switch" to get around it.
|
|
|
|