0

I am trying to start Apache server. It throws me the below error.

I was installing Magento instance here, it was working fine, but once after I created the magento.conf file i get this error.

I now deleted the conf file, but the Apache still is not able to start.

Please help me with the error log

apache2.serviceJob for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.

The error log says:

[Tue Sep 27 07:35:01.408250 2016] [mpm_prefork:notice] [pid 2870] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Sep 27 07:35:01.408279 2016] [core:notice] [pid 2870] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 27 17:29:07.403562 2016] [mpm_prefork:notice] [pid 2870] AH00169: caught SIGTERM, shutting down
[Tue Sep 27 17:29:08.495240 2016] [mpm_prefork:notice] [pid 17005] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Sep 27 17:29:08.495311 2016] [core:notice] [pid 17005] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 27 17:45:45.255954 2016] [:error] [pid 17010] [client 10.20.22.147:38989] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_pconnect() in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php:91\nStack trace:\n#0 /var/www/html/mindprice/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect()\n#1 /var/www/html/mindprice/system/database/DB.php(148): CI_DB_driver->initialize()\n#2 /var/www/html/mindprice/system/core/Loader.php(346): DB(Array, NULL)\n#3 /var/www/html/mindprice/system/core/Loader.php(1171): CI_Loader->database()\n#4 /var/www/html/mindprice/system/core/Loader.php(152): CI_Loader->_ci_autoloader()\n#5 /var/www/html/mindprice/system/core/Controller.php(51): CI_Loader->initialize()\n#6 /var/www/html/mindprice/system/core/CodeIgniter.php(308): CI_Controller->__construct()\n#7 /var/www/html/mindprice/index.php(199): require_once('/var/www/html/m...')\n#8 {main}\n  thrown in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php on line 91
[Tue Sep 27 17:45:45.628330 2016] [:error] [pid 17009] [client 10.20.22.147:38990] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_pconnect() in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php:91\nStack trace:\n#0 /var/www/html/mindprice/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect()\n#1 /var/www/html/mindprice/system/database/DB.php(148): CI_DB_driver->initialize()\n#2 /var/www/html/mindprice/system/core/Loader.php(346): DB(Array, NULL)\n#3 /var/www/html/mindprice/system/core/Loader.php(1171): CI_Loader->database()\n#4 /var/www/html/mindprice/system/core/Loader.php(152): CI_Loader->_ci_autoloader()\n#5 /var/www/html/mindprice/system/core/Controller.php(51): CI_Loader->initialize()\n#6 /var/www/html/mindprice/system/core/CodeIgniter.php(308): CI_Controller->__construct()\n#7 /var/www/html/mindprice/index.php(199): require_once('/var/www/html/m...')\n#8 {main}\n  thrown in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php on line 91
[Tue Sep 27 17:45:45.750438 2016] [:error] [pid 17011] [client 10.20.22.147:38991] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_pconnect() in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php:91\nStack trace:\n#0 /var/www/html/mindprice/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect()\n#1 /var/www/html/mindprice/system/database/DB.php(148): CI_DB_driver->initialize()\n#2 /var/www/html/mindprice/system/core/Loader.php(346): DB(Array, NULL)\n#3 /var/www/html/mindprice/system/core/Loader.php(1171): CI_Loader->database()\n#4 /var/www/html/mindprice/system/core/Loader.php(152): CI_Loader->_ci_autoloader()\n#5 /var/www/html/mindprice/system/core/Controller.php(51): CI_Loader->initialize()\n#6 /var/www/html/mindprice/system/core/CodeIgniter.php(308): CI_Controller->__construct()\n#7 /var/www/html/mindprice/index.php(199): require_once('/var/www/html/m...')\n#8 {main}\n  thrown in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php on line 91
[Tue Sep 27 17:45:59.627748 2016] [:error] [pid 17012] [client 10.20.22.147:38992] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_pconnect() in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php:91\nStack trace:\n#0 /var/www/html/mindprice/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect()\n#1 /var/www/html/mindprice/system/database/DB.php(148): CI_DB_driver->initialize()\n#2 /var/www/html/mindprice/system/core/Loader.php(346): DB(Array, NULL)\n#3 /var/www/html/mindprice/system/core/Loader.php(1171): CI_Loader->database()\n#4 /var/www/html/mindprice/system/core/Loader.php(152): CI_Loader->_ci_autoloader()\n#5 /var/www/html/mindprice/system/core/Controller.php(51): CI_Loader->initialize()\n#6 /var/www/html/mindprice/system/core/CodeIgniter.php(308): CI_Controller->__construct()\n#7 /var/www/html/mindprice/index.php(199): require_once('/var/www/html/m...')\n#8 {main}\n  thrown in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php on line 91

I don't understand what this error means.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.