Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by lgarner

  1. lgarner

    Novell NetWare Server 65. Server name locations

    I have a vague recollection that this relates to running SMB, and the "-W" is the Windows server name. I don't recall it adding "TEMP", but it's been quite a while now.
  2. lgarner

    DNS server Opendns vs Speedtest results

    1. If you're talking about a home router that provides DHCP, the router's DNS server is probably given to the clients. 1b. If you manually configure the resolver in the client, the router's DNS configuration is irrelevent. 1c. Ultimately, only the DNS server configured on the client is used...
  3. lgarner

    Performance testing/benchmarking an Apache media download server

    Paessler and WAPT are two programs that I've used. Each has strengths & weaknesses, but basically programs like that run macros to step through your site, and allow you to run them as multiple users.
  4. lgarner

    Urgent Help required reg Legato Networker

    Are there any writable volumes in that pool? Most likely you just need to label a new volume.
  5. lgarner

    Aliasing images to a remote server with .htaccess

    Just a thought- this method requires 2 web hits to get an image. 1. http://yoursite.com/images/xyz.jpg (browser is instructed to go elsewhere) 2. http://mynewfolder.s3.amazonaws.com/xyz.jpg The first hit should be pretty quick (you can check with tools like Tamperdata or Yslow), but it's...
  6. lgarner

    PHP code in a string variable

    I hope this is taken as a legitimate question, because I've never seen this done quite this way. What does "echo sprintf()" do that "printf()" doesn't do in this case. My first thought would be: $format = '%01.02f'; printf($format, $euros * $price); Or, I might create a function to do it...
  7. lgarner

    How do I fsck the / partition on boot but not other partitions ?

    Check "man fstab", regarding the sixth field. You can set it to 0, 1 or 2 to determine the order of fsck, or whether it gets checked at all.
  8. lgarner

    Calculating Forecast

    I don't know if there's a database issue, you can visit the appropriate forum to check. One problem seems to be that you're resetting $fytd1 with each loop iteration and it looks like you want to accumulate values in that variable.
  9. lgarner

    Running scripts batch

    And as I recall, you can upload the scripts via phpMyAdmin though you might hit a size limit or timeout.
  10. lgarner

    Monitoring "chkconfig" settings

    You could store a "good" chkconfig --list somewhere and have Nagios run that periodically and report differences. I'd probably monitor the daemons themselves rather than the startup status. An alert action could even be to start the non-running service.
  11. lgarner

    GD Library size limit

    It's an out-of-memory issue. I don't know if there's a formula, but it seems to happen with images that are large or high-resolution. Changing the memory in php.ini might work, up to a point. After trying 512MB I gave up and use ImageMagick now.
  12. lgarner

    http://www/

    I think something like this should work. RewriteEngine on RewriteCond %{HTTP_HOST} ^www$ [NC,OR] RewriteCond %{HTTP_HOST} ^www/.* [NC] RewriteRule ^(.*)$ http://www.ourcompany.com/$1 [R=301]
  13. lgarner

    Ports Problems RHEL5

    Is something listening on that port? What does netstat show?
  14. lgarner

    Getting it right on Linux

    Yes, Virtualbox requires another host OS to be installed. I'd look at VMware ESXi or Citrix Xenserver for bare-metal virtualization. As you suggest, there are some nice features to virtualization even for a single host.
  15. lgarner

    rackspace cloud centos 5.6 iptables question

    Actually it's -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited that was killing you.

Part and Inventory Search

Back
Top