LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   startup hangs (https://www.linuxquestions.org/questions/linux-newbie-8/startup-hangs-398916/)

bob1 01-03-2006 02:10 AM

startup hangs
 
Hi, I recently installed webmin (webmin. com) and i made it so that a game server would start automatically when the computer was restarted. But the problem is not with webmin. The problem i have is when init starts everything is [ OK ] until it hits the game server. it looks something like this.
"sendmail [ OK ]
game... "

it just hangs on the game server. And it does not finish the startup. Hence i can not login to kill the process. How would i fix it? Any help would be appreciated.

timmeke 01-03-2006 02:49 AM

When booting, you should have an option (something like "interactive mode") that lets you decide whether or not to start any of the services. You may also have some other boot options, but that depends on your system.
For instance, booting to "single user mode" or "without network" may be ok too.

When starting the game server service, your system actually runs a script in /etc/init.d/ (probably with the
name "game").
It seems to me that this script just hangs. Perhaps it is waiting for user input or trying to connect to the game server over the internet. In any case, the script doesn't work properly.
You could try "Ctrl-c" or "Ctrl-d" while the system is hanging on the script, but I'm not sure it'll work.

bob1 01-03-2006 11:49 AM

When i press I for interactive startup then what do i hit to cancel the process?

timmeke 01-04-2006 01:39 AM

If it's interactive, it's supposed to ask you what you want to run.
So you should type "yes" (or maybe simply "y") to start a process, and "no" (or "n") otherwise.
I haven't tried it yet, however.

Basically, my advise is to simply try this. If it goes wrong, you can always reboot.


All times are GMT -5. The time now is 12:14 AM.