CentOS 5 :: Startup Script Not Working?
Jul 11, 2011
I'm writing a script to automatically get my TEAMSPEAK3 server to run at startup.The script is like this and is placed at init.d and added too chkconfig.
#!/bin/sh
# chkconfig: 2345 95 20
# description: Starts Teamspeak 3 server
[code]....
View 9 Replies
ADVERTISEMENT
Feb 20, 2011
My problem is: One of my services has failed to start. All I need is just go into interactive startup and ignore that service. The system is encrypted as LUKS. I press 'i' before and after entering the phrase (it asked me "Password for filesystem"). But interactive startup seems not working. All the services go to start without my permission. I mean there is no question such as "Start XXX [Y/N]?"
In the past I used CentOS for some months, and interactive startup (by pressing 'i' on boot time) was fine. I could allow or not what service should be started.
I have googled and found these:
[URL]
View 2 Replies
View Related
Jul 2, 2010
I recently installed Ubuntu 9.04 through WUBI, but when the installation finished and I went to turn the computer on to Ubuntu, I could not get graphics working. It would appear that the resolution has been set super-high somehow, because a message will pop up saying that I don't have enough video memory to run at the resolution I'm trying. I have tried xfix in recovery modeI don't know if this has anything to do with it, but I'm using a very old monitor.
View 2 Replies
View Related
Aug 9, 2010
I downloaded Lucid and installed Mysql and Apache2.I am very familiar with this setup and don't see a reason why this should not work.apache2 and mysql scripts are already located in /etc/init.d chkconfig shows the following:
apache2 on
mysql 2345
ps -aux does not show these processes running after a reboot. the services start manually without any problems. there is nothing in the logs that shows it's even trying to startup at boot. What has changed in the new Ubuntu version? I need this fixed through command line only.
View 2 Replies
View Related
Mar 17, 2010
i use PCLINUXOS 2009.1 and in kde i installed superkaramba themes. but after i logoff and get back in not only karamba not starts;the themes when i took a look are gone.
if there is way to edit the kde startup also help me with that issue too.
my kde version is KDE version: 3.5.10
View 2 Replies
View Related
Mar 5, 2010
I'm having a problem with GDM very similar to the one described in the thread below, though they did not find a solution.
[URL]
Basically when I boot the machine I first see the terminal login, then after a moment I get what looks like some graphical corruption followed by GDM appearing.
I've already attempted reinstalling GNOME and X, then manually reinstalling GDM, but none have solved the problem. I'm currently in the process of enabling boot logging as described in the thread, so I'll post that soon.
View 11 Replies
View Related
Aug 11, 2010
I have CentOS 5.5 with no GUI. How do I enable commands/scripts to run on startup when the server is rebooted?
View 2 Replies
View Related
Apr 8, 2011
I've run into this problem this week. The other night a power supply failed on a different system and appears to have surged the UPS which it and some other computers were plugged in to. One computer was fine, but the RAID server that is used for backups ended up with a bad disk and this "Disabling IRQ #169" message now shows up during boot, right after starting udev and setting the hostname. The system then sits there for 3-5 minutes before repeating a scroll of "/etc/rc.d/rc.sysinit: line 966: /bin/usleep: Input/output error"
I have booted with linux recovery from the CentOS DVD in order to replace the drive that was damaged. I rebuilt the raid array and all the data seems to be fine. There is another message though after "Red Hat nash version 5.1....." no raid disks and with names: "isw_bf jihdchhi_Hostname" failed to stat() /dev/mapper/isw_bf jihdchhi_Hostname
I was considering doing a complete reinstall of CentOS but if there is another solution I would much appreciate it, is it perhaps an issue with Grub not being able to find the updated array? As it is, it is impossible to boot the system except for using a live CD to do it.
View 12 Replies
View Related
Jun 4, 2011
I have placed a script I would like to run on starup in /etc/init.d and created symbolic links to that file in /etc/rc3.d and /etc/rc5.d but it doesn't run on startup.Is there something else I need to do to get this to work?
View 13 Replies
View Related
May 7, 2010
I am placing apps into my fluxbox startup file as per the instructions, however nothing starts up except fluxbox.It doesn't matter what app I try, so it isn't an app problem.
here is my startup file:
#!/bin/sh
#
# fluxbox startup-script:
[code]...
I have also tried tests such as "touch ~/testwoked" and such, nothing works.It makes no difference if the file is executable or not.
View 1 Replies
View Related
Aug 2, 2010
My audio was working just fine up until today, when I was working on some audio production stuff. I did QjackCtl, and also ran pulse-jack so I could use another app not in jack. Now, upon a boot up, there is no gnome-volume-control-applet or gnome-volume-control running. When I run gnome-volume-control it says there is no sound device (without Jack running). When I do it with Jack and Pulseaudio running (doing QjackCtl and pulse-jack), gnome-volume-control shows info about jack, but no hardware. I have sound, I just can't affect it volume-wise, etc. When I run pacmd I get this:
$ pacmd
Daemon not responding.
When I close QjackCtl I then get an error in a window that says merely: Waiting for sound system to respond.
View 4 Replies
View Related
Feb 11, 2011
I have specified firefox should startup using the following procedure:
System > Preferences > Startup Applications > Add
And used the following details:
Name=firefox
Command=/usr/lib/firefox-3.6.11/firefox-bin
But it doesn't start up. I tried also adding a shortcut to the following location:
/home/USER/.config/autostart/SHORTCUT-TO-FIREFOX
The account I'm trying to get it working on is unprivileged. I'm sure it was working yesterday but can't swear if I had added extra permissions at that stage.
View 3 Replies
View Related
Apr 15, 2011
Sometimes Ubuntu 10.04 will get into a state where the system stops booting when it apparently attempts to initialize the USB keyboard (keyboard goes dead and never lights up again)(Saitek Eclipse II keyboard).
It either works, or doesn't work consistently regardless of reboot. I don't know what makes it stop working. (Or start working) Recovery mode doesn't work either. Or the saved -21 kernal.
I have an ASUS M4A88TD-V EVO/USB3 and have the -30 generic kernal.
I can dual-boot into WinXP just fine.
View 9 Replies
View Related
Jun 15, 2011
I installed the earth sunrise plymouth theme with super boot manager, and it worked, but only when I was turning it off, it still works when I'm turning it on, except it sits there for like 30 seconds blinking an underscore and then the theme starts up and does nothing for about 3 seconds (it doesn't animate or whatever), and then the gdm screen comes up, so why isn't plymouth really working on startup? and is there a way to fix it?
View 9 Replies
View Related
Jan 3, 2010
i just installed fedora 12 and got conky working like i want. i created a '.conkyscript.sh' in my home folder to run conky that looks like this...
Code:
#!/bin/sh
sleep 15 && conky
[code]....
View 4 Replies
View Related
Jul 12, 2011
I put one script in /etc/init.d/abc.sh. Now I want it to run at startup.
How can I do that with chkconfig?
chkconfig --add abc.sh
But I am not sure how it works.
View 2 Replies
View Related
Dec 16, 2009
This system has been centos 5.2, 5.3 and now after an update ( through yum ) to 5.4 i can't get to the startup screen. System was a barebones kit with ASUS P5Q-E motherboard, WD-500gb sata, Intel Processor
After the update I get:
BIOS Bug MCFG area at e0000000 is not E820-reserved
NOT Using MMCONFIG
I get to the part that says: press "i" for interactive startup ... starting "udev", then nothing. Just black screen. I followed other recommendations and loaded the lastest BIOS onto the motherboard, but the issue still persists. I'm also not able to boot any of the older kernels through the grub menu. Not sure where to go from here since I can't boot into anything.
View 6 Replies
View Related
Apr 8, 2010
i use centos 5.4 with kde and i want to use synergy at kde-logon screen.i 've modify Xsetup and Xstartup Files but synergy wont activated.In which files does need to be modified?
View 1 Replies
View Related
Sep 7, 2010
Hey when I start my CentOS 5.5 Final I always get this error on startup
/etc/rc.3/S95saslauthd: line 31: test : too many arguments
when I shutdown I get the same thing but /etc/rc.0/S95saslauthd: line 31: test: too many arguments
View 11 Replies
View Related
Sep 22, 2010
After reviewing the dmesg log, I realize that it does not log all startup messages. Is there a way to configure it or another log to do so?
View 7 Replies
View Related
Dec 17, 2010
i want to start firefox on startup of my os.so i tried these commands:
ln -s /usr/lib/firefox-3.0.18/firefox /etc/init.d/firefox
ln -s /etc/init.d/firefox /etc/rc5.d/S99firefox
and then i restarted my pc i nothing happened.what should i do ?
View 3 Replies
View Related
Apr 6, 2011
Ok, i'm sure this is really basic and it's probably been posted before but I have searched and can't find anything.
Long time linux user, first time with centOS
I am building a basic firewall system with ssh acces only, I only occasionally need gui/gnome access so I have sent my init level to init 3 in /etc/inittab.
My problem is during startup the screen wants to run the gui startup and for some reason the driver isn't quite right so it flashes the screen every time it starts a process and says [OK] because of this I miss 90% of the startup information.
I have already disabled the splash screen in /boot/grub/grub.conf and that did disable the grub splash screen but how can I disable the "centOS" spash stuff? I only want txt at startup, I don't want the system to do anything graphical until I type startx.
View 4 Replies
View Related
Dec 10, 2009
Not beeing an expert on Ubuntu, but loving it running on my old Dell Dimension 2400 Series, I do have some issues after the upgrade to 9.10.
1) Frozen screen after a while working with the system. Cursor moves, but frozen
2) Black screen at startup.
Retyping this message again on my Mac Laptop as Ubuntu froze again. I took the following action: Followed directions as listed here [URL]
1. Select recovery mode from the boot menu.
2. Select login as root from the menu in recovery mode.
3. Type this at the prompt
# sudo apt-get remove xorg-driver-fglrx
# sudo dpkg-reconfigure -phigh xserver-xorg
4. Exit
# exit
5. Now select Resume normal boot from the menu.
Every thing should be OK by now. This seemed to work, but after another reboot, black screen again. System Specs: [URL]. Running with 1 GB of Memory and 320Gb Hard Disk /w 2Gb Swap and 318 Gb Extended.
View 4 Replies
View Related
Mar 25, 2009
I used my boot disk in rescue mode to solve this, but I would really like to know how to do this the easy way.
Question: when I am booting up and getting all those "OK" green remarks, how do I cancel a daemon that freezes instead of giving me an ok or failed? I have tried <Ctrl><C> with no joy. I have tried dropping to interactive mode ("I") and bypassing the bad daemon, but interactive mode freezes when I go to start GDM, so no joy there either.
View 15 Replies
View Related
Feb 11, 2010
I am trying to get the KDE Media screen saver working in GNOME. Is there a way to use kde's screensaver program in gnome on startup, instead of gnome's screen saver program? Basically, I am trying to disable gnome's screensaver, and load kde's program in its place at gnome startup.
View 1 Replies
View Related
Feb 17, 2010
I have an annoying problem with a 2 nodes cluster that I don't understand.
One of my server is totally shutdown.
When I start cman after a reboot on the other server, it hangs on "Starting fencing...". The process which is actually hanging is : /sbin/fence_tool -w -t 300 -m 45 join
When I start this program manually, I get this output :
# /sbin/fence_tool -w -t 300 -m 45 join
Waiting for all 2 nodes to be members
Waiting for all 2 nodes to be members
Waiting for all 2 nodes to be members
Waiting for all 2 nodes to be members
(and so on...)
What I don't understand is why the fence_tool program wait for the 2nd node to join the cluster and don't fence the other node.
Here is my cluster.conf :
<?xml version="1.0"?>
<cluster name="ctpsrv-bdd" config_version="7">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="20"/>
<cman expected_votes="1" two_node="1"/>
[Code]....
Would it be a good idea to edit the cman startup script and remove the "-w" option of command fence_tool join, so the command do not hang up ?
View 4 Replies
View Related
Aug 27, 2010
I have a script and I would like it to automatically run whenever the machine starts up. How can I configure it to do that? I am a complete Linux n00b.
View 2 Replies
View Related
Mar 13, 2011
I would like to use emerald on oracle linux 5. I prefer this forum so I migrated to here! In fact, I already managed to import some themes in emerald, and to apply them, but after a reboot there was an error message (I don't remember it but I can retry to boot if you want), and my new emerald theme was not loaded, instead I had the default one, and when I launched emerald I wasn't able to import a new theme, there was no theme in the emerald window. so I tried to import one with the file manager by clicking on the "import" button, but in my home folder (/home/olivier) I had ... nothing : no file, no directory, yet there are still on the disk, I verified.
this seems an error of rights, but I don't know what to do. I must also specify that I have not already put "fusion-icon" in the list of the applications to launch at the startup, so I have to launch it after the boot (and it's what I did after the boot I spoke about above. I don't remember if I launched fusion-icon as "root" or "olivier"...
View 2 Replies
View Related
Mar 31, 2011
I have to type /etc/init.d/network start everytime after log in.I search little over internet and found out some command to fix it so i tried it but i got error response.Here is what i typed and what i got response.[root@winn ~]# system-config-netbootbash: system-config-netboot: comman not foundI also tried to find setting but i could not under Applications > System Settings > Server Settings > Network Booting Service.Also my ifcfg-eth0 files is below:
# Intel Corporation 82566DM-2 Gigabit Network Connection
DEVICE=eth0
BROADCAST=192.168.1.255
[code]....
View 5 Replies
View Related
Apr 28, 2011
I use CentOS 5.5 and I've trouble in run shell script after system reboot. That script runs jboss server and it looks that way:
#!/bin/sh
rm -R -f /opt/billing/jboss-6.0.0.M1/server/default/tmp/
rm -R -f /opt/billing/jboss-6.0.0.M1/server/default/work/
/opt/billing/jboss-6.0.0.M1/bin/run.sh -c default -b 0.0.0.0 -C /opt/billing/jboss-6.0.0.M1/server/default/lib/ > /dev/null &
I've created user account for jboss.
privileges of above script are okay. I've tried so far:
- add command to /etc/rc.local
- add script to /etc/rc3.d/ and create symbolic link to it in /etc/init.d/
- add run script by @reboot annotation in crontab (crond automatically starts with OS)
and jboss still sleeps after reboot. I've noticed that commands which remove directories seem to work when I've added them explictly to /etc/rc.local. But next command which runs jboss hasn't been executed.
View 4 Replies
View Related