sandialabs / scot

Sandia Cyber Omni Tracker (SCOT)
http://getscot.sandia.gov
Other
245 stars 48 forks source link

build failed on AArch64, Fedora 33 #61

Closed LutzWeischerFujitsu closed 3 years ago

LutzWeischerFujitsu commented 3 years ago

[root@cn05 scot]# ./install.sh 2>&1 | tee ../scot.install.log ... =========== installing APACHE =============

--- Installing Apache2

-- -- CENT/RH based system install of apache2

Last metadata expiration check: 2:51:35 ago on Thu 25 Mar 2021 11:28:19 AM CET. Package httpd-2.4.46-9.fc33.aarch64 is already installed. Package mod_ssl-1:2.4.46-9.fc33.aarch64 is already installed. Dependencies resolved. Nothing to do. Complete! -- adding firewalld command to allow web traffic FirewallD is not running FirewallD is not running FirewallD is not running

-- configuring apache2

-- DEVDIR is /data/jw/scot -- CSD is /data/jw/scot/install/src/apache2

'firewalld' is yum installed.

toddbruner commented 3 years ago

I've never tried to install SCOT on that particular OS/version, so we may be in for a rough ride! Essentially the error that is blocking you is the lack of a default config for that arch. If you look in /data/jw/scot/install/src/apache2, you will see default apache configs for Cent, RHEL and Ubuntu.

Copy scot-revproxy-CentOS.confto scot-revproxy-Fedora.conf. (You might want to browse through the config and make sure it will work in your local environment)

After creating scot-revproxy-Fedora.conf, restart the install process, with:

cd /data/jw/scot
sudo -E ./install.sh

(or install.sh -sif all prerequisites have already been installed)

toddbruner commented 3 years ago

Also, if the Fedora path throughs up too many obstacles, you can try the Docker version.

https://github.com/sandialabs/scot/blob/scot-docker/docs/source/scotdocker.rst

LutzWeischerFujitsu commented 3 years ago

I tried again, according to your description. After lots of activities I get finally:

FAILED to FIND revproxy config! Installation can not proceed until fixed!

toddbruner commented 3 years ago

You will need to create a /data/jw/scot/install/src/apache2/scot-revproxy-Fedora.conf file based on the Cent or RH version in the same directory. I've never tested on Fedora, but Cent should be close. The installer is looking for $DEVDIR/scot-rev-proxy-$ARCH.conf file. The three files I provide are for "CentOS", "Ubuntu" and "rh-7".

So if you do this: cd /data/jw/scot/install/src/apache2 cp scot-revproxy-CentOS.conf scot-revproxy-Fedora.conf cd /data/js/scot ./install.sh | tee /data/jw/install.log

you should get past that error. if you get another error send me /data/jw/install.log

Todd


@.***

On Mon, Apr 26, 2021 at 8:12 AM LutzWeischerFujitsu < @.***> wrote:

I tried again, according to your description. After lots of activities I get finally:

FAILED to FIND revproxy config! Installation can not proceed until fixed!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sandialabs/scot/issues/61#issuecomment-826868322, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACQBEQGVASX6EFTCQZ34BDTKVYEXANCNFSM4ZZLJC6Q .

LutzWeischerFujitsu commented 3 years ago

That helped, but I run into other issues, so I'm stopping here for now, considering to continue later on.

toddbruner commented 3 years ago

understood, but can't help fix problems that are not shared.

@.***

On Wed, Apr 28, 2021 at 1:11 AM LutzWeischerFujitsu < @.***> wrote:

That helped, but I run into other issues, so I'm stopping here for now, considering to continue later on.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sandialabs/scot/issues/61#issuecomment-828206556, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACQBEXRZ5T26AD4YQUPHOTTK6YKDANCNFSM4ZZLJC6Q .