31it3
asked on
Issue with Sendmail after the re-install of the required applications
[root@ root]# yum remove m4
Unable to find pid
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.Dependencies resolved
I will do the following:
[erase: m4 1.4.1-13.i386]
I will erase these to satisfy the dependencies:
[deps: libtool 1.4.3-5.i386]
[deps: autoconf 2.57-3.noarch]
Is this ok [y/N]: y
Downloading Packages
Running test transaction:
Test transaction complete, Success!
Erasing: m4 1/3
Erasing: libtool 2/3
Erasing: autoconf 3/3
Erased: m4 1.4.1-13.i386 libtool 1.4.3-5.i386 autoconf 2.57-3.noarch
Transaction(s) Complete
[root@ root]# yum remove sendmail-cf
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Erase: No matches for sendmail-cf
No actions to take
[root@ root]#
---- ----
[root@ root]# yum install m4
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: m4 1.4.1-13.i386]
Is this ok [y/N]: y
Downloading Packages
Getting m4-1.4.1-13.i386.rpm
m4-1.4.1-13.i386.rpm 100% |========================= | 85 kB 00:00
Running test transaction:
Test transaction complete, Success!
m4 100 % done 1/1
Installed: m4 1.4.1-13.i386
Transaction(s) Complete
[root@ root]#
[root@ root]# yum install sendmail-cf
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: sendmail-cf 8.12.11-4.24.4.legacy.i386 ]
Is this ok [y/N]: y
Downloading Packages
Running test transaction:
Test transaction complete, Success!
sendmail-cf 100 % done 1/1
Installed: sendmail-cf 8.12.11-4.24.4.legacy.i386
Transaction(s) Complete
[root@ root]#
--- ---
[root@sp2134a root]# service sendmail restart
Shutting down sendmail: [FAILED]
Shutting down sm-client: [FAILED]
Starting sendmail: makemap: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
make: *** [virtusertable.db] Error 127
/usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
Starting sm-client: /usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
[root@ root]#
Unable to find pid
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.Dependencies resolved
I will do the following:
[erase: m4 1.4.1-13.i386]
I will erase these to satisfy the dependencies:
[deps: libtool 1.4.3-5.i386]
[deps: autoconf 2.57-3.noarch]
Is this ok [y/N]: y
Downloading Packages
Running test transaction:
Test transaction complete, Success!
Erasing: m4 1/3
Erasing: libtool 2/3
Erasing: autoconf 3/3
Erased: m4 1.4.1-13.i386 libtool 1.4.3-5.i386 autoconf 2.57-3.noarch
Transaction(s) Complete
[root@ root]# yum remove sendmail-cf
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Erase: No matches for sendmail-cf
No actions to take
[root@ root]#
---- ----
[root@ root]# yum install m4
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: m4 1.4.1-13.i386]
Is this ok [y/N]: y
Downloading Packages
Getting m4-1.4.1-13.i386.rpm
m4-1.4.1-13.i386.rpm 100% |=========================
Running test transaction:
Test transaction complete, Success!
m4 100 % done 1/1
Installed: m4 1.4.1-13.i386
Transaction(s) Complete
[root@ root]#
[root@ root]# yum install sendmail-cf
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: sendmail-cf 8.12.11-4.24.4.legacy.i386
Is this ok [y/N]: y
Downloading Packages
Running test transaction:
Test transaction complete, Success!
sendmail-cf 100 % done 1/1
Installed: sendmail-cf 8.12.11-4.24.4.legacy.i386
Transaction(s) Complete
[root@ root]#
--- ---
[root@sp2134a root]# service sendmail restart
Shutting down sendmail: [FAILED]
Shutting down sm-client: [FAILED]
Starting sendmail: makemap: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
make: *** [virtusertable.db] Error 127
/usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
Starting sm-client: /usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
[root@ root]#
ASKER
changed to mail dir, noticed I was at root not that it matters I guess same errors...
ASKER
Oops.
[root@ etc]# cd mail
[root@ mail]# make
makemap: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
make: *** [virtusertable.db] Error 127
[root@ mail]# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
[root@ mail]# newaliases
newaliases: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[root@ mail]# service sendmail restart
Shutting down sendmail: [FAILED]
Shutting down sm-client: [FAILED]
Starting sendmail: makemap: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
make: *** [virtusertable.db] Error 127
/usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
Starting sm-client: /usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
[root@ mail]#
[root@ etc]# cd mail
[root@ mail]# make
makemap: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
make: *** [virtusertable.db] Error 127
[root@ mail]# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
[root@ mail]# newaliases
newaliases: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[root@ mail]# service sendmail restart
Shutting down sendmail: [FAILED]
Shutting down sm-client: [FAILED]
Starting sendmail: makemap: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
make: *** [virtusertable.db] Error 127
/usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
Starting sm-client: /usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
[root@ mail]#
can you post the contents of /etc/ld.so.conf here pls?
ASKER
/etc/ld.so.conf ' as follows
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/mysql
/usr/lib/qt-3.1/lib
/usr/local/mysql/lib/mysql
/usr/local/mysql/lib/mysql
/usr/local/mysql/lib/mysql
/usr/local/mysql/lib/mysql
/usr/local/mysql/lib/mysql
Have to blaze to work, will check in a hour or so thanks again!
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/mysql
/usr/lib/qt-3.1/lib
/usr/local/mysql/lib/mysql
/usr/local/mysql/lib/mysql
/usr/local/mysql/lib/mysql
/usr/local/mysql/lib/mysql
/usr/local/mysql/lib/mysql
Have to blaze to work, will check in a hour or so thanks again!
i suspect that the system has got a corrupt
make
file which might required to be reinstalled
or try a
ldconfig -v
(the command would recreate most of the missing links and set right some of the critical stuff provided your ld.so.conf in /etc is properly setup). once done you should not get errors like these. but if you still get these errors try reinstalling "make"
yum remove make
yum install make
make
file which might required to be reinstalled
or try a
ldconfig -v
(the command would recreate most of the missing links and set right some of the critical stuff provided your ld.so.conf in /etc is properly setup). once done you should not get errors like these. but if you still get these errors try reinstalling "make"
yum remove make
yum install make
you can safely remove the /usr/local/mysql/lib/mysql which are repeats and leave only one entry behind. but please check to make sure that the directory is really there.
there would also be a directory /etc/ld.so.conf.d/ which would have some files and all the paths mentioned there should be available on the system. once having verified those, THEN ONLY issue the command
ldconfig -v
there would also be a directory /etc/ld.so.conf.d/ which would have some files and all the paths mentioned there should be available on the system. once having verified those, THEN ONLY issue the command
ldconfig -v
ASKER
I know make is good because I compiled and made apache, php and mysql...
Get the following after running
**removed duplicate entrys of /usr/local/mysql/lib/mysql
**there would also be a directory /etc/ld.so.conf.d/ which would have some files and all the paths mentioned there should be available on the system. once having verified those, THEN ONLY issue the command
dir is there nothing is in that dir empty dir
ldconfig -v
[root@sp2134a mail]# service sendmail restart
Shutting down sendmail: [FAILED]
Shutting down sm-client: [FAILED]
Starting sendmail: makemap: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
make: *** [virtusertable.db] Error 127
/usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
Starting sm-client: /usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
[root@sp2134a mail]#
Get the following after running
**removed duplicate entrys of /usr/local/mysql/lib/mysql
**there would also be a directory /etc/ld.so.conf.d/ which would have some files and all the paths mentioned there should be available on the system. once having verified those, THEN ONLY issue the command
dir is there nothing is in that dir empty dir
ldconfig -v
[root@sp2134a mail]# service sendmail restart
Shutting down sendmail: [FAILED]
Shutting down sm-client: [FAILED]
Starting sendmail: makemap: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
make: *** [virtusertable.db] Error 127
/usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
Starting sm-client: /usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
[root@sp2134a mail]#
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help and pointing me the right direction, spent some time on it tonight final solution as follows... figured it out without the hammer (ugh)
removed - openldap
removed - openldap-devel
removed - sendmail
[root@ var]# yum install openldap
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: openldap 2.0.27-8.i386]
Is this ok [y/N]: y
Downloading Packages
Getting openldap-2.0.27-8.i386.rpm
openldap-2.0.27-8.i386.rp 100% |========================= | 391 kB 00:00
Running test transaction:
Test transaction complete, Success!
openldap 100 % done 1/1
Installed: openldap 2.0.27-8.i386
Transaction(s) Complete
[root@ var]# yum install openldap-devel
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: openldap-devel 2.0.27-8.i386]
Is this ok [y/N]: y
Downloading Packages
Getting openldap-devel-2.0.27-8.i3 86.rpm
openldap-devel-2.0.27-8.i 100% |========================= | 461 kB 00:00
Running test transaction:
Test transaction complete, Success!
openldap-devel 100 % done 1/1
Installed: openldap-devel 2.0.27-8.i386
Transaction(s) Complete
[root@ var]# yum install sendmail
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: sendmail 8.12.11-4.24.4.legacy.i386 ]
Is this ok [y/N]: y
Downloading Packages
Running test transaction:
Test transaction complete, Success!
sendmail 100 % done 1/1
Installed: sendmail 8.12.11-4.24.4.legacy.i386
Transaction(s) Complete
[root@ var]#
[root@ mail]# service sendmail start
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
[root@ mail]#
Thanks again for your help... much appreciated
removed - openldap
removed - openldap-devel
removed - sendmail
[root@ var]# yum install openldap
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: openldap 2.0.27-8.i386]
Is this ok [y/N]: y
Downloading Packages
Getting openldap-2.0.27-8.i386.rpm
openldap-2.0.27-8.i386.rp 100% |=========================
Running test transaction:
Test transaction complete, Success!
openldap 100 % done 1/1
Installed: openldap 2.0.27-8.i386
Transaction(s) Complete
[root@ var]# yum install openldap-devel
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: openldap-devel 2.0.27-8.i386]
Is this ok [y/N]: y
Downloading Packages
Getting openldap-devel-2.0.27-8.i3
openldap-devel-2.0.27-8.i 100% |=========================
Running test transaction:
Test transaction complete, Success!
openldap-devel 100 % done 1/1
Installed: openldap-devel 2.0.27-8.i386
Transaction(s) Complete
[root@ var]# yum install sendmail
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: sendmail 8.12.11-4.24.4.legacy.i386
Is this ok [y/N]: y
Downloading Packages
Running test transaction:
Test transaction complete, Success!
sendmail 100 % done 1/1
Installed: sendmail 8.12.11-4.24.4.legacy.i386
Transaction(s) Complete
[root@ var]#
[root@ mail]# service sendmail start
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
[root@ mail]#
Thanks again for your help... much appreciated
ASKER
make: *** No targets specified and no makefile found. Stop.
[root@sp2134a root]# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
[root@sp2134a root]# newaliases
newaliases: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[root@sp2134a root]# service sendmail restart
Shutting down sendmail: [FAILED]
Shutting down sm-client: [FAILED]
Starting sendmail: makemap: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
make: *** [virtusertable.db] Error 127
/usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
Starting sm-client: /usr/sbin/sendmail: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory
[FAILED]
[root@sp2134a root]#