Torrentflux, PHP, and Apache
Hi all, I have a strange problem here. I just installed torrentflux on my freebsd6.1 box and it was working great for a few minutes. Then, for some reason i can't figure out, i was no longer able to view index.php. Other php files were parsed by the server just fine, but for some reason when i tried to access index.php I either got actual php code or a blank file. Let me reiterate that the other php pages for just fine...so I am a little confused. Any advice? Ideas on what could be causing this? Thanks in advance, ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Booting Issues - ACPI and HD
Hey all, Before I get into my FreeBSD issue, I would like to apologize for not being able to provide abundant details in this first submission. The server I am having trouble with is located at school (it's the tech club server) and so I don't have a lot of access to it when it is convenient. Here it is: The server was shutdown somehow. I'm not yet sure how, but I don't think anyone ran a shutdown command. But it was shutdown, and when it tried to boot back up, it freaked out. More specifically, it had issues with ACPI and mounting the root partition. When booting with ACPI, it would spit out some error about ACPI checksum failing. Then it would get to the point where it was trying to mount the hd. It can't, and gives a prompt asking me to manually provide the location of the root partition. I do that - ufs:/dev/ad0s1a (or something like that) - and it fails. When booting with ACPI disabled, it skips the ACPI errors (obviously) but still can't mount the drive. Now, I have been successful booting Knoppix-STD (linux liveCD), but did not have time (unfortunately) to try mounting the drive. I'll try that when I get a chance. I say this because I'm not sure if the drive is broken or the data is corrupted. Or there may be some other cause. I have been running BSD on several servers for a few years now, and have never had a problem like this. Any advice is greatly appreciated. Again, sorry for lack of details, I'll get more when I can. Thanks, Ryan P.S. My current plan is to install FreeBSD onto another drive, then copy over bins, confs, and data. I can't do this for a couple days, so I am hoping to come across a solution that would allow me to repair the current installation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nfs: fstab or automount
If I set up a network in which the /home directory is shared to all client computers, is it better to have the clients mount the nfs share in fstab or to let automount handle the mounting? What are the pros and cons of each? Thnx in advance for all input, Ryan w ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
all users to mount cd's
Is there an easy way to allow any user to mount cd's? Well, yes. I have proper perms on cd devs and if a user creates a directory he owns he can mount from command line w/ sudo. There are, however, some requiremnents i am trying to meet. I would like the mounting process to be much easier. I am using KDE and would like to have the cd's mount automatically so that the users don't have to know how to use the command line. How can I accomplish this? Thanks in advance for all advice, Ryan w ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: all users to mount cd's
Ryan Winograd wrote: On May 20, 2005 04:10 pm, Ryan Winograd wrote: Is there an easy way to allow any user to mount cd's? Well, yes. I have proper perms on cd devs and if a user creates a directory he owns he can mount from command line w/ sudo. There are, however, some requiremnents i am trying to meet. I would like the mounting process to be much easier. I am using KDE and would like to have the cd's mount automatically so that the users don't have to know how to use the command line. How can I accomplish this? Thanks in advance for all advice, Ryan w Everything in that FAQ still works : http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT Basically, type sysctl vfs.usermount=1 or add the line vfs.usermount=1 to /etc/sysctl.conf so that it changes itself at boot. Make sure your cdrom has the correct permission in /etc/devfs.conf (example : perm acd0 777). Make a user-readable folder in the users home directory (/home/myself/cdrom) Make a fstab entry in /etc/fstab for that user (/dev/acd0 /home/myself/cdrom cd9660 ro,noauto 0 0) Make an device icon on the KDE desktop with that user's fstab entry (found in the Device tab). Anyone sees a mistake in this, please fix, Nicolas. I was hoping to avoid adding to the fstab for every user on my network. Otherwise that would work. I got another suggestion recommending using amd (automounter), which i will look into a little more. Thx for advice though. Side note: Is it a mistake to be using FreeBSD as a desktop OS? Its main purpose is as a server, FreeBSD even admits its goal is not to be a desktop OS. So should i be looking for a Linux solution here? It might be worth looking into. Anyways, i'll report back when i explore amd a little bit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firefox/mozilla wont start
im running 5.3 w/ KDE desktop and am having problems getting firefox and mozilla to start. when i try to start them from a terminal, nothing happens. there is no output. it simply skips to the next line and gives me a %. I have tried installing from package, port, and then resinstalling from both, but cant get anything to work. what am i missing here? I've never had this problem before! thanks in advance for all help Ryan w ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling jdk15
Hi all, I'm having problems compiling the jdk15 port on my machine. It's running 5.3-Release and also has the jdk14 and linux-sun-jdk14 ports installed. Here is the end of the make install output. Note: * uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 21 errors 12 warnings gmake[3]: *** [.compile.classlist] Error 1 fi gmake[3]: Leaving directory gmake[2]: *** [all] Error 1 `/usr/ports/java/jdk15/work/j2se/make/java/java' gmake[2]: Leaving gmake[1]: *** [all] Error 1 directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: gmake: *** [j2se-build] Error 2 Leaving directory `/usr/ports/java/jdk15/work/j2se/make' *** Error code 2 Stop in /usr/ports/java/jdk15. If being able to see the whole thing would be helpful, it can be downloaded from http://cspain.no-ip.info/jdk15build.out Thx in advance for all help and advice, and if any other info about my system would be helpful, please let me know and i'll post it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Clock running fast
Hi all, I recently noticed that the system clock on a machine i recently set up is running very quickly, about 2x realtime by my measuring. What can i do to solve/investigate this problem? What information would be helpful? Thanks, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Clock running fast
Charles Swiger wrote: On May 4, 2005, at 3:49 PM, Ryan Winograd wrote: I recently noticed that the system clock on a machine i recently set up is running very quickly, about 2x realtime by my measuring. What can i do to solve/investigate this problem? What information would be helpful? Try changing the kern.timecounter.hardware sysctl; you can look at the available choices via: sysctl kern.timecounter.choice Thanks for all the advice everyone. The solution was changing the kern.timecounter.hardware sysctl to i8254 (was ACPI-safe). I was using NTP, but when the clock is at 2x even having cron run ntp every minute is too innacurate. Thx again! Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
X11 Forwarding Apps already running
Is it possible to forward an already running X application? And then send it back to its original location so that I can close the remote workstation and leave the app running? I've been trying google for an answer, and some man pages, but can't find an answer. Thanks for help, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Force install vulnerable port
How can I override portaudit when trying to install a port with vulnerabilities like jdk? My temp. solution is to remove portaudit, but would like a way to be able to keep it and still be able to build vulnerable ports. Unfortunately, I couldn't find an answer in either the handbook or google. Thanks for all help, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Phantom Files, Filesystem Full
I was editing a conf file in /etc and, when i tried to write the file vi told me it couldn't save because the filesystem is full! I ran df and, sure enough, the / fs has 245M of 258M used: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a248M245M-17M 108%/ This was certaintly a surprise, because all my data is located on other partitions, so i ran du -h -d1 / to find the culprit, but i still couldn't find what is using up all my / disk space! What can i do to find out where all my disk space has gone?!?! Thanks for all help ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]