Koozali.org: home of the SME Server

iconv: illegal input sequence at position *** (Solved)

Offline imcintyre

  • *
  • 609
  • +0/-0
iconv: illegal input sequence at position *** (Solved)
« on: April 22, 2008, 03:56:20 AM »
I have the same messed up Server-Manager page as others.

As per the wiki,
Code: [Select]
http://wiki.contribs.org/Translations#Outdated_contribs I tried running the following:
[root@myserver ~]# find /etc/e-smith/locale/ -type f | xargs -n1 iconv -f UTF-8  -t UTF-8 > /dev/null
iconv: illegal input sequence at position 275
iconv: illegal input sequence at position 462

I searched and found this comment by Elmarconi http://forums.contribs.org/index.php?topic=40768.30 and just thought it belonged in its own post.

Any help with what this is and what to do about it would be appreciated
« Last Edit: April 23, 2008, 03:27:34 AM by imcintyre »

Offline elmarconi

  • ***
  • 139
  • +0/-0
Re: iconv: illegal input sequence at position ***
« Reply #1 on: April 22, 2008, 04:23:32 PM »
As stated, problem can be tackled by moving /etc/e-smith/locale/fr to another location, e.g. /root/etc/e-smith/locale/fr.

BTW: I do not have your first error: position 275. That might be another contrib.
Please list installed contribs by running:

/sbin/e-smith/audittools/newrpms | grep smeserver

...

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: iconv: illegal input sequence at position ***
« Reply #2 on: April 22, 2008, 04:56:24 PM »
Thanks, I'm at work right now but will try later at home.

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: iconv: illegal input sequence at position ***
« Reply #3 on: April 23, 2008, 02:55:02 AM »
I got rid of both errors by moving the fr directory as you suggested.

I ran the other command with the following results:

[root@myserver ~]# /sbin/e-smith/audittools/newrpms | grep smeserver
Loading "smeserver" plugin
smeserver-dar2.noarch                    0.0.1-5.el4.sme        installed
smeserver-egroupware.noarch              1.4.002-3.el4.sme      installed
smeserver-gollem.noarch                  1.0-13.el4.sme         installed
smeserver-groupoffice.noarch             2.16.11-2              installed
smeserver-joomla.noarch                  0.9-5                  installed
smeserver-kronolith.noarch               1.1-11.el4.sme         installed
smeserver-mimp.noarch                    1.0-11.el4.sme         installed
smeserver-mnemo.noarch                   1.1-2.el4.sme          installed
smeserver-nag.noarch                     1.1-3.el4.sme          installed
smeserver-openvpn-bridge-fws.noarch      1.0-3                  installed
smeserver-phpmyadmin.noarch              2.10.0.2-0.dmay        installed
smeserver-service_control.noarch         1.1-2                  installed
smeserver-sme7admin.noarch               1.1.0-1                installed
smeserver-tf-b4rt.noarch                 1.0-1.el4.sme          installed
smeserver-torrentflux.noarch             0.9-7.el4.sme          installed
smeserver-trean.noarch                   0.1-3.2.el4.sme        installed
smeserver-webshare.noarch                1.0.0-8dmay            installed

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: iconv: illegal input sequence at position ***
« Reply #4 on: April 23, 2008, 03:27:07 AM »
Then I followed this:
http://forums.contribs.org/index.php?topic=40768.30

specifically;

yum update --enablerepo=smecontribs
 signal-event post-upgrade
 signal-event reboot

and then server mgr is back to normal.

Thx Elmarconi and Cactus

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: iconv: illegal input sequence at position *** (Solved)
« Reply #5 on: April 23, 2008, 03:35:19 AM »
I have tried to fix this but I keep getting   iconv: illegal input sequence at position 420

