138 questions
0
votes
0
answers
28
views
Request Filtering in Microsoft IIS Server with PHP prevents loading Default Document via Domain name [duplicate]
Task
I have to switch on Request Filtering in the IIS Server with PHP to reduce the number of possible file extensions.
Problem
Although the Request Filtering works with direct deep links (i.e. https:/...
0
votes
1
answer
174
views
fwrite(): SSL: An existing connection was forcibly closed by the remote host
I am trying to send email in windows server using laravel. Below is my email configuration.
The front end and backend application loaded in http and the firewall is enabled and disabled. But when i ...
1
vote
1
answer
2k
views
Set Password of Local User Administrator for Client pc via GPO
In my environment, I am trying to create two different local users for my all client pc; built-in-administrator as a backup account, and custom local admin for implementing LAPS. I am creating a ...
-1
votes
1
answer
147
views
how to execute a bash script on remote server while I am connecting to it
I am already connected to a remote server using ssh with running the following command
ssh user@ip
and connected to that server and I am in that server terminal now.
I want to execute a script exist ...
1
vote
1
answer
379
views
Sending email via curl in Linux
i am using command below for sending emails via curl in a linux docker container.
curl ${REPORT_SMTP_SERVER} --mail-from ${REPORT_MAIL_FROM} --mail-rcpt ${REPORT_MAIL_TO} --upload-file error.txt
This ...
2
votes
1
answer
657
views
Simple Powershell questions (Creating a local ID and adding local administrator group plus some checks)
Slightly new to powershell and looking for some guidance. I'm trying to create a simple script to accomplish the following:
Check if a local ID already exists on a list of servers
If not, create one ...
1
vote
0
answers
239
views
Windows Server 2019 MYSQL Connection Slow with intermittent problems
I have a very basic Python script running on a Windows VPS. This script is connecting to a Linux private server. This script is for testing purposes:
import mysql.connector
mydb = mysql.connector....
0
votes
1
answer
271
views
How to activate IPv6 on dedicated Ubuntu 18.04 server?
everyone!
I am not an expert, but part-time admin; please excuse if the question is too simple:
How can I enable IPv6 on my dedicated Ubuntu 18.04 LTS server?
The problem: Both the file "/etc/...
0
votes
0
answers
130
views
Postman proxy - "stop capturing" what does it mean?
I am using Postman proxy for "capturing request and cookies"
Do I understand it correctly:
Pressing "Capture requests" starts the proxy service.
Pressing "Stop capturing ...
1
vote
1
answer
3k
views
DCPROMO fails with error "Access is denied" if the user does the promotion isn't granted the "trusted for delegation" user right
I need to transfer FSMO roles from Windows Server 2012 R2 to Windows Server 2019. It works well with clean Datacenter editions of both systems but not with existing Windows Server 2012 R2 Essentials.
...
0
votes
2
answers
353
views
Is virtual SSD IOPS parameter comparable to physical one?
I have to take some decisions about migrating from dedicated servers to the cloud.
Everything is fine except I don't quite understand how to compare physical SSD to the cloud because depending on the ...
0
votes
0
answers
37
views
form action from domain1.com to domain2.com takes long time, origin issue?
I have a simple html form that form action is always a URL of domain1.com, where it is processed by a php/js app.
When I put and submit the form on domain1.com (where it also is sent to and processed) ...
0
votes
1
answer
231
views
How do you point NGINX at standard PHP for multiple sites?
So I'm tasked with upgrading php that is used by NGINX in RHEL. I installed NGINX from the RHEL repo, but the instructions I followed to add PHP got it from the remi repo. I need to move over to PHP ...
0
votes
0
answers
504
views
Looking for help on completing this Wsus script if possible
Edited for clarification: The goal is outlined in what I would like to accomplish. Now I don't know if I am headed in the right direction with this. So in a nut shell,
Am I going about this correctly?...
0
votes
1
answer
696
views
What are the exact hardware requirements for Moodle installation on a large University?
Our university is planning to install the latest stable moodle as our primary LMS. The university has 20,000 students. Based on our initial projection, we have an average of 250 subjects open for ...
2
votes
2
answers
895
views
How to change the server time zone without affecting already inserted data?
I have a PHP project with Mysql database. The problem is the time related data is showing wrong according to my requirements.
I want the timezone should be set to "Time Zone Port louis,Mauritius ...
0
votes
0
answers
119
views
ReactJS, NodeJS deployment issue on linux server where application was coded in windows
I have a web application created using ReactJS , NodeJS and Mongo DB on windows. And I am facing issues while deploying the same application on a Linux Server in AWS. Is there any changes to be ...
0
votes
0
answers
984
views
ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction when deleting
I am using MySQL 8 with InnoDB.
I have a table with about 6500 rows, when I try to delete any I get
ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction error.
I have checked ...
-1
votes
1
answer
120
views
PostgreSQL server user-admin roles to approve changes to db from a lower-role admin
Server administrative roles for PostgreSQL need to be configured in a way that there are high-level/role admins that will approve/allow all of the changes made to a database by lower-level/role admins....
0
votes
1
answer
515
views
Google VM Instance Stopped Working after Upgrade
I have a google VM instance which was running flawlessly. It has Centos-7 and Plesk installed in it.
I just stopped it, upgraded machine type (to better CPU and RAM) and started it again. My server ...
1
vote
1
answer
535
views
Validation URL information with nginx
We have API application, which uses many customers. Every customer have API token, which he passed in GET request.
Example from access log:
GET /api/token=FhrHd25Sk6REmwqn32Ssdf/bla?/bla/bla
We ...
0
votes
1
answer
896
views
Two or more active processes in Ubuntu Server
I have Ubuntu Server 18.04 LTS.
I want to run two processes, but at the same time have a "clean" command line.
For example,
process 1: ping google.com
process 2: ping facebook.com
I tried running ...
1
vote
0
answers
565
views
Need help to hide server specific error when running Curl command tool
Our site was tested by one of the security scanner companies and found known vulnerability. It sounds as "Information Leakage is an application weakness where an application reveals sensitive data".
...
0
votes
1
answer
27
views
How does data get through a router if there is no portforwarding set on the router
more over how does the router distinguish each packet between the multiple connected users. Why does the router just not ignore all request.
0
votes
0
answers
82
views
ColdFusion2016 services are not getting started
ColdFusion2016 services are not getting started, It was running since last year now they are stopped suddenly, while I'm checking the cf-out logs it says
"Either the server is already running or ...
2
votes
1
answer
676
views
How does IIS identify which site is requested?
If I'm hosting multiple sites on a server, and a dns server resolves the different domainnames to the same address, (which is the server's name), how does IIS know eventually which site is requested?
...
1
vote
0
answers
394
views
Hyper-V: Delete Saved State
In Hyper-V what happens when I "delete saved state" of one Remote PC; Would I lose the data in that Remote PC? Because I have tried to increase the Ram but it didn't work.
0
votes
0
answers
161
views
Issues with deny IP Address
I have an ongoing issue with my server. I have looked through my IIS records and found an inordinate amount of hits to my site by the same address/Domain. I did my homework and looked this up IP ...
0
votes
0
answers
32
views
Other Users cannot login because of Excel File Import
I am importing List through Ep-Plus library( excel file) into db table. I run all queries together than perform commit. I cannot use bulk insert in this scenario for better performance because before ...
0
votes
1
answer
68
views
www-data ownership of wordpress wp-content/uploads folder makes back-end VERY slow?
I've noticed that when I change wp-content/uploads to www-data ownership recursively, the back-end of the site takes 10-20 seconds to load every page, and tremendously high CPU spikes observing my ...
0
votes
1
answer
340
views
Users and user groups are not automatically created when installing packages
CentOS Linux release 7.5.1804 (Core)
When installed on other packages, users and groups were always created as needed, for example:
[root@cloud ~]# yum install VirtualBox-5.1
Running transaction ...
-3
votes
1
answer
1k
views
Best Server for Node.js + Express site
I am new in node js, I am developing an app in Node+express+mongo+react. Where Should I host this app for production, How do I manage the server? Like how to check if the site is working well, any ...
0
votes
0
answers
237
views
Laravel 5.3 Log Permissions - Creating/Writing as nobody : nogroup
I'm in the middle of a Laravel upgrade from 5.2 to 5.3. I've been trying to find information regarding log permissions in the Laravel upgrade guide, but nothing has described the behavior I'm seeing.
...
0
votes
1
answer
2k
views
DNS hoster works strange or does not work, how to check?
Hoster together with the server provides its own DNS servers.
On the physical server with the host's DNS the resolver works, but when I install the KVM / QEMU virtual server with the same DNS host - ...
0
votes
0
answers
42
views
is tomcat 9.0.7 a Genuine version?
I want to make sure is Tomcat 9.0.7 a Genuine version or no?
I have downloaded 9.0.7 from the below link
https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.7/bin/
0
votes
1
answer
837
views
Nginx 502 error on Incognito Mode
I am getting a weird problem with my NGINX server. The website opens up and is functional while browsing off Incognito, but for any new browser/session, I am getting the NGINX 502 Bad Gateway error. I ...
9
votes
2
answers
10k
views
‘ls’ terminated by signal 13 when using find command [duplicate]
so I'm attempting to run a script which searches the contents of df -h for a directory that exceeds threshold, and basically run a find command on that directory to get the top ten largest files, then ...
2
votes
2
answers
706
views
How do I get grep to search for any number I put in the variable?
So at the beginning of my script, I am defining "threshold," which has a number that isn't going to exist in the next part, (2) and a number that will exist in the next part (6). I'm having the result ...
0
votes
0
answers
32
views
lossing memory after running series of queries over and over
I have sql script that contains CREATE TEMPORARY TABLE, INSERT INTO...SELECT, DROP TEMPORARY TABLE. As I run this script over and over, my used memory (RAM) increases until an error says MySQL server ...
0
votes
2
answers
5k
views
How to run a powershell script on Amazon EC2 instance at Startup?
I have to think this is a solved issue but I am just not getting it to work. So I have come to you StackOverflow with this issue:
I have a windows server 2016 machine running in amazon ec2. I have a ...
0
votes
1
answer
2k
views
Laravel storage directory access issue
I have a problem: my data files are not available from /storage directory (Laravel's default storage directory) on real server, them return 404 missing file error. On my local server they are ...
0
votes
1
answer
606
views
Phalcon - undefined symbol: zend_hash_str_del
i already compiled Phalcon framework (version 2.1) for php 5.6 and if i allow the framework in php.ini i got this message.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/...
1
vote
1
answer
45
views
Moving Vobs between Win and AIX
Prior to upgrading UCM from 7.1.2.6 to 8.x we need to amalgamate the vobs on a windows server to a common vob sever on aix.
However it appears we have a bit of a Siamese twin set up that from the ...
2
votes
2
answers
4k
views
Displaying Custom message in Linux when an user logs in
I have a Linux server running SSH service. I have a custom message which needs to be displayed when an user logs in using putty.
The required screenshot is attached here
Can any one tell me how to ...
0
votes
1
answer
733
views
PHP _FILES array and SELinux - forbidden file access
I have this issue with PHP and SELinux on Red Hat Enterprise Linux (RHEL) for AWS. When I use _FILES array to get the file (jpg) from POST, it makes the SELinux type to be user_tmp_t instead of ...
-1
votes
2
answers
168
views
What consumes memory in linux [closed]
I use atop cmd to check memory usage.
on the screenshot use can I see I have 1gb total, and 300mb free.
how do I found out what consumes other ~700mb?
I tried to use atop cmd, but that doesn't give me ...
-1
votes
1
answer
1k
views
Making su non-interactive
I was in need of a script to perform certain actions remotely using python and paramiko. I performed sudo operations in remote machine using
'echo '+password+' | sudo -S '+'cmd_to_be_executed'
and ...
1
vote
1
answer
192
views
Migrating UCM Clearcase to new Server
As part of an infrastructure upgrade we are Upgrading our instance of UCM clearcase and moving to new servers.
We currently have an Admin PVOB and all the project PVOBS are linked to the Admin Pvob ...
1
vote
1
answer
471
views
Prevent Work Item from being deleted in TFS 2015-2017
I am administering a TFS 2015 server, soon to be upgraded to 2017.
Is it possible to prevent a work item from being deleted?
Early versions of TFS did not allow deletion - So is there any config or ...
3
votes
1
answer
1k
views
Can I safely enable HTTP/2 on a server shared with non-SSL/TLS websites?
I manage a server (hosted VPS) that we use as a shared hosting environment for sites we build for our clients. All new sites we build going forward will be running on HTTPS, but most of the older ...