Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 11-27-2020, 03:21 PM
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here you are:

Code:
find / -name exim_* -print
/usr/sbin/exim_dbmbuild
/usr/sbin/exim_dumpdb
/usr/sbin/exim_lock
/usr/sbin/exim_tidydb
/usr/sbin/exim_fixdb
/usr/sbin/exim_convert4r4
/usr/sbin/exim_checkaccess
/usr/share/man/man8/exim_fixdb.8.gz
/usr/share/man/man8/exim_dumpdb.8.gz
/usr/share/man/man8/exim_convert4r4.8.gz
/usr/share/man/man8/exim_db.8.gz
/usr/share/man/man8/exim_lock.8.gz
/usr/share/man/man8/exim_checkaccess.8.gz
/usr/share/man/man8/exim_tidydb.8.gz
/usr/share/man/man8/exim_dbmbuild.8.gz
So I made the same for exim4 :

Code:
find / -name exim4* -print
/sys/fs/cgroup/pids/system.slice/exim4.service
/sys/fs/cgroup/devices/system.slice/exim4.service
/sys/fs/cgroup/memory/system.slice/exim4.service
/sys/fs/cgroup/systemd/system.slice/exim4.service
/sys/fs/cgroup/unified/system.slice/exim4.service
/usr/lib/exim4
/usr/lib/exim4/exim4
/usr/sbin/exim4
/usr/share/doc/exim4-base
/usr/share/doc/exim4
/usr/share/doc/exim4-daemon-light
/usr/share/doc/exim4-config
/usr/share/doc-base/exim4-spec-txt
/usr/share/doc-base/exim4-filter-txt
/usr/share/doc-base/exim4-readme-debian
/usr/share/lintian/overrides/exim4-daemon-light
/usr/share/lintian/overrides/exim4-config
/usr/share/exim4
/usr/share/exim4/exim4_refresh_gnutls-params
/usr/share/man/man5/exim4_local_sender_callout.5.gz
/usr/share/man/man5/exim4_passwd_client.5.gz
/usr/share/man/man5/exim4_local_rcpt_callout.5.gz
/usr/share/man/man5/exim4_local_domain_dnsbl_whitelist.5.gz
/usr/share/man/man5/exim4_local_host_blacklist.5.gz
/usr/share/man/man5/exim4_exim_key.5.gz
/usr/share/man/man5/exim4_sender_local_deny_exceptions.5.gz
/usr/share/man/man5/exim4_exim_crt.5.gz
/usr/share/man/man5/exim4-config_files.5.gz
/usr/share/man/man5/exim4_hubbed_hosts.5.gz
/usr/share/man/man5/exim4_host_local_deny_exceptions.5.gz
/usr/share/man/man5/exim4_passwd.5.gz
/usr/share/man/man5/exim4_local_sender_blacklist.5.gz
/usr/share/man/man8/exim4.8.gz
/usr/share/bug/exim4-base
/usr/share/bug/exim4
/usr/share/bug/exim4-daemon-light
/usr/share/bug/exim4-config
/run/exim4
/run/systemd/generator.late/graphical.target.wants/exim4.service
/run/systemd/generator.late/multi-user.target.wants/exim4.service
/run/systemd/generator.late/exim4.service
/var/lib/exim4
/var/lib/dpkg/info/exim4-config.list
/var/lib/dpkg/info/exim4-base.preinst
/var/lib/dpkg/info/exim4-config.postrm
/var/lib/dpkg/info/exim4-daemon-light.prerm
/var/lib/dpkg/info/exim4.list
/var/lib/dpkg/info/exim4-base.md5sums
/var/lib/dpkg/info/exim4-config.templates
/var/lib/dpkg/info/exim4-daemon-light.postrm
/var/lib/dpkg/info/exim4-base.templates
/var/lib/dpkg/info/exim4-config.postinst
/var/lib/dpkg/info/exim4-config.config
/var/lib/dpkg/info/exim4-daemon-light.md5sums
/var/lib/dpkg/info/exim4.md5sums
/var/lib/dpkg/info/exim4.postinst
/var/lib/dpkg/info/exim4-config.md5sums
/var/lib/dpkg/info/exim4-base.postrm
/var/lib/dpkg/info/exim4-daemon-light.list
/var/lib/dpkg/info/exim4-config.conffiles
/var/lib/dpkg/info/exim4-config.preinst
/var/lib/dpkg/info/exim4-base.config
/var/lib/dpkg/info/exim4.config
/var/lib/dpkg/info/exim4-base.list
/var/lib/dpkg/info/exim4-base.postinst
/var/lib/dpkg/info/exim4-daemon-light.templates
/var/lib/dpkg/info/exim4-base.conffiles
/var/lib/dpkg/info/exim4-daemon-light.config
/var/lib/dpkg/info/exim4.postrm
/var/lib/dpkg/info/exim4-daemon-light.postinst
/var/lib/dpkg/info/exim4.templates
/var/spool/exim4
/home/log/exim4
/etc/logrotate.d/exim4-base
/etc/logrotate.d/exim4-paniclog
/etc/default/exim4
/etc/ppp/ip-up.d/exim4
/etc/cron.daily/exim4-base
/etc/exim4
/etc/exim4/exim4.conf.template.dpkg-old
/etc/exim4/exim4.conf.template
/etc/init.d/exim4
Reply With Quote
  #12  
