From user-return-53804-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Wed May 9 20:53:43 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 34A4D180649 for ; Wed, 9 May 2018 20:53:43 +0200 (CEST) Received: (qmail 37551 invoked by uid 500); 9 May 2018 18:53:41 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 37535 invoked by uid 99); 9 May 2018 18:53:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2018 18:53:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C78B8C0354 for ; Wed, 9 May 2018 18:53:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id GuER_pcUCF9K for ; Wed, 9 May 2018 18:53:38 +0000 (UTC) Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 92B0A5F242 for ; Wed, 9 May 2018 18:53:38 +0000 (UTC) Received: by mail-it0-f41.google.com with SMTP id z6-v6so141027iti.4 for ; Wed, 09 May 2018 11:53:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=OYS9zUG0/tYkVId2VkPoc/vEYy2G02IgfeZ9RBZwj7w=; b=vAk4i3XS4c5cTMWW33piJxZvWJC0PFWZwWDypmpoP48AgPUnq0yD9UWQSDX1J+JIvw yiZlVn6/PpA1NVPwwMdhyr6jlZmiAHxLTMWvel7Eda+4I9z3Qcs+X2VzIeMPgxM5cGPS B5HCWBYtE6HBWZERKxB8DYdQN+lPjT/xOza8UsEuGbt62iW8YTss8VPpQa5J1204W0Y1 7iJ6FyNbo4OWV6lzy4PfSD/8SdCOsyhUzNB5ZeAQMfMsyM5FNH/ZZzCMEqu27HjFv6v4 HKrjegkubLDUZ51AigBWnatHD7ZGlwArdz+YFFGM5g9U4Gls0oT8BUKw9NHsrqDogt5c Rt/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=OYS9zUG0/tYkVId2VkPoc/vEYy2G02IgfeZ9RBZwj7w=; b=nll5k7Z7Y/4yObWBCCJUBqF/mnv7z0u1XKOXy/FOni0Ekj2QAblaPADNOu1U8y6l04 jMNzcWhzVK/AD/q1xYjW0qP8QXM+wfV+AmcU8s7jrrQ729dnisZcSRPHjnVGcBLM9WQN uGTYJQYnpnvdQnv9KnCm3So/j5MA5xIvYSOk9upmK5d5S/XvnVKTmomAu2zZxm4kdUEf iF9bc9+vQ8FAgKyz+wAV6+NprRydQ2q96ZiA6cGJrs1/fHqgPR7c9OGYJRRgjJ/+VaKa EekTiRA366BNibg+gcsM48UVr6rnAjn+4Y70Yh+zA+s801hXbnReD3UciHLCvOIpT7aW JqAg== X-Gm-Message-State: ALQs6tA8HQkRlTdOD7gxT/DdMc0hbRiOtDiO0GzprhehEiDKaEhGwz7Z C/EwfGUArEzqmJsleM7OeWqI3LQjYA0G3qlAWdg= X-Google-Smtp-Source: AB8JxZr7vZBPx/t5pp/CFLsqgKCqklPcOCd65J+04Pe7hCS4OziWsGKlRyyKe1We+yUaO5pnoPCOyEx6npp5qzQxZ0M= X-Received: by 2002:a24:641:: with SMTP id 62-v6mr10628266itv.89.1525892012229; Wed, 09 May 2018 11:53:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.6.14 with HTTP; Wed, 9 May 2018 11:53:31 -0700 (PDT) In-Reply-To: References: From: Rajesh Mallah Date: Thu, 10 May 2018 00:23:31 +0530 Message-ID: Subject: Re: New Install won't run after server reboot To: user@ofbiz.apache.org Content-Type: multipart/alternative; boundary="0000000000005ac819056bca6bbe" --0000000000005ac819056bca6bbe Content-Type: text/plain; charset="UTF-8" Hi , You must somehow start the ofbiz server after the server boots. there are multitude of options for that. Eg systemd , daemontools etc. After the system boots please check if a java program is listening @ 8443 eg by running $ sudo netstat -lnp regds mallah On Wed, May 9, 2018 at 11:46 PM, drakesridge@gmail.com < drakesridge@gmail.com> wrote: > Hi All, > I've just install ofbiz version 16.11.04 on a Centos 7 server. Everything > seems to go very well and I was able to start the ofBiz web interface > successfully, log in and navigate around. > > However, after I rebooted the server, I could not log in any longer. I > suspected that it was a Java issue so I experimented with different Java > versions and setups. I first built the server with and without JRE and the > installation with just JDK seemed to be adequate. I then tried Java 8.131, > Java 8.171 and Java 10.01. The first two worked as I described above > (failing after a reboot) but Java version 10.01 failed during the install > with a permissions problem while running the following step: > > ./gradlew cleanAll loadDefault > > I'm sure I must be making a stupid mistake somewhere during the > installation so would someone please look at the installations steps that I > took to see where I went wrong? > > Here are the steps: > > Step 1 - Install Java > yum install -y jdk-8u131-linux-x64.rpm > > export JAVA_HOME=/usr/java/jdk1.8.0_131 > > export PATH=$PATH:/usr/java/jdk1.8.0_131/bin > > Check Java JDK Version: > java -version > > Step 2 - Load environmental variables on startup > echo 'export JAVA_HOME=/usr/java/jdk1.8.0_131' >> /etc/bashrc > > echo 'export PATH=$PATH:/usr/java/jdk1.8.0_131/bin' >> /etc/bashrc > > Step 3 - Open port on firewall > firewall-cmd - -zone=public - -add-port=8443/tcp - -permanent > > firewall-cmd - -reload > > Step 4 - Setup ofBiz > unzip apache-ofbiz-16.11.04.zip > > mv apache-ofbiz-16.11.04 /usr/local/ofbiz > > Step 5 - Install ofBiz > cd /usr/local/ofbiz > > ./gradlew cleanAll loadDefault > > ./gradlew "ofbiz --load-data readers=seed" > > ./gradlew "ofbiz --load-data readers=seed,seed-initial,ext" > > Step 6 - Start ofBiz > ./gradlew ofbizBackground > > Step 7 - Access ofBiz in browser > > URL: https://:8443/myportal/control/main > > Admin Username: admin > > Admin Password: ofbiz > > Additional notes: > > after I reboot and can't restart the web interface, if I run ./gradlew > "ofbiz --status" , it reports that obBiz is running OK > > I'm really not sure what I'm doing wrong so any tips and suggestions will > be very much appreciated > > Regards, > > --0000000000005ac819056bca6bbe--