Where or how to specify log file in barracuda webserver? - embedded-linux

I have a realtimelogic's Barracuda application Server hosted on a m68k based embedded linux system.
When i enable https in it, i get exception and it kills the application. I would like to know where the exceptions will be logged in a barracuda webserver.

The file name is Httptrace, and it should be created in the current directory of the server?

Related

IIS is throwing HTTP Error 500.0 - IsapiModule

I've created one VM windows 2016 on Azure and installed Weblogic 12.2.1.3 and SQLServer2016.
Deployed an ear file and can get to the application login page.
I've configured IIS with this my application to have https url. I followed everything that we usually do on our on premises servers but I'm getting a weird error. Does anybody can help me please?
According to your description, I suggest you could try to use below steps to solve this issue.
1.Ensure that the path to the ISAPI DLL is correct
Open the IIS mangement console and locate the web sites and find the hanlder mapping feature.
Then you find the myapp_iisproxy handler in it and check the executable's path is right or not.
2.Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
3.Verify permissions for the DLL. Make sure your application has the permission to access the dll file.

Secure windows service config file

I have a windows service with an accompanying config file. The service is going to be installed on a bunch of lab computers and monitor things such as diskspace, network connectivity, logins, etc.
After a set interval, it will report the statistics to a Database. In order to connect to the DB, I currently have the application user's name and password stored in the connection string, which can be found in the config file.
What's the best way to secure this, such that regular users cannot access it? We do a similar thing here with our webapps using the Web.config, and we have IIS setup such that people can't browse into the directory and read it.
Is there a best practice to securing a config file stored locally on each machine for a windows service?
Use the same method that you would use for web.config
1- Go to the windows service folder, where configuration file is located
2- Rename the config file to web.config (back it up first)
3- Execute:
c:\Windows\Microsoft.NET\Framework64\[the asp versino]\aspnet_regiis.exe -pef "[name of the config file to encrypt]" .
4- Rename the web.config back to the original name
More info here
https://msdn.microsoft.com/en-us/library/zhhddkxy.aspx

No response, while connecting to the database

I am using H2 for a Java Swing desktop application.
I cannot able to connect to the database, only in the server mode.
URL is : jdbc:h2:tcp://115.241.34.158:9092/Lion/Companies/1(2012-2013)/1(2012-2013);DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=5;IFEXISTS=TRUE
The system, simply hangs, while giving java.sql.DriverManager.getConnection(url, userName, password);
Not throwing any exception (or) any messages.
It works fine, in single user mode. (without server)
What will be the possible solution ?. Please advice.
Thanks and regards,
I.Murugesan
If you start the TCP server without base directory, then you should use a different database URL. The following database URL
jdbc:h2:tcp://115.241.34.158:9092/~/Lion/Companies
means the database file Companies.h2.db is stored in the directory Lion within the current user home directory. But if you use
jdbc:h2:tcp://115.241.34.158:9092/Lion/Companies/1(2012-2013)/1(2012-2013)
then the database file 1(2012-2013).h2.db is stored in the directory Lion/Companies/1(2012-2013) relative to the current working directory. And the working directory depends on where you have started the TCP server.

How to protect (or lock) Apache Server folder in Windows 7

I am running PHP 5 and MySQL with Apache 2 in my Windows 7 PC. Everything (in localhost) is working fine and the localhost is defined in port 80 (It works!). But I would like to password protect (or lock) and hide server folder including htdocs. I mean, I don't want want another user to access the server folder and files. I know that I can remove installation information from add/remove programs menu by removing registry entries (hope it won't affect the server framework). But how can I prevent the users from accessing the server folder? The server folder is a master folder, in which I installed Apache, PHP and MySQL. I made it in C: drive(to ensure security). I want to lock the master folder (password protected). Only I should have the access to them (my friends use my PC). But the content (localhost) should be delivered (I mean the pages should come, along with PHP and MySQL) for everyone. Only a single user account is there (Admin).
How can I lock and hide my folder while running server silent/hidden. Is this possible with or without any software?
http://www.devside.net/articles/windows/password
http://www.brandx.net/support/buildingwebsites/passwords.shtml
http://www.thesitewizard.com/apache/password-protect-directory.shtml
Implement User/Password-protected Directories for Apache Server

how do i run appliaction as service in windows

i created a ruby application and its working fine but when i run it as service it giving trouble. actully i have mysql as a databse in my application and i am using it to store only name of the file and placing the physical file on sambha server now when i run my applioaction as as service it's not able to find the path of sambha server... any hlep...
What user account is running the service? Windows defaults to using the local SYSTEM account, which cannot/should not access the network. If you change the service to run under the "Network Service" or a specific user account, it may succeed.

Resources