the new rpms I show are
smeserver-dar2.noarch                    0.0.1-6.el4.sme        installed
smeserver-eaccelerator.i386              0.9.5-1                installed
smeserver-fetchmail.noarch               1.3.6-3.el4.sme        installed
smeserver-mailsorting.noarch             1.2-17.el4.sme         installed
smeserver-mod_deflate.noarch             1.0-2.el4.sme          installed
smeserver-openvpn-bridge-fws.noarch      1.1-1                  installed
smeserver-password.noarch                1.0.0-8.el4.sme        installed
smeserver-phpmyadmin.noarch              2.6.4-pl4.dmay         installed
smeserver-proxypass.noarch               0.0.3-1                installed
smeserver-qpsmtpd-spamassassinlevelstars 0.0.2-0.el4.sme        installed
smeserver-remoteuseraccess.noarch        1.2-19.el4.sme         installed
smeserver-saco-qmHandle.noarch           1.3.1-1                installed
smeserver-sme7admin.noarch               1.1.0-1                installed
smeserver-spamassassin-features.noarch   0.0.2-0                installed
smeserver-wbl.noarch                     0.0.1-a8.dmay          installed


Not sure where to go from here


TIA

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline imcintyre

  • *
  • 609
  • +0/-0

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: iconv: illegal input sequence at position *** (Solved)
« Reply #7 on: April 23, 2008, 04:36:29 AM »
I had looked at, but failed to read it :oops:. It looks like the fetchmail contrib was the problem.


Thanks


Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline edb

  • *
  • 546
  • +0/-0
Re: iconv: illegal input sequence at position *** (Solved)
« Reply #8 on: May 09, 2008, 06:47:43 PM »
I have installed the April update and tried the following commands:
yum update --enablerepo=smecontribs
 signal-event post-upgrade
 signal-event reboot

But I still have unknown entries in srv mgr
Unknown
remoteaccess
uservacations
useraccounts
ibays
directory
datetime
sme7admin
groups
qmailanalog
localnetworks
viewlogfiles
workgroup
starterwebsite
yum
printers
hostentries
pseudonyms
emailsettings
remoteuseraccess

[root@server ~]# yum update --enablerepo=smecontribs
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "installonlyn" plugin
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package rrdtool.i386 0:1.2.27-3.el4 set to be updated
---> Package smeserver-vacation.noarch 0:1.0-22.el4.sme set to be updated
---> Package rrdtool-perl.i386 0:1.2.27-3.el4 set to be updated
---> Package sysstat.i386 0:5.0.5-16.rhel4 set to be updated
---> Package libmcrypt.i386 0:2.5.7-5.el4 set to be updated
---> Package smeserver-remoteuseraccess.noarch 0:1.2-21.el4.sme set to be updated
---> Package smeserver-userpanels.noarch 0:1.0-12.el4.sme set to be updated
---> Package awstats.noarch 0:6.7-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: libart_lgpl_2.so.2 for package: rrdtool
--> Finished Dependency Resolution
Error: Missing Dependency: libart_lgpl_2.so.2 is needed by package rrdtool
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@server ~]# /sbin/e-smith/audittools/newrpms | grep smeserver
Loading "smeserver" plugin
smeserver-awstats.noarch                 1.2-5.el4.sme          installed

smeserver-remoteuseraccess.noarch        1.2-12.el4.sme         installed

smeserver-sme7admin.noarch               1.1.0-1                installed

smeserver-userpanels.noarch              1.0-6.el4.sme          installed

smeserver-vacation.noarch                1.0-13.el4.sme         installed


Not sure what else to try but I had Cacti installed previously and had removed it thinking it may have been the problem but I'm not sure about the rrdtool error.

edb
......

Offline edb

  • *
  • 546
  • +0/-0
Re: iconv: illegal input sequence at position *** (Solved)
« Reply #9 on: May 09, 2008, 07:38:40 PM »
Sorry ... it's fixed now.
I had to do a
Code: [Select]
yum remove rrdtool-1.0.50-3.el4.rffollowed by
Code: [Select]
signal-event post-upgrade; signal-event reboot
After the reboot, I could then do the
Code: [Select]
yum update --enablerepo=smecontribs
signal-event post-upgrade; signal-event reboot

It is all fixed now ...

edb
......