Can't get Proftpd or Exim running

i2iweb

Verified User
Joined
Feb 26, 2004
Messages
41
Location
Dallas, TX
Just did a fresh install on Freebsd 4.9 and unable to start Exim or Proftpd. For some reason it doesn't look like they were installed correctly.

I have no /etc/exim.conf or any other references to exim in the system nor do I have proftpd but I see a Proftpd.conf. Also there are no messages in my /var/log/messages pertaining to either of the two. How can I get these working without breaking anything or reinstalling?


less errortaskq.log

2004:02:26-21:34:00: Error starting service exim : uid 0 gid 0 :
2004:02:26-21:34:03: service exim didn't start, re-starting it
2004:02:26-21:34:03: Error restarting service exim : uid 0 gid 0 :
2004:02:26-21:34:06: service proftpd wasn't running, starting it
2004:02:26-21:34:06: Error starting service proftpd : uid 0 gid 0 :
2004:02:26-21:34:09: service proftpd didn't start, re-starting it
2004:02:26-21:34:10: Error restarting service proftpd : uid 0 gid 0 :
 
Check this and tell me what the errors are.

/usr/local/etc/rc.d/httpd start
/usr/local/etc/rc.d/proftpd start

Second check this...

/var/log/directadmin/install.log
/var/log/exim/exim_paniclog

I am pretty sure I know what the problem is, but I would suggest you see if you have a reoccuring theme in those logs.
 
There is no Proftpd in rc.d and no /var/log/exim directory. Hopefully what I posted below is enough but it looks like the install worked great according to the install.log unless I'm missing something.

santacruz# ls /usr/local/etc/rc.d/
000.pkgtools.sh directadmin mysqld snort.sh startips
boot.sh functions named snort.sh.sample vm-pop3d
da-popb4smtp httpd pidof sshd webmin.sh-dist

/var/log/directadmin/install.log

Install of /usr/local/directadmin/data/templates/proftpd.conf to /etc/proftpd.co
nf successfull
Install of /usr/local/directadmin/data/templates/directadmin.conf to /usr/local/
directadmin/conf/directadmin.conf successfull
directory /usr/local/directadmin/log created
directory /usr/local/directadmin/data created
directory ./data/admin created
directory /usr/local/directadmin/data/tickets created
directory ./data/users created
directory ../../../home/tmp created
directory /etc/virtual created
directory /var/spool/virtual created
directory ./data/admin/ips created
directory ./data/admin/packages created
ip.list written successfully
./data/admin/login.hist written successfully
./data/admin/next_ticket.number written correctly
./data/admin/services.status written successfully
tickets.list written successfully
Admin user created
 
Is this a clean OS install? I see webmin and snort in your rc.d. If it is not it is highly recommended. If you used it as a server before you can have issues like this.

http://www.directadmin.com/install.html

If everything else seems to be working you could go to /usr/local/directadmin/scripts/

As root:
./exim.sh
./proftpd.sh

Post any problems with that.
 
Correct, if you have any other email/ftp programs, the freebsd pkg system won't let exim/proftpd get intstalled. Remove the other packages first.

John
 
I did a base reinstall and had DA support install DA and everything works great now. Thanks for all the help everyone.
 
I'm having the same problem here. Exim isn't starting.
Installed DA on a fresh Redhat 8.0 box.

2004:09:16-00:49:10: Error restarting service exim : uid 0 gid 0 : /sbin/service exim restart
2004:09:16-00:50:00: service exim wasn't running, starting it
2004:09:16-00:50:00: Error starting service exim : uid 0 gid 0 : /sbin/service exim start

I followed instructions above, and ran the the exim.sh script again, but problem is stille there.

Any suggestions?

