Lotus Notes and Sendmail on a Suse 10 Server

Discussion in 'Server Operation' started by david.parker, Sep 14, 2006.

  1. david.parker

    david.parker New Member

    Hello,
    I´ve got the following problem. I need to recieve system mails from my Notes-Server, but my Postfix fails. I realise that Notes is using Port 25, but there must be a way to recieve system mails.

    When I start postfix, it starts and then shortly afterwards it´s dead.

    /var/log/mail
    Sep 13 14:11:09 XXXX postfix/postfix-script: starting the Postfix mail system
    Sep 13 14:11:09 XXXX postfix/master[19753]: fatal: bind 127.0.0.1 port 25: Address already in use
    Sep 13 14:11:50 XXXX postfix/postfix-script: starting the Postfix mail system
    Sep 13 14:11:50 XXXX postfix/master[19911]: fatal: bind 127.0.0.1 port 25: Address already in use
    Sep 13 12:12:10 XXXX postfix/postqueue[20004]: fatal: Cannot flush mail queue - mail system is down

    What can I do?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Are Postfix and Lotus Notes installed on the same system? What's the output of
    Code:
    netstat -tap
    ?
     
  3. david.parker

    david.parker New Member

    Hello Falko,
    I´ve got quite a long list for you.

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:ldap *:* LISTEN 29570/ldap
    tcp 0 0 *:lotusnote *:* LISTEN 29018/server
    tcp 0 0 *:pop3 *:* LISTEN 29568/pop3
    tcp 0 0 *:sunrpc *:* LISTEN 5515/portmap
    tcp 0 0 *:www-http *:* LISTEN 29571/http
    tcp 0 0 *:smtp *:* LISTEN 29572/smtp
    tcp 0 0 *:https *:* LISTEN 29571/http
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.32:jstel ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote Serv.Notes0:58901 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.178.1:remote-as ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.111:1136 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.178.ansoft-lm-1 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.104:icp ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.181.14:nimsh ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.2:gmrupdateserv ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.10:startron ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.181.1:syscomlan ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.:cognex-insight ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.126:rdrmshc ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.10:polestar ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.109:kiosk ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.20:amt-esd-prot ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.182.instl_boots ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.119:vfo ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.1:syscomlan ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.ansoft-lm-2 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.181.instl_boots ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.178.126:nimreg ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.181.1:dcutility ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.1:remote-as ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.:pangolin-laser ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.104:nsstp ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.122:cma ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.178.111:nsstp ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.178.109:mtqp ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.122:cma ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.182.125:neod2 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.181.112:ddt ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.182.125:fpitp ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.2:netinfo-local ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.123:neod1 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.181.101:ams ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.181.wfremotertm ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.121:nsstp ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.178.125:iad3 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.182.127:iad3 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.110:brvread ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.11:ansyslmd ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.181.101:neod2 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.181.114:mtqp ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.20:boinc-client ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.113:sbl ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.10:danf-ak2 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.181.108:afrog ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.103:neod2 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.optima-vnet ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.179.:activesync ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.181.107:afrog ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.20:boinc-client ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.182.156:ddt ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote Serv.Notes0:60561 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes0:60561 Serv.Notes:lotusnote ESTABLISHED 29625/amgr
    tcp 0 0 Serv.Notes0:58901 Serv.Notes:lotusnote ESTABLISHED 29625/amgr
    tcp 0 0 Serv.Notes:lotusnote 192.168.178.:activesync ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.178.206:lpcp ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.178.254:neod2 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.180.14:4842 ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.178.205:jstel ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.182.233:ams ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote PC000130:concurrent-lm ESTABLISHED 29018/server
    tcp 0 0 Serv.Notes:lotusnote 192.168.:cognex-insight ESTABLISHED 29018/server
    tcp 0 0 *:ssh *:* LISTEN 5750/sshd
    tcp 0 0 Serv.Notes0:ssh 192.168.178.2:eek:s-licman ESTABLISHED 30962/0

    Bye for now Dave
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    grep smtp /etc/services
    grep lotusnote /etc/services
    ?
     
  5. david.parker

    david.parker New Member

    Hallo Falko
    das Ergebnis, die beiden Abfragen.

    less /etc/services |grep smtp
    smtp 25/tcp mail # Simple Mail Transfer
    smtp 25/udp mail # Simple Mail Transfer
    smtps 465/tcp # eMail Server
    # Boris B. Maiden <[email protected]>
    rsmtp 2390/tcp # RSMTP
    rsmtp 2390/udp # RSMTP


    # less /etc/services |grep lotusnote
    lotusnote 1352/tcp lotusnotes # Lotus Note
    lotusnote 1352/udp lotusnotes # Lotus Note
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Ok, and what's the output of
    Code:
    ps aux
    ?
     
  7. david.parker

    david.parker New Member

    Results from ps aux

    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 0.0 740 284 ? S Sep22 0:00 init [3]
    root 2 0.0 0.0 0 0 ? S Sep22 0:00 [migration/0]
    root 3 0.0 0.0 0 0 ? SN Sep22 0:00 [ksoftirqd/0]
    root 4 0.0 0.0 0 0 ? S Sep22 0:00 [watchdog/0]
    root 5 0.0 0.0 0 0 ? S Sep22 0:00 [migration/1]
    root 6 0.0 0.0 0 0 ? SN Sep22 0:00 [ksoftirqd/1]
    root 7 0.0 0.0 0 0 ? S Sep22 0:00 [watchdog/1]
    root 8 0.0 0.0 0 0 ? S< Sep22 0:00 [events/0]
    root 9 0.0 0.0 0 0 ? S< Sep22 0:00 [events/1]
    root 10 0.0 0.0 0 0 ? S< Sep22 0:00 [khelper]
    root 11 0.0 0.0 0 0 ? S< Sep22 0:00 [kthread]
    root 25 0.0 0.0 0 0 ? S< Sep22 0:04 [kblockd/0]
    root 26 0.0 0.0 0 0 ? S< Sep22 0:04 [kblockd/1]
    root 27 0.0 0.0 0 0 ? S< Sep22 0:00 [kacpid]
    root 458 0.0 0.0 0 0 ? S Sep22 0:27 [pdflush]
    root 459 0.0 0.0 0 0 ? S Sep22 0:41 [pdflush]
    root 461 0.0 0.0 0 0 ? S< Sep22 0:00 [aio/0]
    root 462 0.0 0.0 0 0 ? S< Sep22 0:00 [aio/1]
    root 460 0.0 0.0 0 0 ? S Sep22 3:23 [kswapd0]
    root 1061 0.0 0.0 0 0 ? S< Sep22 0:00 [kseriod]
    root 1212 0.0 0.0 0 0 ? S< Sep22 0:00 [scsi_eh_0]
    root 1471 0.0 0.0 0 0 ? S Sep22 0:02 [kjournald]
    root 2445 0.0 0.0 0 0 ? S Sep22 0:00 [kjournald]
    root 2446 0.0 0.0 0 0 ? S Sep22 0:00 [kjournald]
    root 2447 0.0 0.0 0 0 ? S Sep22 0:38 [kjournald]
    root 2448 0.0 0.0 0 0 ? S Sep22 0:22 [kjournald]
    root 2449 0.0 0.0 0 0 ? S Sep22 0:04 [kjournald]
    root 2500 0.0 0.0 7128 988 ? S<s Sep22 0:01 /sbin/udevd --daemon --stop-exec-queue
    root 2899 0.0 0.0 0 0 ? S Sep22 0:00 [shpchpd_event]
    root 3005 0.0 0.0 0 0 ? S< Sep22 0:00 [khubd]
    100 3361 0.0 0.1 15160 1080 ? Ss Sep22 0:00 /usr/bin/dbus-daemon --system
    root 3484 0.0 0.0 2576 364 ? Ss Sep22 0:00 /usr/sbin/irqbalance
    root 3575 0.0 0.0 10460 708 ? Ss Sep22 0:00 /sbin/resmgrd
    mdnsd 5243 0.0 0.0 7180 948 ? Ss Sep22 0:00 /usr/sbin/mdnsd -f /etc/nss_mdns.conf -b
    root 5249 0.0 0.0 8120 780 ? Ss Sep22 0:02 /sbin/syslog-ng
    root 5255 0.0 0.0 2840 664 ? Ss Sep22 0:00 /sbin/klogd -c 1 -x -x
    nobody 5275 0.0 0.0 4656 412 ? Ss Sep22 0:00 /sbin/portmap
    root 5352 0.0 0.1 40692 1216 ? Ssl Sep22 0:01 /usr/sbin/nscd
    root 5380 0.0 0.0 2576 484 ? Ss Sep22 0:00 /usr/sbin/acpid
    lp 5400 0.0 0.3 22640 3712 ? Ss Sep22 0:00 /usr/sbin/cupsd
    root 5478 0.0 0.1 25736 1328 ? Ss Sep22 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
    root 5687 0.0 0.0 5932 560 ? Ss Sep22 0:00 /usr/sbin/cron
    root 5730 0.0 0.3 13572 3608 ? Ss Sep22 0:00 /usr/sbin/hald --daemon=yes --retain-privileges
    root 5805 0.0 0.0 5964 652 ? S Sep22 0:00 hald-addon-acpi
    root 5913 0.0 0.1 12768 1416 ? S Sep22 0:00 /usr/sbin/powersaved -d -f /var/run/acpid.socket -v 3
    root 6049 0.0 0.0 5968 672 ? S Sep22 0:13 hald-addon-storage
    root 6084 0.0 0.1 25388 1304 ? Ss Sep22 0:00 login -- root
    root 6086 0.0 0.1 25396 1236 ? Ss Sep22 0:00 login -- root
    root 6087 0.0 0.0 3008 644 tty3 Ss+ Sep22 0:00 /sbin/mingetty tty3
    root 6088 0.0 0.0 3008 648 tty4 Ss+ Sep22 0:00 /sbin/mingetty tty4
    root 6089 0.0 0.0 3008 644 tty5 Ss+ Sep22 0:00 /sbin/mingetty tty5
    root 6110 0.0 0.0 3008 644 tty6 Ss+ Sep22 0:00 /sbin/mingetty tty6
    root 6955 0.0 0.2 9660 2256 tty1 Ss+ Sep22 0:00 -bash
    root 7034 0.0 0.1 9660 1556 tty2 Ss Sep22 0:00 -bash
    root 7651 0.0 0.1 16276 1764 tty2 S+ Sep22 0:00 /usr/bin/mc -P /tmp/mc-root/mc.pwd.7034
    root 7652 0.0 0.0 3668 432 ? Ss Sep22 0:00 cons.saver /dev/tty2
    root 7653 0.0 0.2 8756 2160 pts/1 Ss+ Sep22 0:00 bash -rcfile .bashrc
    domino 2095 0.0 2.2 27744 22668 ? SN Sep26 0:00 /usr/lib/AntiVir/antivir --savapi -C /etc/antivir.conf --temp
    =/tmp
    root 3145 0.0 0.0 5940 424 ? S 04:00 0:00 /usr/sbin/cron
    root 3146 0.0 0.1 7912 1344 ? Ss 04:00 0:00 /bin/sh /opt/jenne/shell/notesserv.stop-kopie-start.sh
    root 3150 0.0 0.1 19944 1940 ? S 04:00 0:00 /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t
    root 3155 0.0 0.1 19936 1904 ? S 04:00 0:00 /usr/sbin/postdrop -r
    domino 3321 0.0 0.1 23456 1112 ? S 04:15 0:00 su - domino -c cd /srv/notes/notesdata; cat /srv/notes/notesd
    ata/.domino.pwd|/opt/lotus/bin/server
    root 3322 0.0 0.0 6128 584 ? S 04:15 0:00 tail -f /var/log/domino.log
    domino 3323 0.0 0.1 9512 1720 ? S 04:15 0:00 -su -c cd /srv/notes/notesdata; cat /srv/notes/notesdata/.dom
    ino.pwd|/opt/lotus/bin/server
    domino 3345 0.0 0.1 9512 1076 ? S 04:15 0:00 -su -c cd /srv/notes/notesdata; cat /srv/notes/notesdata/.dom
    ino.pwd|/opt/lotus/bin/server
    domino 3434 0.1 16.8 448656 172708 ? Sl 04:15 0:33 /opt/lotus/notes/latest/linux/server
    domino 3770 0.0 4.6 415400 48092 ? Sl 04:15 0:01 /opt/lotus/notes/latest/linux/event
    domino 3969 0.0 3.0 413456 30788 ? Sl 04:15 0:00 /opt/lotus/notes/latest/linux/replica
    domino 3970 0.0 7.7 431804 79328 ? Sl 04:15 0:02 /opt/lotus/notes/latest/linux/router
    domino 3974 0.3 17.8 421796 183508 ? Sl 04:15 1:15 /opt/lotus/notes/latest/linux/update
    domino 3975 0.0 2.9 413552 29952 ? Sl 04:15 0:00 /opt/lotus/notes/latest/linux/amgr
    domino 3976 0.0 8.0 414564 82096 ? Sl 04:15 0:06 /opt/lotus/notes/latest/linux/adminp
    domino 3978 0.0 7.2 413760 73920 ? Sl 04:15 0:02 /opt/lotus/notes/latest/linux/sched
    domino 3980 0.0 1.5 412464 15596 ? Sl 04:15 0:00 /opt/lotus/notes/latest/linux/calconn
    domino 3981 0.0 12.2 451936 125904 ? Sl 04:15 0:14 /opt/lotus/notes/latest/linux/tm_grab
    domino 3982 0.0 3.1 428836 32628 ? Sl 04:15 0:00 /opt/lotus/notes/latest/linux/td_grab
    domino 3998 0.0 3.5 426832 36428 ? Sl 04:15 0:02 /opt/lotus/notes/latest/linux/pop3
    domino 3999 0.0 6.7 418336 69116 ? Sl 04:15 0:05 /opt/lotus/notes/latest/linux/ldap
    domino 4000 0.0 4.3 551024 44324 ? Sl 04:15 0:00 /opt/lotus/notes/latest/linux/http
    domino 4002 0.0 3.1 415828 32732 ? Sl 04:15 0:03 /opt/lotus/notes/latest/linux/smtp
    domino 4038 0.0 3.4 420820 35724 ? Sl 04:15 0:00 /opt/lotus/notes/latest/linux/amgr -e 1
    root 5443 0.0 0.2 39616 2760 ? Ss 09:50 0:00 sshd: root@pts/0
    root 5446 0.0 0.2 9788 2324 pts/0 Ss 09:50 0:00 -bash
    root 5470 0.0 0.0 3812 872 pts/0 R+ 09:51 0:00 ps aux

    regards D.P.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    As far as I can see, Sendmail is running on port 25. If you want to use Postfix, you must stop Sendmail, install Postfix and start it.
     

Share This Page