#StackBounty: #recovery-mode #installation #system-error Error after error in booting and in recovery mood

Bounty: 50

My tablet brand is ASUS and its android’s version is 5.0.1. It shows many error likes Unfortunately com.android.setings has stopped, Unfortunately UI has stopped, Unfortunately Launcher has stopped frequently. Sometimes when I restart it, it doesn’t show my desktop. Also its reset to factory doesn’t works properly (it just reset the time of tablet).

I have cleared the cash and data of setting but errors persists.

So I decided to recover my android. After holding power button and + volume, I chose recover option and it got to the recovery page. after 5-7 second the error appeared with death android icon and just the word “error” as its caption.

How to recover my android? what files I need? What is the adb?

Notice that my (android of) tablet is not longer supported by ASUS Inc. Also I have reset my android to factory setting 1 month ago successfully.


Get this bounty!!!

#StackBounty: #python #linux #bash #installation Make Python script combined with linux packages easy installable for end-user

Bounty: 50

I wrote a python script that uses numpy, multiprocessing, tqdm and a feq other Python libraries. Additionally, I run packages (e.g. samtools, bwa, GATK) set are necessary to be installed in linux (apt-get install).

I’d like to somehow wrap all these dependencies up to make the final installation as user-friendly and stable as possible.

It seems as pip is not an option here as non-python-packages are included for my example.

Maybe Docker or creating a conda environment with all these dependecies might be possible but I did not really get how to manage this.


Get this bounty!!!

#StackBounty: #python #installation #anaconda #virtualenv Moving Anaconda installation from one user account to another

Bounty: 100

I apologize if this is not the correct site for this. If it is not, please let me know.

Here’s some background on what I am attempting. We are working on a series of chat bots that will go into production. Each of them will run on a environment in Anaconda. However, our setup uses tensorflow, which uses gcc to be compiled, and compliance has banned compilers from production. In addition, compliance rules also frown on us using pip or conda install in production.

As a way to get around this, I’m trying to tar the Anaconda 3 folder and move it into prod, with all dependencies already compiled and installed. However, the accounts between environments have different names, so this requires me to go into the bin folder (at the very least; I’m sure I will need to change them in the lib and pckg folders as well) and use sed -i to rename the hard coded paths to point from home<dev account>anaconda to home<prod account>anaconda, and while this seems to work, its also a good way to mangle my installation.

My questions are as follows:

  1. Is there any good way to transfer anaconda from one user to another, without having to use sed -i on these paths? I’ve already read that Anaconda itself does not support this, but I would like your input.
  2. Is there any way for me to install anaconda in dev so the scripts in it are either hard coded to use the production account name in their paths, or to use ~.
  3. If I must continue to use sed, is there anything critical I should be aware of? For example, when I use grep <dev account> *, I will some files listed as binary file matches. DO I need to do anything special to change these?

And once again, I am well aware that I should just create a new Anaconda installation on the production machine, but that is simply not an option.

Edit:
So far, I’ve changed the conda.sh and conda.csh files in /etc, as well as the conda, activate, and deactivate files in the root bin. As such, I’m able to activate and deactivate my environment on the new user account. Also, I’ve changed the files in the bin folder under the bot environment. Right now, I’m trying to train the bot to test if this works, but it keeps failing and stating that a custom action does not exist in the the list. I don’t think that is related to this, though.

Edit2:
I’ve confirmed that the error I was getting was not related to this. In order to get the bot to work properly with a ported version of Anaconda, all I had to change was the the conda.sh and conda.csh files in /etc so their paths to python use ~, do the same for the activate and deactivate files in /bin, and change the shebang line in the conda file in /bin to use the actual account name. This leaves every other file in /bin and lib still using the old account name in their shebang lines and other variable that use the path, and yet the bots work as expected. By all rights, I don’t think this should work, but it does.


Get this bounty!!!

#StackBounty: #oracle #oracle-12c #installation Oracle SQLPLUS: ORA-12547: TNS:lost contact

Bounty: 100

