perl - Failed AUTH: Must issue a STARTTLS command first -
i cannot life of me figure out how setup bugzilla send email using tls. got bugzilla site running, however, when try change bugzilla account email, system fails following (i setup email parameters use amazon aws email server):
an unexpected error occurred. temporary problem, or code behaving incorrectly. if problem persists, please email page ...@.....com details of doing @ time message appeared.
there error sending mail 'bugzilla@example.com' 'johndoe422@example.com': failed auth: must issue starttls command first
traceback:
at bugzilla/mailer.pm line 186.
bugzilla::mailer::messagetomta(...) called @ bugzilla/token.pm line 116
bugzilla::token::issueemailchangetoken(...) called @ /srv/www/bugzilla/userprefs.cgi line 120
main::saveaccount(...) called @ /srv/www/bugzilla/userprefs.cgi line 608
so proceeded try fix problem following instructions in: bugzilla alerts using gmail
i managed install email::send::smtp::tls
module using cpanm (not sure why cannot install module via cpan @ all), after installation, smtp::tls
option not appear in drop-down. ignored , continue update mailer.pm instructed.
after that, when refresh bugzilla page, following error:
software error: global symbol "@args" requires explicit package name @ bugzilla/mailer.pm line 138. global symbol "@args" requires explicit package name @ bugzilla/mailer.pm line 144. compilation failed in require @ bugzilla/auth.pm line 22. begin failed--compilation aborted @ bugzilla/auth.pm line 22. compilation failed in require @ bugzilla.pm line 23. begin failed--compilation aborted @ bugzilla.pm line 23. compilation failed in require @ /srv/www/bugzilla/editparams.cgi line 15. begin failed--compilation aborted @ /srv/www/bugzilla/editparams.cgi line 15. help, please send mail site's webmaster, giving error message , time , date of error.
i've read perhaps because email::send::smtp::tls requires net::ssleay package. proceed try install using cpanm. however, cpanm fails following log:
23 *** found openssl-1.0.1f installed in /usr 24 *** sure use same compiler , options compile openssl, perl, 25 , net::ssleay. mixing , matching compilers not supported. 26 want run external tests? 27 these tests *will* *fail* if not have network connectivity. [n] n 28 checking if kit complete... 29 looks 30 generating unix-style makefile 31 writing makefile net::ssleay 32 writing mymeta.yml , mymeta.json 33 -> ok 34 checking dependencies mymeta.json ... 35 checking if have test::more 0.60_01 ... yes (1.001014) 36 checking if have mime::base64 0 ... yes (3.13) 37 checking if have extutils::makemaker 0 ... yes (7.10) 38 building , testing net-ssleay-1.72 39 cp lib/net/ssleay.pm blib/lib/net/ssleay.pm 40 autosplitting blib/lib/net/ssleay.pm (blib/lib/auto/net/ssleay) 41 blib/lib/net/ssleay.pm: names not unique when truncated 8 characters: 42 directory blib/lib/auto/net/ssleay: 43 do_https3.al, do_https2.al, do_https4.al, do_https.al truncate do_https 44 do_httpx3.al, do_httpx2.al, do_httpx4.al truncate do_httpx 45 get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate get_http 46 head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate head_htt 47 post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate post_htt 48 put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate put_http 49 ssl_read_all.al, ssl_read_until.al, ssl_read_crlf.al truncate ssl_read 50 ssl_write_all.al, ssl_write_crlf.al truncate ssl_writ 51 tcp_read_all.al, tcp_read_until.al, tcp_read_crlf.al truncate tcp_read 52 tcp_write_all.al, tcp_write_crlf.al truncate tcp_writ 53 cp lib/net/ssleay/handle.pm blib/lib/net/ssleay/handle.pm 54 cp lib/net/ssleay.pod blib/lib/net/ssleay.pod 55 running mkbootstrap net::ssleay () 56 chmod 644 "ssleay.bs" 57 "/usr/bin/perl" "-iinc" "/usr/share/perl/5.18/extutils/xsubpp" -typemap "/usr/share/perl/5.18/extutils/typemap" -typemap "typemap" ssleay.xs > ssleay.xsc && mv ssleay.xsc ssl eay.c 58 cc -c -i/usr/include -d_reentrant -d_gnu_source -ddebian -fstack-protector -fno-strict-aliasing -pipe -i/usr/local/include -d_largefile_source -d_file_offset_bits=64 -o2 -g -dversion=\"1.72\" -dxs_version=\"1.72\" -fpic "-i/usr/lib/perl/5.18/core" ssleay.c 59 {standard input}: assembler messages: 60 {standard input}: error: open cfi @ end of file; missing .cfi_endproc directive 61 cc: internal compiler error: killed (program cc1) 62 please submit full bug report, 63 preprocessed source if appropriate. 64 see <file:///usr/share/doc/gcc-4.8/readme.bugs> instructions. 65 make: *** [ssleay.o] error 4 66 -> fail installing net::ssleay failed. see /home/ubuntu/.cpanm/work/1443609644.32449/build.log details. retry --force force install it.
i not know perl , cannot figure out why i'm getting errors left , right. read in many places can install available packages using command like:
/usr/bin/perl install-module.pl --all
however, command not work me. (i can't install modules using cpan @ all, not sure why) pretty nothing me. output when execute install-module.pl:
ubuntu@ip-10-130-10-107:/srv/www/bugzilla$ sudo /usr/bin/perl install-module.pl --all checking cpan (v1.81) ok: found v2.10 checking yaml (any) ok: found v1.15 checking extutils-makemaker (v6.31) ok: found v7.1 defined(@array) deprecated @ /usr/share/perl5/chart/base.pm line 181. (maybe should omit defined()?) defined(@array) deprecated @ /usr/share/perl5/chart/base.pm line 233. (maybe should omit defined()?) reading '/home/ubuntu/.cpan/metadata' fetching lwp: http://cpan.mirror.vexxhost.com/authors/01mailrc.txt.gz reading '/home/ubuntu/.cpan/source/authors/01mailrc.txt.gz' ............................................................................done fetching lwp: http://cpan.mirror.vexxhost.com/modules/02packages.details.txt.gz reading '/home/ubuntu/.cpan/source/modules/02packages.details.txt.gz' database generated on wed, 30 sep 2015 09:53:42 gmt ..........ubuntu@ip-10-130-10-107:/srv/www/bugzilla$
i'm not sure why things don't work me. have faulty perl installation or what? can perl guru please help?
thanks!
solved issue killing bugzilla installation (5.0.1) , re-install older version (4.4.10). things worked previous version.
Comments
Post a Comment