|
hobofood posted:Sorry to be so ignorant, but where would I do that? Either httpd.conf or .htaccess in the directory. You can not by ignorant by, you know, looking at some documentation. Google exists too.
|
# ? Nov 21, 2008 14:38 |
|
|
# ? Jun 8, 2024 13:39 |
|
hobofood posted:What do I have to do to be able to see this file? Is this an apache configuration thing, or is it a linux user permissions issue? The Apache error.log would have told you whether it was "denied by server configuraiton" (apache config) or "permission denied" (filesystem, selinux, etc), or the absensce of a particular option (+FollowSymlinks).
|
# ? Nov 21, 2008 15:40 |
|
covener posted:The Apache error.log would have told you whether it was "denied by server configuraiton" (apache config) or "permission denied" (filesystem, selinux, etc), or the absensce of a particular option (+FollowSymlinks). I'm pretty sure I know what the exact problem is. It's certainly a permissions issue, but it has nothing to do with the file or the symlink. The file is created and saved in the user's home directory. I guarantee the user under which Apache is running is not the same user and thus, would not have read access to the directory where the original file is saved.
|
# ? Nov 21, 2008 15:46 |
|
I am running Ubuntu 8.10 and using FreeNX to remote to it from a Windows box. I use Fluxbox but I cannot get it to load correctly when starting a session with the NX Client. KDE and Gnome work fine. Does anyone else use this? Does anyone now how to fix it? I get the task bar to show, then the session locks up. I have installed SLiM as referenced in another article I found online, but it made no difference.
|
# ? Nov 21, 2008 15:57 |
|
Accipiter posted:I'm pretty sure I know what the exact problem is. It's certainly a permissions issue, but it has nothing to do with the file or the symlink. It's about a 50/50 whether /home/foo is world-readable/searchable on a given system -- that would be the most likely culprit. namei -m would reveal that pretty quickly once you know hat directory permissions are required (rx on the intermediate dirs, r on the final dir) covener fucked around with this message at 16:05 on Nov 21, 2008 |
# ? Nov 21, 2008 16:02 |
|
Catch 22 posted:I am running Ubuntu 8.10 and using FreeNX to remote to it from a Windows box. I use Fluxbox but I cannot get it to load correctly when starting a session with the NX Client. KDE and Gnome work fine. Does anyone else use this? Does anyone now how to fix it? I get the task bar to show, then the session locks up. I have installed SLiM as referenced in another article I found online, but it made no difference. You have to setup a session entry in the NX configuration. I haven't done it in awhile, but there's a section where it will show startkde and startgdm or something like that, you have to setup a third one for fluxbox I think.
|
# ? Nov 21, 2008 16:31 |
|
Ashex posted:You have to setup a session entry in the NX configuration. I haven't done it in awhile, but there's a section where it will show startkde and startgdm or something like that, you have to setup a third one for fluxbox I think.
|
# ? Nov 21, 2008 18:06 |
|
Thanks for the replies about the ntpd issue earlier. Whatever it is doesn't seem to be causing any problems, our servers are still synced with ntp and have the proper time, so i'm not worrying about it at the moment. I do have another question: I need to know how to configure sendmail to only send mail to certain domains. Is there a file somewhere I can edit to tell it to only send mail to a specific set of domains that I define?
|
# ? Nov 21, 2008 18:16 |
|
Me and the guy I'm working with no gently caress all about send mail and we need to get this done for a big client today because he is going on vacation tonight. I'm Googling like a mad man but not finding anything helpful.
|
# ? Nov 21, 2008 18:32 |
|
Catch 22 posted:Node.conf? I edited according to this (http://wiki.archlinux.org/index.php/FreeNX) but still a no go. Ah, I think I know what's going on. I'll take a look at my config when I get home. Only problem is I'm not use FreeNX but NX Free from Nomachine.
|
# ? Nov 21, 2008 19:35 |
|
Is there a usual directory that people drop mysqldumps in to get picked up by a backup agent, or should I just create whatever directory I feel like creating to put them in?
|
# ? Nov 21, 2008 22:35 |
|
Runnin ubuntu 8.10 server. I have a .screenrc file set up to run irssi and rtorrent, and that works fine, so I can just type "screen" everything is all setup how I want it. Now, what I want is to run this screen detached on boot, even if no one is logged in, so that its always running even after a brownout or something. I've tried adding "sudo -u *user* screen -d" or something similar to /etc/init.d/rc.local but something goes wrong in the process and I'm not sure what so I'm guessing I have this line wrong. Anyone help?
|
# ? Nov 23, 2008 20:18 |
|
bloodynose posted:I've tried adding "sudo -u *user* screen -d" or something similar to /etc/init.d/rc.local but something goes wrong in the process and I'm not sure what so I'm guessing I have this line wrong. Anyone help? You want -d -m, not just -d. The former starts a session and detaches from it, the latter detaches if you're running _in_ screen when you invoke it.
|
# ? Nov 23, 2008 20:48 |
|
covener posted:You want -d -m, not just -d. The former starts a session and detaches from it, the latter detaches if you're running _in_ screen when you invoke it. Still no dice. running "sudo -u nick screen -d -m" works fine when I'll ready logged in, however adding that to the end of rc.local does not. After rebooting, screen -ls shows: code:
code:
|
# ? Nov 23, 2008 21:22 |
|
bloodynose posted:So obviously there is still something odd going on here with users. I'd guess you're running that screen command with HOME=/root because sudo normally doesn't fix the environment. Either add -H to sudo's arguments so it sets HOME, or use su -c instead.
|
# ? Nov 23, 2008 21:29 |
|
ShoulderDaemon posted:I'd guess you're running that screen command with HOME=/root because sudo normally doesn't fix the environment. Either add -H to sudo's arguments so it sets HOME, or use su -c instead. That worked, thanks!
|
# ? Nov 23, 2008 22:51 |
|
I have a machine running on Debian Lenny for testing/messing around purposes, and installed a tiling WM on it called awesome. Now I love the concept of tiling WMs, but my question is, do any tiling WMs exist that are easy to configure? In awesome, its easy to change keybindings and such (through the ~/.awesomerc config file), but trying to add things like a clock and battery indicator are a real pain in the rear end (need to compile a specially patched version of conky, and then configure that). Also, awesome is still in heavy development, so configs of previous versions generally don't work on newer ones (which is a PITA especially if you've spent a while getting it to work just the way you like). I know that dwm, wmii and xmonad are also hard to configure, and I've tried xmonad but get lost configuring it because I don't know Haskell. Do I have any other options, or are these the only tiling WMs that are worth using?
|
# ? Nov 24, 2008 02:11 |
|
I am trying to write a udev rule and I am having some trouble. BUS=="usb", SYSFS{idVendor}=="0781", SYSFS{idProduct}=="a3a4", NAME="usbdrive" That is the original rule I had, and it used to work. Now it no longer seems to work. /dev/usbdrive is now pointing to the usb card reader, not the card itself. I think. I notice now if use udevinfo on the card (or any card) it looks like the output is abruptly stopped. code:
I've tried different card readers. I have no idea if that has anything to do with the problem.
|
# ? Nov 24, 2008 20:58 |
|
-snip-
capitalcomma fucked around with this message at 04:30 on Jun 10, 2014 |
# ? Nov 24, 2008 22:10 |
|
Sounder posted:Great thread, a lot of information here has helped me almost completely migrate myself over to a Linux environment. Does your phone have Wifi? Tethering by wifi with WMWifiRouter is the poo poo.
|
# ? Nov 25, 2008 00:54 |
|
-snip-
capitalcomma fucked around with this message at 04:29 on Jun 10, 2014 |
# ? Nov 25, 2008 02:22 |
|
I have a Samsung 174T 17" 1280x1024 display now, but the Eclipse IDE is awfully crowded at this resolution. I'm looking at getting an BenQ E2200HD 1920x1080 display side-by-side with the 17", so I'd like to check that my understanding of multi-monitor on X.org is right: 1. With an Nvidia 8600 GT card I want to use the TwinView sytem in the binary Nvidia drivers. 2. TwinView supports monitors with different resolutions.
|
# ? Nov 26, 2008 13:23 |
|
Grey Area posted:1. With an Nvidia 8600 GT card I want to use the TwinView sytem in the binary Nvidia drivers. Yep.
|
# ? Nov 26, 2008 13:47 |
|
Is there anything on a standard CentOS install that wouldn't use the DNS settings in resolv.conf? I've configured a set of systems to point to a new set of DNS servers as I get ready to retire an old DNS server, but I'm still seeing queries from those systems in the old server's query logs. I haven't restarted any services on the machines, but that's not required for changes to resolv.conf, right? There aren't a complicated bunch of services running on these, so I'm thinking this should be pretty simple. One of the machines serves as a local RPM repository, another serves up a bunch of directories via NFS with local auth.
|
# ? Nov 26, 2008 18:31 |
|
Sock on a Fish posted:Is there anything on a standard CentOS install that wouldn't use the DNS settings in resolv.conf? I've configured a set of systems to point to a new set of DNS servers as I get ready to retire an old DNS server, but I'm still seeing queries from those systems in the old server's query logs. I haven't restarted any services on the machines, but that's not required for changes to resolv.conf, right? nscd is not there by default, but it's what springs to mind. Could check /etc/nsswitch.conf for something bizarro for hosts as well. Finally, a system call trace of a simple utility that calls into the resolver vs. one that does DNS itself might reveal some hints (e.g. ping vs dig/nslookup/host)
|
# ? Nov 26, 2008 19:37 |
|
covener posted:nscd is not there by default, but it's what springs to mind. Could check /etc/nsswitch.conf for something bizarro for hosts as well. Finally, a system call trace of a simple utility that calls into the resolver vs. one that does DNS itself might reveal some hints (e.g. ping vs dig/nslookup/host) host, ping, dig, etc. all report that they're using the servers specified in resolv.conf, and nsswitch.conf hasn't been modified. nscd is installed and running, but that just provides a local cache, right? That would explain hosts not resolving correctly, but not the presence of DNS queries going to servers not specified in resolv.conf.
|
# ? Nov 26, 2008 19:52 |
|
Sock on a Fish posted:host, ping, dig, etc. all report that they're using the servers specified in resolv.conf, and nsswitch.conf hasn't been modified. nscd is installed and running, but that just provides a local cache, right? That would explain hosts not resolving correctly, but not the presence of DNS queries going to servers not specified in resolv.conf. You might want to try and put the new server in /etc/hosts/. I've seen some odd issues resolved (lol) by this. Ymmv though.
|
# ? Nov 26, 2008 20:30 |
|
Is there some sort of setting by default in openssh that doesnt let machines from different subnets connect? I have an ubuntu box that I use for imaging computers set up at work, and I have port 22 open on the firewall and pointing at the ubuntu box, but nothing can connect from the outside. I am running denyhosts as well.
|
# ? Nov 26, 2008 23:34 |
|
Phat_Albert posted:Is there some sort of setting by default in openssh that doesnt let machines from different subnets connect? openssh-server is not installed by default on Ubuntu. Use Synaptic or Aptitude to install it.
|
# ? Nov 26, 2008 23:59 |
|
It is installed, I can ssh to the box from the local subnet just fine.
|
# ? Nov 27, 2008 04:36 |
|
I'm a fairly huge noob when it comes to linux, but I just installed ubuntu 8.10 (posting from it right now!) and everything worked perfectly, except for my sound card. What can I do to get a Realtek ALC650F working? I know I'm not giving any real helpful information, but I don't really even know where to begin.
|
# ? Nov 27, 2008 17:46 |
|
Phat_Albert posted:It is installed, I can ssh to the box from the local subnet just fine. Can you check the firewall to make sure you are hitting the right ACL?
|
# ? Nov 28, 2008 06:39 |
|
tinselt0wn posted:I'm a fairly huge noob when it comes to linux, but I just installed ubuntu 8.10 (posting from it right now!) and everything worked perfectly, except for my sound card. Odd, Google reports this not a new sound card, so it should work out of the box. Your best bet would be the sound troubleshooting guide in the Ubuntu help pages, as it covers most of basic steps of scanning the computer for detected hardware, checking your installed sound drivers, installing the newest ALSA drivers from source (Intrepid is currently using a slightly older driver library than the latest available at alsa-project.org), etc.
|
# ? Nov 28, 2008 09:43 |
|
Phat_Albert posted:It is installed, I can ssh to the box from the local subnet just fine. Check tcpwrappers. /etc/hosts.allow, /etc/hosts.deny.
|
# ? Nov 28, 2008 16:52 |
|
jdonz posted:Can you check the firewall to make sure you are hitting the right ACL? Can the machine reach other machines on different subnets? Is the gateway set correctly?
|
# ? Nov 28, 2008 17:29 |
|
I've got a script that does backups for me. A few weeks ago my host suspended our account without warning since I had forgotten to clean up the backups and they had accumulated. I cleaned them up manually, but I want to automate this now. The script is currently: code:
code:
|
# ? Nov 28, 2008 23:06 |
|
Ashex posted:Would adding this line before the tar portion be sufficient for clearing out backups older then two weeks?
|
# ? Nov 29, 2008 04:24 |
|
Lucien posted:Looks good to me, I do the same thing in a script of mine. Okay, thanks. I just wanted to run it by someone since this will be part of the final script I run for backups before a remote server pulls them out, so didn't want to end up losing them all :/
|
# ? Nov 29, 2008 07:30 |
|
Ashex posted:Okay, thanks. I just wanted to run it by someone since this will be part of the final script I run for backups before a remote server pulls them out, so didn't want to end up losing them all :/ code:
|
# ? Nov 29, 2008 08:49 |
|
|
# ? Jun 8, 2024 13:39 |
|
I'm getting better at linux, but still have a long way to go. This is a Centos5 x64 server. This one is weird. I have created an account for me, and an account for my partner, the same way with the useradd command. However, while I can logon with my account in both SSH and FTP, he can only logon with SSH and not ftp. The server is using proftpd, and I cannot find anything in the .conf file that explains anything
|
# ? Nov 29, 2008 09:51 |