Output of ./exim.sh:
[root@server directadmin]# cd /usr/local/directadmin/scripts/
[root@server scripts]# ./exim.sh
error: Failed dependencies:
libcrypto.so.0.9.6 is needed by da_exim-4.42-1
libssl.so.0.9.6 is needed by da_exim-4.42-1
Preparing... ########################################### [100%]
package da_vm-pop3d-1.1.7e-1 is already installed
make: `wrapper' is up to date.
Testing for perl (/usr/bin/perl)...
Configuring scripts...
./install.sh -m 751 -O 103 -g 2 . /etc/virtual/majordomo
./install.sh -m 755 -O 103 -g 2 . /etc/virtual/majordomo/bin
Copying tools to /etc/virtual/majordomo/bin
Copying Majordomo files to /etc/virtual/majordomo
Copying archiving and other tools to /etc/virtual/majordomo/Tools
./install.sh -m 755 -O 103 -g 2 . /etc/virtual/majordomo/Tools
Using installed majordomo.cf
Installing manual pages in /etc/virtual/majordomo/man

To finish the installation, 'su' to root and type:

make install-wrapper

If not installing the wrapper, type

cd /etc/virtual/majordomo; ./wrapper config-test

(no 'su' necessary) to verify the installation.
./install.sh -o root -g 2 \
-m 4755 wrapper /etc/virtual/majordomo/wrapper

To verify that all the permissions and etc are correct,
run the command

cd /etc/virtual/majordomo; ./wrapper config-test
Starting DA-PopB4Smtp:
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
 
Got some more information that might help:

It seems that Exim isn't installed:

# rpm -qa | grep exim
#

#ls /etc/e*
/etc/esd.conf /etc/exports

#ls /var/log/exim
ls: /var/log/exim: No such file or directory

Can I install only Exim after the complete DA install?
 
Hello,

Try compling the source rpm for your own system configuration:
Code:
wget http://files.directadmin.com/services/da_exim-4.42-1.src.rpm
rpmbuild --rebuild da_exim-4.42-1.src.rpm
cd /usr/src/redhat/RPMS/i386
rpm -ivh --force da_exim-4.42-1.i386.rpm
John
 
During the rpmbuild I get an error, last lines of this rpmbuild are giving me the following:

>>> exim_checkaccess script built

gcc -c -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o exim_dbmbuild.o exim_dbmbuild.c
In file included from exim.h:379,
from exim_dbmbuild.c:31:
dbstuff.h:101:16: db.h: No such file or directory
In file included from exim.h:379,
from exim_dbmbuild.c:31:
dbstuff.h:527: parse error before "DB"
dbstuff.h:527: warning: no semicolon at end of struct or union
dbstuff.h:529: parse error before '}' token
dbstuff.h:529: warning: data definition has no type or storage class
In file included from exim.h:383,
from exim_dbmbuild.c:31:
dbfunctions.h:11: parse error before '*' token
dbfunctions.h:12: parse error before '*' token
dbfunctions.h:13: parse error before '*' token
dbfunctions.h:13: parse error before "open_db"
dbfunctions.h:13: warning: data definition has no type or storage class
dbfunctions.h:14: parse error before '*' token
dbfunctions.h:15: parse error before '*' token
dbfunctions.h:16: parse error before '*' token
exim_dbmbuild.c: In function `main':
exim_dbmbuild.c:142: `DB' undeclared (first use in this function)
exim_dbmbuild.c:142: (Each undeclared identifier is reported only once
exim_dbmbuild.c:142: for each function it appears in.)
exim_dbmbuild.c:142: `d' undeclared (first use in this function)
exim_dbmbuild.c:143: `DBT' undeclared (first use in this function)
exim_dbmbuild.c:143: parse error before "key"
exim_dbmbuild.c:196: `DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:276: `content' undeclared (first use in this function)
exim_dbmbuild.c:279: `key' undeclared (first use in this function)
exim_dbmbuild.c:279: `R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/da_exim-4.42/build-Linux-i386'
make: *** [go] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.99712 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.99712 (%build)
 
Hello,

db.h: No such file or directory

Perhaps you don't have db(x)-devel installed... (where (x) is 1,2,3 or 4).

If you'd like me to get it working, just send your IP and root pass and I'll fix it up for you. ([email protected])

John
 
hello
i have same problem and the ProFTPd Process is stopped is not work and vm-Pop3d Process is stopped
can you help me in this plz
:(
thank you very much
 
Back
Top