CentOS 5 Server :: How To Tell Qmail To Start Up Automatically
Aug 15, 2010
I am still pretty green when it comes to centos and linux in general. I have installed rpm and source packages before with little trouble by following the guides available on the support site and wiki for centos.I am running centos 5.4 on a virtual server.I followed the guide for installing vpopmail at URL...mailSince this is a VPS server I cannot install gnome and is why I opted for vpopmail + qmail.
The first issue I have is: I don't know how to tell qmail to start up automatically because after the install of qmail from source as the guide told me to, it did not place a startup files in the /etc/init.d, and I can't find any useful documentation on how to trouble shoot that.I try to use "chkconfig qmail on" and "chkconfig --level 345 qmail on" but both give me the error "error reading information on service qmail: No such file or directory"The version of qmail I am using is the latest 1.0.3, and the version of vpopmail is 5.5.
Vpopmail seems to be working just fine, as is the mysqlauth mod. I check the vpopmail database in mysql, and all the values I used for the domain and user show up there.The settings also show in the qmail configuration directory files for the domain.My first clue as to something being wrong was that when I send an email to the address I setup, I get nothing delivered on the server, but I also do not get any bounce backs or errors to tell me the details of what went wrong.At first I figured it was my firewall, so I disabled iptables.That did not fix it.I also tried disabling SElinux. That also made no difference.
Ok, so I have installed apache 22, mysql5.0 and proftpd1.3. When I reboot my server, the above applications do not start up automatically, and I have been trying to figure out how with out much success. know that I need to make some changes inside the init.d directory on my CentOS Server.I am running CentOS 5.4 x86_64 build.I really am not sure how to accomplish the task or where to start.
I have one server with Jboss and Tomcat installed, I have to start these servers manually everytime I do reboot the server.How I could do to start Jboss and Tomcat automatically, when I do reboot the server?
I installed apache 2.2 with centos 5.5. When I typed service httpd stop, apache stopped. Then in a minute, it automatic start again. I don't use crontab, and I tried 'chkconfig httpd off', but it still automatic start. I used 'ps -ef' to look process, I saw, httpd have PPID is 1, and then I find PID 1 have PPID 0.
One of our client having issue with the qmail. The issue is if any one send email to firstname.lastname@example.org (email@example.com the email address which is not exist) it should send failure notification i.e."email does not exist" to the sender. The qmail server is not notifying that email address does not exist.
I am aware that there is a qmail-ldap package to have ldap back end for qmail. But I need only user authentication for qmail through ldap (not the backend; i.e still keeping Mysql as the database). I am pretty new to mail server configuration. I have just configured a (q)mail server (which is currently my sand box) and am able send and receive emails. I am planning to add ldap authentication (just that) to it. Can anyone point me to the right direction?
I have a Centos 5.4 server, I would like to know how to start NFS automtically when the server boots up so that I won't have to manually start the service after the server boots up. where and how do I accomplish this?
I have installed FreeRadius to a Debian Linux server.I have configured an account called Support to run the Radius as I didn't want Root to be the user to run this.I want Radius to start up automatically after the system is rebooted but I don't know how to do this. I am new to Linux so please bare with me. If the system is rebooted, is it possible for the Support account to be logged in automatically? Is there a script I can create to automatically login the Support account? This may not be secure but it has been requested. Also the main question is after a reboot can the Radius be configured to automatically start without the need for someone to login? So if the system is rebooted and then goes back to login prompt, can the Radius then be running?
I have had a good search about scripts but with my limited knowledge it isn't too easy.
After reading it also said something about using rc.radiusd which will automatically start Radius after a reboot, but again I cannot understand exactly what I need to do.Please can someone help out with this and let me know if I am on the right track? Will the start-my-radius.sh script work after the system is rebooted without someone actually login and how do I get it to work?Please explain clearly as this is all a bit technical for my liking and not understanding it well!
I'm wondering how I start it automatically when I boot up the ubuntu 10.04? especially, when I created the user "postgres", I set a password to it. every time I issued "su - postgres" command, I need to give it a password.
I have configured heartbeat+DRBD on a SLES10 SP3 cluster and that's working fine except when both nodes are down and I turn on only one node. When this happens, the heartbeat don't starts automatically (the service status says it's unused, so the services, IP address and partition don't start automatically too). I can turn on the heartbeat manually (service heartbeat start) and get the services, ip address and partition initialized too, but I'd like to make it starts automatically because it's possible to have one node broken and the person that will turn on the other node can forget to manually starts the service.
-When the heartbeat is unused on the first node and I turn on the second node, the heartbeat on the first node starts automatically and everything is fine. -The command "chkconfig heartbeat on" was executed.
I have a problem with running Apache web server. I think my problem is either I can not get httpd to load automatically or it's being blocked from external unless I'm logged in, don't know which. Or, I'm completely off base. Either way, being logged in solves the problem. Now I just need to fix it. This is a brand new server running latest apache and fedora 10 (all fully patched). Loaded from source to all default (non RPM directories - apache is /usr/local/apache2/... )
I modified the existing /etc/init.d/httpd script and had it point to the /usr/local/apache2 areas.I even did a chkconfig --add httpd and show it is on for run levels 2345.The problem is that when I reboot the server httpd does not load because I can not access the website.However, the minute I login to the server as a user (non-root) it automatically loads httpd and the website works.Then, when I logout, everything is inaccessible again. I even tried to put the commands in the /etc/rc.local script (or wherever it is).Same thing happens.I know this is a simple fix. Just don't know what it is. Is it related to SElinux? However, wouldn't SElinux create access problems regardless of being logged in or not? Once I'm logged in, everything automatically fixes itself (either it's a service load or a rights filter fix).
Remember, everything works perfectly as long as I'm logged in to the server (even as a non-root user). Just the act of logging in makes the web server accessible from to the rest of the world. However, when I logout, the web server is inaccessible.
I'm configuring a new Centos 5.5 server in replacement of an old W2K server.The topology of our network is simple : one file/dhcp/dns relay server and workstations (PC's and some MAC's) plus network printers and scanners.All the workstations have dynamic IP addresses (easier because a lot of 'dynamic' changes : new persons with their own laptop, ...) and the server and printers/scanners have fixed IP addresses.I edited the dhcpd.conf (see here underneath), I have the file dhcpd.leases but it doesn't start !
I have installed qmailrock on my CentOS 5.4, finishing installation until sucees to launch webmail via GUI (squirrelmail). but my smtp service (:25) is always failed to connect.I can telnet on port 110, 80, etc. But on port 25, the result is not shown comment 220 oK.when i check using : qmailctl stat here the result :
/service/qmail-send: up (pid 26403) 5 seconds /service/qmail-send/log: up (pid 26404) 5 seconds /service/qmail-smtpd: up (pid 26455) 0 seconds
FYI, i have installed postfix before, but i've un-install it using yum remove.