Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 3rd September 2009, 12:29
Keeper Keeper is offline
Member
 
Join Date: Aug 2009
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi.

Both main domains ping just fine, they work fine too. Subdomains do not ping.
Quote:
Ping request could not find host subdomain.domain1.com. Please check the name and try again.
Job queue is clean.

Should I have created CNAME record instead of A record?

Is it correct that subdomain DNS records are added within main domain DNS record, instead of creating new DNS zone?

Last edited by Keeper; 3rd September 2009 at 14:03.
Reply With Quote
Sponsored Links
  #12  
Old 3rd September 2009, 17:22
Keeper Keeper is offline
Member
 
Join Date: Aug 2009
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Not only subdomains but looks like I also have trouble with sending emails. My forums won't send anything out with PHP mail function. Server setup closely follows Debian Lenny 5.0 perfect server guide.

/var/log/mail.err
Quote:
Sep 3 09:52:34 server amavis[8777]: (08777-01) (!!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20090903T095234-08777/parts: lstat() failed. ERROR\n"
Sep 3 09:52:34 server amavis[8777]: (08777-01) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x3278108) unexpected , output="/var/lib/amavis/tmp/amavis-20090903T095234-08777/parts: lstat() failed. ERROR\n" at (eval 100) line 527.
Sep 3 09:52:34 server amavis[8777]: (08777-01) (!!)WARN: all primary virus scanners failed, considering backups
Sep 3 09:52:34 server amavis[8777]: (08777-01) (!!)TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: CODE(0x3278108) unexpected , output="/var/lib/amavis/tmp/amavis-20090903T095234-08777/parts: lstat() failed. ERROR\n" at (eval 100) line 527.
Sep 3 09:52:34 server amavis[8777]: (08777-01-2) (!!)TROUBLE in process_request: Can't create file /var/lib/amavis/tmp/amavis-20090903T095234-08777/email.txt: File exists at /usr/sbin/amavisd-new line 5138, <GEN26> line 29.
/var/log/mail.warn
Quote:
Sep 3 09:52:34 server amavis[8777]: (08777-01) (!!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20090903T095234-08777/parts: lstat() failed. ERROR\n"
Sep 3 09:52:34 server amavis[8777]: (08777-01) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x3278108) unexpected , output="/var/lib/amavis/tmp/amavis-20090903T095234-08777/parts: lstat() failed. ERROR\n" at (eval 100) line 527.
Sep 3 09:52:34 server amavis[8777]: (08777-01) (!!)WARN: all primary virus scanners failed, considering backups
Sep 3 09:52:34 server amavis[8777]: (08777-01) (!!)TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: CODE(0x3278108) unexpected , output="/var/lib/amavis/tmp/amavis-20090903T095234-08777/parts: lstat() failed. ERROR\n" at (eval 100) line 527.
Sep 3 09:52:34 server amavis[8777]: (08777-01) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090903T095234-08777
Sep 3 09:52:34 server amavis[8777]: (08777-01-2) (!!)TROUBLE in process_request: Can't create file /var/lib/amavis/tmp/amavis-20090903T095234-08777/email.txt: File exists at /usr/sbin/amavisd-new line 5138, <GEN26> line 29.
Sep 3 09:52:34 server amavis[8777]: (08777-01-2) (!)Requesting process rundown after fatal error
Sep 3 09:53:27 server postfix/smtpd[8448]: warning: xxx.xx.xx.xx: hostname xxx.xx.xx.xx.pldt.net verification failed: Name or service not known
IP-address censored, but it's not associated with our server or IP. Rest of the mail logs are empty.

I also created email-domain, set it as mail.domain1.com as found in MX DNS record. Then created email mailbox and set it as noreply@mail.hard-light.net. Now when I set my forums to use SMTP with username noreply@mail.hard-light.net and the password I set, it still doesn't send any emails.

Last edited by Keeper; 3rd September 2009 at 17:30.
Reply With Quote
  #13  
Old 3rd September 2009, 17:35
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,747
Thanks: 840
Thanked 5,601 Times in 4,412 Posts
Default

Please post the output of:

df -h

and do you get an error when you restart the clamav daemon.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 3rd September 2009, 17:43
Keeper Keeper is offline
Member
 
Join Date: Aug 2009
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Filesystem Size Used Avail Use% Mounted on
/dev/sda4 444G 81G 340G 20% /
tmpfs 1000M 0 1000M 0% /lib/init/rw
varrun 1000M 116K 1000M 1% /var/run
varlock 1000M 0 1000M 0% /var/lock
udev 1000M 2.7M 997M 1% /dev
tmpfs 1000M 0 1000M 0% /dev/shm
lrm 1000M 2.6M 997M 1% /lib/modules/2.6.27-14-server/volatile
/dev/sda1 92M 53M 35M 61% /boot
/dev/sda2 3.9G 65M 3.7G 2% /tmp
There are no errors when I restart clamav-daemon.
Reply With Quote
  #15  
Old 3rd September 2009, 18:35
Keeper Keeper is offline
Member
 
Join Date: Aug 2009
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I got subdomains working. There was an error in my setup of DNS A records. In A record hostname field I had typed "subdomain.domain1.com" while correct entry would be just "subdomain".

Now, if I could get sending of emails to work...

Edit: I don't really need clamav to scan outgoing emails on the server. But if I uninstall clamav, instead of previous errors it gets filled with errors it can't find clamav files. How do I stop postfix from attempting virus scans? And also, should those errors stop emails from being sent?

Edit 2: I got email sending to work after I commented out two lines in nano /etc/postfix/main.cf
#content_filter = amavis:[127.0.0.1]:10024
#receive_override_options = no_address_mappings
and executed
postsuper -r ALL && postfix reload

And finally aptitude remove amavisd-new clamav clamav-daemon clamav-docs spamassassin
No more avahi/clamav using ~150MB RAM.

Edit 3: Edited above to be more precise for anyone who has same problem as me.

Last edited by Keeper; 4th September 2009 at 22:04.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Complete Newbie at Linux deerb HOWTO-Related Questions 1 23rd May 2009 14:09
Newbie question - traffic monitoring Charlotte Chanty General 7 23rd January 2007 18:03
I am A newbie I need Help^__^ Unknown_X Installation/Configuration 30 2nd August 2006 11:12
Newbie starter guide on making site online kapatid General 10 9th May 2006 01:12
General ISPConfig Newbie Questions christopher Installation/Configuration 1 24th November 2005 10:54


All times are GMT +2. The time now is 14:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.