i have to reload a page several times. at least once. the templates show up fine, but the actual images and contents do not show up unless i reload the page....this is evident during peak hours but not during normal hours.....
I would like to know what are the kernel values for an RPM kernel.. I mean, I have the latest 2.6.x kernel running on a RHE 4 system, my question.. Is there any way to know the actual kernel values (drivers, options, etc)?
Same as when we write a phpinfo file (that shows libraries, etc) to know php values..
Id like to know how If can backup my actual config ( I have a vps at vpsempire) that my buddy is setting up for us to have a vpn.
My idea is to have a backup just in case something happens to the server or If I should migrate it ( just precaution). FYI: server has 128 mb the os Is centos
One friend I host sites for is reporting 492MB in WHM, but running DU reports 5.4GB for just one site!!! I've had the DC run Quotafix, but it's still not correct. The site is drupal and DC said they can't even list the tmp folder for that account. Any suggestions so I don't loose $45/month in extra charges? I have no clue how many months this is been going on, but it's costing me allot it seems.
I have some small colo in an a DC that I have actual transfer basis on each server. Now they give me MRTG graphs and they say they go by what the switch reports for when they bill me. I haven't had an issue until this month when one of my servers which I only have one TB with was reported using 1372GB on their switch.
Now on my MRTG graphs it reported the monthly graph as the following:
Average In: 2360.8 kb/s (2.4%) 763.855996 GB Average Out: 471.7 kb/s (0.5%) 152.6205485 GB
This reports under 1TB, so I thought that I was okay on my usage. Am I wrong in thinking that the average usage and actual usage should be very similar? I figured since MRTG takes how much you transfer every 5 minutes and averages that over 300 seconds to find the rate that it would report basically the same average usage as my actual usage.
I got this warning message from a script I was working on to read XML feeds.
Warning: file_get_contents(url) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:Apache2.2htdocs est5.php on line 8
Zip the contents of a directory (/path/to/dir/*) and then include a file in that zip that is located here: /a/whole/different/path/file.jpg. Is there a ZIP parameter that allows me to include that JPG file in the ZIP file that I am creating? Can someone give me the command?
Also, instead of zipping the contents inside of the "dir" directory, can I zip the "dir" directory itself but exclude the full path when creating the zip (/path/to/ part). I can do this with the -j parameter but when I do it also excludes the "dir" directory and only ZIPs the content inside of it.
What is Linux command for compressing all the files under a Directory, as well as all the files in sub-directories under that directory, so that upon uncompression the files are created in the right directory and sub-directory.
Also of course what is the command to un-compress this compressed file?
In case: the Linux OS here is Redhat Enterprise and the web server is Apache.
Can anyone tell me a simple way in Bash to copy all of the contents of a directory (and only the contents), including hidden files, into another, existing directory?
E.g.
Code:
# I have this directory structure - directory_A --- existing_file - - directory_B --- some_file --- some_subdirectory --- .some_hidden_file
I am running plesk 11.05 Plesk on windows server. I have noticed this things twice...
While migrating accounts one server to another Smartermail not showing actual mail received date. For all accounts and emails Smartermail showing Migration date..
My more than 10000 emails showing migration date as received date..
how to setup Nginx webserver on a cpanel server to serve static contents, say /images folder from every domains hosted on the server so that Apache's load will decrease?
Has anyone here gotten any of the Xen images from jailtime.org to work on CentOS? I've figured out what the heck I'm doing since my last question [url], but they still won't boot. And the more I Google it, the more people I find asking the same questions.
It looks like they're depending on a bunch of non-standard images in their initrd, and, unless we have some of these unknown modules, the darned thing won't boot. Mine ends up failing like this:
Code: NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/2049 XENBUS: Device with no driver: device/vbd/2050 XENBUS: Device with no driver: device/vif/0 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. VFS: Cannot open root device "sda1" or unknown-block(0,0) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) The xen.conf for this particular VM:
Code: # This points ta real Dom0 kernel! kernel = "/boot/vmlinuz-2.6.18-53.1.13.el5xen" memory = "256" name = "Ubuntu-Matt" vif = [ 'mac=00:01:02:03:04:07, bridge=xenbr0, vifname=vif1.0' ] # Set the disk... disk = ['file:/home/matt/vms/ubuntu-7.04/ubuntu.7-04.img,sda1,w', 'file://home/matt/vms/ubuntu-7.04/ubuntu.swap,sda2,w'] root = "/dev/sda1 ro" This is driving me bonkers... Has anyone gotten these to work? Would I be better off just installing from an ISO?
I plan to build huge image gallery, using lighttpd to server these images. It would be easiest for me to have all these files (more than 1 000 000) in one directory? Is it ok?
I have no idea, if this can cause any problems. Should I part my files into several directories, does it make serving better/faster?
I have virtual folder in IIS6 which has asp file as default and several jpg files. How to prevent JPG files download from server? I want to let execute asp file only and do not let users download jpg files.