Cannot write logs - azure

I created a new Centos 6.5 VM in Azure and had RethinkDB running within a few minutes, which is great! However, I've been in the "Data Explorer" web interface and playing with ReQL queries for a while and suddenly I got an issue: "Cannot write logs" "File cannot be written on server xxx" "Log file is inaccessible on server xxx". I'm relatively new to Linux and hoping someone has previously resolved this.
To my surprise, the only reference to this error on the web is an issue on the RethinkDB repo: https://github.com/rethinkdb/rethinkdb/issues/2488 which doesn't really provide a solution, as far as I can see.

Try
sudo chmod -R uog+rw /var/lib/rethinkdb/*
If it doesn't work, try to just start rethinkdb from the command line to see if you still have the same issue.

Related

Error while using mongoose.I am not able to run my code and i have no idea how to get mongod services running

enter image description here
I am repeatedly getting this error while running my code.I googled it and it had something to do with mongod services not running but i dont know how to get the services started.
Your MongoDB database is most likely not running, from the path mentioned in your error, I am assuming you are running on Windows, I suggest you follow this guide: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/#create-database-directory
You are going to have to create the data directories then start the database through your terminal.

Burp Suite Professional Error Failed to connect to 127.0.0.1:80

I am completely new to burp suit and dvwa as well, I have one task into my plate to execute, that is security testing, I have invested today entire day to collect data and watch videos and to apply the same to my assigned task, which is not successful yet so I finally take a step to ask you guys for help. I hope someone will help out on my below queries and issues which I am facing now, Thanks in advance.
I have installed DVWA on my windows 7 machine, updated properly in a config file, not from the command prompt, and run Apache and SQL properly in XAMPP control panel but when I try to execute it's redirecting to http://127.0.0.1:8080/dvwa/setup.php And when I try to click on Create/Reset database I got this error
"Could not connect to the MySQL service.
Please check the config file."
"Your database user is root, if you are using MariaDB, this will not work, please read the README.md file."
Please note: I didn't use "MariaDB"
One more thing I am facing an issue here, If I run BurpSuit then it is not opening http://127.0.0.1:8080/dvwa/ getting an error: "Burp Suite Professional Error Failed to connect to 127.0.0.1:80" last 8080 it is taking 80 only.
Please help me out how to resolve this.

Navicat Essentials Mac Database list

I have been using Navicat Essentials for some time and all worked well.
Today I opened Navicat and it gave me a message and asked me to download again from App Store. Which I did.
Now I am able to connect with the root user but it does not show me any databases. Everything is on localhost. If i connect from the terminal using the same root user - i can see all the databases. Mysql is running on localhost and terminal connection works well.
In Navicat the only thing that I am seeing is infomarmation_schema. No other databases are coming up.
It is not a privileges issue. I already checked that. The root user has all the privileges defined in Navicat.
Has someone seen anything like this before and can help with whats going on here.
Thanks,
Deepinder
I am posting an answer to my own question. I downloaded Mysql Workbench and when I tried to connect from there - it gave me an error.
Table 'performance_schema.session_variables' doesn't exist
I searched on this and got the solution -
mysql_upgrade -u root -p --force
Then restart mysql server and everything works. I can see the list of databases in Navicat now.
Thanks

MongoDB out of the box: not authorized for insert (Windows 7)

I've been following along with the actual MongoDB docs here
as well as several tutorial articles that are getting me absolutely nowhere.
Running a 64bit windows OS (which is a work computer, and my particular windows login is not an administrator login.. so I make sure to open any exe files as administrator). I can't do anything in the terminal beyond "mongo" or "use [db name]".
I cannot save or add anything like db.testData.insert( j ). Even typing "show dbs", I get an error that says
listDatabases failed:{ "ok" :0, "errmsg" : "unauthorized" } at src/mongo/shell/mongo.js:46
With every example I've followed, I can never seem to be "authenticated" to get past point A. Please help me! I have no idea what I'm doing wrong at this point.
UPDATE:
Sorry for the confusion, everyone. The problem turned out to be that I had an old MongoDB service still running in the background that I needed to disable.
The service must have been turned on while I was testing out some node packages or something. Once I disabled the service, everything started working as expected.
So for those of you who are having trouble, make sure you open up services.msc and make sure nothing is running MongoDB
As there isn't a formal installer for Windows, I'd recommend you delete the data folder and restart. Out of the box, there is no security in MongoDb, so you've followed a step which later requires a password. Either retrace your steps, or start over.
You don't need to switch to the admin Database. I'd suggest you instead switch to a test database for example:
> use test
switched to db test
By default, without extra configuration, on Windows you can delete the contents of c:\data\db when MongoDb isn't running (but if you're using a configuration file that specifies the dbpath, delete the contents of that folder).
There are a number of tutorials with details of how to configure users/security with Mongodb that you may want to read after you've resolved this issue.
There's little reason to create users and administrative control with MongoDB until you gain some experience with the platform. In fact, I wouldn't recommend it at all. It just gets in the way as you're seeing for no real gain.

Cannot connect with FreeNX to Ubuntu ec2 instance

I have recently spun up a new Ubuntu 12.04 instance in AWS. I had no issues connecting to and opening an SSH terminal to the server. Having connected to the instance, I was able to install the Ubuntu desktop and FreeNX without any problem, as well as enabling password authentication on the server instance.
I downloaded and installed the NX Client for Windows on a PC running Windows 8. After entering the user credentials I can connect to and authenticate into the server. I'm brand new to the Linux world, but at this point everything was going so smoothly I was about ready to throw my Windows licenses to the dogs - good thing I held off on that.
"Problem: At the client, the !M logo window appears, but after a few seconds that window just closes, even without showing any error message."
That problem statement is in quotes because it's precisely the issue described in FreeNX Ubuntu Community support documentation https://help.ubuntu.com/community/FreeNX#Troubleshooting.
So naturally I follow the solution in the guide:
"Solution: The issue is due custom VNC configuration. In the server, access your home directory and run these commands,"
sudo rm .Xauthority*
touch .Xauthority
chmod 600 .Xauthority
Unfortunately, this did absolutely nothing to resolve the issue. The problem would be easier to diagnose if I had an error message, but reference the Problem statement, there is no error message to be had. Several hours of googling yielded nothing, so wondering if anyone here has encountered this problem in the past, and if so, they would be willing to help.
Thanks!

Resources