email error ictcore logs

Post queries and issues that you found during ictfax installation

email error ictcore logs

Postby igoldstein » Thu Oct 26, 2017 7:15 pm

every minute i see this in the /usr/ictcore/log/ictcore.log file

[2017-10-26 19:14:01] [21451] [WARNING] mysql_connect(): Headers and client library minor version mismatch. Headers:50173 Library:50312 in /usr/ictcore/core/lib/DB.php on line 26
[2017-10-26 19:14:01] [21451] [WARNING] imap_open(): Couldn't open stream /var/spool/email/ictcore in /usr/ictcore/bin/sendmail/gateway.php on line 30
[2017-10-26 19:14:01] [21451] [NOTICE] Unknown: Can't open mailbox /var/spool/email/ictcore: no such mailbox (errflg=2) in Unknown on line 0


any ideas what could be causing this ?
igoldstein
 
Posts: 6
Joined: Mon Oct 23, 2017 8:25 pm

Re: email error ictcore logs

Postby kashif » Mon Oct 30, 2017 12:37 pm

Please make sure following files and folder exist or not

/var/spool/email/ictcore
/var/spool/email/
/var/spool/mail/ictcore
kashif
 
Posts: 22
Joined: Tue Mar 24, 2015 5:17 am

Re: email error ictcore logs

Postby igoldstein » Tue Oct 31, 2017 6:31 pm

i dont have
var/spool/email or /var/spool/email/ictcore

i do have var/spool/mail/ictcore
igoldstein
 
Posts: 6
Joined: Mon Oct 23, 2017 8:25 pm

Re: email error ictcore logs

Postby kashif » Wed Nov 01, 2017 6:38 am

Ok, Please edit your ictcore.conf file and enter your mail folder address (/var/spool/mail/ictcore) or create email folder (mkdir /var/spool/email)

and test it again
kashif
 
Posts: 22
Joined: Tue Mar 24, 2015 5:17 am

Re: email error ictcore logs

Postby igoldstein » Wed Nov 01, 2017 2:09 pm

do i need to restart any services after making that change? if so whats is the command to restart that service ? i am running centos
igoldstein
 
Posts: 6
Joined: Mon Oct 23, 2017 8:25 pm

Re: email error ictcore logs

Postby kashif » Thu Nov 02, 2017 7:38 am

Yes, Please restart sendmal service, Please make sure following services are running

Code: Select all
service sendmail restart


Code: Select all
service freeswitch status
service httpd status
service mysqld status
kashif
 
Posts: 22
Joined: Tue Mar 24, 2015 5:17 am

Re: email error ictcore logs

Postby igoldstein » Thu Nov 02, 2017 9:11 pm

[root@ictfax1 ~]# service sendmail restart
Shutting down sm-client: [ OK ]
Shutting down sendmail: [ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
[root@ictfax1 ~]# service freeswitch status
freeswitch (pid 5828) is running...
[root@ictfax1 ~]# service httpd status
httpd (pid 1361) is running...
[root@ictfax1 ~]# service mysqld status
mysqld: unrecognized service
[root@ictfax1 ~]#
igoldstein
 
Posts: 6
Joined: Mon Oct 23, 2017 8:25 pm

Re: email error ictcore logs

Postby kashif » Fri Nov 03, 2017 5:59 am

Please use following command for mysql service and then test it again

Code: Select all
service mariadb restart
kashif
 
Posts: 22
Joined: Tue Mar 24, 2015 5:17 am

Re: email error ictcore logs

Postby igoldstein » Fri Nov 03, 2017 8:32 am

[root@ictfax1 ~]# service mariadb restart
mariadb: unrecognized service
[root@ictfax1 ~]#
igoldstein
 
Posts: 6
Joined: Mon Oct 23, 2017 8:25 pm

Re: email error ictcore logs

Postby kashif » Fri Nov 03, 2017 12:39 pm

Please make sure mysqld / mariadb installed on your server or not
Code: Select all
yum info mysql / mariadb
yum info mysql-server
kashif
 
Posts: 22
Joined: Tue Mar 24, 2015 5:17 am

Re: email error ictcore logs

Postby igoldstein » Mon Nov 06, 2017 7:12 pm

[root@ictfax1 ~]# yum info mysql / mariadb
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/metalink | 12 kB 00:00
* base: centos.mirror.constant.com
* epel: mirror.math.princeton.edu
* extras: www.gtlib.gatech.edu
* updates: ftpmirror.your.org
base | 3.7 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 6.0 MB 00:00
extras | 3.4 kB 00:00
freeswitch | 951 B 00:00
ict | 2.9 kB 00:00
http://yum.mariadb.org/10.1/centos6-amd ... repomd.xml: [Errno 12] Timeout on http://yum.mariadb.org/10.1/centos6-amd ... repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
updates | 3.4 kB 00:00
updates/primary_db | 4.7 MB 00:00
Available Packages
Name : mysql
Arch : x86_64
Version : 5.1.73
Release : 8.el6_8
Size : 895 k
Repo : base
Summary : MySQL client programs and shared libraries
URL : http://www.mysql.com
License : GPLv2 with exceptions
Description : MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
: client/server implementation consisting of a server daemon (mysqld)
: and many different client programs and libraries. The base package
: contains the standard MySQL client programs and generic MySQL files.

[root@ictfax1 ~]# yum info mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror.constant.com
* epel: mirror.math.princeton.edu
* extras: www.gtlib.gatech.edu
* updates: ftpmirror.your.org
http://yum.mariadb.org/10.1/centos6-amd ... repomd.xml: [Errno 12] Timeout on http://yum.mariadb.org/10.1/centos6-amd ... repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
Available Packages
Name : mysql-server
Arch : x86_64
Version : 5.1.73
Release : 8.el6_8
Size : 8.6 M
Repo : base
Summary : The MySQL server and related files
URL : http://www.mysql.com
License : GPLv2 with exceptions
Description : MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
: client/server implementation consisting of a server daemon (mysqld)
: and many different client programs and libraries. This package contains
: the MySQL server and some accompanying files and directories.

[root@ictfax1 ~]#
igoldstein
 
Posts: 6
Joined: Mon Oct 23, 2017 8:25 pm

Re: email error ictcore logs

Postby kashif » Wed Nov 08, 2017 5:45 am

Mysql not installed on your server, Please install it and restart mysql services

Code: Select all
yum install mysql mysql-server php-mysql


and after installation completed then run

Code: Select all
service httpd restart
service mysqld restart
kashif
 
Posts: 22
Joined: Tue Mar 24, 2015 5:17 am


Return to Installation

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron