Author Topic: majordomo ขาด Can't locate getopts.pl in (@INC contains: /usr/local/lib/perl5 )  (Read 2856 times)

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2140
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
วันนี้เครื่องเมลลูกค้ามีเจอปัญหาส่งเมลเข้า 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

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