1 like 0 dislike
775 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
 
 
[root@180 ~]# /opt/otrs/bin/otrs.PostMasterMailbox.pl -f 1
 
NOTICE: PostMasterMailbox.pl is already running but is starting again!
POP3: Message 1/48 (sam@gmail.com/pop.gmail.com)
 
 
Wide character in syswrite at /usr/share/perl5/Net/Cmd.pm line 232.
 
asked Oct 8, 2015 in Education & Reference by Sam (1,370 points) | 775 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';

answered Oct 8, 2015 by Krish (880 points)
great thnx
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 | 507 views
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
asked Oct 25, 2017 in Education & Reference by Krish (880 points) | 2,513 views
0 like 0 dislike
2 answers
asked Aug 21, 2017 in Education & Reference by Marc (2,460 points) | 115 views
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
2 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

Mathe Forum Schule und Studenten
1,171 questions
1,311 answers
276 comments
1,602 users