Packages in CentOS - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Packages in CentOS (/thread-3639.html) Pages: 1 2 |
Packages in CentOS - hiroyosi - 06-29-2008 07:31 PM Hi I am trying to install pakages for ispCPOmega in CentOS5. I followed INSTALL(ispCP ω (OMEGA) HowTo Install for CentOS 5). But some packages could not be installed. I tried as follows. # yum install `cat ./docs/CentOS/centos-packages` Some packages couldn't be installed as follows. No package clamav-data available. No package clamav-lib available. No package clamav-server available. No package clamav-update available. No package cyrus available. No package perl-SNMP_Session available. No package perl-Term-ReadPassword available. No package sasl-gssapi available. These packages must be installed to use ispCPOmega? RE: Packages in CentOS - motokochan - 07-01-2008 02:50 PM hiroyosi Wrote:I followed INSTALL(ispCP ω (OMEGA) HowTo Install for CentOS 5). I currently recommend using the Fedora install package list. You'll have fewer missing packages reported. Of those, the clamav ones are old names. I believe you just need to make sure that freshclam and clamd are installed beyond everything else. You'll also need to install the two missing perl modules via CPAN. Likewise, use the CentOS versions of the Courier packages from thatfleminggent.com or you will break Postfix. Just navigate from the main page of that site to get the links for CentOS editions. RE: Packages in CentOS - obey - 07-14-2008 07:04 PM motokochan Wrote:Likewise, use the CentOS versions of the Courier packages from thatfleminggent.com or you will break Postfix. Just navigate from the main page of that site to get the links for CentOS editions. hi, i just downloaded and updated the packages with the thatfleminggent packages. i still got some serious issues. 1.: i cant log into the webmailer error: Code: ERROR: Connection dropped by IMAP server. i think postfix is totally fucked up. do you have any suggestions to get this system running without having to install everything again on a debian system? greets obey RE: Packages in CentOS - motokochan - 07-15-2008 04:53 AM First, check the mail log. If there are reasons IMAP is dropping the connection, it will be logged. Next, edit /etc/postfix/master.conf and set the chroot section to "n" instead of "-". You should do it for at least the smtp service, but I believe one other might also need to be disabled for transport to work. Also, don't forget to set up /etc/aliases and run "newaliases" or you'll have errors when the smtpd service starts. Edit: You need to set both smtp services (inet and unix type) to non-chroot. This should fix the queue from becoming backed up. RE: Packages in CentOS - obey - 07-15-2008 05:02 PM motokochan Wrote:First, check the mail log. If there are reasons IMAP is dropping the connection, it will be logged.the logged error is: Code: Jul 15 08:56:32 server1 postfix/smtpd[17766]: fatal: open database /etc/postfix/aliases.db: No such file or directory motokochan Wrote:Next, edit /etc/postfix/master.conf and set the chroot section to "n" instead of "-". You should do it for at least the smtp service, but I believe one other might also need to be disabled for transport to work.done motokochan Wrote:Also, don't forget to set up /etc/aliases and run "newaliases" or you'll have errors when the smtpd service starts.what exactly is to be done to "set up" /etc/aliases ? motokochan Wrote:Edit: You need to set both smtp services (inet and unix type) to non-chroot. This should fix the queue from becoming backed up.isn't this done through the master.cf? EDIT: i just got another error in the log: Code: Jul 15 09:07:57 server1 authdaemond: ldap_simple_bind_s failed: Can't contact LDAP server RE: Packages in CentOS - motokochan - 07-15-2008 05:21 PM obey Wrote:the logged error is: That means you need to run the "newaliases" command to build the aliases map. obey Wrote:motokochan Wrote:Also, don't forget to set up /etc/aliases and run "newaliases" or you'll have errors when the smtpd service starts.what exactly is to be done to "set up" /etc/aliases ? Set the root account to go to a different address. Maybe you have a monitoring address for checking on server output? (If not, you should). In best practices, the root account shouldn't get mail delivered directly. Once done, run "newaliases" to build the map Postfix uses. obey Wrote:motokochan Wrote:Edit: You need to set both smtp services (inet and unix type) to non-chroot. This should fix the queue from becoming backed up.isn't this done through the master.cf? Yes, that goes with the above info I gave. Although I said master.conf previously, it is master.cf. Those are the only services you should need to make the edit to, I confirmed on one of my machines today. obey Wrote:EDIT: Hm. Check that courier-imap has the right config files. If you installed those RPMs after installing ispCP Omega, you might have the wrong config. RE: Packages in CentOS - obey - 07-15-2008 05:42 PM obey Wrote:EDIT: Hm. Check that courier-imap has the right config files. If you installed those RPMs after installing ispCP Omega, you might have the wrong config. [/quote] yeah, thats what i did... i compared the configs to a (nearly) running debian system, and saw that some files seem to be missing debian-sys: Code: obey:/etc/postfix# ls -al Code: [root@server1 postfix]# ls -al and thx for your patience RE: Packages in CentOS - obey - 07-15-2008 06:58 PM ok, i'm getting nearer to the solution... where can i change the path courier looks for the userdb? Code: Jul 15 10:43:56 server1 authdaemond: Installing libauthuserdb OR what values do i have to change to get this running in authmysqlrc? Code: Jul 15 10:36:22 server1 authdaemond: authmysqllib: connected. Versions: header 50022, client 50045, server 50045 RE: Packages in CentOS - obey - 07-15-2008 08:30 PM ok, i managed to get the authlib running. it was a linefeed (!?) in the userdb.dat. i deleted it and ran makeuserdb again... and voila: it worked. I am now able to log into the webmail service, but i still have got problems with delivering mails. Now the log tells me: Code: Jul 15 12:29:06 server1 courierd: started,id=042B0002.487C7BF2.0000526F,from=<root@server1.domain.tld>,module=esmtp,host=test.domain.tld,addr=<test@test.domain.tld> any idea whats wrong now? RE: Packages in CentOS - obey - 07-16-2008 12:43 AM after a few hours of testing.... i fixed the loop error with a simple entry in the userdb. it seems postfix and courier aren't looking for the whole user entry (for example blubb@domain.com). they only look for blubb. i inserted a single line with only the alias and without domain and the mail was delivered. what issue is that now? UPDATE: i fixed that one... it seems that the policyd-weight isn't running, so the process can't connect to port 12525. i just installed it from policyd-weight.org and postfix is up and running |