Server :: Heartbeat Dont Start Automatically On Boot-up
Mar 22, 2011
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'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 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?
have search the web for answer and there are some suggestion. tried those suggestion but was not successful.appreciate if any one can help to resolve this? I'm running fedora 11 and using the NXserver for remote access
When I go to 'Places' on my panel, my windows drives are listed. I can click on one, it then asks me for password, then it puts a hard drive icon on my desktop. This is excellent.They are listed as '200 GB Filesystem' etc.My only problem, is how to make these icons stay after I shut down. I don't want to do this every time I boot up.
My son dropped my laptop and broke the screen so I decided to use it as a project.
1 I managed to install kubuntu on it unfortunately it was the 64bit version not the 34bit one. The problem I'm having is that the external monitor only works after kubuntu boots up so I can not view the set-up boot options. What I want to do is put win 7 on it as I have a mate that needs a computer and he is pretty computer illiterate.
2:It will boot into G-parted and I have made a ntfs partition for the win 7 OS to go into. I have another duel boot desktop so followed what I did with that.The problem is that as I cannot see the initial start up screen and can get it to boot from the win7 boot disc that I have(this is a working cd I have used before) Is there a way I can get Kubuntu to automatically go into boot from cd on start up etc?
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 am using SUSE 11.2. And I am really baffled with a strange NFS problem.I have set up the fstab on the client and exports on the server correctly, because if I manually run # /etc/init.d/nfs startStarting NFS client services: sm-notify doneI can see and use the NFS partition perfectly, there is no problem at all.But nfs cannot successfully start at boot. In yast, I have enabled nfs in "System Services (Runlevel)" at runlevel 3 and 5. So it should run automatically, but I always get the following error message:
I installed dansguardian & squid on 11.2 and things seem to run fine. Squid auto starts but dansguardian does not. I have checked Yast2's runlevel services option and dansguardian is enabled to 'Yes'. But when i check with 'service dansguardian status' it reports 'unused'.If i start dansguardian by hand, things work perfectly fine.I am in a desperate situation since there are 4 other computers which are dependent on this setup to work correctly
i use ubuntu 10.10 installed in wubi on my girlfriend's machine.in order to connect to the internet i had to install a dialer script and then i need to type in terminal: sudo cable-start and then password BUT i wish this to happen automatically when booting the machine.i am sure that it is possible, but have no clue how to do it.
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!
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 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.
I have Windows 7 and Fedora 14 both on my laptop in dual boot configuration. When my computer starts up it shows a screen that says press any button to select another operating system to start, then I can make Windows 7 start. But after 2 seconds, if I DON'T press any button then Fedora starts automatically. How can I change this so Windows starts automatically when I don't press any button?
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.
I have setup a MySQL High Availability Cluster with two nodes using DRBD & Heartbeat. I have successfully installed the cluster but one question which is still not solved is that Heartbeat monitors failover of network or server failure, etc.
What will happen if MySQL service gets stopped or do not start. This heartbeat-DRBD cluster does not take any action on that part. Now I want to enable this feature too which also monitors MySQL service. I have gone through MON help on web but could not find out any good step by step tutorial.
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 have a root-server and a vserver.the vserver should provide services if the root-server is not reachable. i would like to configure heartbeat. its runnung on the root, but on the vserver i get an error: if i set the following in the ha.cf:
I just did a distribution upgrade on my laptop from 9.1 to 10.04, and it went fine for the most part except this issue. After it boots up, I don't see any window titles/scrollbars/borders and on clicking the icon for "Show desktop" on the bottom left, I see the following error message:
"Your window manager does not support the show desktop button, or you are not running a window manager."
After googling a bit, I realized that gnome-wm is not starting automatically and so I have to manually start each time to see the windows working properly. Can somebody tell me if there is a way to make sure that gnome-wm starts automatically? I know I can put it in my .bashrc but I want to do it the correct way if possible. If not, I will have to go with that workaround.
I am trying to install ubuntu 9.04 in a desktop but when loading the first screen it appears a box writing somthing "vmlifuz" the only choose that have is "ok" when i am hit button "ok" does not working, if a press it again (when the box with the ok disappears) load the dialog saying "Try ubuntu" , "install ubuntu" etc. Then if a hit one of this the dialog comes again saying something about "live-install" i hit ok but this time not process in the installation. After that I had try to intall windows xp but when go to load kernal prompt a message could not load a setupdd.sys. I had try to install Linux mint after the starting screen says ready and then nothing , i had try to install fedora only running the cd without even a message only a black screen. At last i had install ubuntu to another pc and i took the hard disk and plug it to this one, when i power on the pc after bios info in the screen come this "grub rescue>"
I just did a distribution upgrade on my laptop from 9.1 to 10.04, and it went fine for the most part except this issue. After it boots up, I don't see any window titles/scrollbars/borders and on clicking the icon for "Show desktop" on the bottom left I see the following error message: "Your window manager does not support the show desktop button, or you are not running a window manager."
After googling a bit, I realized that gnome-wm is not starting automatically and so I have to manually start each time to see the windows working properly. Can somebody tell me if there is a way to make sure that gnome-wm starts automatically? I know I can put it in my .bashrc but I want to do it the correct way if possible. If not, I will have to go with that workaround