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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  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.
  16. lgarner

    Use PHP to connect to MySQL database from a different host

    BTW A is on one host and B is on Godaddy, not that it matters." It might, especially for the part about making sure port 3306 is available.
  17. lgarner

    Recover mysql root password

    Restart the server with --skip-grant-tables, then you can change the password and restart the server normally. http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-generic
  18. lgarner

    Trouble getting results from query in need of assistance

    Unless there's a copy and paste error, you're missing the closing parentheses in your function call. You'll probably do better by posting the question in a forum related to the language that you're using. In PHP, for example, $q will be a resource that you can use to get data; it won't contain...
  19. lgarner

    Permissions on folder for Apache

    I gave 500 & 400 as examples of what's possible, not necessarily what's easiest. There's no need for execute permission on files, for instance, and no user but your web server user (e.g. "apache", "www", etc.) needs to be able to read them for your site to work. Clearly if you set your...
  20. lgarner

    Permissions on folder for Apache

    Assuming that your web server is running as "apache", and that all of the files and directories are owned by "apache", you should be able to get away with 500 on directories and 400 on files, except for logs which have to be writable. Just remember that the web server has to be able to read the...

Part and Inventory Search

Back
Top