Setup program ignores Enter key

Support for webhosts that use CentOS
AlanB
Posts: 4
Joined: 2007/09/25 18:50:33

Setup program ignores Enter key

Postby AlanB » 2007/09/25 19:16:59

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

michaelnel
Posts: 1478
Joined: 2006/05/29 16:50:11
Location: San Francisco, CA

Re: Setup program ignores Enter key

Postby michaelnel » 2007/09/25 19:24:07

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.

arrfab
Site Admin
Posts: 867
Joined: 2005/01/03 21:30:54
Location: /country/belgium
Contact:

Setup program ignores Enter key

Postby arrfab » 2007/09/25 19:26:36

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 ...

User avatar
toracat
Forum Moderator
Posts: 7229
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Setup program ignores Enter key

Postby toracat » 2007/09/25 19:30:16

To answer your original question -- press the space bar to toggle the selection.

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

AlanB
Posts: 4
Joined: 2007/09/25 18:50:33

Re: Setup program ignores Enter key

Postby AlanB » 2007/09/25 20:01:20

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

michaelnel
Posts: 1478
Joined: 2006/05/29 16:50:11
Location: San Francisco, CA

Re: Setup program ignores Enter key

Postby michaelnel » 2007/09/25 20:08:40

You have to run service and chkconfig as the ROOT user.

AlanB
Posts: 4
Joined: 2007/09/25 18:50:33

Re: Setup program ignores Enter key

Postby AlanB » 2007/09/25 21:05:41

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

AlanB
Posts: 4
Joined: 2007/09/25 18:50:33

Re: Setup program ignores Enter key

Postby AlanB » 2007/09/25 21:13:10

P.S. Thanks to everyone else that responded!

Alan