I have a problem with the date management in Plesk. The server has a right date (# date), and the Plesk console too (Tools and Settings > System Date and Time). But all the websites on the server have a -2 hours date and I can't figure out how to solve this.
Thank you.
Ok I solved it.
In plesk the date.timezone in the php.ini was empty. I went to Tools & Settings > PHP Settigns > 7.1.32 FPM application > php.ini and add my timezone.
Job's done.
Related
A c# sqlclr function containing DateTime.TryParse isn't returning the correct date on a new windows server. The date and regional settings were in US format on this server instead of GB and the sql server is using a managed service account.
I installed the English (United Kingdom) language pack and deleted the old one. Updated the regional settings for the UK date format and used the Administrative tab in the control panel regional settings to copy the settings to the welcome screen, system accounts and new users.
UK date parsing still does not work. Calling the function manually in powershell under my user account returns the correct value.
I tried changing the registry settings under the MSA account to match my current user based on this list but still no success. https://blogs.technet.microsoft.com/askperf/2012/08/16/how-to-change-regional-settings-for-all-users-on-a-computer/
SQL Server 2017 (RTM-CU6) on Windows Server 2016 build 14393
To update the regional settings of the managed service account (without recreating it) perform the following.
Run powershell using psexec from sysinternals. Leave the password blank and press enter. cmd would also work but powershell lets you easily test the function.
& 'psexec.exe' -u domain\msa$ -i powershell
Add the dll and check the function result.
Add-Type -Path "path\clr.dll"
[TypeConverter]::ftn_ConvertToDate("20/10/2017 00:00");
Incorrect result returned. Run intl.cpl in powershell. This will open the regional settings as the msa user. Set the format to English (United Kingdom) or another format as needed. This will change the settings for the MSA that the powershell session is run for.
Test again to see the correct result.
[TypeConverter]::ftn_ConvertToDate("20/10/2017 00:00");
Restart the SQL Service and the clr function will use the new date format.
We are working on a remote desktop server 2008 R2 Sp1 that has all the updates.
Yesterday i wanted to install an office 2013 MAK professional plus next to the allready installed office 2010 standard. For that i had chosen for a custom install and clicked the radio button that told me to leave the previous version (office 2010).
After the installation of the office 2013 the office 2010 became corrupted by a not know reason so what i have done is remove everything of office and just installed the office 2013 (all in install modus -> change user /install).
We had some GPO enabled that had influence on the office 2010 installation and i just turned these of. On the same time i have made some changes in my default GPO to make a shortcut on every remote desktop of all office programs.
Last thing i have done yesterdag was expand the hard drive volume from 100Gb to 250Gb and rebooted that server a last time.
This morning all of the sudden it is not possible anymore to start a remote app (not only the office remote apps but also the ones made before). When we start the remote app the starting screen is just disappearing after a while. When i click on the detail button i see it is loading the GPO's and then gives "preparing desktop" but right after that it is "logging off".
The strangest part about this is that the user can log on with his name on the remote server -> remote desktop without any problems.
How can this be possible? There are toppics i have found over the internet but none of them are answered..
When i take a look at the event viewer i see some errors appearing when someone click on the remote app but i dont know if it has anything to do with that..
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.
User Logon Notification for Customer Experience Improvement Program
User Logoff Notification for Customer Experience Improvement Program
Hope to find some help here!
Came out that it had nothing to do with my actions yesterday but indead because of an update released yesterday.
Found the exact KB trough the website of serverfault. After removing the Update KB3004394 and doing a reboot the problem is solved! Just had to exclude this update the next time till there is a fix for this. Special thanks to Gordon who posted this!
I was able to remove this update and reboot the affected server.
A couple of things to note:
Immediately upon reboot, same issue remained (oh crap)
Decided to remove same KB from guest computer and rebooted
Upon reboot, same issue remained
While researching issue further, about 10 minutes lapsed and I decided to try it again and it worked.
I can't explain the delay in it working, but I was able to resolve it with just that one KB removal.
The installation of Joomla on localhost does not proceed after step 4. Database Configuration.
It keeps on loading and loading and never stops.
And in my Database I get min 25 to max 60 tables(on various attempts) but not after that.
Im using
WAMPSERVER version 2.4 -> Apache 2.4.4, PHP 5.4.16, MySQL 5.6.12
Joomla -> Joomla_2.5.13-Stable-Full_Package
OS -> Windows 7 32 BIT
Browsers used -> Mozilla FireFox & Google Chrome.
The information I've used is
Database Type= Mysqli (tried both mysqli and mysql - still the same)
Host Name = localhost
MySQL User Name = root
MySQL Password = blank
MySQL Database Name = joomla_lab
MySQL Table Prefix = jos_ (this is set as default)
I searched a lot but cant find the solution. Can anyone please help.
I am not sure but can you create a user who uses a password on mysql admin panel.
Run as administrator....? Might help if your on a windows system. So run Apache as Administrator.
My vserver is running out of space. I noticed the traffic stats of apache are taking a lot of space away. I expect email logs, system logs, ... are using some space too.
Is there any way in plesk to delete all statistiks and logs older than a year (or a month)?
I appreciate your help!
The logs can be taken care of using the log rotation setting in Plesk. The location of the GUI for it depends on what version of plesk you are using.
v.10
http://www.hosting.com/support/plesk/log-rotation-in-plesk-10
v.9
Domains > domain.tld > Log Manager
As for the traffic retention, again it depends on what version of plesk as to it's location, but in Plesk 10 I have found the easiest way to deal with Traffic Stats retention is via the Service Plans section. (Actually prefer this for the plesk related logs as well, but you can do more with linux's logrotate than with plesk).
Service Plans > [Name of the plan you are editing] > Logs & Statistics tab
I was messing with the configuration of my local Bugzilla, and I changed the Bugzilla offline message from nothing to some text.
Now, it has logged me off and I can't go back in to change it, or find where it's storing the text in the database.
Unfortunately none of the solutions offered here or on the Bugzilla / Bugzilla tracking system were able to solve the problem.
The installation is IIS7.5 / Window Server 2008 R2 / ActivePerl.
Settings were changed manually in the /data/params file.