Running Google Chrome on Ubuntu 12.04 64 bit - google-chrome

I have successfully installed right version of Chrome from here:
https://www.google.com/intl/en/chrome/browser/
However, when I am trying to open it via the terminal I get the following error:
labsPC:~$ google-chrome-stable
[26712:26712:0916/155253:ERROR:process_singleton_posix.cc(264)] Failed to create /home/invictuslabs/.config/google-chrome/SingletonLock: File exists
[26712:26712:0916/155253:ERROR:chrome_browser_main.cc(1155)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
What should I do? Thanks.

Related

how to make local mysql connection open at the start of computer(windows)?

am trying to create an standalone desktop application in flutter which uses mysql as local database.
my problem is when i need to use database from my application i need to open mysql command line client and enter my password to start service( or open connection).
In simple term whenever i open my desktop application mysql should be ready to use. how can i achieve this?
I have tried starting mysql as windows service . Is it the answer which i should follow?
I followed it. But it didn't work for me..
during installation of mysql in windows you'll get the option to start mysql as windows service. if you don't get you can follow starting myswl as windows service.
after this step open mysql installer-community from searchbar.
Look for "MySQL server" and click on Reconfigure
Click on "Next" until you reach the "Authentification Method" page
On the "Authentification Method" page check the second option "Use Legacy Authentication Method"
Then follow the steps given by the Windows installer until the end.
now you could directly connect to database and perform actions without creating it's local instance or without even opening mysql command line client or workbench.

Chromium ProcessSingleton

I just got a question recently about how to run chrome or chromium on our school machine (Ubuntu 16.04).
The machine is configured to mount user home folder via samba server with 700 permission. (I think it causes the problem of executing chrome)
When I execute the chromium-browser from terminal
chromium-browser
[26686:26686:1023/143803.603878:ERROR:process_singleton_posix.cc(278)] Failed to create /home/NETID/kharam/.config/chromium/SingletonLock: Operation not supported (95)
[26686:26686:1023/143803.603961:ERROR:chrome_browser_main.cc(1639)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
I've tried to run chromium on the local account, and it ran.
Is there possible solution??????????
Thank you

Chrome Extension: Failed to start native messaging host

I'm developing a Chrome extension using Native Messaging technology.
The extension works but on some PC I get an error:
Failed to start native messaging host
Some (not all) of those PCs are running Windows 7 and Windows XP:
Windows 7: the PC has a lock icon on the user folder C:\Users. I can fix it as per the tutorial and restart the PC to make my extension work.
Windows XP: I have not found any solution for this error.
According to nativeMessaging documentation I think the problem is related to filesystem security permissions of chrome.exe file and native host application file.
I've asked many times about this problem on other groups and searched on google but haven't found a solution.
How to check the permissions of chrome.exe file or native host application file are okay?
Any other way to solve this problem?
Xan comment is correct. --enable-native-messaging not needed.
Udpated:
Finally, this answer Failed to start native messaging host on Windows, "COMSPEC is not set" hellped me.
Need add ComSpec in System variables.

"Fail to execute ES search request" popup alert in SonarQube web UI after upgrading from 4.5.1 to 5.1

when I click on an issue in SonarQube web UI to see details, I get this red popup:
Fail to execute ES search request
'{"size":1000,"query":{"bool":{"must":[{"term":{"fileUuid":"9c1ae181-f5c3-47da-8fad-3716aca54b6d"}},{"range":{"line":{"from":1,"to":1000,"include_lower":true,"include_upper":true}}}]}},"sort":[{"line":{"order":"asc"}}]}'
on indices '[sourcelines]' on types '[sourceline]'
and the source code or issue details are not shown.
we started getting this after upgrading from Sonar 4.5.1 to 5.1
I stopped the sonar server, deleted SONAR_QUBE/data/es folder, restarted the process and I see these messages in log:
es[o.e.c.r.a.decider] [sonar-1431655214631] low disk watermark
[15%] exceeded on [1rprlr2pTS2zotdYv71GkQ][sonar-1431655214631] free:
534.3mb[13.2%], replicas will not be assigned to this node
I suppose this may be related, but not sure if these "replicas" have anything to do with "indices"...
I solved this by rebuilding Elastic Search indices:
Stop your SonarQube server
Remove the contents of the $SQ_HOME/data/es directory
Start the server
SonarQube will recreate indices on startup.

running activator h2-browser can not successfully open H2 browser

I'm running activator h2-browser command in a ubuntu 14.04 system in a directory containing associated files of a play framework project. when that command is executed my web application is running on localhost:9000. after running activator h2-browser in the root directory of my project I get the following message in terminal:
[info] Loading project definition from /XXXX/project
[info] Set current project to XXXX (in build file:/XXX/)
TCP server running at tcp://127.0.1.1:9092 (only local connections)
PG server running at pg://127.0.1.1:5435 (only local connections)
Web Console server running at http://127.0.1.1:8082 (only local connections)
after executing that command 127.0.1.1:8082 is opened. I expect to see the h2-browser but actually I get The connection was reset on firefox.
how can I possibly fix it?
Mine worked just as said in documention:
You can browse the contents of your database by typing h2-browser at the play console. An SQL browser will run in your web browser.
To get into play console, I tried activator first and then at the prompt, entered h2-browser.
Running activator h2-browser
has the same effect for me as for the OP. I also tried following the statement on the documentation, so I tried to get into play console by typing "activator", but that seems to start the application and leaves me with three [info]s, the last being
a.e.s.Slf4jLogger - Slf4jLogger started
and no way to enter h2-browser.
Edit: The answer was already posted here! Continuous mode did it for me.