Installing... 1:httpd warning: /etc/httpd/conf.d/welcome.conf created as / etc/httpd/conf.d/welcome.conf.rpmnew warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew warning: /etc/httpd/conf/magic created as /etc/httpd/conf/magic.rpmnew ########################################### [100%] error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename There was a fatal RPM install error. The message was: There was a rpm unpack error installing the package: httpd-2.0.52-28.ent.centos4 root@sv3 [~]#
I have got error while install GD Library on my VPS (CentOS, cPanel)
Code: root@sv1 [~]# yum install php-gd Setting up Install Process Setting up repositories update 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 80 kB 00:00 update : ################################################## 232/232 Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 97, in main result, resultmsgs = do() File "/usr/share/yum-cli/cli.py", line 470, in doCommands return self.installPkgs() File "/usr/share/yum-cli/cli.py", line 836, in installPkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup self.doSackSetup(thisrepo=thisrepo) File "__init__.py", line 260, in doSackSetup File "repos.py", line 287, in populateSack File "sqlitecache.py", line 96, in getPrimary File "sqlitecache.py", line 89, in _getbase File "sqlitecache.py", line 373, in updateSqliteCache File "/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py", line 244, in execute _sqlite.DatabaseError: unable to open database file root@sv1 [~]# yum install php-gd Setting up Install Process Setting up repositories Reading repository metadata in from local files update : ################################################## 232/232 Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 97, in main result, resultmsgs = do() File "/usr/share/yum-cli/cli.py", line 470, in doCommands return self.installPkgs() File "/usr/share/yum-cli/cli.py", line 836, in installPkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup self.doSackSetup(thisrepo=thisrepo) File "__init__.py", line 260, in doSackSetup File "repos.py", line 287, in populateSack File "sqlitecache.py", line 96, in getPrimary File "sqlitecache.py", line 89, in _getbase File "sqlitecache.py", line 373, in updateSqliteCache File "/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py", line 244, in execute _sqlite.DatabaseError: unable to open database file
I have contacted cPanel Support but the issues isn't resolved.
Linux: CentOS 5.2 PHP: 5.2.6 PHP-GD: php-gd.i386 0:5.2.6-jason.1 Apache: 2.2.8 with mod_proxy (Lighttpd serves in the background)Question:
I've built my server with PHP 5.2.6 and Apache and I've also installed php-gd by running 'yum install php-gd', but an application (clip bucket) I'm using requires GD with TTF enabled for the cpatcha image in 'singup'. I've checked my phpinfo [url] but didn't seem to find TTF enabled with my GD, so I wonder how to recompile GD with TTF enabled?
1. GD libraryNot installed The GD library for PHP is missing or outdated. Please check the PHP image documentation for information on how to correct this.
2. Unicode libraryStandard PHP Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support.
I have on my server:
Package gd-2.0.33-9.4.el5_1.1.x86_64 already installed and latest version Package gd-2.0.33-9.4.el5_1.1.i386 already installed and latest version
but i don`t know why drupal say to me it`s not installed. Need to active the GD Library?
How can i fix the problem with php mbstring and GD Library?
Trying to install the GD graphics library to a linux box.
Downloaded the file gd-2.0.34.tar.gz from [url] Ran gunzip and tar thus expanding the files to a temp directory - as root.
The instructions say to run ./configure
I ran "sh ./configure" and I get the following:
Quote:
checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking if we are building a Cygwin target... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details.
I got a domain name with 123-reg and hosting at godaddy, set up the dns and got everything working fine.
I created a script in PHP in a .png file with the help of a .htaccess, the script basically outputs an image with the name of the filename. So say if the .png was called image.png which had the code in, I could call image.png and it would output 'image', if I called foo.png it would output 'foo' - with the help of mod_rewrite where i redirected all .png requests to the proper image.png which had the code in.
Phew. Now I uploaded the files to godaddy and the .htaccess and I just cannot get the image to output properly, it works locally but not on the godaddy server, no image is output at all, i think it is a mod_rewrite problem.
Has anyone got any ideas how I could solve this? I'll paste some example code if it will let me to help you get an idea.
I freely admit this is something that is self inflicted as I made the mistake of trying to install OpenSSH from source on my own despite me knowing that OpenSSL was kinda goofy (as in I had 0.9.8g and 0.9.8i libraries all over the place).
I know that I have OpenSSL 0.9.8k installed and working. PHP and Apache are both reporting that they are using the k release. I'm good there. However cURL and proftpd are still linking to the g release libraries and for the life of me, I cannot find where these buggers are. ld.so.conf is pointed at the newer libraries in /usr/local/lib and /usr/local/ssl/lib and I re-ran ldconfig to make sure.
Is there a way to verify a version of the library/so files because this is killing me. I'm kinda like Monk (USA TV) only instead of germs, I'm freaked out by lame libraries and includes.
edit: what I *think* is happening, based on the timestamps, is that cURL and proftpd are using the libraries in the /usr/lib64 directory instead of /usr/lib. What I don't get is when I make;make install, why things are only going into /usr/lib and /usr/local/lib and not into the /usr/lib64 directory despite my ./config stating that the libraries are being built for x86_64. Is it as simple as copying things over?
I have a weird issue with my Plesk VPS. If I restart the VPS it will work find for about 20 minutes and then go down. All my websites will continue to load and load until they time out.
The weird thing is, I can still access everything. FTP, Plesk, SSH. Just no my websites.
Here is the last error I receive before it continues to load:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - libpq.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
Here are the last few errors in my log:
[Thu Jul 17 19:51:59 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Jul 17 19:51:59 2008] [notice] Digest: generating secret for digest authentication ... [Thu Jul 17 19:51:59 2008] [notice] Digest: done [Thu Jul 17 19:51:59 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK [Thu Jul 17 19:51:59 2008] [notice] LDAP: SSL support unavailable PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - libpq.so.4: cannot open shared object file: No such file or directory in Unknown on line 0 [Thu Jul 17 19:51:59 2008] [notice] mod_python: Creating 4 session mutexes based on 128 max processes and 0 max threads. [Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!? [Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does
I have a dedicated server and under root i went to Software - Apache Update and on the list i saw GD (version 2.0.15) i am assuming thats GD Library. i checked that and started the build. After everything was done i go back and GD is still unchecked..
I am troubleshooting a problem where the php5 package was replaced and caused lots of psa/plesk packages to be removed. This system details are;
# cat core.version 11.5.30 Ubuntu 12.04 115140407.17 # lsb_release -a Description: Ubuntu 12.04.2 LTS Codename: precise # uname -a Linux my.host.name 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
The plesk panel is up, the websites are running, and the email services are running, but there are many errors like so;
==> error.log <== PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so' - /usr/lib/php5/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
I also get the following error when inspecting the json module:
root@vps:/etc/php5/mods-available# php -i|grep -i json PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so' - /usr/lib/php5/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0 /etc/php5/cli/conf.d/20-json.ini,
[Code] ....
What I need to install to get that json.so file back?
I have recently upgraded mysql server from 5.0.75 to 5.1.31 on my Ubuntu server 9.04 32 bit. After that when I am running phpmyadmin it is printing a warning :
Your PHP MySQL library version 5.0.75 differs from your MySQL server version 5.1.31.
What difference between yum install php or manually install php from scrach (build, make and install)?
I know manually install could configure lots of parameters and paths, like --iconv, --mbsting, etc. I don't know anything behind yum install php. If I want to install php everything in the following:
to installing linux software and have been beating my head for a couple of days. I just learned that I can use something on my CENTOS 5 - which is the same as RHEL 5 - to install the rpm and all dependencies.
Numeric-24.2-1.i586.rpm is the rpm I want to install, if that matters.