palaniyappanBala / opendlp

Automatically exported from code.google.com/p/opendlp
0 stars 0 forks source link

Issue with URL display after reboot #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create profile, start scan
2.Reboot the machine from which you configured profile and ran scan
3.After reboot when you connect back to the OpenDLP link you cant see created 
profile or any running Scans

What is the expected output? What do you see instead?
Even after reboot you should be able to see the profiles created as well as any 
scans completed and currently running on the system.

What version of the product are you using? On what operating system?
0.4

Please provide any additional information below.
This behaviour has been observed many time. I connect to the URL, configure 
profile and run scan. I can see all the newly created profile and scans 
running. When i reboot my personal machine and then later connect to the URL, 
it does not display the profiles created or any scans which are 
running/completed. Its a new slate again.

Original issue reported on code.google.com by softhear...@gmail.com on 13 Feb 2012 at 9:14

GoogleCodeExporter commented 9 years ago
That is very strange. Based on what you describe, it seems your VM is opening 
as read-only. I have repeatedly rebooted my OpenDLP VM (and the underlying 
operating system) and haven't experienced this.

I have some questions:

1. Are you using OpenDLP 0.4 or the latest version, which is 0.4.3?
2. What version of VirtualBox are you using, or are you using VMware?
3. What is your underlying operating system (Windows, Mac, Linux)?
4. If you look at the tables on the OpenDLP VM, do you see data in them?
4a. Run this command from a prompt inside the OpenDLP VM: mysql -u OpenDLP -p
4b. Type your MySQL password, which by default is: OpenDLPpassword
4c. Type: use OpenDLP;
4d: Type: select * from profiles;

Original comment by andrew.O...@gmail.com on 13 Feb 2012 at 11:29

GoogleCodeExporter commented 9 years ago
Hi Andrew,
First of all thanks for such a quick reply. Yes i am using the latest 0.4.3 
version of OpenDLP. I am using Virtual box and the VM provided. The underlying 
OS is Windows 2008. 
After running the command i can see the profiles. I guess i have understood the 
issue. Here is what happened.
1/ I changed the default password for mysql root and OpenDLP account
2/ After changing the password when i logged in to the URL it did not show me 
any profiles nor any scans that were completed/running
3/ So i again changed back their password to the defaul one
4/ Now i can see the profiles as well as the scans.

So it seems to be the issue with changing the default passwords. Please let me 
know how i can work on this, we would need to change the default password for 
these accounts as they store the profile information in clear text.

Thanks.

Original comment by softhear...@gmail.com on 13 Feb 2012 at 2:37

GoogleCodeExporter commented 9 years ago
Thanks for looking into this. All you have to do is edit the following file and 
you should be fine: /var/www/OpenDLP/web/etc/db_admin

The password is the string after the colon.

Original comment by andrew.O...@gmail.com on 13 Feb 2012 at 2:44

GoogleCodeExporter commented 9 years ago
I have changed the password in the file mentioned. Do i need to reboot the VM 
or MySQL instance?
As when i run the  mysql -u OpenDLP -p command it is still using the old 
password - OpenDLPpassword

Original comment by softhear...@gmail.com on 13 Feb 2012 at 2:53

GoogleCodeExporter commented 9 years ago
I got a bit confused when you said this:

1/ I changed the default password for mysql root and OpenDLP account

Where did you change this password? I assumed you already changed it
inside MySQL and just needed to change it for the web application.

Original comment by andrew.O...@gmail.com on 13 Feb 2012 at 8:17

GoogleCodeExporter commented 9 years ago
Yes i had changed the root and OpenDLP password in mysql but reverted back as 
the web application did not work.

If not wrong i should change the password in the Mysql and then provide same 
new password in the /var/www/OpenDLP/web/etc/db_admin file. This should make it 
all work.

Will update once i do it.

Thanks Andrew.....really very helpful.

Original comment by softhear...@gmail.com on 14 Feb 2012 at 7:22

GoogleCodeExporter commented 9 years ago

Original comment by andrew.O...@gmail.com on 22 Feb 2012 at 7:32

GoogleCodeExporter commented 9 years ago
Thanks Andrew.

Will check.

Original comment by softhear...@gmail.com on 23 Feb 2012 at 7:09