Old 11-27-2020, 04:04 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It appears they renamed & moved quite a bit in that OS version.

Youre gonna have to edit the config & find out where & what its naming the log files.

Once you find the correct log, then you can tail the log as you test & send out an email.
Reply With Quote
  #13  
Old 11-28-2020, 10:37 AM
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So... as far as I can understand, there is a big mess on our server. We actually have two different versions of PHP : 5.3 and 7. And vBulletin is using 5.3 which is not supported any longer. As our server uses PHP 7 for e-mails, it doesn't do the link between vB and the mail server...

I now have to plan cascading updates for vBulletin and PHP to make things right and only then make further mail tests.

I hope this will be sufficient.

Sorry for the disturbance and thank you again Snakes1100 for your help! I'll post news when I get some.
Reply With Quote
  #14  
Old 11-28-2020, 10:47 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1st, you actually need to test - 5.3 may or may not be the issue, you simply need to verify that by checking the log php is using as explained in response to the PM.

Just because someone told you 5.3 is the issue, doesnt mean its so.
Reply With Quote
  #15  
Old 11-28-2020, 08:19 PM
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't find in php.ini where errors are loggued...

Code:
; Besides displaying errors, PHP can also log errors to locations such as a
; server-specific log, STDERR, or a location specified by the error_log
; directive found below. While errors should not be displayed on productions
; servers they should still be monitored and logging is a great way to do that.
; Default Value: Off
; Development Value: On
; Production Value: On
; http://php.net/log-errors
log_errors = On
Path is not specified so I guess it would be in syslog BUT when I try a diagnostic mail... nothing more shows in syslog.

Where could it be, by default ?
Reply With Quote
  #16  
Old 11-29-2020, 12:50 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to find the php.ini file that your site uses, as you stated it runs 2 versions of php.

Check your phpinfo in the admincp.
Reply With Quote
  #17  
Old 11-29-2020, 08:39 AM
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, we use PHP 5.3.29 as shown in admincp and so I checked that file:

/etc/php5/apache2/php.ini

I also checked those two files:

/usr/php53/lib/php.ini
/usr/php56/lib/php.ini

just to be sure but I found no path for an error log.

Confusing...

Thank you for your help!


edit: here is what I find on the server:

Code:
find / -name php.ini* -print
find: ‘/proc/20015’: Aucun fichier ou dossier de ce type
find: ‘/proc/20016’: Aucun fichier ou dossier de ce type
/usr/lib/php/7.3/php.ini-development
/usr/lib/php/7.3/php.ini-production.cli
/usr/lib/php/7.3/php.ini-production
/usr/php56/lib/php.ini
/usr/php56/lib/php.ini-memcache
/usr/php56/lib/php.ini-original
/usr/php56/lib/php.ini-xcache
/usr/php56/lib/php.ini-opcache
/usr/php53/lib/php.ini
/usr/php53/lib/php.ini-memcache
/usr/php53/lib/php.ini-original
/usr/php53/lib/php.ini-xcache
/usr/php53/lib/php.ini-opcache
/etc/php5/apache2/php.ini
/etc/php5/cli/php.ini
Maybe the path is defined in one of these files?
Reply With Quote
  #18  
Old 11-29-2020, 12:09 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can set a log in the ini that the site is using to log errors, so just make a listing in:

/etc/php5/apache2/php.ini

Restart apache/php if it doesnt start logging after adding it.
Reply With Quote
  #19  
Old 11-29-2020, 05:56 PM
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well that doesn't work as the file is not created, even after restarting apache2.

I put this in /etc/php5/apache2/php.ini:

Code:
; Besides displaying errors, PHP can also log errors to locations such as a
; server-specific log, STDERR, or a location specified by the error_log
; directive found below. While errors should not be displayed on productions
; servers they should still be monitored and logging is a great way to do that.
; Default Value: Off
; Development Value: On
; Production Value: On
; http://php.net/log-errors
log_errors = On
error_log = /var/log/phptesterror.log

but the file /var/log/phptesterror.log doesn't exist, even after trying the diagnostic mail.
Reply With Quote
  #20  
Old 11-30-2020, 06:46 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

create it yourself
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07157 seconds
  • Memory Usage 2,260KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete