LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   389-console error. (https://www.linuxquestions.org/questions/linux-newbie-8/389-console-error-4175485997/)

sachin.davra 11-27-2013 01:14 AM

389-console error.
 
when i am trying to restart the service, i am getting the following error. what can be the possible tries to solve the following error.


# /etc/init.d/dirsrv-admin start
Starting dirsrv-admin:
httpd.worker: Syntax error on line 123 of /etc/dirsrv/admin-serv/httpd.conf: Cannot load /usr/lib/httpd/modules/mod_log_config.so into server: /usr/lib/httpd/modules/mod_log_config.so: cannot open shared object file: No such file or directory
Server failed to start !!! Please check errors log for problems
[FAILED]

any help is appreciated.

evo2 11-27-2013 01:35 AM

Hi,

the message provides quite a bit of information. It looks like possibly two errors:

1. A syntax error on line 123 of /etc/dirsrv/admin-serv/httpd.conf
-> Check the file and possibly fix the syntax error
2. A missing shared object file /usr/lib/httpd/modules/mod_log_config.so
-> Install the package that provides this library - how to do this depends on your distro, which you did not specify.

Evo2.

sachin.davra 11-27-2013 01:41 AM

Quote:

Originally Posted by evo2 (Post 5071261)
Hi,

the message provides quite a bit of information. It looks like possibly two errors:

1. A syntax error on line 123 of /etc/dirsrv/admin-serv/httpd.conf
-> Check the file and possibly fix the syntax error
2. A missing shared object file /usr/lib/httpd/modules/mod_log_config.so
-> Install the package that provides this library - how to do this depends on your distro, which you did not specify.

Evo2.

Sorry for the incomplete info.
i am using centos6_x86_64.
1. i did not make any changes in /etc/dirsrv/admin-serv/httpd.conf.
LoadModule log_config_module /usr/lib/httpd/modules/mod_log_config.so

evo2 11-27-2013 02:02 AM

Hi,

so what was the outcome of checking the config file? Could you confirm the .so file was missing? Etc...

Evo2.

PS. If you are looking for "step-by-step" instructions, please specify, and I'll withdraw and let someone else help you.

sachin.davra 11-27-2013 02:07 AM

Quote:

Originally Posted by evo2 (Post 5071273)
Hi,

so what was the outcome of checking the config file? Could you confirm the .so file was missing? Etc...

Evo2.

PS. If you are looking for "step-by-step" instructions, please specify, and I'll withdraw and let someone else help you.

file was there.. but still not sure why it's not working.

evo2 11-27-2013 02:14 AM

Hi,
Quote:

Originally Posted by sachin.davra (Post 5071281)
file was there.. but still not sure why it's not working.

Ok, so is the .so file exists. This sends us back to looking at the config file.
Eg
- Look at (and around) the line number specified in the error message
- Check the modification date/time of the config file

Other things:
- Do you know of any thing that changed between now and when the you were able to start the service?
- Did you check the web server log file(s) as the error suggests?


Evo2.


All times are GMT -5. The time now is 03:33 AM.