Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error while SMTP setup

1,758 views
Skip to first unread message

Merlin Timm

unread,
May 10, 2016, 12:42:42 PM5/10/16
to support-...@lists.mozilla.org
Hello everybody,

I installed myself the latest version of Bugzilla (5.0.2) and just
trying to set up the SMTP, but unfortunately I get the following error
when I want to confirm the information contained within:

"Software error:

Can not locate object method "quit" via package "Net :: SMTP :: SSL" at
Bugzilla / config / Common.pm line 370

For help, please send mail to the webmaster (webmaster @ localhost),
giving this error message and the time and date of the error."

Maybe one of you can help me. Thank you!

greeting
Merlin

--
--------------------------------------------------------
Merlin Timm
IT/EDV

Scienlab electronic systems GmbH
Lise-Meitner-Allee 27 — 44801 Bochum — Germany
phone +49 (0)234 41 75 78 -187
fax +49 (0)234 41 75 78 -10
web www.scienlab.de
---------------------------------------------------------
Kennen Sie schon unseren neuen Webauftritt?
www.scienlab.de
---------------------------------------------------------
Amtsgericht Bochum 14 HRB 7272
Geschäftsführer:
Dr.-Ing. Christoph Dörlemann, Dr.-Ing. Peter Muß,
Dr.-Ing. Michael Schugt, Dr.-Ing. Roger Uhlenbrock

Thorsten Schöning

unread,
May 10, 2016, 1:43:21 PM5/10/16
to support-...@lists.mozilla.org
Guten Tag Merlin Timm,
am Dienstag, 10. Mai 2016 um 10:36 schrieben Sie:

> Can not locate object method "quit" via package "Net :: SMTP :: SSL" at
> Bugzilla / config / Common.pm line 370

Sounds like you are missing SSL libs, openssl-dev packages or such.
Check that using your package manager. Additionally/else activate
debugging for SMTP in the admin mail settings of Bugzilla and look in
the log of your web server.

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail: Thorsten....@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

merlin...@gmail.com

unread,
Jun 9, 2016, 4:04:12 AM6/9/16
to
Hi Thorsten,

this is the only thing i found in the error.log of my Apache:
[Thu Jun 09 09:50:10 2016] [error] [client 192.168.100.82] [Thu Jun 9 09:50:10 2016] editparams.cgi: Can't locate object method "quit" via package "Net::SMTP::SSL" at Bugzilla/Config/Common.pm line 370., referer: http://192.168.100.14/bugzilla/editparams.cgi?section=mta

this is the same message that i got from Bugzilla Webinterface :(

Thorsten Schöning

unread,
Jun 9, 2016, 4:46:14 AM6/9/16
to support-...@lists.mozilla.org
Guten Tag merlin...@gmail.com,
am Donnerstag, 9. Juni 2016 um 10:04 schrieben Sie:

> this is the only thing i found in the error.log of my Apache:
> [Thu Jun 09 09:50:10 2016] [error] [client 192.168.100.82] [Thu Jun
> 9 09:50:10 2016] editparams.cgi: Can't locate object method "quit"
> via package "Net::SMTP::SSL" at Bugzilla/Config/Common.pm line 370.,

Then debug further: Check the version of your installed
Net::SMTP::SSL, have a look at the source if a "quit" method is
available etc. There should be a file Net/SMTP/SSL.pm somewhere in your
perl installation or wherever and however you install packages. If
you have used install-module.pl, empty the bugzilla/lib folder and
install missing packages again using your package manager.

Additionally look at the mentioned line of the Bugzilla code to see
what Bugzilla thinks: It thinks you have Net::SMTP::SSL available,
expects an available method and that seems to be missing. You need to
find the reason why because from my understanding it should be
available.

http://cpansearch.perl.org/src/RJBS/Net-SMTP-SSL-1.03/lib/Net/SMTP/SSL.pm

merlin...@gmail.com

unread,
Jun 9, 2016, 5:08:21 AM6/9/16
to
Hey Thorsten,

i have solved my problem with the SMTP entries moments ago! I just had
to (re?)install Net::SMTP::SSL via cpan console.

greetings

smoham...@gmail.com

unread,
Apr 6, 2017, 6:13:46 AM4/6/17
to

> Hey Thorsten,
>
> i have solved my problem with the SMTP entries moments ago! I just had
> to (re?)install Net::SMTP::SSL via cpan console.
>
> greetings

Thanks it helped me as well.

shailesh...@synerzip.com

unread,
Jun 21, 2018, 4:12:22 AM6/21/18
to
thanks solved using 'cpan upgrade Net::SMTP::SSL' command

--
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient. Any
review, use, distribution, or disclosure by others is strictly prohibited.
If you are not the intended recipient (or authorized to receive information
for the intended recipient), please contact the sender by reply e-mail and
delete all copies of this message.





abduaz...@gmail.com

unread,
Jan 20, 2019, 12:15:38 PM1/20/19
to
I am facing the following issue:


Software error:

Can't locate object method "message" via package "To use SSL please install IO::Socket::SSL with version>=2.007 at lib/Net/SMTP.pm line 68.
" (perhaps you forgot to load "To use SSL please install IO::Socket::SSL with version>=2.007 at lib/Net/SMTP.pm line 68.
"?) at Bugzilla/Mailer.pm line 179.

Please assist me. I am stuck for about 2 weeks tried everything and cannot solve.

Kind regards,

Thorsten Schöning

unread,
Jan 21, 2019, 2:32:53 AM1/21/19
to support-...@lists.mozilla.org
Guten Tag abduaz...@gmail.com,
am Sonntag, 20. Januar 2019 um 18:15 schrieben Sie:

> [...]"To use SSL please
> install IO::Socket::SSL with version>=2.007[...]

> Please assist me. I am stuck for about 2 weeks tried everything and cannot solve.

Did you already try to do what the error message says?

http://www.catb.org/esr/faqs/smart-questions.html#beprecise

> lib/Net/SMTP.pm

Additionally, according to that path you have most likely used
install-module.pl, so I suggest clearing the "lib"-folder entirely and
use the package manager of your OS firest to install necessary
packages. Only if that fails use install-module.pl.
0 new messages