PDA

View Full Version : Help, strange things happen after setup



dollah
05-05-2004, 01:45 PM
Hello,

I think I messed up with the server and direct admin.
When I install the redhat 9.0, I included also apache, mysql, named etc into the package.

When I install DA, httpd won't restart together with mysql named vm-3pop.

So what should I do ? Should I re-format my server and make the MINIMAL Installation, or uninstall everything

some errors :

HTTPD :

[root@orange directadmin]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd:
Apache 1.3 configuration directives found
please read /usr/share/doc/httpd-2.0.40/migration.html
[FAILED]
[root@orange directadmin]#


NAMED :
[root@orange directadmin]# service named restart
Stopping named: rndc: connect failed: connection refused
[FAILED]
Starting named: /usr/sbin/named: error while loading shared libraries: /usr/lib/liblwres.so.1: invalid ELF header
[root@orange directadmin]#

----------------------------------------------------------

Thank you in advanced.
Fadhlullah bin Abd Rahman

DirectAdmin Support
05-05-2004, 02:23 PM
Hello,

It's fixable.

cd /usr/local/directadmin/customapache
./build all

As for named, you can get the bind (named) rpms, along with all other files from:

http://files.directadmin.com/services/9.0/

John

dollah
05-05-2004, 02:28 PM
Hello :)

Ok, I tried the ./build all

this is what I get.

====================================

Configuring mod_ssl/2.8.16 for Apache/1.3.29
+ Apache location: ../apache_1.3.29 (Version 1.3.29)
+ OpenSSL location: /usr
+ Auxiliary patch tool: ./etc/patch/patch (local)
./configure:Error: Building of 'patch' tool failed:
-------------------------------------------------
patch/rename.c
patch/util.c
patch/util.h
patch/version.c
patch/version.h
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** No targets specified and no makefile found. Stop.
-------------------------------------------------
Hint: Either try to build 'patch' under etc/patch/
Hint: manually and re-run this 'configure' script
Hint: or provide us the path to your vendor 'patch'
Hint: program via the --with-patch=FILE option (but
Hint: expect perhaps failures when applying patches!)

*** There was an error while trying to configure apache+mod_ssl. Check the configure.apache_ssl file

=========================================

For the Named

[root@orange root]# rpm -Uvh bind-9.2.1-16.i386.rpm
warning: bind-9.2.1-16.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
rpmdb: /var/lib/rpm/Basenames: unexpected file type or format
error: cannot open Basenames index using db3 - Invalid argument (22)
rpmdb: /var/lib/rpm/Basenames: unexpected file type or format
rpmdb: /var/lib/rpm/Basenames: unexpected file type or format
error: Failed dependencies:
/bin/bash is needed by bind-9.2.1-16
/bin/sh is needed by bind-9.2.1-16
/bin/usleep is needed by bind-9.2.1-16
==========================================


Thank you

DirectAdmin Support
05-05-2004, 02:31 PM
Hello,

I think your "minimal" install is a bit too minimal :)

You need to have gcc, g++ and the items specified by the named error. I'm quite surprized that you don't have bash or sh.. those are quite standard. If you've accidently clobbered your /bin directory, then a reinstall of the OS might be a good idea :)

John

dollah
05-05-2004, 02:37 PM
Yea, I think I need to re-install it again.

Could you tell me, what to install and what NOT to install ?

apache etc

Thank you,

dollah
05-05-2004, 02:41 PM
it wouldbe nice if it is listed in details :p

quite new in this.

btw, john. Can you check my server ?
whether it is small matter or not.

I already sent email support@directadmin.com regarding this.

Thank you

DirectAdmin Support
05-06-2004, 12:28 PM
Hello,

Generally a default "server" install is all you need. If you want to tweek the settings, you can add the extra development packages, and named. named (bind) is added if it's missing, but gcc, g++ etc.. are not, so you need to ensure that they're setup properly.

rpms:
gcc
gcc-c++
libstdc++
libstdc++-devel
glibc
glibc-common
glibc-devel
bind
bind-utils

John

dollah
05-07-2004, 03:50 AM
thanks,

Now it works :)
actually the direct admin mysqld conflicted with my existing mysqld server.

all run smooth, still figuring out the function etc.

but I got one minor error left.

http://orange.fivio.com/webmail

my webmail :(

THANK YOU VERY MUCH :)

DirectAdmin Support
05-07-2004, 11:55 AM
cd /usr/local/directadmin/scripts
./webmail.sh

:)

John