Wednesday, 25 September 2019

[SOLVED ] -- Linux Ubuntu Xenial - kernel panic - not syncing : VFS : Unable to mount root fs

#Seen below , ID for recent Kernel = 4.4.0-164-generic , which is the Kernel which was being auto-updated by the GUI , its labeled as NOT TAINTED , this i need to check further - whats with the NOT TAINTED ? 
#
 
 kernel panic - not syncing : VFS : Unable to mount root fs on unknown-block(0,0)
CPU: 1 PID : 1 Comm: swapper/0 not tainted 4.4.0-164-generic #192-Ubuntu
Hardware name : Apple Inc. MacbookPro5.5/Mac-F2268ACB , BIOS MBP55.88Z.00AC.B03.0906151708 06/15/09

Call Trace :
dump_stack*0x63/0x82
panic+0xd3/ 


Solved by hard shutdown , again started and got into the GNU GRUB menu - the screen with the prompt == grub> 
This was the wrong place to be - thus == grub> normal ... and yes now back to the GRUB MENU.
#
Here  2 Kernels listed - 1/  4.4.0-164-generic , with (upstart) and (recovery mode),     2/ 4.4.0-31-generic , with (upstart) and (recovery mode)

Went ahead and chose -
4.4.0-31-generic , did not use a live disc or usb to boot back in , as of now all systems - Go !! lets see what else is required ...


#Further reading ....
SPECIAL CASE --- User Created OWN CUSTOM KERNEL --- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1653636

Monday, 23 September 2019

[SOLVED] -- UBUNTU Xenial on a MacBook Pro - E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

# New Ubuntu Xenial , installed on a Macbook - need to get VSCode n Git etc ..
# Ubuntu installer/updater has Locked the LOCK ....details as below


E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
#
$ ps aux | grep -i apt
root      2340  0.0  0.0   4508  1780 ?        Ss   11:13   0:00 /bin/sh /usr/lib/apt/apt.systemd.daily
root      4060  0.1  0.9 227196 34564 ?        SNl  11:15   0:00 /usr/bin/python3 /usr/sbin/aptd
dhankar   4729  0.0  0.0  21292   944 pts/2    S+   11:21   0:00 grep --color=auto -i apt

#
$ sudo kill -9 2340
$ ps aux | grep -i apt
root      4060  0.2  2.8 298996 106788 ?       SNl  11:15   0:02 /usr/bin/python3 /usr/sbin/aptd
dhankar   5223  0.0  0.0  21292   980 pts/2    S+   11:32   0:00 grep --color=auto -i apt
$ sudo kill -9 4060
$ ps aux | grep -i apt
dhankar   5233  0.0  0.0  21292  1060 pts/2    S+   11:33   0:00 grep --color=auto -i apt
$ sudo kill -9 5233
$ ps aux | grep -i apt
dhankar   5254  0.0  0.0  21292   924 pts/2    S+   11:33   0:00 grep --color=auto -i apt
### Seen above ---ps aux ---- will also pick my own GREP of APT and display ... which is ok
#
#
$ sudo apt install git
Reading package lists... Done
Building dependency tree      


Monday, 16 September 2019

MySQL Dump to be taken before i Upgrade mySQL and / or CreateDb's/ tables for a New Django project

#Own mySQL Version
$ mysql –version         mysql  Ver 14.14 Distrib 5.7.27

$ sudo mkdir -p /var/run/mysqld
$ sudo chown mysql:mysql /var/run/mysqld
$ cd /var/run/mysqld
 :/var/run/mysqld$ ls -ltr
# Seen below result of $ ls -ltr

# We can notice the last line of the command $ ls -ltr , or we can make life easier and do a grep 

:/var/run$ ls -ltr | grep mysqld

drwxr-xr-x  2 mysql         mysql           40 Sep 16 18:50 mysqld

# Thus , it shows that within the directory -  /var/run/ , there has been created a directory named - mysqld - which is owned by - mysql 

# Also the    /var/run$ ls -ltr --human-readable | grep mysqld
drwxr-xr-x  2 mysql         mysql           40 Sep 16 18:50 mysqld
# Output will be same ...



Friday, 2 August 2019

DARK DATA --- Structured / Unstructured {CONFUSION}

According to SPLUNK - "Dark data is all the unknown and untapped data across your organization, generated by systems, devices and interactions. Dark data can be any kind of data. It can be a log file from a website, server, network or application."


So all dark data is unstructured data, but not all unstructured data is dark data.

