|
hootimus posted:What's going on here? What does your /etc/host.conf, /etc/nsswitch.conf, and /etc/resolv.conf contain? Are you running avahi?
|
# ? Feb 26, 2011 22:47 |
|
|
# ? May 17, 2024 14:32 |
|
I've set up a VirtualHost on Apache but I get 403 every time I try to connect to http://test Is there something wrong with these config entries? I can get to the default host fine. I've chmodded everything in projects to 777 code:
|
# ? Feb 26, 2011 22:50 |
|
Doesn't <Directory> need to be inside the <VirtualHost> ?
|
# ? Feb 27, 2011 00:00 |
|
I don't think so. Putting it inside VirtualHost didn't change anything. Maybe my vhost is fine and I've done something else wrong? edit: eh, I'm gonna give nginx a shot spiritual bypass fucked around with this message at 01:10 on Feb 27, 2011 |
# ? Feb 27, 2011 00:07 |
|
Are you using selinux, what does your apache error_log say? Just tail -f your error_log and refresh the page.
|
# ? Feb 27, 2011 01:14 |
|
I have an old P2 Compaq with 64mb that I've been trying to install Linux on, since XP runs extremely slow. However, I can't get any of the Live CDs to boot. They never make it past the text loader. So far I've tried: Linux Mint LXDE (wishful thinking) Crunchbang (goes to a black screen) Puppy (actually boots, and even got wireless working, but locks up at the installer) Slatiz (it hangs at kernel_thread_helper) Any ideas of how I can get this thing up and running? I'd prefer Linux over an old version of Windows.
|
# ? Feb 27, 2011 01:16 |
|
Pram posted:Are you using selinux, what does your apache error_log say? No SELinux here. The log says: [error] [client 127.0.0.1] (13)Permission denied: access to / denied edit: Dammit! I had the directory permissions set right for my project directory, but not my home directory. spiritual bypass fucked around with this message at 01:46 on Feb 27, 2011 |
# ? Feb 27, 2011 01:43 |
|
jromano posted:I have an old P2 Compaq with 64mb You're going to need more RAM. Depending on what speed that machine is, you'll need either 66MHz or 100MHz SDRAM (350+ MHz will have the 100MHz bus). PC100 is generally backwards compatible, though. Not sure about PC133. That said, you'll be best off with something like Slackware. Give OpenBSD or FreeBSD a try as well. OpenBSD is very light-weight. Load up FluxBox and you can even run Firefox.
|
# ? Feb 27, 2011 03:32 |
|
ExcessBLarg! posted:Glibc is probably resolving .local via a method other than dns lookup. code:
code:
|
# ? Feb 27, 2011 17:58 |
|
Is there a way to prevent a directory from being stupidly deleted, while having it act like a normal directory in every other regard? rm -rf important/ should fail, while mkdir important/stuff/ and touch important/file should both succeed. Unfortunately, I think this is impossible with standard UNIX permissions, but I feel like there must be some common workaround. Any ideas?
|
# ? Feb 27, 2011 20:01 |
|
hootimus posted:My nsswitch.conf was hosed up. Which distribution is this? It's worth knowing which are going to cause this kind of trouble in the future.
|
# ? Feb 27, 2011 20:23 |
|
ExcessBLarg! posted:Which distribution is this? It's worth knowing which are going to cause this kind of trouble in the future.
|
# ? Feb 27, 2011 20:40 |
|
ColdPie posted:Is there a way to prevent a directory from being stupidly deleted, while having it act like a normal directory in every other regard? rm -rf important/ should fail, while mkdir important/stuff/ and touch important/file should both succeed. Unfortunately, I think this is impossible with standard UNIX permissions, but I feel like there must be some common workaround. Any ideas?
|
# ? Feb 27, 2011 20:40 |
|
ColdPie posted:Is there a way to prevent a directory from being stupidly deleted, while having it act like a normal directory in every other regard? rm -rf important/ should fail, while mkdir important/stuff/ and touch important/file should both succeed. Unfortunately, I think this is impossible with standard UNIX permissions, but I feel like there must be some common workaround. Any ideas? I do this on our company's FTP server. Read up on "chattr", that's what I used.
|
# ? Feb 27, 2011 20:43 |
|
I'm in the process of attempting to reflash a Wyse terminal and make it into a little linux box. I'm following this guide: http://web.archive.org/web/20080407133601/http://thunderlord.net.pl/evo/ using this script: http://web.archive.org/web/20080420192133/www.mowson.org/karl/articles/linux-netxfer/ and having problems with tftpd. this is the error I'm getting: "Feb 27 13:49:12 htpc tftpd[578]: unknown option -?" I have modified the script only a little, just changed "eth0" to "eth1" but I haven't changed it in any other way. I have made sure that tftpd and dhcpd are installed on my machine. <edit> and as you can see there is no "tftpd -?" in the script... so maybe the question mark refers to a command my version of tftpd can't do? drukqs fucked around with this message at 03:11 on Feb 28, 2011 |
# ? Feb 27, 2011 23:02 |
|
blink 182 posted:lsof? The command returns very very quickly and only happens once a minute. It would take a near-miracle for lsof's repeat mode to catch it in the act, though I can give it a shot.
|
# ? Feb 28, 2011 00:47 |
|
crazyfish posted:The command returns very very quickly and only happens once a minute. It would take a near-miracle for lsof's repeat mode to catch it in the act, though I can give it a shot. How about writing up a little script to output lsof to a file on access using inotifywait That would be easier than doing it manually anyway.
|
# ? Feb 28, 2011 00:52 |
|
crazyfish posted:Short of printk()s in the kernel, is there a way for me to be able to tell which process is issuing a particular obscure SCSI command to a particular device? Vulture Culture fucked around with this message at 04:16 on Feb 28, 2011 |
# ? Feb 28, 2011 04:04 |
|
Misogynist posted:Processes shouldn't be issuing SCSI commands. That's the kernel's job, and if that's going wrong, it probably indicates an issue with the kernel/drivers or hardware rather than a user-mode program. Your first step is to trace down the syscall making that command, which can be done by stracing all running processes or by making good use of SystemTap. Well aware of the distinction, though it's quite possible for a userland application to initiate the process (think smartd). In any case, I haven't heard of SystemTap before - I'll be sure to look into that. Thanks.
|
# ? Feb 28, 2011 06:24 |
|
Misogynist posted:Processes shouldn't be issuing SCSI commands. He wrote cdrecord & libscg (which cdrecord uses) for Solaris/Linux/whatever. The idea is kind of cool, libscg is a generic SCSI transport layer so that the SCSI bus/commands may be observed/issued by userspace programs directly. This allowed cdrecord to be ported to a bunch of Unix variants that implemented their kernel-level SCSI stacks differently. While this made his CD burning tools widely available, they were for a long time a giant pain the rear end for Linux users to use. Especially when it was insisting on making SCSI calls directly to drives that weren't even SCSI devices (ATAPI, a SCSI-speaking ATA hybrid) and so required a bunch of hackery in the kernel to actually work. He's been mad at Debian (and Linux in general) ever since Debian folks patched cdrecord to make it a bit easier to use (be able to run as a non-root user, allow users to specify drives uses a device name instead of SCSI bus:device:lun notation, etc.) He flipped his poo poo during a license controversy a few years later, and I don't think has been heard of much since. ExcessBLarg! fucked around with this message at 17:20 on Feb 28, 2011 |
# ? Feb 28, 2011 17:18 |
|
Perhaps a tool like dtrace or SystemTap would help. EDIT: Oops, Message-o-nist beat me to it.
|
# ? Feb 28, 2011 17:41 |
|
ExcessBLarg! posted:He flipped his poo poo during a license controversy a few years later, and I don't think has been heard of much since. Thankfully, OpenSolaris came along and took one for the team.
|
# ? Feb 28, 2011 20:39 |
|
ExcessBLarg! posted:Jörg Schilling code:
|
# ? Feb 28, 2011 20:44 |
|
Is there a good Ubuntu equivalent of EndNote?
|
# ? Mar 1, 2011 02:39 |
TheOtherContraGuy posted:Is there a good Ubuntu equivalent of EndNote? Not quite the same thing, but I like Mendeley. It is a PDF manager, with a bunch of added bonuses. It can also work as a citation manager. Zortero (sp?) is a Firefox extension that some people really like.
|
|
# ? Mar 1, 2011 02:43 |
|
If I am already using nginx and want a reverse proxy, what should I use? It seems like most people use nginx as a reverse proxy in front of apache, and installing 2 versions of nginx sounds messy. The reason I want to do this is to stop slow connections from taking up all my fast cgi sockets.
|
# ? Mar 1, 2011 06:45 |
|
Squid?
|
# ? Mar 1, 2011 06:55 |
|
Pram posted:Squid?
|
# ? Mar 1, 2011 08:41 |
|
You could try Apache and mod_proxy but that might defeat the purpose.
|
# ? Mar 1, 2011 09:38 |
|
uG posted:That was the obvious choice, but it seems nginx is set to overtake squid in that category too. Does that matter?
|
# ? Mar 1, 2011 12:42 |
|
uG posted:If I am already using nginx and want a reverse proxy, what should I use? It seems like most people use nginx as a reverse proxy in front of apache, and installing 2 versions of nginx sounds messy. Apache behind nginx works great if it suits your needs better. Does this do what you want http://nginxlimitproxy.sourceforge.net ? There are also some built in limiting functions if you search the nginx wiki.
|
# ? Mar 1, 2011 17:50 |
|
I'm the only Linux user in a mostly Windows work environment. I have several services that are used around the lab including smb, ssh, and svn. The problem is that none of the computers are able to ping my computer using my hostname. When I ping my IP address instead, it works fine. I could technically go around and put an entry in everyone's hosts file since I have a static IP, but there has to be another way. I believe that the computers are using UDP broadcast for their hostname lookup but I'm not sure what settings I haven't toggled just right to get them to recognize my computer via hostname. Any help would be greatly appreciated. I am running Fedora 14
|
# ? Mar 1, 2011 22:30 |
|
uG posted:If I am already using nginx and want a reverse proxy, what should I use? It seems like most people use nginx as a reverse proxy in front of apache, and installing 2 versions of nginx sounds messy. I never tried this, but what if you setup a server block in nginx to listen to 127.0.0.1:10000 or something, and have that pass to fcgi. Then have your normal server block for your website, proxy to 127.0.0.1:10000. I think that might work?
|
# ? Mar 1, 2011 22:34 |
|
Modern Pragmatist posted:The problem is that none of the computers are able to ping my computer using my hostname. When I ping my IP address instead, it works fine. I could technically go around and put an entry in everyone's hosts file since I have a static IP, but there has to be another way. That will let clients resolve your hostname using NetBIOS. e: extra d bort fucked around with this message at 23:04 on Mar 1, 2011 |
# ? Mar 1, 2011 22:56 |
|
bort posted:Is your nmbd daemon running? chkconfig --list nmb or service nmb status Interesting. For some reason it wasn't running. When I toggle that it works. Now, to add it as a startup task I should be able to do: code:
The other option is rc.local but that's kinda messy. Any ideas?
|
# ? Mar 1, 2011 23:17 |
|
Pretty sure smb starts nmb, at least in RHEL. Use chkconfig smb on
|
# ? Mar 1, 2011 23:22 |
|
Well, netbios is normally dickish (I can never get it working right at home, something about masters fighting and blah blah blah). Easiest way is to add manually to hosts, or find whoever controls your DNS and add it into your DNS resolution.
|
# ? Mar 1, 2011 23:31 |
|
Looks like everything is working just dandy for now. Thanks for the help. I'll keep my fingers crossed that it continues to function as expected.
|
# ? Mar 1, 2011 23:37 |
|
Modern Pragmatist posted:chkconfig --levels 3 nmb on quote:Well, netbios is normally dickish bort fucked around with this message at 00:43 on Mar 2, 2011 |
# ? Mar 2, 2011 00:39 |
|
|
# ? May 17, 2024 14:32 |
|
uG posted:If I am already using nginx and want a reverse proxy, what should I use? It seems like most people use nginx as a reverse proxy in front of apache, and installing 2 versions of nginx sounds messy. Just out of curiosity, how does this setup benefit you?
|
# ? Mar 2, 2011 05:37 |