Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SuSE 8.1 Professional Installation Questions

Status
Not open for further replies.

tbohon

Programmer
Apr 20, 2000
293
US
OK, I give up. I've spent 8+ hours going from SuSE 8.0 Personal to SuSE 8.1 Professional - and neither Apache nor MySQL nor mod_perl are installed and/or working correctly.

Specific questions:

1. I can launch Apache manually, no problem - but how do I get it to launch automatically at boot?

2. MySQL doesn't like the command "mysqld &" - which is what I've used for years on RH Linux. How do I start the MySQL server and, like in #1 above, how do I do it automatically?

3. If I start Apache manually and go to I see that PHP is installed for Apache but mod_perl isn't. Since one of the main reasons I want this distribution working is to be able to do Perl/MySQL programming under Apache, this could be a problem. How do I do a mod_perl installation to satisfy Apache?

Thanks in advance for any help, sympathy, ideas, etc. ... <g>

Best,

Tom
 
Having never used SuSE, I do not know if they use the SYSV or BSD style of startup scripts. Either way, the startup scripts should be located in [tt]/etc/rc.d[/tt]. //Daniel
 

check your /etc/rc.config file for a line that looks like:
START_HTTPD=&quot;no&quot;
and change it to:
START_HTTPD=&quot;yes&quot;

( I think this is probably an option buried somewhere in the YaST interface, so if you edit the file manually, be sure to run SuSEconfig afterwards to update the system )

On my system, it looks like mod_perl gets loaded from the file /etc/httpd/suse_addmodule.conf , there is a line that says:
AddModule mod_perl.c
Of course, there is also a line that says:
# PLEASE DO NOT EDIT THIS FILE!


I don't know anything about mysql, but the fact that the command ends with the letter 'd' (mysqld) would imply that it is intended to run as a daemon anyway, so maybe you don't need the '&'

I am still using SuSE 7.1, so your mileage may vary...
 
Thanks, guys ... problem solved. Even though SuSE can't answer my question unless I send them $$$, their tech gave me a 'hint' at the end of his email ... Turns out that you can control what starts automatically in SuSE by using the YaST2 'edit run level' tool. Turned 'em on, rebooted and there they were!

Now, if I can figure out why Apache says that mod_perl isn't loaded - and how to load the darned thing - I'm set!

 
Just a thought, but are you sure mod_perl is installed?
( It is different than the standard perl package. )

try:
[tt] rpm -q mod_perl [/tt]
or maybe:
[tt] rpm -qa | grep -i perl [/tt]

HTH,
- Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top