Fun at zangOOr Click Here
1 like 0 dislike
984 views
Someone suggested try to fetch the mail forcefully using  (use '-f 1' if you want to start it forced)!
 
so I did and it is shwing me the error
 
 
[[email protected] ~]# /opt/otrs/bin/otrs.PostMasterMailbox.pl -f 1
 
NOTICE: PostMasterMailbox.pl is already running but is starting again!
POP3: Message 1/48 ([email protected]/pop.gmail.com)
 
 
Wide character in syswrite at /usr/share/perl5/Net/Cmd.pm line 232.
 
in Education & Reference by (1.4k points) | 984 views

1 Answer

0 like 0 dislike

First locate Cmd.pm

either you will find that file in

/usr/share/perl5/Net/Cmd.pm

OR

/usr/lib/perl5/5.8.8/Net/Cmd.pm

then find the below lines

$cmd->dataend()

if (exists ${*$cmd}{'net_cmd_last_ch'});

After that ADD the below lines

# XXX - peralta - encoding bug causes problems with OTRS!
  binmode($cmd, ":utf8");

if (scalar(@_)) {

local $SIG{PIPE} = 'IGNORE' unless $^O eq 'MacOS';
by (790 points)
0 0
great thnx
0 0
Today I am getting different error

Malformed UTF-8 character (fatal) at /usr/share/perl5/Net/Cmd.pm line 303.


So I removed the above solution given and problem got resolved..but why it happens any common or single solution for both of the issues?

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
asked Aug 25, 2013 in Education & Reference by Karan | 548 views
0 like 0 dislike
1 answer
asked May 14, 2020 in Education & Reference by Marc (3.3k points) | 238 views
0 like 0 dislike
1 answer
asked May 13, 2020 in Education & Reference by Marc (3.3k points) | 188 views
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
asked Oct 25, 2017 in Education & Reference by Krish (790 points) | 6.7k views
0 like 0 dislike
2 answers
asked Aug 21, 2017 in Education & Reference by Marc (3.3k points) | 445 views
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,245 questions
1,400 answers
565 comments
4,809 users