question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't locate SeccubusV2.pm in @INC

See original GitHub issue

I’m using this docker command to run a seccubus container

# docker run -it --restart=always --name seccubus -p 80:80 -e "STACK=full" -e "SMTPFROM=****@gmail.com" -e "SMTPSERVER=xx.xx.xx" -v /root/volume/seccubus:/var/lib/mysql seccubus/seccubus /bin/bash
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
170403 11:00:53 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.
170403 11:00:53 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Starting cron in background

and then I try to run a the test scan using the default workspace

# /opt/seccubus/bin/do-scan –-workspace Example -–scan ssllabs -v
Can't locate SeccubusV2.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/seccubus/bin/do-scan line 20.
BEGIN failed--compilation aborted at /opt/seccubus/bin/do-scan line 20.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
MrSeccubuscommented, Apr 28, 2017

I just tested this with the latest docker image and it indeed produces the samen error 😢

I should have tested this better.

Here is a workaround, edit the nikto scan and add the --nikto_path parameter linke this: image

0reactions
MrSeccubuscommented, Apr 28, 2017

I’ve also updated the master branch so that these paths are set by default now. If you pull seccubus/seccubus:latest from docker the error should be resolved now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't locate SeccubusV2.pm in @INC (you may need to install ...
I successfully installed seccubus as per instruction given at https://www.seccubus.com/how-to-install-seccubus-v2/ However, I am getting error while ...
Read more >
Seccubus v2.34 - Backend rewritten in Mojolicious
Fixed a weird sorting bug when using Chrome; #138 - Can't locate SeccubusV2.pm in @INC (you may need to install the SeccubusV2 module) ......
Read more >
Can't locate ... in @INC - Perl Maven
Starting from Perl version 5.18 it will say: Can't locate Acme/NameX.pm in @INC (you may need to install the Acme::NameX module) (@INC contains: ......
Read more >
Can't locate *.pm in INC - Stack Overflow
perl first tries to locate bintest.pm in one of the directories in @INC (which ... It can't find it, because what you have...
Read more >
seccubus/seccubus-front Dockerfile | Docker Hub
See the License for the specific language governing permissions and ... PL seccubus.pl SeccubusV2.pm ChangeLog.md LICENSE.txt NOTICE.txt README.md ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found