back up again
Replaced the bad disk with a new one and "copied" the "good" to the "bad"
The iptables script is open to the "public" using this:
- Code: Select all
# Chain: MAIL
iptables -N MAIL_0
iptables -t filter -A INPUT -p tcp --dport 25 -i eth0 -j MAIL_0 # GW Server
iptables -A MAIL_0 -j ULOG --ulog-nlgroup 1 --ulog-prefix "MAIL_0 - OK " --ulog-qthreshold 1
iptables -t filter -A MAIL_0 -j ACCEPT
at least I used that when it worked on the old server.
I think though that something happened when the disk went bad. Now when I ifup ethx I get an error but the NIC still works.
I'm looking for the answer right now, but the error I get is this even when I ifdown them both:
- Code: Select all
[root@kgdubben log]# ifdown eth0
/etc/sysconfig/network-scripts/ifdown-ipv6: line 49: /bin/sed: Permission denied
[root@kgdubben log]# ifup eth0
Determining IP information for eth0... done.
/etc/sysconfig/network-scripts/ifup-ipv6: line 66: /bin/sed: Permission denied
/etc/sysconfig/network-scripts/ifup-aliases: line 102: /bin/sed: Permission denied
[root@kgdubben log]#
I'm starting to think that one disk is in read-only mode, but we'll see
1.
sendmail wont start:
- Code: Select all
[root@kgdubben ~]# service sendmail start
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 97: fileclass: cannot open '/etc/mail/local-host-names': No such file or directory
I'll keep trying to fix it...
2. (please tell me off if you think I'm spamming, but I do this for my personal "log" to use later so I don't have to ask again

)
I created the '/etc/mail/local-host-names' file and after that even sending a mail worked

I'm starting to wonder if setting up an MX pointer using "my" DNS provider takes some time, not as fast as a redirect of an IP address)
3. Still working on some permission errors I think I got from the bad disk...
UPDATE: 4. Upgrading to F12 and hopefully that will fix the error
UPDATE:5. Upgrading seems to work, now I won't get any error when ifup or ifdown
I still wonder why why this happened and how I can fix it, but that's another question...