I got this Error when i try to install reNgine, any Suggest? - github

when I try to install reNgine recon tool, it always stops at (32/51) and gives me this error, I tried searching for it but no luck
failed to solve: executor failed running [/bin/sh -c GO111MODULE=on go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei#latest]: exit code: 2
make: *** [Makefile:22: up] Error 17
I tried to run
GO111MODULE=on go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei#latest
and reinstall it but the same Error pops up

Related

postgresql command not working; Error: invalid option '-o'

I am trying to fix this previous error when I am unable to find the PostgreSQL client library, however, when I run the suggested command:
ridk exec sh -c "pacman -S ${MINGW_PACKAGE_PREFIX}-postgresql"
I get this error. Not sure how to fix, any help is appreciated
error: invalid option '-o'
I tried the other suggestions such as:
gem install pg -- --with-pg-config=/path/to/pg_config
But I still get the same error.

strawberry perl on windows install Prima failed with no tiff.h

I use strawberry perl on windows. I tried to install Prima module, running
install Prima
in CPAN console, I got
> img\codec_tiff.c:14:10: fatal error: tiff.h: No such file or directory
> #include <tiff.h>
> ^~~~~~~~ compilation terminated. dmake.exe: Error code 129, while making 'img\codec_tiff.o' KARASIK/Prima-1.53.tar.gz
> C:\STRAWB~1\c\bin\dmake.exe -- NOT OK Stopping: 'install' failed for
> 'Prima'. Failed during this command: KARASIK/Prima-1.53.tar.gz
> : make NO
so finally it failed to install Prima. So what to fix missing tiff.h problem?
update
Now I reinstalled the latest strawberry perl version 5.28.1.1
However, installing Prima failed for another reason. Error message as below:
dlltool -l blib/arch/auto/Prima/libPrima.a -d Prima.def -D PRIMA.xs.dll blib\arch\auto\Prima\Prima.xs.dll
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 755 blib\arch\auto\Prima\Prima.xs.dll
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- Prima/VB/VB.pl blib\script\VB.pl
pl2bat.bat blib\script\VB.pl
process_begin: CreateProcess(NULL, pl2bat.bat blib\script\VB.pl, ...) failed.
make (e=2): The system cannot find the file specified.
gmake: *** [Makefile:1165: blib\script\VB.pl] Error 2
KARASIK/Prima-1.53.tar.gz
C:\STRAWB~1\c\bin\gmake.exe -- NOT OK
Stopping: 'install' failed for 'Prima'.
Failed during this command:
KARASIK/Prima-1.53.tar.gz : make NO
And if I run install Prima the second time, it shows
Running install for module 'Prima'
KARASIK/Prima-1.53.tar.gz
Has already been unwrapped into directory C:\STRAWB~1\cpan\build\Prima-1.53-0
KARASIK/Prima-1.53.tar.gz
Has already been prepared
KARASIK/Prima-1.53.tar.gz
Could not make: Unknown error
What should I do?

How do I solve PostgreSQL "Aborted (core dumped)" error?

I am trying to install postgreSQL-9.6.4 on Ubuntu 14.04. But when I am running 'initdb' to create database cluster, it shows error.
$ ./configure --prefix=/path/to/install
$ make
$ make install
$ initdb -U user1 -D /path/to/install/data
When I run the 'initdb', it shows the following error:
Aborted (core dumped)
child process exited with exit code 134
initdb: removing contents of data directory "/path/to/install/data"
Any help?
Exit status 134 means that the process was called by a SIGABRT signal, since that signal has number 6, and 128 + 6 = 134.
Your process probably failed an assert(3) assertion. Did you ./configure --with-cassert?
Try to read the core dump with gdb and use bt to get a back trace. That should tell you where exactly execution failed, so you can fix the problem.

Build of docker image with centos:6.6 fails when trying to update repo

I have the following simple Dockerfile:
FROM centos:6.6
USER root
RUN yum clean all
RUN yum update
And I am trying to build it as usual:
docker build -t myimage/hadoop .
But I have the following error and I can't find the solution:
Error: Cannot find a valid baseurl for repo: base Could not retrieve
mirrorlist
http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock
error was 14: PYCURL ERROR 6 - "Couldn't resolve host
'mirrorlist.centos.org'" INFO[0005] The command "/bin/sh -c yum
update" returned a non-zero code: 1
Any help or reference to solve the problem would be very helpful.
EDIT: I tried the solution given in this post but with no results.
Could you try add "-y" to the ""yum update"?
RUN yum update -y

Cannot run knitr on Lyx for MacBook

I am using the last version on LYX 2.0.5.1 and RStudio 0.97.318. I have installed knitr in R, my /usr/bin/Rscript is in PATH prefix in LYX, but I still fail to run even example files knitr.lyx. The error I get is:
An error occurred while running:
Rscript --verbose --no-save --no-restore
"/Applications/LyX.app/Contents/Resources/scripts/lyxknitr.R"
"/var/folders/ls/mbs_stj505lc25gj2m7h5h100000gn/T/lyx_tmpdir.JL9170/lyx_tmpb...
I changed lyxknitr.R to other versions listed on the official cite, it does not work with them either. When I did the similar things on Windows 7, it runs ok. I tried to reinstall lyx, it did not help. What else can I do?
Thanks!
UPDATE: I installed the stringer package in R, reconfigured, but Lyx still gives and error:
12:24:25.747: Rscript --verbose --no-save --no-restore "/Applications/LyX.app/Contents/Resources/scripts/lyxknitr.R" "/var/folders/ls/mbs_stj505lc25gj2m7h5h100000gn/T/lyx_tmpdir.JL2777/lyx_tmpbuf3/""knitr.Rnw" "/var/folders/ls/mbs_stj505lc25gj2m7h5h100000gn/T/lyx_tmpdir.JL2777/lyx_tmpbuf3/""knitr.tex" ISO-8859-15 "/Users/Natasha/Stats315b/HW1/"
12:24:25.749: running
12:24:25.758: '/Library/Frameworks/R.framework/Versions/2.15/Resources/bin/R --slave --no-restore --no-save --no-restore --file=/Applications/LyX.app/Contents/Resources/scripts/lyxknitr.R --args /var/folders/ls/
12:24:25.759: mbs_stj505lc25gj2m7h5h100000gn/T/lyx_tmpdir.JL2777/lyx_tmpbuf3/knitr.Rnw /var/folders/ls/mbs_stj505lc25gj2m7h5h100000gn/T/lyx_tmpdir.JL2777/lyx_tmpbuf3/knitr.tex ISO-8859-15'
12:24:25.759:
12:24:25.946: Error in loadNamespace(i, c(lib.loc, .libPaths())) :
12:24:25.951: there is no package called 'stringr'
12:24:25.957: Error: package/namespace load failed for 'knitr'
12:24:25.957: Execution halted
Running: Rscript --verbose --no-save --no-restore "/Applications/LyX.app/Contents/Resources/scripts/lyxknitr.R" "/var/folders/ls/mbs_stj505lc25gj2m7h5h100000gn/T/lyx_tmpdir.JL2777/lyx_tmpbuf3/""knitr.Rnw" "/var/folders/ls/mbs_stj505lc25gj2m7h5h100000gn/T/lyx_tmpdir.JL2777/lyx_tmpbuf3/""knitr.tex" ISO-8859-15 "/Users/Natasha/Stats315b/HW1/"
support/Systemcall.cpp (273): Systemcall: 'Rscript --verbose --no-save --no-restore "/Applications/LyX.app/Contents/Resources/scripts/lyxknitr.R" "/var/folders/ls/mbs_stj505lc25gj2m7h5h100000gn/T/lyx_tmpdir.JL2777/lyx_tmpbuf3/""knitr.Rnw" "/var/folders/ls/mbs_stj505lc25gj2m7h5h100000gn/T/lyx_tmpdir.JL2777/lyx_tmpbuf3/""knitr.tex" ISO-8859-15 "/Users/Natasha/Stats315b/HW1/"' finished with exit code 1
Error: Cannot convert file
----------------------------------------
An error occurred while running:
Rscript --verbose --no-save --no-restore
"/Applications/LyX.app/Contents/Resources/scripts/lyxknitr.R"
"/var/folders/ls/mbs_stj505lc25gj2m7h5h100000gn/T/lyx_tmpdir.JL2777/lyx_tmpb...
12:24:27.545: Error while previewing format: pdf2
I did not have to install stringr under windows and it worked ok. Thanks for help!