Jump to content

javaguy

Members
  • Posts

    370
  • Joined

  • Last visited

Everything posted by javaguy

  1. The DHCP server? I didn't know I was running one. How do I turn it off? I thought the DHCP server was where my computer gets its IP address when I boot up (or restart the network, or whatever), and I need that, don't I? Sorry, I'm still pretty new to Linux configuration, so please bear with me. :)
  2. I have a question about resolv.conf. Where does it come from? I recently moved my web page from a hosted server to my own machine using ZoneEdit. I had the domain registrar change my name servers appropriately, but after a week I still couldn't see my web page. Then I discovered that everybody else in the world could see it. So I did a dig command and discovered that dig still showed my domain at the old name servers. I went into resolv.conf and found three IP addresses there. I did a dig to the first one and got the old (wrong) name server. I did it with the other two and got the right answer, the ZoneEdit name servers, but I guess if it finds the domain on the first one there's no reason to check the others. So I just deleted the first one from my resolv.conf, since it apparently doesn't update its name server stuff. But an hour later, it was back in there. I deleted it again, and once again I could browse to my web site, but then after a while I couldn't any more, and sure enough the offending server had been added to my resolv.conf again. What gives? And how do I fix it? Thanks! Sam
  3. javaguy

    Qmail woes

    Please help a Qmail newbie. I set up qmail following the step-by-step instructions at Life with Qmail. My locals file looks like this: localhost samuelcharles.com benjeminalexandermckee.com My rcpthosts file is the same. I can send mail to my user name at any of those domains, and I don't get an error, but I never receive the message. When I tail the /var/log/qmail/smtpd/current log I do not see anything that looks unusual. I don't even know where to begin looking for the problem. :( Any advice? Thanks!
  4. Still no joy, but I sure like the run-in-desktop-window option. ;) The thing is, it doesn't give me error messages or anything. Just opens the window and hangs forever. Is there an error log somewhere of what may be going on?
  5. Yes, I tried Point2Play. No joy, plus it's hard to get it to install stuff where I want it.
  6. Tried that. It still hangs forever. The Winex forum you lnik to wasn't helpful except that it did have a post by a guy who said the removing "--" from the startup command fixed it for him. I loved the movies directory, too, to no avail. I know this is doable...it has a "working rating" of 5 over on the Winex forums. But I don't even begin to know where to look for the problem.
  7. I know people have gotten this to work, but it just freezes when I run it. I have other games running under the latest winex. I'm running Mandrake 9.2. The command I'm running is: winex3 War3.exe -opengl Then it just hangs forever. If I tail /var/log/messages in another window, I see the message: kernel: no device found when it starts. The CD is mounted, btw. Help! Thanks! Moved by DragonMage from Games to Emulation
  8. javaguy

    GtkRadiant

    Follow-up: Since I got the latest winex (and the MS font pack) it now starts up, but I get an error dialog that I can't read because the fonts appear (ironically) to be messed up. It does give me three legible buttons that say File, Edit and View, but no matter which one I push the program then closes. Has anybody anywhere gotten this to work?
  9. javaguy

    Webmin

    Can I ask a stupid question? (Too late, I just did.) Where do I find webmin? I did an rpm -qa | grep web and didn't find it. I tried browsing to http://localhost:10000/ and got nothing. So I'm assuming I don't have it installed, but when I go into the Mandrake Control Center (I'm a relative newbie, so I use the graphical tool) and search for it in the package installation tool I don't find it anywhere. I have Mandrake 9.2, and surely it comes with the CDs. Anybody know where I need to look?
  10. Awesome! Thanks again. Now to debug my PHP scripts...
  11. Okay, I gave up on trying to have the documents under my home directory and moved them to /var/www/html/prod/benjaminalexandermckee. I don't know why it's so problematic to put the document root anywhere else, but I've tried all kinds of combination and haven't been able to make it work. I guess I'm trying to use Apache in a way that wasn't really intended, so I'm going with what works. I greatly appreciate everyone's help. There remains the question of dynamic IP assignment. If I don't have a static IP do I have any options short of purchasing a firewall? That is an option, certainly, but can I do without it?
  12. Okay, I did that, but the page that came up is the "Congratulations! The Web Server software on this system is operational..." page, instead of what I have in /home/javaguy/www/prod/benjaminalexandermckee. Do I have to hard-code the IP address? It looks like I do. The Apache documentation says I can use an asterisk, but it doesn't look like it.
  13. Okay, hold on...I did a global search and did find a file /usr/share/ADVX/compat/httpd.conf. Is that the one?
  14. It's the install that Mandrake 9.2 did when I installed the OS, and it worked as far as showing the default "It works" web site until I started messing with virtual hosts and apparently screwed it up myself. ;) I don't recall seeing an httpd.conf file--in fact I recall thinking it a little odd that there was an httpd2.conf. I figured it just had something to do with the fact I'm running Apache2. Anyway, I uninstalled the rpm and reinstalled it, but still no httpd.conf. If I really need this file, can somebody post one?
  15. httpd2.conf is the only one I see in /etc/httpd/conf.
  16. Okay done (and updated the copy in my link). Still no luck, but now what do I need to look at?
  17. Yes, I have sudoers entry and an alias for it: alias bounce='sudo /etc/rc.d/init.d/httpd restart' and I get [javaguy@dhcp024-209-107-057 javaguy]$ bounce Shutting down httpd2: [ OK ] Starting httpd2: [ OK ] [javaguy@dhcp024-209-107-057 javaguy]$
  18. I uncommented it. It still doesn't work, but that's helpful to know anyway, so thanks. I uploaded the updated files to the web site, so those links show the latest conf files.
  19. Httpd2.conf: http://sammckee.com/httpd2.conf Commonhttpd.conf: http://sammckee.com/commonhttpd.conf Also, I can connect to https://benjaminalexandermckee.com, but the page that come up is not the page that is in /home/javaguy/www/prod/benjaminalexandermckee. Thanks for your time.
  20. Okay, I've Googled this to death, read through all these forums, posted on various ones. Finally I gave up a number of weeks ago, but now I'm back at it with a vengence and am going to hammer at it until I get it working. I'm running Mandrake 9.2 and trying to run Apache 2. I have three domains that I want to run on my box, but for the moment I just want to get one working before I move the other two from their current stable environment. I'm using ZoneEdit. Now everyone says, and all the documentation says, that in my Vhosts.conf I should use an asterisk with each host declaration: NameVirtualHost * <VirtualHost *:80> ServerName www.benjaminalexandermckee.com ServerAlias benjaminalexandermckee.com DocumentRoot /home/javaguy/www/prod/benjaminalexandermckee </VirtualHost> But when I do that and try to connect to http://benjaminalexandermckee.com I get a message that says my browser is speaking plain HTTP to an SSL-enabled server port, which should not be the case. When I change the vhost to say... <VirtualHost 24.209.107.57:80> ... ...then I get a message saying I don't have permission to access / on this server. Now before everybody asks, the directory given by DocumentRoot is readable and executable to Others, and everything inside of it is readable to Others. Inside my commonhttpd.conf file I have an entry that looks like this: <Directory /home/javaguy/www/prod/benjaminalexandermckee> Options Indexes FollowSymLinks MultiViews AllowOverRide All Order allow,deny Allow from all </Directory> I'm utterly mystified by this. And I don't want to have to hard-code the IP address in the VirtualHost directive. I want to be able to use an asterisk so that I can use ZoneEdit. I'd also like to have a *:80 and *:443 version of each virtual host so that I can use SSL when I want. Has anybody gotten this to work? All the forum posts I've read talk about how it's theoretically possible, but the person actually doing it always says he got it to work by dropping the asterisk and hard-coding the IP address, which isn't an option for me. Thanks in advance, Sam
  21. javaguy

    Apache VHosts

    I tried to set this up a couple months ago and didn't have much luck. I'm trying again. Here's my VHosts.conf entry: NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin javaguy@sammckee.com DocumentRoot /home/javaguy/www/prod/benjaminalexandermckee ServerName www.benjaminalexandermckee.com ServerAlias benjaminalexandermckee.com *.benjaminalexandermckee.com DirectoryIndex index.html index.htm index.php </VirtualHost> When I try to connect to http://benjaminalexandermckee.com I get one of those messages that says I don't have permission to access /. When I comment out the above stuff from VHosts.conf and try the same thing again, it then works fine except that I'm seeing an index of what's in /var/www/somethingsomethingsomething instead of the directory I want to see. Yes, I've Googled it. Thanks in advance!
  22. I was remotely connected to my PC at home the other day when I finally figured out how to set up aliases and stuff in my user profile...it's in .bash_profile. But when I got home and logged in, none of the aliases I had set in .bash_profile worked (although they still work when I connect remotely). So what's the deal? I have a different profile when I ssh than when I sit down at my computer and log on directly?
  23. I'm writing a script to grab all my digital photos off a flash memory card, and there doesn't seem to be any way to do it without root privileges (even root can't change the ownership/permissions of the stuff on the flash card, only cp it to the drive and change the ownership of the copy). So here's my sudoers entry: javaguy ALL= (root) /bin/cp -R /mnt/flash/* /home/javaguy/* When my script gets to here: sudo /bin/cp /mnt/flash/dcim/100olymp/* $DIRECTORY I get this error: Sorry, user javaguy is not allowed to execute '/bin/cp /mnt/flash/dcim/100olymp/* /home/javaguy/Documents/Photos/2004/February/batch1' as root on dhcp024-209-107-057.woh.rr.com. Now /home/javaguy/Documents/Photos/2004/February/batch1 definitely exists at the point it gets here, and /mnt/flash/dcim/100olymp is the directory containing all the JPGs on my flash card. I have confirmed this. But I can't copy. Any ideas? Thanks!
  24. javaguy

    GtkRadiant

    Has anybody gotten GtkRadiant to work using winex? You're probably wondering why with winex when there's a native Linux build. The reason is that the Windoze version has JK2 and JK3 support, and I have it straight from the horse's mouth that the developers have no plans to port JK support to the Linux version. So I'm stuck. Anyway, I got the Windoze version, and the installer ran fine, but when I try to run it under winex I get: I/O warning : failed to load external entity "file:///C%3A/Program%20Files/GtkRadiant-1.4/global.pref" ** (GtkRadiant-1.4.0.exe:134663656): WARNING **: Couldn't load font "Sans 10" falling back to "Sans 10" ** (GtkRadiant-1.4.0.exe:134663656): WARNING **: Couldn't load font "Sans 10" falling back to "Sans 10" ** (GtkRadiant-1.4.0.exe:134663656): WARNING **: All font failbacks failed!!!! (GtkRadiant-1.4.0.exe:134663656): GLib-CRITICAL **: file gstring.c: line 278 (g_string_free): assertion `string != NULL' failed (GtkRadiant-1.4.0.exe:134663656): GLib-CRITICAL **: file gstring.c: line 278 (g_string_free): assertion `string != NULL' failed The global.pref file is there and looks like this: <?xml version="1.0"?> <qpref version="1"> <epair name="gamefile"></epair> <epair name="autoload">false</epair> <epair name="log console">false</epair> </qpref> Any ideas? I'm stumped.
×
×
  • Create New...