12-03-2016 01:10 AM
Hello , I am new to Alfresco and I am trying to install alfresco in my debian server(via ssh access) following the installation guide. However, the installation stops and shows me this error :
Error: There has been an error. initdb.bin: encoding mismatch The encoding you selected (UTF8) and the encoding that the selected locale uses (LATIN1) do not match. This would lead to misbehavior in various character string processing functions. Rerun initdb.bin and either do not specify an encoding explicitly, or choose a matching combination.
I tried updating the locales of the server but still the issue exists. How do I fix this?
12-05-2016 03:38 AM
Hi,
Maybe your issue is related to [ACE-4162] Alfresco Enterprise full installer for Linux quits on RHEL7.1 - Alfresco JIRA
Could you check all your locale ?
Yann
12-05-2016 10:16 AM
I have updated my locale and chose the "All locales" option during the locales update both on the debian where I am doing the ssh access to my server and to the debian server as well. What do I try?
I have a problem with the workaround stated here:
As a workaround add the following in the /etc/locale.conf file, log out and then log in:
LC_ALL="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
I cannot seem to find the file locale.conf in etc. I only have locale.gen. Or is it in a different directory in debian? I am sorry I am not very much adept in Linux.
12-05-2016 10:26 AM
Hi,
Maybe you could check this link HowTo : Change Locale (Language and Character Set) in Linux | Linux Apps, Linux Commands
Yann
12-06-2016 09:20 AM
I have successfully installed it by doing the following steps:
1. Commented out the Send_ENV in /etc/ssh/ssh_config variable in the local machine and Accept_ENV in /etc/ssh/sshd_config variable in the server.
2. Edited /etc/locale.gen to uncomment en_US.UTF-8.
3. Ran locale-gen
4. Edited /etc/locale.conf and added LANG=en_US.UTF-8.
5. Successfully installed alfresco.
However, when I am trying to reach it via its URL which is <server ip address>:8081/share (I used 8081 as its port during the installation because 8080 is being used by another application), it shows me a 404 page. How do I fix this?
12-06-2016 09:23 AM
Can you attach the log file ?
Yann
12-06-2016 09:37 AM
12-06-2016 09:39 AM
Tomcat's log file is located under $ALF_HOME/tomcat/logs.
$ALF_HOME is the directory where you installed Alfresco.
Yann
12-06-2016 09:47 AM
12-06-2016 09:55 AM
Here is the errors :
"SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-apr-8081"]
java.lang.Exception: Socket bind failed: [98] Address already in use"
It seems that you more than one services trying to bind on 8081 port. Shutdown the service that use the port and restart Alfresco.
You can use the command "netstat" to achieve this.
Yann
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.