Recompile Apache :: Your Operating System's Rpm Update Method (yum) Was Not ..
Aug 29, 2007
i tried recompile Apache to install
--curl
--curl ssl
--mcrypt
by running /scripts/easyapache
then i get the error below. Can anyone help me out? i really dont know what todo here.
Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper set up. You must correct this error before you can proceed.
There's bloody heaps of them. Which one do I go for on my two new file servers? Which operating system out of these is the most common, has the most support, is most compatible? The server will be used to host videos and will run c-panel. A light weight OS is probably preferred but I really have no idea. And incase it helps, the servers have 512mb of ram, about 30 - 40GB of hDD (not actually sure) and an old AMD Duron.
CentOS Debian Direct Admin Fedora FreeBSD Gentoo LiveCD Redhat Slackware
I have always used debian on my virtual machine but was just curious as to what OS people use for their hosting?
The company I am looking at moving to for hosting offer the following options: * Debian * Ubuntu Server * Open Suse * Free BSD * Fedora Core * CentOS * Gentoo * Slackware * Windows 2003 Basic * Windows 2003 Pro
I have heard from a lot of people that Freebsd is good for hosting but just wondering what your views are
to get a dedicated sql server 2005 box and am not sure the best operating system. These are my choices:
Windows Server 2003 Enterprise - 32 bit Windows Server 2003 Enterprise - 64 bit Windows Server 2003 R2 Enterprise - 32 bit Windows Server 2003 R2 Enterprise - 64 bit
This is the server I'm thinking of getting - Dual Woodcrest Series - SATA Dual Intel Woodcrest 5130 Dual Core Processors 2 x 500GB Hard Drive 4096 MB RAM
Currently, I have my IIS web server and sql server 2005 on the same machine and it's just too bogged down. That one runs windows 2003 standard 32 bit on a Dual Xeon 2.8GHz Processor 2 x 80GB Hard Drive 4096 MB RAM
Without having all of the operating systems at my disposal for testing, I would like to figure out a way to determine the operating system of a remotely accessed Linux machine.
It seems pretty strange though, since cPanel reports both machines I am using as being
CENTOS Enterprise 4.5 i686, yet one's uname -a reports:
Code: Linux hostsentry.crucialwebhost.com 2.6.9-023stab044.4-enterprise #1 SMP Thu May 24 17:41:23 MSD 2007 i686 i686 i386 GNU/Linux
Code: Linux main.7kb.org 2.6.9-55.0.6.ELsmp #1 SMP Tue Sep 4 21:36:00 EDT 2007 i686 i686 i386 GNU/Linux I'm assuming there is a way to determine the OS from this information. Anyone know how?
I have been online since 95 and I've got a lot of information I could help others with regarding web development and interface design.
One thing I'm terrible at is System Administration, but I'm getting better and my first step is to pick a reliable operating system for both the webservers and the database servers. Would anyone be willing to answer the following questions or point me to a thread that already discusses these?
A little background, our site has 200k members, 30k active and is growing by about 5k a week. We still run MySQL 4.0.27 on the DB servers and they are running FC2. The webservers are Apache 1.3.37 and PHP 4.4.2 running FC2 and FC4 as well.
My questions
1. What OS would you prefer to upgrade to for the web servers? and a "few" reasons why?
2. What OS would you prefer to upgrade to for the database servers? and a "few" reasons why?
Logged into my panel today to run a database backup on a site I'm working on to be confronted with the following:
Unable to backup database 'XXXXXXXXXX' Cannot open backup device 'C:Program Files (x86)ParallelsPleskBackupXXXXXXXXX.co.nzdatabasesXXXXXXXXX-29 est'. Operating system error 5(Access is denied.). BACKUP DATABASE is terminating abnormally.
(Error code 21)
I'm not sure why permissions would change on their own, I'm also not sure how to fix the permissions error. I get the same error on all databases.
PrivateTemp folder appears to have write permissions for Group MSSQLSERVER
initfpsuexec: using apache 1.x support PHP version file has been updated to 4.4.7 Adding cPanel default aliases ...disabled scgi-bin since suexec is installed Done Executing /scripts/postbuildapache (if exists)...Done Configuring perl magic....Off Configuring php-pear magic....Off Configuring ruby magic....Off Configuring php-pecl magic....Off /etc/rc.d/init.d/httpd start: httpd started initfpsuexec: using apache 1.x support
I currently own several servers: let's say sites on 3 of those servers rely on a website that sits on server 4
If server 4 goes offline, then servers 1 2 and 3 suffer a lack of usability. The website on server 4 is very small and fast, but receives several hundred thousand visits a day
I figured it would be a good idea to replicate that website on each of my servers, but I'm unsure about how to set up a good redundancy system..
Using several nameservers doesn't work as expected (visitors are randomly sent to one of the nameservers, in no particular order)
I have to create a structure in which there is a client, a server and an authentication authority.
The authentication authority verifies the identity of both the client and server before they can communicate, so that the client can access the content offered by the server. Everything must be made using HTTP with SSL (HTTPS).
For now I have installed xampp on my pc with ubuntu, I performed the initial configuration and was able to view a test page locally hosted by entering the URL of the virtual server "www.server.it" (added to the configuration of apache2).
Recently I cross compiled Apache2.4.6 to run in my ARM cpu, and I found that http can work well if only it's own port such as 80 is listened, but if add one more port to be listened in conf file, http fails. That means http is good, but after https is on, http stop working and https is good. At the same time, I built the same apache2.4.6 in X86 gcc4.6.1, http and https can both work well. In addition, I also tried apache1.3.33 in the same ARM system, http and https can work well too. It seems like that in apache2.4.6, http can't work well if there is one more port listened in ARM system. Actually http port is listening and is established when using netstat to monitor it.
root@freescale /usr/local/apache/bin$ netstat -a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 :::www :::* LISTEN tcp 0 0 :::443 :::* LISTEN tcp 0 0 (null):www (null):3705 ESTABLISHED tcp 0 0 (null):443 (null):3720 ESTABLISHED
I have a website on a linux-server working fine with PHP/Apache. The page loads a lot of css/js/image-stuff (total 84 requests, 220k), it takes about 4 secs to load via internet.
Now I'm testing the same page locally on a Win7-64-system (Apache 2.2, PHP 5.4). The system is not very slow (8 GB RAM, SSD, i7-CPU), but loading the same page as above takes about 50 secs.
The Q is: What might be the problem?
- I turned off firewall and anti-virus.
- I used mod_status: 150 threads, max. 11 seems to be used during the loading of the page.
- I tried php5apache2_2.dll with TS-PHP 5.4 and mod_fcgid.so with NTS-PHP 5.4, but the loading-time kept almost the same.
Looking at the "network-tab" in FF or Chrome, I found that a lot of subqueries get a timing like this:
Blocking: 11.96 s Sending: 0 Waiting: 1 ms Receiving: 6ms
So the loss of time seem to be in the "blocking"-section. I first thought of something like "limited number of TCP-Connections", but as said above, on the same system the page is remotly loaded fast enough almost without these "blocking"-parts.
They are located in different places on the file system. And i need to redirect from one project to another internally, so url for site.loc is preserved.
E.g. requesting site.loc/hey/there i need apache to serve files form proj2.0.
First, i know that on the .htaccess level we cannot use RewriteRule to file-system path (for security reasons).
Okay, an Alias is a workaround. Say I add an Alias to virtual host as following:
Code: Alias /newsite /some/path/to/proj2.0
Then if i'll add the rule to proj's .htaccess:
Code: RewriteRule ^hey/there /newsite
This will work.
But, the webroot does not work:
Code: RewriteRule ^$ /newsite
Is it i'm doing something wrong or there is some quirk about the webroot?
i enable Mbstrings and Soap in easyapache in Cpanel. after 24 hours i restart my server and some things get eror.
tmp folder become read only.
easy apache give below eror :
Code: Died at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 40. and all site have eror for tmp and mysql. i change tmp folder but some eror don't solved.
Code: Can't create/write to file '/tmp/#sql_1f42_0.MYI' (Errcode: 30) SQL=SELECT m.*, sum(case when p.published=1 then 1 else 0 end) as cnt FROM jos_menu AS m LEFT JOIN jos_menu AS p ON p.parent = m.id WHERE m.menutype='mainmenu' AND m.published='1' AND m.access <= '0' GROUP BY m.id ORDER BY m.parent, m.ordering Warning: Invalid argument supplied for foreach() in /home/music/public_html/modules/mod_tpmenu/tpmenu/dropdown/menu.php on line 127
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/music/public_html/modules/mod_tpmenu/tpmenu/dropdown/menu.php on line 150
this is mount command :
Code: /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,usrquota) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) /usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0) and this is fstabs :
I am pretty much being forced to recompile PHP as I want to include OCI Oracle Extensions to read from our business database hosted in Oracle 10g. I installed a binary version of PHP to begin with and Don't have much experience compiling anything from source, although I am somewhat familiar with the concept. I know that sometimes installing extensions can be as easy as using apt-get or yum but I haven't found any information telling me I can do this for the OCI extensions I need to install.
My question is, When installing from source, what do I have to do within apache to update and work with the newly installed PHP.
When installing and running ./configure -OPTIONS GO HERE, what options other than the ones to tell it to use the libraries for Oracle, do I need to use?
I know this is a pretty vague question, but any help is truly appreciated.
I'm using Apache 2 and PHP 5 on an ubuntu 6.10 server install.