Page tree
Skip to end of metadata
Go to start of metadata


The system shows an error when you try to upload an audio file.

"Unable to upload MoH on xxxxx it uploads but sox fails to convert it. Tried different types of formats.


Probably your CentOS server uses an old version of the sox library, check the version and update it if necessary.

The correct version is v14.4.2 or newer

Check sox version
[[email protected] ~]# sox --version
sox:      SoX v14.4.2

Command list to update the sox library:

cd /usr/src
rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rm -rf rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
yum --assumeyes install libid3tag-devel flac-devel libmad-devel lame-devel
tar -xzf sox-14.4.2.tar.gz && rm -rf sox-14.4.2.tar.gz && cd sox-14.4.2
./configure --prefix=/usr
make -s && make install