Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Does this mean httpd is not installed and if not , what is it and how can i fix it. Starting httpd: Syntax error on line 127 of /etc/httpd/conf.d/ssl.conf: SSLCertificateFile: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    7

    Starting httpd: Syntax error


    Does this mean httpd is not installed and if not , what is it and how can i fix it.

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

    thanks

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    You need to place a valid Server Certificate File (server.crt) in /etc/httpd/conf/ssl.crt if you are going to use SSL Certificates. Although I'd say that other than that Apache should have started up and is, in all likelihood, running fine.

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Posts
    7
    i think i fixed it by switching to super user su. now i get this problem regarding mysqul
    now is it not installed

    bash: cd: /etc/rc.d./init.d/: No such file or directory
    [root@static26-72-52-99 cliff]# cd /etc/rc.d/init.d/
    [root@static26-72-52-99 init.d]# .httpd start
    bash: .httpd: command not found
    [root@static26-72-52-99 init.d]# ./httpd start
    Starting httpd: [ OK ]
    [root@static26-72-52-99 init.d]# cd /etc/rc.d/itit.d/
    bash: cd: /etc/rc.d/itit.d/: No such file or directory
    [root@static26-72-52-99 init.d]# ./mysqld start
    bash: ./mysqld: No such file or directory
    [root@static26-72-52-99 init.d]# ./mysqld start
    bash: ./mysqld: No such file or directory
    [root@static26-72-52-99 init.d]# locate mysqld
    /usr/share/doc/mysql-3.23.58/mysqld_error.txt
    /usr/share/man/man1/mysqld.1.gz
    /usr/share/man/man1/mysqld_multi.1.gz
    /usr/share/man/man1/mysqldump.1.gz
    /usr/share/man/man1/safe_mysqld.1.gz
    /usr/bin/mysqld_multi
    /usr/bin/mysqldumpslow
    /usr/bin/mysqldump
    [root@static26-72-52-99 init.d]# ./mysqld start
    bash: ./mysqld: No such file or directory
    [root@static26-72-52-99 init.d]#

  4. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    try:
    Code:
    /usr/bin/mysqld_multi start

  5. #5
    Just Joined!
    Join Date
    Feb 2005
    Posts
    7
    this is the message i got when i put in that code

    Couldn't find the mysqld binary! Tried: /usr/libexec/mysqld
    Couldn't find the mysqladmin binary! Tried: /usr/bin/mysqladmin
    Error with an option, see mysqld_multi --help for more info!

  6. #6
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    You didn't install MySQL correctly then. I suggest reinstalling and trying again.

  7. #7
    Just Joined!
    Join Date
    Feb 2005
    Posts
    7
    would it be on my rpm disk and is their a particular version

  8. #8
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    You might want to download a newer one from the net:
    Code:
    yum install mysqld
    since it sounds like you're on RH/Fedora
    if that doesn't work, then search your install CDs for mysql packages. you can also look here: http://rpm.pbone.net

  9. #9
    Just Joined!
    Join Date
    Feb 2005
    Posts
    7
    thanks for your help

  10. #10
    Just Joined!
    Join Date
    Feb 2005
    Posts
    7
    what does this mean, i used the rpm or to make along story short i had to format. anyways installed mysql additional stuff from rpm. now i get this message w


    and i get this message
    [root@localhost root]# cd /etc/rc.d/init.d
    [root@localhost init.d]# ./httpd start
    Starting httpd: Syntax error on line 260 of /etc/httpd/conf/httpd.conf:
    ServerName takes one argument, The hostname and port of the server
    [FAILED]

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •