I try to install Postgres on Windows (Server 2003). Both versions I tried (8.3, 8.4) fail at the end of the installation because the service cannot be started. I tried with different users for the service without success.
Any ideas anyone?
It's usually a permissions issue. Check that the installer set up the permissions correctly for the user running the service (usually "postgres").
Related
Iam able to open the admin web page just after installing informatica 9.6.1 on windows 10, but when i restart my machine (or when laptop went to sleep mode) again when checked the admin page says
"This site can’t be reached <hostname> refused to connect."
URL is <my machine hostname>:6008/administrator/
Is there something going wrong with the 6008 port after installation?
I used this URL for installation
https://www.edureka.co/blog/informatica-installation/)
I searched a lot on the internet but could not fix this issue.
Tried start/stop Informatica services, dint work.
please help
I had same problem while working on windows system with Informatica 9.6.1.
I believe any of the 3 processes: pmrepagent, pmserver and tomcat/JAVA services
is/are not running. In simple words Informatica is not up and running.
This helped me out.
open Command prompt in Admin mode
cd C:\Informatica\9.6.1\tomcat\bin
infaservice.bat startup
for more details refer this KB article
https://network.informatica.com/thread/43165
If you have also faced such problem while connecting to Informatica post installation then i recommend to check if you are well connected to the database which you opted while installing informatica (For eg. Oracle,sql server etc) with the same user and password which was seperately created to link the database with informatica.
If still you cannot open the Administrator homepage then you can cross check if the Informatica services are already started.You can restart the service if it is stopped and then the homepage will get open.
Seems like the service is not started. Please check the services and make sure Informatica is set to start automatically and that it's able to connect to DBMS where repository DB has been created.
When i installed Informatica that time i was able to login to admin console. But after restart i got - "site refused to connect " error. My informatica service & oracle db serv are running. But still i could not able to login to admin console. What is did was - i login to the schema what i used while installing informatica server through dbeaver tool. On my astonishment, after that im now able to connect admin console.
I found another error that caused this kind of issue.
Check in your system where information is installed and search for "Catalina.out"
See the error:
org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads SEVERE: [localhost-startStop-2] The web application [/csm] appears to have started a thread named [phoneHomeScheduler] but has failed to stop it.
This is very likely to create a memory leak.
You need to restart the system and re-process the services.
I am trying to prepare our environment consisting of Windows XP / 7, Windows 2003 / 2008 for PowerShell remoting. I have configured the WinRM service and listeners as well as a firewall inbound rule through Group Policy following Microsoft Procedures. However, I used the GP Editor on my admin station (RSAT) rather than the one on the DC and it offered one additional configuration option which should have never been configured. Namely the credentials under which the service would run. Untouched it automatically picked up my domain admin account. Now the WinRM service is configured under the wrong account and it won't start up on any of the machines. Server or client. When I try to manually start the service on any machine, I get the following error message:
Windows could not start the Windows Remote Management (WS-Management) service on Local Computer.
Error 1079: The account specified for this service is different from the account specified for other services running in the same process"
After some research and tinkering I learned that the service is supposed to run under the Network Service account with a blank password by default. When I manually change the credentials on any machine to Network Service and clear the password boxes, I get a confirmation popup:
The account NT AUTHORITY\Network Service has been granted the Log On As A Service right.
After that the WinRM service starts up just fine. I need to find a way to remotely change the credentials for this service on multiple machines. Obviously I cannot use PowerShell as the service is a prerequisite for PSRemoting. I did try sc.exe in a startup script through GPO on a test OU with one machine like so:
sc.exe config "WinRM" obj= "Network Service" password= ""
net stop WinRM
net start WinRM
Unfortunately however, it did absolutely nothing. I have UAC enabled on all win7/win2008 machines I also have WinXP and Win2003 boxes.
Does anyone out there have any idea for a solution? Maybe a script that might work? I am not much of a cripting guy, so if you are kind enough to help me out with a script can you also tell me how to use it?
All responses will be appreciated.
To add to this post. the following command will work for accomplishing the above.
sc.exe config "WinRM" obj= "NetworkService"
In testing I found that the NetworkService account actually has no space between the two words, but in GUI it does show space.
I'm a few months late, but hopefully this can help someone. I just resolved this issue in both my test and production environments by configuring the Group Policy preference for the WinRM service and manually entering:
User: NT AUTHORITY\NetworkService
Password: <space>
Exactly. You have to manually enter the account name as I wrote it, and the password is a single space. Other combinations of username and password have not worked for me. If other combinations work, I'd love to know.
I've have added my domain account permissions to Windows AppFabric 1.1 Caching using the "grant" Powershell command. A sample app runs locally on the machine itself fine. Also, I'm able to telnet to the port 22233 from another box successfully (I'm pretty sure its not firewall issue).
Could this be IIS permissions somehow? I don't see a site created under IIS. Is there a log I can check to see specifically why the remote calls are getting rejected with a "ErrorCode:SubStatus:There is a temporary failure. Please retry later."
You granted permissions your account to AppFaric Cache, but are you sure that your app runs under this account ? If this is a WebSite, this another user (ApplicationPoolIdentity).
Try to grant your machine (by adding a $ at the end) or run your app under your granted user.
To be sure it is a problem in security, you can try to disable it at server side, just for testing purpose.
Set-CacheClusterSecurity -SecurityMode None -ProtectionLevel None
please find msdn here.
I have a service that logs in as a specific user. The service works great when the user logs in, but won't start until they do so. Is there some kind of a setting I am missing?
This is running on a Windows 7 Ultimate box.
The user is an administrator of the box and the service is set to automatically start.
No errors are in the application log, and the service runs like a champ once the user logs in (without having them start it).
Does the user have privileges to start Windows Services (the user policy)? You can try using ntrights.exe to make sure that he does. Also, can you start the service from Services.msc when logged in another account?
I think this is a privileges problem. Either the service login information is incorrect or the user cannot start services.
This was a fun one, but I figured it out this morning.
The issue is that the server was a clean Windows 7 Ultimate install. That means the power management functionality was set to default which causes the machine to power down after 30 minutes, hence the service would stop running. Fixed the power management settings to never sleep and running like a champ.
Thanks for the input folks.
I've a website that puts info into a mySQL database and a windows service (written in VB.Net) that polls the db and actions what's in there.
However, occasionally it stalls and rather than having to RDP into the server, I want superusers to click on a button to restart the service.
I can get the button to say, do a directory listing of c:\ output to a test file so the whole 'getting a command to execute on a remote server' issue works. However, I can't restart services.
I assume this is a security thing (although it has full rights to c:\ I thought I'd sussed that already).
The website runs under the normal IUSR_user so am I doing something really stupid or can someone explain how to get the service to be restarted ?
Many thanks
Adrian
I think a significantly bigger problem is that you have a service that's stalling. Do you have any logs or errors that the service outputs to that you could use to diagnose why it's stalling?
I'd write a service that restarts selected services and call that from my website, just for fun!
It seems that you need to give the user permissions on the specific service. The simplest way to do this (in my view) is to use subinacl.exe from the Windows Resource Kit.
subinacl.exe /service MySQL /Grant=IUSR_user
I'm would be very careful when doing this on a public-facing web server. Have both authentication and rate limiting on the restarting code.
Use the ServiceController class:
http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicecontroller.aspx
This should allow you to connect to the named service and stop/start it.
EDIT:
In addition, you probably need to have your web app impersonate a user with rights to restart the service. This can be accomplished via an identity impersonate in the web.config, or running the web app in a configured application pool in IIS. Keep in mind that the web app will have to run on the same box as the service is running on.