Page 1 of 1

Setup program ignores Enter key

Posted: 2007/09/25 19:16:59
by AlanB
Hi,

I'm trying to have Apache come up when the system starts.

I ran /usr/bin/setup, entered the root password, and got the "Choose a Tool" screen, which states: "Use to edit a selection."

I selected System Services, scrolled down to httpd, pressed Enter and...... nothing happened. No asterisk appeared in the brackets like the other selected services. I've tried both Enter keys, with all combinations of Shift, Ctrl, and Alt; no effect. The application appears to totally ignore the mouse. I also tried every other key on the keyboard.

I give up -- What's the magic word to check the httpd box???

Thanks,
Alan

Re: Setup program ignores Enter key

Posted: 2007/09/25 19:24:07
by michaelnel
Do this as root in a shell:

chkconfig httpd on
service httpd start

As for what's wrong with the gui and the mouse and stuff, I have no clue. But it's a server. You don't need a gui and a mouse.

Setup program ignores Enter key

Posted: 2007/09/25 19:26:36
by arrfab
FYI : You can (un)select a check box by hitting the spacebar ...
But i agree with michaelnel's answer .... chkconfig and service are the tools you need ...

Re: Setup program ignores Enter key

Posted: 2007/09/25 19:30:16
by toracat
To answer your original question -- press the space bar to toggle the selection.

EDIT: ah, I was a few minutes late. :-)

Re: Setup program ignores Enter key

Posted: 2007/09/25 20:01:20
by AlanB
Michael,

Thanks for the suggestions, but I can't get them to work.

chkconfig and service appear to be located in /sbin. I tried "/sbin/chkconfig httpd on" and got four errors that look like:

"failed to make symlink /etc/rc2.d/S85httpd: Permission denied."

I tried "/sbin/service httpd start" and got:

"Starting httpd: Syntax error on line 117 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file 'etc/httpd/conf/ssl.crt/server.crt' does not exist or is empty [FAILED]"

This is a freshly-installed system. Any idea what the problems are?

Thanks,
Alan

Re: Setup program ignores Enter key

Posted: 2007/09/25 20:08:40
by michaelnel
You have to run service and chkconfig as the ROOT user.

Re: Setup program ignores Enter key

Posted: 2007/09/25 21:05:41
by AlanB
Thanks. I'm trying to set up a server on a new Linux system after a decade of using Windows, and it seems like *nothing* works. The last time I used UNIX, there were no GUIs for it! :-D

Re: Setup program ignores Enter key

Posted: 2007/09/25 21:13:10
by AlanB
P.S. Thanks to everyone else that responded!

Alan