CentOS 5 Server :: PHP 5.3 And MySQL - Webpages Not Loading Correctly
Oct 8, 2010
I am running CentOS 5.2 with php5.3 and Mysql. I am running a CRM program called Sugar on the server and I am having a problem where the webpages don't always load correctly. I am not sure if this is something on the program itself or if there is a problem some or other setting on the webserver. I am accessing the server over a local network so I don't think it is connection issues. The server has a static IP.
View 10 Replies
ADVERTISEMENT
Apr 30, 2009
We have been struggling with a problem with the mysql-server package. This might be in the wrong category because our problems are with it on x86_64. Where the problem happens variables that should populate from the my.cnf don't, on other servers, they do, the my.cnf files are identical except for the server-id
The problem occurs on some of our machines but not others. All are using the mysql-server-5.0.45-7.el5.x86_64 The ones that work, when you connect with a client respond with server version 5.0.45-log source distribution The ones that don't work respond with 5.0.45 source distribution
It's unclear what the differences are between the two source versions and how we wind up with two different versions. One thing that might be involved, the mysql package is installed with both the i386 and x86_64
View 1 Replies
View Related
Oct 26, 2009
I tried to kind of beautify my CentOS 5.3. So I kind of break some rules ( like compiling tar balls.. ). To cut it short, I installed avant window navigator ( source, compile, etc ). Before that I also installed compiz ( which made my desktop kind of much more *alive* ). Problem is there are some bugs on AWN, then I think my webcam got affected too ( not showing proper display ). I then decided to uninstall compiz thru YUM. After this, restarted my system, then whooppss my Gnome, won't load properly. the AWN was gone, then the bottom part of my desktop was just black. I only got a top menu, which whatever application I open there's no top bar on it ( where you see the name of the window ). Also every application just shows up on my upper left corner of the screen. So I definitely broke it. So I switched to another session ( Ctrl Alt F2 ) then went into a terminal. I tried to load again another X Session ( Ctrl Alt F8/F9 ), but nothing comes up, am I doing that wrong?
Now in cases like this where the GUI is not loading correctly, what work-arounds are usually made? I did some tweaks by guessing everything will kind of reset by renaming my gnome hidden folders, but no luck. What to do on this situations? Is it possible to kind of switch to pure terminal session, uninstall whole Gnome package there, remove some settings, reinstall Gnome and everything will be ok again? Or is it possible if Gnome is broke like kind of start a KDE session? How's this things relate to XOrg11.conf something? Could anyone just give like some overview like which sits on top of what.
Since I can't fix my problem yesterday I just reformatted laptop and reinstalled 5.3 with Virtualization checked, and I noticed my kernel says "xen". I thought of trying this builtin virtualization software because I had problems with VMWare before also.
View 6 Replies
View Related
Mar 2, 2011
I own a CentOS 5 VPS. I typed crontab -e, and then I added the following line to automatically have my server backup mysql
0 * * * * mysqldump -u root -p password --all-databases | gzip > /home/dbbackup/database_`date '+%m-%d-%Y_%H'`.sql.gz
When I go in and look, it doesn't place any files in /home/dbbackup. When I run
mysqldump -u root -p password --all-databases | gzip > /home/dbbackup/database_`date '+%m-%d-%Y_%H'`.sql.gz
View 3 Replies
View Related
Nov 4, 2010
installing a Linux distro on an old mac to make a simple desktop home computer details below.The Scenario: I am trying to breath a couple more years of life into a computer illiterate friend's Mac G4 [POS] computer, it is a paper weight but all he needs is a basic desktop and an web machine and he can't be made to buy a new one unless all other options are exhausted.
The computer: Is a Mac G4 power-PC architecture, 450 MHz, 18 GB HDD, 1024 Mb ram ugly little thing that was gotten for free it currently has mac OS 10.2 [unsupported] and newer OS-X (he is more familiarized with Mac) don't run on power-PC. Currently web pages don't display correctly, flash and other plug-ins and web scripts don't operate and it is very clunky with software bloat.
My solution? Is to install Linux so he can have a trim clean operating system. Ubuntu 10.04 [community ppc variant] runs off a live CD but is dead slow on account of the low processor power and I was unable to get gnash to run flash video a necessity as Adobe has abandoned power-PC, I suspect the gnash error is between chair and keyboard, advice is welcome. I would like to install a distro more suited to this system currently I am looking at mintPPC but can't quite follow the installation instructions what is meant by Debian squeeze the download link gives me a mini.iso is this the same thing? Also clarification on the terminal commands would be of help. Advice on a different distro is also welcome preferably one with an all in one installing process rather than the mint, Debian, Ubuntu multi-part thingy that mintPPC is; it just needs to be power PC compatible and able to run on a few hundred MHz maybe there is an easy way to put LXDE or Xcfe on a more popular Disto? As for me: I am a new Linux convert, discovering the glory this past July and am still learning my way around I am computer literate and somewhat savvy but I am not a tech head and I HATE working on them I can and do it but I don't like it and I am often hampered by ignorance of the latest new/trends and an acute allergy to Macs and Apple products in general.
View 2 Replies
View Related
Mar 3, 2011
Sometimes when I should be doing school work and the work is too easy or I don't know how to do it I start to circle loading certain webpages to waste time. I have read XKCD comic and it seems like a good idea.I want to know how to implement 30 second delay before loading certain webpages preferably on OS level. Maybe delaying DNS queries.
View 11 Replies
View Related
Feb 12, 2010
I have Ubuntu 9.10 and I am trying to get my ALFA network adapter to work. It shows a few wireless locations including my brother who lives beside me. He is going to let me use his internet on my laptop. His connection is opened and I can connect to it fine... but no sites load... I've tried about 4 other open networks that I picked up and the same thing... it sometimes loads the first page but then thats it... This is suppose to be the best network adapter on the market for under $100. I have a 5dBi ant and a 2.4ghz 6dBi ant.
Oh yea, I've tired this on two other ubuntu 9.10 desktops and 1 laptop and get the same thing... I am however able to connect to my wireless router and browser the internet... but I will not have internet much longer
View 1 Replies
View Related
Jun 4, 2009
I have MySQL 5.1.34 and PHP 5.1.6 installed on my system, how do I install php-mysql? Each time I try, it says
mysql-5.0.45-7.el5.i386 from base has depsolving problems
-- > mysql conflicts with mysql-server-community
error: mysql conflicts with mysql-server-community
View 16 Replies
View Related
Mar 3, 2009
I just configured a complete Cent OS 5.2 system for use as a web server. I can configure Apache and PHP but MySQl seems to be causing some issues -
[mysqld]
datadir=/var/lib/mysql
socket = /var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
[Code]...
View 16 Replies
View Related
Jul 14, 2010
I am using CentOS5 and installed the MySQL for server during the installation. I can set up and use MySQL databases. But I cannot make it startup everytime the server restarts. And quite a lot of methods need this folder "support-files/mysql.server", while my set up cannot find this. I am wondering if my installation of the MySQL for server is complete or not.
View 4 Replies
View Related
Oct 21, 2009
This is my first post, I hope I'm the the right place. I installed mysql mysql-server php-mysql perl-DBD-mysql libdbi-dbd-mysql via "yum install -y" on a server running CentOS 5.3 X86_64 The install completes successful with no errors, but once I start mysqld via "chkconfig --level 35 mysqld on" ; "service mysqld start" There are no errors in /var/log/mysqld.log netstat shows mysqld listening on 3306 and localhost is in /etc/hosts
[Code]...
View 2 Replies
View Related
Jan 20, 2010
For 6 months I have used this computer as a ediacenter/seedbox on a decent TV. It crapped out and we got a new one. Hooked it up, had super messed up resolution. Ran some command (really don't remember) that ran you through the setup configuration asking for keyboard layout etc.
Didn't work. Deleted xorg.cong, didn't work. Blank xorg.conf, didn't work. What happens is it shows the Ubuntu name and loading bar, loads, then at 100% it shows 2 of them in purple around the screen. Obviously X isn't loading correctly.
[code]...
View 1 Replies
View Related
Aug 8, 2011
I have two Centos 5 servers one running Asterisk with PHP installed and another sever running as a MySql Database server, at the moment when I try run simple script to see if I can connect to the remote server I get the following error.Quote:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
View 2 Replies
View Related
Jan 5, 2011
i recently typed in the terminal sudo apt-get upgrade, and it upgraded certain features. Now, after rebooting gnome doesn't boot correctly at all. Its missing several features/ the panels are not working properly, its not loading emerald or gtk. the only way it boots up correctly is in safe mode.
What was upgraded are the following files:
libevolution
libgudev-1.0-0
evolution-plugins
clamav
evolution
[Code].....
View 5 Replies
View Related
Mar 20, 2010
I am running a quad core centos 5.4 box that is having a strange problem with dovecot. The administration panel is able to send emails through dovecot but not any of the user accounts (ie with webmail). I've done a bit of research with what could be wrong but haven't had any luck so far I am also having a weird problem with apache: on a c++/php bittorrent application I was going to be running on a subdomain of my main site I get a 500 error every time I try to log in. The only way to get rid of the 500 error is to clear the chache (so its horribly broken somehow). The error generated in the log whenever I try to log in is that "ffmpeg is already loaded" (which I am running on the main site and is critical). Is there a way of either repairing my apache install or excluding ffmpeg on the subdomain in the conf or something?
View 2 Replies
View Related
Mar 17, 2011
I have been using my ATI 5870 for some time now after upgrading from a nVIDIA GTX 260. When I did the upgrade it booted no problem. The fan eventually went out on it so I had it RMA'd which led to me using the GTX 260 again. FINALLY got the 5870 back and now Ubuntu just loads to the terminal screen.
View 7 Replies
View Related
Sep 29, 2010
have to create a webhost on an running fedora server which runs multiple webpages + a coldfusion serveri have to add an coldfusion virtual host to these.what i would do:*crate a new user & group*enter vhosts.conf and copy an existing host and modify it for the new one.*create an new folder and copy the main files (phpstarter and webroot) *chown the files for the right useri think an apache graceful would be needet
View 1 Replies
View Related
Nov 19, 2010
I tried to install php from source file on centos server and i got the error as # ./configure --with-apxs2=/usr/local/packages/apache/bin/apxs --with-mysql --prefix=/usr/local/packages/apache/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm
checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information.
View 6 Replies
View Related
May 4, 2009
I have just installed CentOS 5. I have set mysql database to access from remote machines. But now the problem is it is not connecting from the local machine now.
View 5 Replies
View Related
May 6, 2010
what is configure option of Mysql server from Centos repo? I mean configuration option used before compilation.
View 1 Replies
View Related
Jun 7, 2011
I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:
Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory
[Code]...
View 6 Replies
View Related
Jun 9, 2011
I managed to successfully install LAMP on my VPS and proceeded to install Wordpress only to run into an odd error.When I click on index.php, it starts to load but nothing happens.
The details:
LAMP = CentOS5.5, Apache 2.2.18(compiled from source), MySQL 5.1.57(compiled from source), PHP 5.3.6(from source too) My site: ottomatic.org as you can see in the index of files index.php is what I'm trying to load and if you check phpinfo.php you can see that PHP was installed correctly too. I added an .htaccess file with 644 permissions to my web root directory and that only seemed to produce an error, this is what I put in the .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
[Code]...
View 6 Replies
View Related
Aug 30, 2009
i try to install mysql-server how do i create a password for it
yum install mysql mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.optus.net
* updates: mirror.optus.net
[Code]...
View 1 Replies
View Related
Mar 18, 2010
I'm looking for a way to put a MySQL database in a server's memory. The disks aren't fast enough to keep up with the usage and I don't feel like going for a splitted web&db server yet because of the costs.
Because this involves risks (unless there's a way to read from the memory and write to the memory AND disks?), so I'd prefer that the DB gets copied automatically every hour or so to the local disks.
View 1 Replies
View Related
Jun 2, 2010
i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error
[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
[code]....
i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.
View 9 Replies
View Related
Feb 16, 2010
I'm trying to change some configurations but when I change it from the default options in main.cf, it doesn't actually update the running configuration. I've even restarted the server all together but it still doesn't update it.In main.cf, here is the configuration I've added:
bounce_template_file = /etc/postfix/bounce.cf
bounce_queue_lifetime = 4h
maximal_queue_lifetime = 4h
delay_warning_time = 1h
View 1 Replies
View Related
Oct 27, 2010
I'm trying to install php / mysql on a remote Centos server.I've completed the installation stages but when I try ' php -v ' it comes up with these errors:
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - libltdl.so.3: cannot open shared object file: No such file or directory in Unknown on line 0
[code].....
View 2 Replies
View Related
Jan 23, 2011
I installed squid non the CentOS 5 server. When I try to start squid I am receiving following error:
# service squid start
init_cache_dir /var/spool/squid... Starting squid: [FAILED]
The logs indicate the following:
$ sudo tail /var/log/squid/squid.out
squid: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: Permission denied .....
Although, all the libraries which are shown as missing are present, but still I am seeing the following.
$ ldd /usr/sbin/squid
linux-vdso.so.1 => (0x00007fffb95ff000)
libcrypt.so.1 => not found
libssl.so.6 => not found
libcrypto.so.6 => not found
libdl.so.2 => not found
libz.so.1 => not found
librt.so.1 => not found
libpthread.so.0 => not found
libm.so.6 => not found
libnsl.so.1 => not found
libc.so.6 => not found
I have tried setting the environment variable LD_LIBRARY_PATH
$ echo $LD_LIBRARY_PATH
/lib64:/usr/lib64:/lib:/usr/lib
But still no use.
View 12 Replies
View Related
Aug 31, 2010
I want to upgrade existing MySQL 5.0.77 version on CentOS 5 Red Hat Linux to MySQL 5.1.x. Is anybody have list of patches or upgrades to upgrade to MySQL 5.1.x?
View 6 Replies
View Related
May 18, 2011
I need some features that are only available in MySQL 5.1 or later. Can I get MySQL 5.1 for CentOS? What is the best way to install it?
View 9 Replies
View Related