This is a total rewrite of the previous post, where people suggested to start from scratch protocoling my actions.

  1. I used How to install Oracle 18c (Enterprise Edition) on Ubuntu 18.04?
    4-step guide + 1-step for troubleshooting.

  2. My machine is Ubuntu 18.04 (amd64) and distributive 18.3 Linux x86-64 downloaded from here. The distributive is run via ./runInstaller. On top of that I Inserted example database LINUX.X64_180000_examples.zip.

  3. Environmental variables:

    #ORACLE 
    export ORACLE_BASE=/oracle18c/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/18.0.0/dbhome_1
    export PATH=/usr/sbin:/usr/local/bin:$PATH
    export PATH=$ORACLE_HOME/bin:$PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib
    export ORACLE_LIBPATH=$ORACLE_HOME/lib
    export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$CLASSPATH
    export ORACLE_HOSTNAME=$HOSTNAME
    export ORA_INVENTORY=/oracle18c/app/oraInventory
    export DATA_DIR=$ORACLE_BASE/oradata
    export TNS_ADMIN=$ORACLE_HOME/network/admin
    export ADR_HOME=$ORACLE_BASE/diag
    #--------------------------------------------------------------------
    export ORACLE_SID=orcl
    export ORACLE_UNQNAME=orcl
    export PDB_NAME=pdb
    export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
    #--------------------------------------------------------------------
    export TMP=/tmp; export TMPDIR=$TMP; export TEMP=$TMP
    
  4. Listener status:
    oracle@sergey-Bionic:~$ lsnrctl status
    
    LSNRCTL for Linux: Version 18.0.0.0.0 - Production on 25-APR-2019 17:35:43
    
    Copyright (c) 1991, 2018, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=sergey-Bionic)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 18.0.0.0.0 - Production
    Start Date                25-APR-2019 16:50:53
    Uptime                    0 days 0 hr. 44 min. 49 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /oracle18c/app/oracle/product/18.0.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /oracle18c/app/oracle/diag/tnslsnr/sergey-Bionic/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sergey-Bionic)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    The listener supports no services
    The command completed successfully
    oracle@sergey-Bionic:~$ ss -elpunt | grep -E "^Net|tnslsnr"
    Netid  State    Recv-Q   Send-Q      Local Address:Port      Peer Address:Port                                                                                  
    tcp    LISTEN   0        128                     *:1521                 *:*      users:(("tnslsnr",pid=3394,fd=8)) uid:54321 ino:39696 sk:12 v6only:0 <->       
    oracle@sergey-Bionic:~$ 
    
  5. The error is still the same:
    oracle@sergey-Bionic:/$ strace -f -o /tmp/strace.log $ORACLE_HOME/bin/sqlplus /nolog
    
    SQL*Plus: Release 18.0.0.0.0 - Production on Thu Apr 25 18:02:09 2019
    Version 18.3.0.0.0
    
    Copyright (c) 1982, 2018, Oracle.  All rights reserved.
    
    SQL> connect sys/oracle18c as sysdba;
    ERROR:
    ORA-12547: TNS:lost contact
    
    
    SQL> 
    

Solution suggested here Troubleshoot ORA-12547: TNS:lost contact error. does not help. What is interesting the value of ulimit -c is not persistent between reboots.

Any help, namely accessing a tutorial database, Oracle Database 18c Examples (18.3) for Linux x86-64, (sha256sum – 405ca9e9341a11f3468b792308c03781fc1988b4278395c1954984f2224a4d32), is highly appreciated!


Get this bounty!!!

#StackBounty: #updates #installation Cannot install / update apps

Bounty: 50

Since a short time ago, I cannot update / install apps.

E.g., if I try updating a given app, it is downloaded and shown as installing.

But as soon as the installation finishes, it shows again as available for updating, and I keep having in my phone the same “old” version.

What can be the cause, and solution for this? (I mean not to factory reset my phone…)

Could it be related to some setting in
Settings -> Apps -> Special Access -> Apps that can change system settings ?

Using Samsung J7 Prime, Android 8.1.0


Get this bounty!!!

#StackBounty: #npm #sass #installation #npm-init Solving the 'npm WARN saveError ENOENT: no such file or directory, open '/User…

Bounty: 50

I’m a newbie so please include links to URLs or explain terminologies so I can understand.

I’ve managed to install ‘npm’ on a Mac OS (10.13.3) via the terminal, and have installed some packages like SASS using it.

I’m now trying to install sass-mq using npm. I think I’ve managed to install it, but I’d like a second opinion on what I might have done that was incomplete, or wrong while doing it.

Initially, following the instructions on the sass-mq Github page, I was trying to use:

npm install sass-mq --save

which gave me this error:

npm WARN saveError ENOENT: no such file or directory, open '/Users/<username>/package.json'
    npm WARN enoent ENOENT: no such file or directory, open '/Users/<username>/package.json'
    npm WARN <username> No description
    npm WARN <username> No repository field.
    npm WARN <username> No README data
    npm WARN <username> No license field.

    + sass-mq@5.0.0
    updated 1 package and audited 1 package in 1.67s
    found 0 vulnerabilities

Looking around, I realised I’m meant to be using

npm init

..before typing my ‘install sass-mq –save’ command.

Cool, done that. Next error was this:

package name: (nikhil) sass-mq
version: (1.0.0) 
description: 
entry point: (index.js) 
test command: 
git repository: 
keywords: 
author: 
license: (ISC) 
About to write to /Users/nikhil/package.json:

{
  "name": "sass-mq",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "dependencies": {
    "sass-mq": "^5.0.0"
  },
  "devDependencies": {},
  "scripts": {
    "test": "echo "Error: no test specified" && exit 1"
  },
  "author": "",
  "license": "ISC"
}


Is this OK? (yes) 
darwin:~ nikhil$ npm install sass-mq --save
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "sass-mq" under a package
**npm ERR! also called "sass-mq". Did you name your project the same
npm ERR! as the dependency you're installing?**

I think this is saying that I can’t use ‘sass-mq’ (which is the name of the package, as the name of the local package (?) I’m installing into on my local machine. Some more info here.

So I simply tried this:

**package name: (sass-mq) media-queries-nikhil**
version: (1.0.0) 
description: 
git repository: 
keywords: 
author: 
license: (ISC) 
About to write to /Users/nikhil/package.json:

and it seems to have worked OK.

My question is: Is this the right way I should have done this? How do you usually do this?

Also, I get these warnings – is it OK to ignore them?

npm WARN media-queries-nikhil@1.0.0 No description
npm WARN media-queries-nikhil@1.0.0 No repository field.

I’m creating this question in part so others like me looking for the answer to a similar issue can find an explanation, instead of just commands they need to fix their issue. I found a few similar question-threads, but none that actually explained what was happening and why.

Thanks for reading, I really appreciate any help with this ūüôā


Get this bounty!!!

How to install Web Center Portal

Installing Oracle Web Center Portal has the following steps:

  • Download and Install:
    1. Weblogic Server 10.3.6 <!! 12c would not work, Only 11g Release 2 !!>
    2. Web Center Portal
      F
      ollow the complete steps or follow the wizard as shown:
      install_welcome
      install_software_updates
      install_prereqs
      install_location
      install_app_server
      *Please Note: Weblogic option will not be available if the Server version mentioned in the previous step is not 10.3.6. 12c will not work
      install_summary
      install_progress
      install_complete
    3. Database XE(Optional. install only if you dont have database already installed)
    4. RCU
      • In CMD, Open file

        <Download_folder>ofm_rcu_win_11.1.1.8.0_64_disk1_1of1rcuHomeBIN

      • Follow the below steps to install RCU:
        2015-05-05_1724 2015-05-05_1725 2015-05-05_1726 2015-05-05_1726_001 2015-05-05_1727 2015-05-05_1729 2015-05-05_1729_001 2015-05-05_1729_002 2015-05-05_1729_003 2015-05-05_1730 2015-05-05_1730_001 2015-05-05_1731 2015-05-05_1731_001 2015-05-05_1809
  • Configure¬†Domain Config:
    2015-05-05_1818

    2015-05-05_1818_001
    2015-05-05_1819
    2015-05-05_1819_001 2015-05-05_1819_002

    2015-05-05_1820
    2015-05-05_1821
    2015-05-05_1822
    2015-05-05_1822_001
    2015-05-05_1822_002 2015-05-05_1822_003

How to install Weblogic Server 10.3.6

Follow the link: Weblogic Server 10.3.6

  • Accept the user agreement radio button. The link to download(Oracle WebLogic Server 11gR1 (10.3.6)¬†ZIP Distribution) will be enabled.
    Note: You will be asked to login for the same.
  • click on the download link and the server jar file will be downloaded(wls1036_generic.jar)
  • Follow the complete steps mentioned here, or follow below steps:
    • Open CMD
    • Navigate to the directory where the file has been downloaded.
    • Run the following command as Admin

      java -jar wls1036_generic.jar

    • On Welcome, click the Next button.
    • On Choose Middleware Home Directory. select option

      Create a new Middleware Home

      create_middle_home_dir_win
      click the Next button

    • On Register for Security Updates, enter email id, and unselect the security updates checkbox. This will disable update information.
      reg_updates_win
      Click the Next button
    • Select Typical install on¬†Choose Install Type Screen and keep clicking next for default options as shown:
      choose_shortcut_location
      install_type_1036
      choose_products
      jdk_select_win
      choose_install_dirs_win
      install_summary_wininstall_complete_1036
      Click on Done.
    • Domain Configuration(Quick Start) will open:
      quickstart_1036
    • On the QuickStart links panel, select this link

      Getting started with WebLogic Server 10.3.6

    • Follow the wizard as shown below:
      select_domain_source
      Enter domain related details
      specify_domain_name
      image020
      config_server_start_mode
      image022
      config_summary_win
      creating_domain_prog
  • Your weblogic server is now installed.