Comments (11)
Does /opt/scotbackup/elastic exist on your system? Should have been created.
At this point, I'd probably recommend the following, since I do not have confidence that the initial install fully worked.
# mv /opt/scot /opt/scot.bak
# mv /opt/scotbackup /opt/scotbackup.bak
# cd $HOMEDIR/SCOT
# ./install.sh | tee -a $HOMEDIR/scot.install.log
copy any config modifications from /opt/scot.bak/etc/ to /opt/scot/etc
If you run into problems with the install, please look at the scot.install.log or share them with me.
Thanks.
from scot.
Sorry for late! I was on vacation.
I tried to install again but failed ("FAILED to FIND revproxy config!"). Attached is the installation log.
scot.install.log.txt
from scot.
@dmenezesrj, the problem is that I was assuming CentOS or Ubuntu. Your OS is "RedHatEnterprise". My fault, but I will upload fix shortly that will change your OS string to CentOS and then the install should just work. If you want to hack it your self, you can got into install/determine_os.sh and hard code the OS to "CentOS"
from scot.
Uncomment like 7 in backup.pl so it looks like:
use lib '/opt/scot/lib';
We have this and a bunch of other bug fixes queued but can't push just yet due to internal policies.
from scot.
Didn't see your second issue, sorry. (Please separate multiple issues in the future).
The problem is a missing stanza in the your /opt/scot/etc/scot.cfg.pl
Make sure you have something like this in it:
log_config => {
logger_name => 'SCOT',
layout => '%d %7p [%P] %15F{1}: %4L %m%n',
appender_name => 'scot_log',
logfile => '/var/log/scot/scot.log',
log_level => 'DEBUG',
},
from scot.
Hi!
Thanks! Saddly din't work. Here are the errors:
backup.pl - Running with fail. I did the change in line 7 at backup.pl. Now I got it:
Failed to create a snapshot! {"error":{"root_cause":[{"type":"repository_missing_exception","reason":"[scot_backup] missing"}],"type":"repository_missing_exception","reason":"[scot_backup] missing"},"status":404} at /opt/scot/bin/backup.pl line 135.
alert.pl - We have log_config defined in /opt/scot/etc/scot.cfg.pl. The file /var/log/scot/scot.log exists and we can see a lot of information. The error message still the same:
--- Starting Mail Ingester ---
Can't locate object method "log_config" via package "Scot::Env" at /opt/scot/lib/Scot/Env.pm line 113.
Sorry! I will separate multiple issues in the future.
Thank you!
from scot.
from scot.
To fix the backup error, try re-running:
$SCOTDIR/install/src/elasticsearch/mapping.sh
from scot.
Hi!
Re-running mapping.sh I got this message:
[root@plrtir01 ~]# /opt/scot/install/src/elasticsearch/mapping.sh
Deleting Existing SCOT index
{"acknowledged":true}Creating SCOT index
{
"acknowledged" : true
}
The backup.pl error message still the same, but I found it from messages log file:
Jun 12 11:07:00 plrtir01 elasticsearch: [2017-06-12 11:07:00,159][WARN ][rest.suppressed ] path: /_snapshot/scot_backup, params: {repository=scot_backup}
Jun 12 11:07:00 plrtir01 elasticsearch: RepositoryException[[scot_backup] failed to create repository]; nested: CreationException[Guice creation errors:
Jun 12 11:07:00 plrtir01 elasticsearch: 1) Error injecting constructor, RepositoryException[[scot_backup] location [/opt/scotbackup/elastic] doesn't match any of the locations specified by p
ath.repo because this setting is empty]
Thanks!
from scot.
Try the latest code. reopen issue if you continue to have difficulty.
from scot.
Hi!
I'm using the latest code, but the problem still the same: FAILED to FIND revproxy config!.
Attached is the installation log.
Thanks!
scot.install.log.txt
from scot.
Related Issues (20)
- install.sh fails to get elasticsearch gpg key HOT 3
- Install script ends abruptly HOT 2
- github linked demo times out HOT 1
- Demo site down ? HOT 5
- Multiple questions HOT 3
- RPM spec HOT 8
- Authentication failure after installation HOT 1
- Docker-Perl does not install HOT 3
- /var/log/mongo directory missing HOT 6
- game exited with code 255 HOT 1
- User Defined Forms Not Persisting Input Data
- Online demo not working HOT 2
- mongodb errors on first-time login HOT 5
- Failed to log in due to bad CSRF token. Please reload the page and then log in. Error: Failed CSRF check HOT 1
- build failed on AArch64, Fedora 33 HOT 6
- Issues with docker-compose.yml HOT 5
- Unable to log in to SCOT - bad CSRF token HOT 1
- How to set Email Injest Parser module for Arcsight HOT 1
- Is there any Docker image of SCOT for development purposes? HOT 1
- Integrate MISP Platform HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scot.