Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server => Os kernel การปรับแต่ง เพิ่มเติม ลงโปรแกรม บน OS และ ControlPanel Directadmin,Cloud server => Topic started by: golfreeze on เมษายน 18, 2018, 03:14:46 PM

Title: majordomo ขาด Can't locate getopts.pl in (@INC contains: /usr/local/lib/perl5 )
Post by: golfreeze on เมษายน 18, 2018, 03:14:46 PM
วันนี้เครื่องเมลลูกค้ามีเจอปัญหาส่งเมลเข้า mail group ไม่ได้ครับ เนื่องจากขาด perl getopts.pl
Can't locate getopts.pl in @INC (@INC contains: /usr/local/lib/perl5/

The following text was generated during the delivery attempt:

------ pipe to |/etc/virtual/majordomo/wrapper resend -C /etc/virtual/cnlogistics.co.th/majordomo/majordomo.cf -l csr -h cnlogistics.co.th -f owner-csr csr-out@domain.co.th
       generated by csr@domain.co.th ------

Can't locate getopts.pl in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.26.2/amd64-freebsd /usr/local/lib/perl5/site_perl/5.26.2 /usr/local/lib/perl5/5.26.2/amd64-freebsd /usr/local/lib/perl5/5.26.2) at /etc/virtual/majordomo/resend line 74.
Reporting-MTA: dns; sati.packetlove.com

Action: failed
Final-Recipient: rfc822;|/etc/virtual/majordomo/wrapper resend -C /etc/virtual/domain.co.th/majordomo/majordomo.cf -l csr -h domain.co.th -f owner

บน FreeBSD 9.x ทำการแก้ไขโดย ลง perl lib เพิ่มครับ
#perl -MCPAN -e shell
>install Perl4::CoreLibs
>install Getopt::Std

ทำการอัฟเดท path ใน FreeBSD 9.x
#/usr/libexec/locate.updatedb

เท่านี้ก็ได้ละครับผม : )