Hi

What should I do?

* warning: openlog() has been disabled for security reasons in /home/a2669445/public_html/modules/syslog/syslog.module on line 78.
* warning: syslog() has been disabled for security reasons in /home/a2669445/public_html/modules/syslog/syslog.module on line 81.

Comments

Akif Nezir’s picture

The same things.

* warning: openlog() has been disabled for security reasons in /home2/site/public_html/modules/syslog/syslog.module on line 76.
* warning: syslog() has been disabled for security reasons in /home2/site/public_html/modules/syslog/syslog.module on line 79.
* warning: syslog() has been disabled for security reasons in /home2/site/public_html/modules/syslog/syslog.module on line 79.
* warning: syslog() has been disabled for security reasons in /home2/site/public_html/modules/syslog/syslog.module on line 79.
* warning: syslog() has been disabled for security reasons in /home2/site/public_html/modules/syslog/syslog.module on line 79.
* warning: syslog() has been disabled for security reasons in /home2/site/public_html/modules/syslog/syslog.module on line 79.

What should I do?

anon’s picture

It is possible to disable this.

- Try to login as usual.
- When the warning message appers, press F5 and you will now be logged in.
- Go to the modulelist and under Core (not reqired) and uncheck the Syslog module.

connieow’s picture

I did disable the syslog(). No more warnings. But read the lines where it gave the problem. Mine were 94 which lists identity as 'drupal' and 109 which I did not get but same apparent issue, identity.

Who should the owner be?
Line 94: openlog(variable_get('syslog_identity', 'drupal'), LOG_NDELAY, variable_get('syslog_facility', $default_facility));

Line 109: syslog($log_entry['severity'], $message);

Do not get the issue with the warning and why openlog and syslog should be disabled for security reasons in the syslog.module.

Would like to fix the issue. My drupal is hosted on CPanel, with PHP, Apache, etc. if that helps.

Thank you.

connie

hillbjs’s picture

If I try, you can delete.

syslog
This folder

tallsimon’s picture

subscribe- if anyone has an answer i'd like to hear about it!

tallsimon’s picture

subscribe- if anyone has an answer i'd like to hear about it!

jmrfly’s picture

Hi, I had the same problem and was corrected by disabling the module syslog, however i have enabled logging database.
I'm not sure but I think that the php.ini file in my web service provider not allows that option, some thing about to "safe mode".
Sorry for my bad English.

AACC88’s picture

I encountered the same problem. Syslog can disable it?

jwalanta@groups.drupal.org’s picture

see if syslog and openlog are disabled..
check 'disable_function=' line in php.ini

mama21mama’s picture

openlog() has been disabled for security reasons in /home/a4795506/public_html/modules/syslog/syslog.module on line 76.

Drupal 6.10

Марина-1’s picture

I've got a double problem. I want to disable Clean_urls and I can't go to the module page because I have the error message mentioned above. Ho to solve it?

ari-meetai’s picture

prepend a ?q= before the path that would go to the place you need for sites with problems with clean_urls.

For example: for going to the Admin/Modules, you would write:

http://[yourdomain.com]/?q=admin/build/modules

Stephen Winters’s picture

Hi,
We have the same problem as the top message in this thread and am trying to find a way to fix the error. After signing in we can't even get to the modules, we are told that we don't have any administration items, even though we can see the admin menu choices in the navigation menu. How would we disable the syslog module when we can't even get into the modules section
'

arielon, we saw your message "prepend a ?q= before the path??????", it looks interesting, but I don't have a clue which file to look inside. Could you give a few more detailed instructions? (baby steps please??)

Best Wishes
Stephen

Anonymous’s picture

I think.. and demand : where is (really) this problem ? In Views ?? In Syslog ? In new modules of Drupal 6xx ?

It would be helpful to understand where the problem really lies

krishanchandra’s picture

warning: openlog() has been disabled for security reasons in /docs/modules/syslog/syslog.module on line 82.
warning: syslog() has been disabled for security reasons in /docs/modules/syslog/syslog.module on line 85.

When I enable Syslog Module then this warning appear. I can not disable this module because I am using this module for limit of log entries.

Moriarty017’s picture

I am getting the same problem. It is rather alarming that this is still the case and no experts have been around to explain how to sort the problem.

Having unchecked the Syslog tag in my administrator's panel, the error remains.

January 3rd 2013

vm’s picture

actually, someone well versed did comment. However, the users continuing to comment here including yourself ignored the advice and didn't respond to the question which is of utmost importance: see: http://drupal.org/node/316529#comment-1170124

Moriarty017’s picture

Thanks, VM. I'll bear that in mind if ever I acquire those skills.

vm’s picture

locate php.ini on your server. If you don't have access to it, ask your host for a copy. If they don't give you access, find a new host.

once you have access to php.ini:
copy it to your machine
open it in a text editor
perform a search (CTRL-F in windows) inside the file. Locate the line/s discussed herein.
Edit as necessary
save
upload to the root of your install
test

vm’s picture

For those who find this thread at a later date: the issue is a php function used by syslog.module is disabled on your server. This cannot be corrected from within Drupal. This must be corrected on your server environment if you want to use the syslog.module

Function openlog is disabled. What to do?
I see the "Warning: openlog() has been disabled for security reasons" message on my site. What should I do? How can I fix this?

Solution for the "openlog disabled" issue
In order to eliminate this error message you need to do ONE of the following things:

Remove the openlog string from the disable_functions at php.ini* file
Ask your hosting provider to remove the string above if you don't have an access to the php.ini* file
Change hosting provider which allows the running of the openlog function.