CentOS 5.1

ostendo

Verified User
Joined
Dec 6, 2006
Messages
60
I don't really know where to put this, but I just upgraded my machine from CentOS 5.0 to CentOS 5.1 and DirectAdmin works perfectly on this.
The only thing I had to do was to replace /etc/init.d/named by the newly created /etc/init.d/named.rpmsave after which also named booted again.

So, this is more like a pre-troubleshoot-topic.
 
i have upgraded to centos 5.1 then installed DA, then typed the following..

wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh

this is on a VPS... I am new to DA, as i have mainly used cpanel!

af help would be great thanks






Would you like the default settings of apache 2.2 and php 5 cli? (y/n): y
Using the default settings for custombuild.
beginning pre-checks, please wait...
--02:35:29-- http://files.directadmin.com/services/es_5.0/files.sh
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 843 [application/x-sh]
Saving to: `/usr/local/directadmin/scripts/files.sh'

100%[===================================================================>] 843 --.-K/s in 0s

02:35:29 (145 MB/s) - `/usr/local/directadmin/scripts/files.sh' saved [843/843]

adding gd ...

*** the value for gd is empty. It needs to be added manually ***

--02:35:29-- http://www.directadmin.com/named
Resolving www.directadmin.com... 66.51.122.131
Connecting to www.directadmin.com|66.51.122.131|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2472 (2.4K) [text/plain]
Saving to: `/etc/init.d/named'

100%[===================================================================>] 2,472 --.-K/s in 0.001s

02:35:29 (2.32 MB/s) - `/etc/init.d/named' saved [2472/2472]

--02:35:29-- https://www.directadmin.com/cgi-bin/daupdate?uid=11564&lid=31560
Resolving www.directadmin.com... 66.51.122.131
Connecting to www.directadmin.com|66.51.122.131|:443... failed: Cannot assign requested address.
Retrying.
 
# Ostendo:

thanks for the reply

can tell how did u fix the Named ?

replace /etc/init.d/named by the newly created /etc/init.d/named.rpmsave


other way , i just do it get :

libiconv.so.2 is not a symbolic link
/sbin/ldconfig: /lib/libiconv.so.2 is not a symbolic link

Updating : libstdc++-devel ##################### [ 49/377]
Updating : libgnat ##################### [ 50/377]
/sbin/ldconfig: /lib/libiconv.so.2 is not a symbolic link

Updating : cpp ##################### [ 51/377]
Updating : glibc-headers ##################### [ 52/377]
Updating : glibc-devel ##################### [ 53/377]
Updating : gcc ##################### [ 54/377]
Updating : cracklib-dicts ##################### [ 55/377]
Installing: keyutils-libs-devel ##################### [ 56/377]
Updating : devhelp ##################### [ 57/377]
Updating : libicu ##################### [ 58/377]
/sbin/ldconfig: /lib/libiconv.so.2 is not a symbolic link

Updating : pcre ##################### [ 59/377]
/sbin/ldconfig: /lib/libiconv.so.2 is not a symbolic link

Installing: meanwhile ##################### [ 60/377]
/sbin/ldconfig: /lib/libiconv.so.2 is not a symbolic link


Thanks
 
Last edited:
hm. I used:

Code:
cp /etc/init.d/named /etc/init.d/named.backup
cp /etc/init.d/named.rpmsave /etc/init.d/named
service named restart
and it worked.

I do not recognize the libiconv-error, but I know that libiconv is built by custombuild..?
 
thanks

maybe this problem can get support from DA team !

cos when i ./build iconv

i get :

make[1]: Leaving directory `/usr/local/directadmin/custombuild/libiconv-1.11/man'
Done iconv.
ldconfig: /lib/libiconv.so.2 is not a symbolic link

BR.,
 
Last edited:
Accidentaly upgraded centos 5.1 to one of my servers.
After reboot as stated above
/etc/init.d/named.rpmsave must be renamed to /etc/init.d/named
and because I am using dovecot
I have to add
login_process_size = 64
to /etc/dovecot.conf file.

If not added this line dovecot gives error below:

Dec 10 09:29:12 xxxx dovecot[2344]: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory

Problem and the Solution is described here:
http://www.cyberciti.biz/tips/rhel-dovecot-error-while-loading-shared-libraries.html
 
Back
Top