![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Starting MySQL daemon | unispace | UNIX for Dummies Questions & Answers | 15 | 12-14-2006 09:40 PM |
| starting with APR (Apache Portable Runtime) | sumsin | High Level Programming | 0 | 01-12-2006 08:29 AM |
| mysql not starting with fedora linux | arunkumar_mca | Linux | 1 | 09-22-2005 08:26 PM |
| Starting Apache | cstovall | UNIX for Dummies Questions & Answers | 4 | 12-04-2002 10:18 AM |
| starting Apache on Solaris 8 | jskillet | UNIX for Dummies Questions & Answers | 5 | 07-20-2001 10:06 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Problems starting apache 1.3 with mysql
I’ve been working on a project to replace one of the my group’s primary NIS servers. It also runs mysql and apache, as it is the host for the our team’s hardware tracking database and website. Its running apache 1.3, and for some odd reason, I can’t get apache to start on system boot. The original system, prince, used a startup script in /etc/rc3.d called S98hits. It was as follows:
#!/bin/sh /usr/local/mysql/bin/safe_mysqld & sleep 30 /usr/local/apache/bin/apachectl start This script works fine on prince, but on the new system, serenity, nothing I do will run that apachectl start at boot time. I’ve tried pretty much everything I can think of. From what I’ve seen, if you try to execute apachectl start from a bourne shell, I get a mysql library error, which I’ve tracked down and fixed, yet the fix won’t work. If you run it from a c-shell, the program executes every time, with no errors, but it won’t start automatically. The latest iteration of my scripts has a startup script in rc3.d, which reads the following: #!/bin/sh /usr/local/apache/bin/startup startup is a script that I created that contains the following: #!/bin/csh /usr/local/apache/bin/apachectl start I saw somewhere that scripting in csh without adding a –f after the first line can sometimes cause problems, but after trying it, it didn’t work. Now, I’m totally stumped on why nothing is working here. Any ideas? Thanks! JR |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|