WHY ??? So ... arent Website Logs Structured DATA ?? 


 

Sunday, 12 May 2019

"Augmented Analytics Is the Future of Data and Analytics” Source - Gartner

"Augmented Analytics Is the Future of Data and Analytics” Source -  Gartner

So what exactly is - "Augmented Analytics " , lets explore :-


    Augmented analytics: This technology includes ML-enabled analytics and BI in all phases of the analytics workflow, from data preparation to data modeling and insight generation.

Megavendors and startups alike continue to execute on their augmented analytics roadmaps, but at different paces and with differing degrees of sophistication and innovation.

For example, augmented alerting and anomaly detection are new trends in augmented analytics, with only a few smaller vendors offering these at present.

Although augmented analytics is not yet attracting mainstream buying activity, it remains a transformative differentiator that commands higher prices (see “Augmented Analytics Is the Future of Data and Analytics”). In addition, customers who were early to adopt visual-based discovery now face a proliferation of data and user-created analyses. As they mature their analytics, these customers are anxious to embrace this next wave of disruption.

Further, customers who were late to modernize their traditional BI platforms are asking if they can simply skip ahead to augmented analytics. SOURCE -- GARTNER

Saturday, 9 March 2019

$ cd /var/log/nginx/
$ nano access.log.1


202.111.175.134 - - [08/Mar/2019:22:38:12 +0530] "GET /phpmyadmin/scripts/setup.php HTTP/1.1" 404 152 "-" "ZmEu"
202.111.175.134 - - [08/Mar/2019:22:38:12 +0530] "GET /phpMyAdmin/scripts/setup.php HTTP/1.1" 404 152 "-" "ZmEu"
202.111.175.134 - - [08/Mar/2019:22:38:12 +0530] "GET /MyAdmin/scripts/setup.php HTTP/1.1" 404 152 "-" "ZmEu"
202.111.175.134 - - [08/Mar/2019:22:38:12 +0530] "GET /w00tw00t.at.blackhats.romanian.anti-sec:) HTTP/1.1" 404 152 "-" "ZmEu"
202.111.175.134 - - [08/Mar/2019:22:38:12 +0530] "GET /myadmin/scripts/setup.php HTTP/1.1" 404 152 "-" "ZmEu"
202.111.175.134 - - [08/Mar/2019:22:38:12 +0530] "GET /pma/scripts/setup.php HTTP/1.1" 404 152 "-" "ZmEu"
78.189.117.62 - - [08/Mar/2019:23:07:25 +0530] "GET / HTTP/1.0" 200 612 "-" "-"
185.53.91.24 - - [08/Mar/2019:23:18:39 +0530] "GET /admin/config.php HTTP/1.1" 404 152 "-" "python-requests/2.21.0"
117.2.215.25 - - [08/Mar/2019:23:33:53 +0530] "GET / HTTP/1.0" 200 612 "-" "-"
82.79.29.162 - - [08/Mar/2019:23:37:10 +0530] "GET / HTTP/1.0" 200 612 "-" "-"
201.220.66.230 - - [08/Mar/2019:23:39:42 +0530] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Ge$
123.191.159.178 - - [09/Mar/2019:00:10:22 +0530] "\x16\x03\x01\x00\xF2\x01\x00\x00\xEE\x03\x03\x5C\x82\xB6\xFB=Q\x93z(8\xF5U\xA9\x91CQ\xFD\x5CM\xD6\x$
182.101.49.220 - - [09/Mar/2019:00:10:23 +0530] "GET / HTTP/1.1" 200 396 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
114.27.84.59 - - [09/Mar/2019:00:36:27 +0530] "GET / HTTP/1.0" 200 612 "-" "-"
5.189.188.237 - - [09/Mar/2019:00:43:08 +0530] "HEAD / HTTP/1.1" 200 0 "-" "Python-urllib/2.7"
113.170.127.93 - - [09/Mar/2019:00:48:50 +0530] "GET / HTTP/1.0" 200 612 "-" "-"
45.230.103.148 - - [09/Mar/2019:01:01:30 +0530] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KH$
40.89.170.0 - - [09/Mar/2019:01:05:32 +0530] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko$
185.53.91.24 - - [09/Mar/2019:02:16:47 +0530] "GET /admin/config.php HTTP/1.1" 404 152 "-" "python-requests/2.21.0"
211.75.136.156 - - [09/Mar/2019:02:20:39 +0530] "GET / HTTP/1.0" 200 612 "-" "-"