Re: Newbie. Apache doesnt start ok

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> You will find 2 logfiles there : an "access log" and an "error log".
> The access log contains 1 line for each request that a browser makes to 
> the server.  The error log starts with a line each time you restart 
> Apache, and after that it usually only shows when an error occurred.

I look into "error.log" and i found this lines:

/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce
/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce
/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce
/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce
/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce
/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce
/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce
/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce
/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce
/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce
/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce
/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol:
php_pdo_get_dbh_ce

So i uninstall "pdo_mysql" through "sudo pecl uninstall pdo_mysql" and then
i install it again, and now Apache is starting ok.

I want to add before reinstall pdo_mysql i have installed mysql-server. I
dont know if that could be the cause...

Thanks awarnier!


awarnier wrote:
> 
> Allright, now we can really start helping.
> 
> tirengarfio wrote:
>> Intel 32 bits + Ubuntu 8.04 LTS
> Apache 2.2.8
>> /etc/init.d/apache2 start
> good
> 
>> http://localhost
> Where is that browser running ? on the same machine as Apache ?
> 
> If it is ...
>> Failed to Connect
>> 
>> Firefox can't establish a connection to the server at localhost.
>> 
> 
> The first thing is to see if apache is really running.
> On the same machine as Apache, in a command window, enter
> 
> ps -ef | grep apache
> 
> You should see several lines showing the apache processes (at least 2).
> 
> If not, then it`s not running and we have to figure out why.
> 
> Otherwise, let's check that it is indeed listening on port 80 (the 
> standard HTTP port) :
> Enter "netstat -an | grep LISTEN"
> You should see a line similar to (on one line) :
> tcp6       0      0 :::80                   :::*                    LISTEN
> 
> If you don't, there is a problem.
> 
> In case of a problem, on your kind of system, the Apache logfile should 
> be in /var/log/apache2.
> You will find 2 logfiles there : an "access log" and an "error log".
> The access log contains 1 line for each request that a browser makes to 
> the server.  The error log starts with a line each time you restart 
> Apache, and after that it usually only shows when an error occurred.
> 
> Let us know how far you get with the above commands.
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Newbie.-Apache-doesnt-start-ok-tp23412802p23424162.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux