What port contains libxcb.so.2, and hoow could I figure this out?
One of my machines is suddenly complaining that it can't find libxcb.so.2. This is probably an issue related to a recent attempt to update the software on this machine, so I figured I'd just rebuild the port that provides this library, but I can't figure out how to determine which on that would be. I have the feeling that I should be able to use pkg_info for this, but I can't seem to figure out how to accomplish this. Is this the right tool? If so, how do I use it for this, if not, what is the correct tool? Thanks. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What port contains libxcb.so.2, and hoow could I figure this out?
On Tue, Dec 29, 2009 at 08:33:41AM -0600, Adam Vande More wrote: On Tue, Dec 29, 2009 at 8:08 AM, stan st...@panix.com wrote: One of my machines is suddenly complaining that it can't find libxcb.so.2. This is probably an issue related to a recent attempt to update the software on this machine, so I figured I'd just rebuild the port that provides this library, but I can't figure out how to determine which on that would be. I have the feeling that I should be able to use pkg_info for this, but I can't seem to figure out how to accomplish this. Is this the right tool? If so, how do I use it for this, if not, what is the correct tool? Thanks. it# pkg_info -W /usr/local/lib/libxcb.so.2 /usr/local/lib/libxcb.so.2 was installed by package libxcb-1.5 Thanks, I missed the -W switch when I scaned the man page. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
USBserial port convertor
I need to support 5 RS-232 streams with my FreeBSD 7.2 machine. I just purchased UTS-408A-S1 8 port adapter. When I plug it in, I get the following in dmesg: uhub3: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 2 on uhub1 uhub3: single transaction translator uhub3: 4 ports with 4 removable, self powered ucom0: FTDI FT232R USB UART, class 0/0, rev 2.00/6.00, addr 3 on uhub3 ucom1: FTDI FT232R USB UART, class 0/0, rev 2.00/6.00, addr 4 on uhub3 uhub4: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 5 on uhub3 uhub4: single transaction translator uhub4: 4 ports with 4 removable, self powered Do I need to add a driver to my kernel? Right now I have the GENERIC one installed. What devices should I try? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: replacing faulty disk in a gmirror
On Fri, Nov 27, 2009 at 05:37:02PM +0100, Vincent Zee wrote: Hi, I'm trying to replace a faulty disk in a gmirror mirror but it fails. This machine contains two mirrors: mirror0 and mirror1 each containing two disks of 500 GB. mirror1 is giving me trouble. The disk on channel 3 (ad6), which was identical to the disk on channel 2 (ad4), was faulty and I replaced it with a larger disk this morning. The new disk is a Western Digital 640 GB. The steps I took sofar: #gmirror forget mirror1 #gmirror insert mirror1 ad6 A gmirror status shows the new disk being added to mirror1. It then starts to write to the new disk but stops after a few seconds and when I do gmirror status again the new disk is gone again. Any ideas? I have several Sun X2100's, and the have a problem with the riser connector for the drives. I have seen behaviios like this, when I had a hardware problem. Might that be your issue? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
This is to good to be true
I have about a dozen FreeBSD boxes serving a dedicated function. Among other things these machines run a local copy of Firefox, which is updated rapidly by a CGI script. These machines were at 6.2 STABLE, and Firefox 1.x. I am upgrading them to 7.2 STABLE, and Firefox 3. Historically memory leaks in Firefox cause us to have to write a watchdog script that killed it an restarted it about once a day, based upon it's active memory set. One of the new machines has been up for several days without having to do this. This is not totally unexpected,as I thought that this had bee improved, if not fixed in newer versions of Firefox. However, I have been keeping a close look on memory utilization using cricket (which acquires it's data using SNMP) and I am blown away by what I am seeing historically ucd_sys free ram has hovered around zero on these systems, Now it grows over time! These machines do have a stable set of applications, and I can rationally see how a well designed kernel might be aggressively freeing RAM given this. If so huge congratulations are due the developers. Dose this seem to be a reasonable belief? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.2 Release under VirtualBox
On Mon, Nov 23, 2009 at 12:44:34PM +0300, Boris Samorodov wrote: stan st...@panix.com writes: I am trying to install FreebSD under VirtualBox 3.0 on an Ubuntu 9.10 machien. I just installed OpenBSD in the same environment with no issues. However, FreeBSD does not seem to be able to get networking working. I am trying to install from a minimal boot CD, and get the filesets from an ftp server. I tried letting the FreeBSD installer get an address uisng DHCPm and it failed. So I booted teh OpenBSD insatnce, and used it's setigs, except for IP address (namescerve, defailt router etc). But still no luck. Has anyone made this work? Any sugestions as to what else to ty? DHCP should work. Try other network cards (change then via Virtualbox OSE). FreeBSD is detecting an AMD card. What is a DSE, and how do I use it? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 7.2 Release under VirtualBox
I am trying to install FreebSD under VirtualBox 3.0 on an Ubuntu 9.10 machien. I just installed OpenBSD in the same environment with no issues. However, FreeBSD does not seem to be able to get networking working. I am trying to install from a minimal boot CD, and get the filesets from an ftp server. I tried letting the FreeBSD installer get an address uisng DHCPm and it failed. So I booted teh OpenBSD insatnce, and used it's setigs, except for IP address (namescerve, defailt router etc). But still no luck. Has anyone made this work? Any sugestions as to what else to ty? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
USB multi port serial converter?
an anyoone rcomend a multi-port RS0232 to USB converetr I need somthing in the range of 6 ports, and full DB25's would be nice. Obvioulsy it needs to playnice with FreebSD (7.2 STABLE). Thanks for any recomendations. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.2-STABLE X mouse keyboard issues
I just built a brand new 7.2 STABLE machine, and the xorg package. startx brings up a nice screen, but neither the mouse, nor the keyboard (both USB) function in X. I have not created a /etx/X11/ config file yet. Do I need to do so? If so, what;s the best way? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Help with CUPS reconfiguration
I am trying to reconfigure a bunch of machine to acomodate new domain names. One of these machines is a fairly old FreeBSD machine (6.3). We have done a search through all the files of these machines looking for references to the old domain name. One of these is in /etc/printcap/ /etc/printcap has a comment in it that says it is auto generated by cops. It refers to /usr/local/etc/cups/printers.conf as the source file. However, this file does not have a reference to the old domain. My guess is that this is picked up automatically from the machine name, when it is built. Therein lies the issue. I cant connect remotely port 631 on this machine as the certificate is no longer valid, as the domain has changed. When I go to the machine an try to connect to localhost:631, it gets connected, but no combination of username password works. How can I force cups to reconfigure? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help with CUPS reconfiguration
On Thu, Nov 05, 2009 at 02:27:17PM -0600, Adam Vande More wrote: Therein lies the issue. I cant connect remotely port 631 on this machine as the certificate is no longer valid, as the domain has changed. Normally, a browser will let you proceed if you give it the correct instructions. OK, but it doesn't. When I go to the machine an try to connect to localhost:631, it gets connected, but no combination of username password works. root should work. I agree, it _should_ but as I stated, it _does_ not. How can I force cups to reconfigure? man cupsd.conf OK, I read that. It tells me how to configure cups, but as far as I can tell, it does not tell me how to get cups to regenerate /etc/printcap, which is what I need to do. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
What VM does FreeBSD run well under
I am planing on rebuilding my laptop shortly. I am going to put Ubuntu 9.10 on as the base OS, and I want to be able to run various versions of FreebSD as guest OS'es under one of the free (EG not VMWare) virtual machine choices. Which of these does FreebSD run well under? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Which VM ?
I am planing n rebuilding my laptop now that 9.10 is out. I want to be able to run Ubuntu, FreeBSD, OpenBSD, and perhaps XP as guest OS'es on this machine. I tried this a month or so ago with VirtualBox, and some of these OS'es did not work under it. I understand that the one Linus is favoring is Xen. What's the collective wisdom of the list on this? Which VM should I use? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What VM does FreeBSD run well under
On Sat, Oct 31, 2009 at 04:19:21PM +0100, Robert Joosten wrote: Hi, Which of these does FreebSD run well under? It runs okay under virtualbox. OK, thanks. I tried this a couple of months ago, and had troube witj either OpenBSD, or FrebSD under VirtualBox. Given your commnet, my problems must have been with OpenBSD. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
sendmail domain configuration
I am trying to work around some design issues. Some of out FreeBSD macines must live in a made up domain. As a result from these machines gtes discarded by an sensible mail handling system. I have solved this problem on some Soalris machines that also si`uffer from this same design by settting the doamin macro in thier sendmail.cf as follows: Dj$w.realdomain.com OI know that in FreeBSD I should not edit sendmail.cf directly, but instead should edit the appropriate .mc file, and remake the .cf file. But I cannot find the documentation as to how to set this particular sendmail macro from the .mc file Can anyou give me some guidance here? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
text2html ?
I had a contractor uppgrade a freebsd machine a while back. Now I am finding things that did not get done corectly. The latest is that I have some other machines that create text files copy them over to this machine, and put them iin the webservers space. Looks like in the past, these files were procesed by /usr/local/bin/text2html, which O would almost certainly have installed from a port. But, I cannot seem to find this port. Can anyone sugest either where I can find this utlity, or what I might use as an alternative? The text files to process are very simple reports of system statistics. Thanks for any ideas. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
DHCP client questions
We have been bought out, and the new powers that be, are changing things. They have decreed that there shall be no static entries in their DNS servers. They are using $MS DHCP/DNS servers. I have a corporate supported Win XP laptop, which I can plug in at various places in the network. It gets different IP addresses, based upon where it physically is, but always comes up with the same name. I have several machines (such as a mailserver) which _MUST_ have fixed names. I have played around with /etc/dhcllient.conf, but not managed to get this working. I can get IP addresses, and various things such as default routers, and DNS servers, but I have not managed to get the suggested name put in their DNS. I have captured packet traces with wireshark from the laptop, and from the FreebSD client, and I am putting these up at http://beachcave.net/pdumps. I would really appreciate it if someone more familiar with DHCP that I could take a look at theses. Thanks. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Microsoft Dynamic DNS
I have a situation at work, where I need a FreeBSD machine to be in the corporate DNS. We have been bought out, and the new owner says no static DNS entries. They use some Microsoft technogly where the client machiens register thier names with the corprate DNS. My Windows laptop for instance, may get different IP addresses using DHCP depending on what physical location I connect it in. but it's always the same DNS name. Can anyone sugest where to look for information as to how this works, and how I cna make my FreeBSD machine participate in this? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Microsoft Dynamic DNS
On Sat, Sep 19, 2009 at 04:06:03PM -0400, stan wrote: I have a situation at work, where I need a FreeBSD machine to be in the corporate DNS. We have been bought out, and the new owner says no static DNS entries. They use some Microsoft technogly where the client machiens register thier names with the corprate DNS. My Windows laptop for instance, may get different IP addresses using DHCP depending on what physical location I connect it in. but it's always the same DNS name. Can anyone sugest where to look for information as to how this works, and how I cna make my FreeBSD machine participate in this? Following up to my own post. I have managed to get a wireshark capture of my Windows laptop doing a DHCP operation, including registering it's name with this DNS system. Can anyone tell me what I need to look for in this to better narow down how this is ebing done? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Fri, Sep 04, 2009 at 05:04:19PM +0200, Mel Flynn wrote: On Friday 04 September 2009 16:28:07 stan wrote: On Thu, Sep 03, 2009 at 11:41:28PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 22:23:47 stan wrote: On Thu, Sep 03, 2009 at 10:10:13PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 21:02:41 stan wrote: pnoc# cat collect-subtrees #!/bin/sh echo STARTED /tmp/stan which perl /tmp/stan /usr/local/cricket/cricket/collect-subtrees.pl normal /tmp/stan echo Done /tmp/stan /tmp stan contains: pnoc# cat /tmp/stan STARTED /usr/bin/perl Done STARTED /usr/bin/perl Done So, cron is invoking the correct command, and perl can be found, but the original collect_subtrees perl script silently dies. I am convinced it's an environemt probkl`lem, I am just uncertain how to determine what. I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink (perl upgrade gone bonkers, f.e. done with ro mounted /usr) and another cent on the perl script using system() function, with pathless commands (that is environment). Ok, one liner: su -m cricket env -i HOME=/usr/local/cricket PATH=/bin:/usr/bin \ /usr/local/cricket/cricket/collect-subtrees.pl normal I've downloaded the 1.0.5 version, but can't quickly see where that would go wrong with this script. touch is in /usr/bin, so that should work. Any cron messages in /var/mail/cricket? I am away from work today, and won't be back till Tuesday. I can't access this from home. I will try your test then. The only messages that are getting to /var/log/cron is just the one saying that the task was executed. Yea, the error messages end up in /var/mail/$USER or MAILTO variable if set in crontab. /var/log/maillog should have some tell tales. That turned out to be the information I needed to solve theproblem. I had told my contractor to put a .forward in every non user uer'es account (such as Cricket), and he had not done that. had he done that I would have gotten the needed inforamtion, when I first brought the system abck up. Turns out there was a lockfile, and Cricket was emailing me, asking me to remove it if it was satle :-( Removing it solved the mystery. Thanks for all the help, everyone!! Subtree normal is currently being processed. If this is a mistake, use rm /tmp/cricket-subtree-normal to unlock it. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 11:41:28PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 22:23:47 stan wrote: On Thu, Sep 03, 2009 at 10:10:13PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 21:02:41 stan wrote: pnoc# cat collect-subtrees #!/bin/sh echo STARTED /tmp/stan which perl /tmp/stan /usr/local/cricket/cricket/collect-subtrees.pl normal /tmp/stan echo Done /tmp/stan /tmp stan contains: pnoc# cat /tmp/stan STARTED /usr/bin/perl Done STARTED /usr/bin/perl Done So, cron is invoking the correct command, and perl can be found, but the original collect_subtrees perl script silently dies. I am convinced it's an environemt probkl`lem, I am just uncertain how to determine what. I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink (perl upgrade gone bonkers, f.e. done with ro mounted /usr) and another cent on the perl script using system() function, with pathless commands (that is environment). Ok, one liner: su -m cricket env -i HOME=/usr/local/cricket PATH=/bin:/usr/bin \ /usr/local/cricket/cricket/collect-subtrees.pl normal I've downloaded the 1.0.5 version, but can't quickly see where that would go wrong with this script. touch is in /usr/bin, so that should work. Any cron messages in /var/mail/cricket? I am away from work today, and won't be back till Tuesday. I can't access this from home. I will try your test then. The only messages that are getting to /var/log/cron is just the one saying that the task was executed. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Fri, Sep 04, 2009 at 05:04:19PM +0200, Mel Flynn wrote: On Friday 04 September 2009 16:28:07 stan wrote: On Thu, Sep 03, 2009 at 11:41:28PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 22:23:47 stan wrote: On Thu, Sep 03, 2009 at 10:10:13PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 21:02:41 stan wrote: pnoc# cat collect-subtrees #!/bin/sh echo STARTED /tmp/stan which perl /tmp/stan /usr/local/cricket/cricket/collect-subtrees.pl normal /tmp/stan echo Done /tmp/stan /tmp stan contains: pnoc# cat /tmp/stan STARTED /usr/bin/perl Done STARTED /usr/bin/perl Done So, cron is invoking the correct command, and perl can be found, but the original collect_subtrees perl script silently dies. I am convinced it's an environemt probkl`lem, I am just uncertain how to determine what. I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink (perl upgrade gone bonkers, f.e. done with ro mounted /usr) and another cent on the perl script using system() function, with pathless commands (that is environment). Ok, one liner: su -m cricket env -i HOME=/usr/local/cricket PATH=/bin:/usr/bin \ /usr/local/cricket/cricket/collect-subtrees.pl normal I've downloaded the 1.0.5 version, but can't quickly see where that would go wrong with this script. touch is in /usr/bin, so that should work. Any cron messages in /var/mail/cricket? I am away from work today, and won't be back till Tuesday. I can't access this from home. I will try your test then. The only messages that are getting to /var/log/cron is just the one saying that the task was executed. Yea, the error messages end up in /var/mail/$USER or MAILTO variable if set in crontab. /var/log/maillog should have some tell tales. OK, I am thinking that I have a ,forward file in crickets hme directtory. I will check. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
What invokes cricket on FreeBSD
I have inherited a system that uses Cricket on FreeBSD to do some data collection. I have set this up myself in the distnat past, but this time I asked a contractor to set it up. I no longer have access to this contractor, and the toher day, we shut down the system this was running on, and when we rebooted the system, cricket id not resume collecting data. I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see anything in /etc/crontag. I don't seen any processes owned by cricket running. In FreeBSD, how is this process noramally invoked? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: I have inherited a system that uses Cricket on FreeBSD to do some data collection. I have set this up myself in the distnat past, but this time I asked a contractor to set it up. I no longer have access to this contractor, and the toher day, we shut down the system this was running on, and when we rebooted the system, cricket id not resume collecting data. I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see anything in /etc/crontag. I don't seen any processes owned by cricket running. In FreeBSD, how is this process noramally invoked? Sorry to reply to my own message, but I have more data. I did find -rw--- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke Which is, I am failry certain, what is _intended_ to invoke the cricket process. However, acording to the cricket logs, the last time I have an entry is Aug 29th, which was when the machine was shut down. So, I decided to try running this command by hand. Now, to do so I need to be the cricket user, so I tried to su - cricket. I was told that this user was not avaialble. Looking in /etc/passwd. I found that this users shell was listed as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I still get the smae error message when I try to su to that user. What do I need to change to be able to su to this suer, and might this be the reason tha it's crontab entry is notbeing run? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 08:56:59AM -0400, Jerry wrote: On Thu, 3 Sep 2009 08:25:32 -0400 stan st...@panix.com wrote: On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: I have inherited a system that uses Cricket on FreeBSD to do some data collection. I have set this up myself in the distnat past, but this time I asked a contractor to set it up. I no longer have access to this contractor, and the toher day, we shut down the system this was running on, and when we rebooted the system, cricket id not resume collecting data. I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see anything in /etc/crontag. I don't seen any processes owned by cricket running. In FreeBSD, how is this process noramally invoked? Sorry to reply to my own message, but I have more data. I did find -rw--- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke Which is, I am failry certain, what is _intended_ to invoke the cricket process. However, acording to the cricket logs, the last time I have an entry is Aug 29th, which was when the machine was shut down. So, I decided to try running this command by hand. Now, to do so I need to be the cricket user, so I tried to su - cricket. I was told that this user was not avaialble. Looking in /etc/passwd. I found that this users shell was listed as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I still get the smae error message when I try to su to that user. What do I need to change to be able to su to this suer, and might this be the reason tha it's crontab entry is notbeing run? There is no native port for Cricket on FreeBSD; however, I did find this URL: http://cricket.sourceforge.net/support/doc/beginner.html Interersting, I have the following directory /usr/ports/net-mgmt/cricket -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: stan wrote: On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: I have inherited a system that uses Cricket on FreeBSD to do some data collection. I have set this up myself in the distnat past, but this time I asked a contractor to set it up. I no longer have access to this contractor, and the toher day, we shut down the system this was running on, and when we rebooted the system, cricket id not resume collecting data. I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see anything in /etc/crontag. I don't seen any processes owned by cricket running. In FreeBSD, how is this process noramally invoked? Sorry to reply to my own message, but I have more data. I did find -rw--- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke Which is, I am failry certain, what is _intended_ to invoke the cricket process. However, acording to the cricket logs, the last time I have an entry is Aug 29th, which was when the machine was shut down. So, I decided to try running this command by hand. Now, to do so I need to be the cricket user, so I tried to su - cricket. I was told that this user was not avaialble. Looking in /etc/passwd. I found that this users shell was listed as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I still get the smae error message when I try to su to that user. What do I need to change to be able to su to this suer, and might this be the reason tha it's crontab entry is notbeing run? Try: # su -m cricket Thanks, hw dose that differ from just plain su that is without the - that causes the new users environemt to be invoked? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: stan wrote: On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: I have inherited a system that uses Cricket on FreeBSD to do some data collection. I have set this up myself in the distnat past, but this time I asked a contractor to set it up. I no longer have access to this contractor, and the toher day, we shut down the system this was running on, and when we rebooted the system, cricket id not resume collecting data. I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see anything in /etc/crontag. I don't seen any processes owned by cricket running. In FreeBSD, how is this process noramally invoked? Sorry to reply to my own message, but I have more data. I did find -rw--- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke Which is, I am failry certain, what is _intended_ to invoke the cricket process. However, acording to the cricket logs, the last time I have an entry is Aug 29th, which was when the machine was shut down. So, I decided to try running this command by hand. Now, to do so I need to be the cricket user, so I tried to su - cricket. I was told that this user was not avaialble. Looking in /etc/passwd. I found that this users shell was listed as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I still get the smae error message when I try to su to that user. What do I need to change to be able to su to this suer, and might this be the reason tha it's crontab entry is notbeing run? Try: # su -m cricket although the best way to examine and/or modify that user's crontab is: # crontab -e -u cricket OK, I was able to execute the cricket collector caoomand bu using the su - format, and it ran corectly. Cany anyone sugest what to check to see why cron is not executing this command? I see no evidence of it's running in either the cricket logs' or cron's logs. Thanks. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: stan wrote: On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: I have inherited a system that uses Cricket on FreeBSD to do some data collection. I have set this up myself in the distnat past, but this time I asked a contractor to set it up. I no longer have access to this contractor, and the toher day, we shut down the system this was running on, and when we rebooted the system, cricket id not resume collecting data. I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see anything in /etc/crontag. I don't seen any processes owned by cricket running. In FreeBSD, how is this process noramally invoked? Sorry to reply to my own message, but I have more data. I did find -rw--- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke Which is, I am failry certain, what is _intended_ to invoke the cricket process. However, acording to the cricket logs, the last time I have an entry is Aug 29th, which was when the machine was shut down. So, I decided to try running this command by hand. Now, to do so I need to be the cricket user, so I tried to su - cricket. I was told that this user was not avaialble. Looking in /etc/passwd. I found that this users shell was listed as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I still get the smae error message when I try to su to that user. What do I need to change to be able to su to this suer, and might this be the reason tha it's crontab entry is notbeing run? Try: # su -m cricket although the best way to examine and/or modify that user's crontab is: # crontab -e -u cricket OK, I was able to execute the cricket collector caoomand bu using the su - format, and it ran corectly. Cany anyone sugest what to check to see why cron is not executing this command? I see no evidence of it's running in either the cricket logs' or cron's logs. Thanks. Repkying to my own message again :-( OK, I found in the cron man page the following: Before running a command from a per-account crontab file, cron checks the status of the account with pam(3) and skips the command if the account is unavailable, e.g., locked out or expired. So, now the question is, how do I unlock that user? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 09:33:35AM -0400, stan wrote: On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: stan wrote: On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: I have inherited a system that uses Cricket on FreeBSD to do some data collection. I have set this up myself in the distnat past, but this time I asked a contractor to set it up. I no longer have access to this contractor, and the toher day, we shut down the system this was running on, and when we rebooted the system, cricket id not resume collecting data. I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see anything in /etc/crontag. I don't seen any processes owned by cricket running. In FreeBSD, how is this process noramally invoked? Sorry to reply to my own message, but I have more data. I did find -rw--- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke Which is, I am failry certain, what is _intended_ to invoke the cricket process. However, acording to the cricket logs, the last time I have an entry is Aug 29th, which was when the machine was shut down. So, I decided to try running this command by hand. Now, to do so I need to be the cricket user, so I tried to su - cricket. I was told that this user was not avaialble. Looking in /etc/passwd. I found that this users shell was listed as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I still get the smae error message when I try to su to that user. What do I need to change to be able to su to this suer, and might this be the reason tha it's crontab entry is notbeing run? Try: # su -m cricket although the best way to examine and/or modify that user's crontab is: # crontab -e -u cricket OK, I was able to execute the cricket collector caoomand bu using the su - format, and it ran corectly. Cany anyone sugest what to check to see why cron is not executing this command? I see no evidence of it's running in either the cricket logs' or cron's logs. Thanks. Repkying to my own message again :-( OK, I found in the cron man page the following: Before running a command from a per-account crontab file, cron checks the status of the account with pam(3) and skips the command if the account is unavailable, e.g., locked out or expired. So, now the question is, how do I unlock that user? This gets strnager. I found the pw cammand, which should do thatm but: pnoc# pw unlock cricket pw: user 'cricket' is not locked So, how come: pnoc# su - cricket This account is currently not available. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 04:22:43PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 15:41:07 stan wrote: On Thu, Sep 03, 2009 at 09:33:35AM -0400, stan wrote: On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: stan wrote: On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: I have inherited a system that uses Cricket on FreeBSD to do some data collection. I have set this up myself in the distnat past, but this time I asked a contractor to set it up. I no longer have access to this contractor, and the toher day, we shut down the system this was running on, and when we rebooted the system, cricket id not resume collecting data. I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see anything in /etc/crontag. I don't seen any processes owned by cricket running. In FreeBSD, how is this process noramally invoked? Sorry to reply to my own message, but I have more data. I did find -rw--- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke Which is, I am failry certain, what is _intended_ to invoke the cricket process. However, acording to the cricket logs, the last time I have an entry is Aug 29th, which was when the machine was shut down. So, I decided to try running this command by hand. Now, to do so I need to be the cricket user, so I tried to su - cricket. I was told that this user was not avaialble. Looking in /etc/passwd. I found that this users shell was listed as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I still get the smae error message when I try to su to that user. What do I need to change to be able to su to this suer, and might this be the reason tha it's crontab entry is notbeing run? Try: # su -m cricket although the best way to examine and/or modify that user's crontab is: # crontab -e -u cricket OK, I was able to execute the cricket collector caoomand bu using the su - format, and it ran corectly. Cany anyone sugest what to check to see why cron is not executing this command? I see no evidence of it's running in either the cricket logs' or cron's logs. Thanks. Repkying to my own message again :-( OK, I found in the cron man page the following: Before running a command from a per-account crontab file, cron checks the status of the account with pam(3) and skips the command if the account is unavailable, e.g., locked out or expired. So, now the question is, how do I unlock that user? This gets strnager. I found the pw cammand, which should do thatm but: pnoc# pw unlock cricket pw: user 'cricket' is not locked So, how come: pnoc# su - cricket This account is currently not available. Cause cricket doesn't have a valid home directory. However, you can simply copy the /var/cron/tabs/cricket to /tmp. Remove the time colums, then run: su -m cricket /usr/bin/env -i HOME=/nonexistent PATH=/bin:/usr/bin \ /bin/sh /tmp/cricket That's the best approximation of how cron runs the commands. If you don't see anything in the cron logs however, it may be an issue with the timestamps specified not yielding any runs. Then it would help to see the actual crontab file. Hmm, but I think it does : pnoc# grep cricket /etc/passwd cricket:*:141:80:Cricket Monitoring User:/usr/local/cricket:/usr/sbin/nologin and pnoc# ls -ld /usr/local/cricket drwxr-xr-x 7 cricket www 512 Apr 8 16:41 /usr/local/cricket As far as cron logs, I am _now_ gettting an entry that looks like cron is executing the collector: Sep 3 10:40:00 pnoc /usr/sbin/cron[80979]: (cricket) CMD (/usr/local/cricket/cricket/collect-subtrees normal) But, still not getting anything in cricket's logs: ls: No match. pnoc# ls -l /usr/local/cricket/*logs total 2812 -rw-r--r-- 1 cricket www 74098 Sep 3 09:17 normal.0 The 9:17 time is from a manual run of the collector. I must admit, I am not certain waht to check next. Thanks for the help! -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 05:54:37PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 17:44:53 stan wrote: On Thu, Sep 03, 2009 at 05:31:45PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 16:42:28 stan wrote: On Thu, Sep 03, 2009 at 04:22:43PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 15:41:07 stan wrote: On Thu, Sep 03, 2009 at 09:33:35AM -0400, stan wrote: On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: stan wrote: On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: I have inherited a system that uses Cricket on FreeBSD to do some data collection. I have set this up myself in the distnat past, but this time I asked a contractor to set it up. I no longer have access to this contractor, and the toher day, we shut down the system this was running on, and when we rebooted the system, cricket id not resume collecting data. I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see anything in /etc/crontag. I don't seen any processes owned by cricket running. In FreeBSD, how is this process noramally invoked? Sorry to reply to my own message, but I have more data. I did find -rw--- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke Which is, I am failry certain, what is _intended_ to invoke the cricket process. However, acording to the cricket logs, the last time I have an entry is Aug 29th, which was when the machine was shut down. So, I decided to try running this command by hand. Now, to do so I need to be the cricket user, so I tried to su - cricket. I was told that this user was not avaialble. Looking in /etc/passwd. I found that this users shell was listed as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I still get the smae error message when I try to su to that user. What do I need to change to be able to su to this suer, and might this be the reason tha it's crontab entry is notbeing run? Try: # su -m cricket although the best way to examine and/or modify that user's crontab is: # crontab -e -u cricket OK, I was able to execute the cricket collector caoomand bu using the su - format, and it ran corectly. Cany anyone sugest what to check to see why cron is not executing this command? I see no evidence of it's running in either the cricket logs' or cron's logs. Thanks. Repkying to my own message again :-( OK, I found in the cron man page the following: Before running a command from a per-account crontab file, cron checks the status of the account with pam(3) and skips the command if the account is unavailable, e.g., locked out or expired. So, now the question is, how do I unlock that user? This gets strnager. I found the pw cammand, which should do thatm but: pnoc# pw unlock cricket pw: user 'cricket' is not locked So, how come: pnoc# su - cricket This account is currently not available. Cause cricket doesn't have a valid home directory. However, you can simply copy the /var/cron/tabs/cricket to /tmp. Remove the time colums, then run: su -m cricket /usr/bin/env -i HOME=/nonexistent PATH=/bin:/usr/bin \ /bin/sh /tmp/cricket That's the best approximation of how cron runs the commands. If you don't see anything in the cron logs however, it may be an issue with the timestamps specified not yielding any runs. Then it would help to see the actual crontab file. Hmm, but I think it does : pnoc# grep cricket /etc/passwd cricket:*:141:80:Cricket Monitoring User:/usr/local/cricket:/usr/sbin/nologin /usr/sbin/nologin. I guess you edited master.passwd and didn't use the proper tools (vipw or run pwd_mkdb after using a plain editor). As far as cron logs, I am _now_ gettting an entry that looks like cron is executing the collector: Sep 3 10:40:00 pnoc /usr/sbin/cron[80979]: (cricket) CMD (/usr/local/cricket/cricket/collect-subtrees normal) But, still not getting anything in cricket's logs: ls: No match. pnoc# ls -l /usr/local/cricket/*logs total 2812 -rw-r--r-- 1 cricket www 74098 Sep 3 09:17 normal.0 The 9:17 time is from a manual run of the collector. I must admit, I am not certain waht to check next. Run: su -m
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 10:10:13PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 21:02:41 stan wrote: pnoc# cat collect-subtrees #!/bin/sh echo STARTED /tmp/stan which perl /tmp/stan /usr/local/cricket/cricket/collect-subtrees.pl normal /tmp/stan echo Done /tmp/stan /tmp stan contains: pnoc# cat /tmp/stan STARTED /usr/bin/perl Done STARTED /usr/bin/perl Done So, cron is invoking the correct command, and perl can be found, but the original collect_subtrees perl script silently dies. I am convinced it's an environemt probkl`lem, I am just uncertain how to determine what. I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink (perl upgrade gone bonkers, f.e. done with ro mounted /usr) and another cent on the perl script using system() function, with pathless commands (that is environment). file /usr/bin/perl should report if the symlink is broken. pnoc# file /usr/bin/perl /usr/bin/perl: symbolic link to `/usr/local/bin/perl5.8.9' pnoc# ls /usr/local/bin/perl5.8.9 /usr/local/bin/perl5.8.9 You did see where I had the replacement shell script for collect_subtrees do a perl --version into the logfile, right? To me, that's pretty convincing evidence that perl works. Plus, remeber that I can execute the collect_subtree perl script sucesfy`ully whenI su to the cricket user. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 02:45:52PM -0600, Warren Block wrote: On Thursday 03 September 2009 21:02:41 stan wrote: pnoc# cat collect-subtrees #!/bin/sh echo STARTED /tmp/stan which perl /tmp/stan /usr/local/cricket/cricket/collect-subtrees.pl normal /tmp/stan echo Done /tmp/stan /tmp stan contains: pnoc# cat /tmp/stan STARTED /usr/bin/perl Done STARTED /usr/bin/perl Done That 'which perl' may not really help any, since collect-subtrees runs perl from /usr/local/bin/perl. Although I'd expect an error if /usr/local/bin/perl was missing. You could change your test script to see: /usr/bin/perl /usr/local/cricket/cricket/collect-subtrees.pl -Warren Block * Rapid City, South Dakota USA Here is the new test script: #!/bin/sh echo started /tmp/stan /usr/bin/perl --version /tmp/stan echo ++ /tmp/stan /usr/bin/perl /usr/local/cricket/cricket/collect-subtrees.pl normal /tmp/stan echo ++ /tmp/stan echo done /tmp/stan And, here is tthe outptu file: pnoc# cat /tmp/stan started This is perl, v5.8.9 built for i386-freebsd-64int (with 1 registered patch, see perl -V for more detail) Copyright 1987-2008, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using man perl or perldoc perl. If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. ++ ++ done When I su - to cricket. and run the collector, it takes a minute or so to run, and generates a lot of output to the screen. Also, wgen I do that, it's Cricket's logfile gets updated. Run from cron the logfile never changes. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What invokes cricket on FreeBSD
On Thu, Sep 03, 2009 at 02:45:52PM -0600, Warren Block wrote: On Thursday 03 September 2009 21:02:41 stan wrote: pnoc# cat collect-subtrees #!/bin/sh echo STARTED /tmp/stan which perl /tmp/stan /usr/local/cricket/cricket/collect-subtrees.pl normal /tmp/stan echo Done /tmp/stan /tmp stan contains: pnoc# cat /tmp/stan STARTED /usr/bin/perl Done STARTED /usr/bin/perl Done That 'which perl' may not really help any, since collect-subtrees runs perl from /usr/local/bin/perl. Actually no: #!/usr/bin/perl -w That's the first line in collect-subtrees. And did you see when I added perl --version to the test script? But, I will try your sugestion, and report back. Thanks for the ehlp. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Samba and busy network
I have a FreeBSD machine serving as (among other things) a Samba server for an XP instance running under VirtualBox. The XP application is a data gathering one that polls continuously. I have set up things so that XP mounts the Samba share, and logs it's data there. Problem is that every morning I come in to find that the XP app is complaining of disk problems from the share. I am fairly certain that this problem is occurring in the middle of the night, when my Amanda backups run. This does load the network fairly good. The FreeBSD box, and the Linux box are on the same switch, and same subnet. Anyone have suggestions as to how to address this issue? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Tue, Jan 13, 2009 at 09:42:11AM -0500, Steve Bertrand wrote: stan wrote: If you want to see what I have, It's reachable at http://beachcave/net/ampache/ I can't reach it :) Reply with the proper URL and I'll have a look. Sorry, it's http://beachcave.net/ampache/ I just droped teh database, and removed the ampache.cfg.php file, so the error shold be reproducible. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sat, Jan 10, 2009 at 09:22:36AM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 08:03:32PM -0500, stan wrote: I am trying to get the ampcache port working on a 7.1 machine. Just wondering if you've resolved the problems you had with this. I installed amapche on an Ubuntu mahcine, and folowed the same procedure (except for quoting the rss variables). Once again when I went to write the config file, I had to download it to the machine that I was running the web browser on. Once I did that, and located the appropriate place on the Ubuntu machine, everything worked as expected. I am building a music catalog as we speak on that machine. This leads me to suspect that there is something wrong with the way I am seting it up on the FreeBSD machine. Going through the _exact_ same procdure as on the Ubuntu machine results in the following when I try to procedd to step 3 in the web installer. Error: Config file detected, Ampache is already installed (displayed in the browser). Can we idntify exactly what causes this error message? If so, maybe I cna check that on the FreeBSD machine. I really need this to work on the FreeBSD machine, as it is where the music is stored, and it's the web serer accessible from outside. Thanks, -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sat, Jan 10, 2009 at 09:22:36AM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 08:03:32PM -0500, stan wrote: I am trying to get the ampcache port working on a 7.1 machine. Just wondering if you've resolved the problems you had with this. I played witht his a bit more this weekend, and had a friend of mine look at it. he points out that after you put the config file in place, and you get the File Not Found error from the web browser that teh URL that it is pointing at is http://beachcave.net/update.php. This is wrong, if you manually enter http://beachcave/net/ampache/update.php you get to a pahe that shows some diagnostices. The first item on that page that _does not_ show OK is Ampache.cfg.php Configured? [ ERROR ] I am wondiering if I ahve somethinf set up incorectly here. What should I look for? BTW, I did install amapche on an Ubuntu system, and get it configured and working, so my problem must have something to do witht eh configuration on the FreeBSD system, right? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Wed, Jan 07, 2009 at 04:57:45PM -0500, Steve Bertrand wrote: stan wrote: On Wed, Jan 07, 2009 at 09:33:46AM -0500, Steve Bertrand wrote: stan wrote: I'll describe the test setup that I used within a VM to configure things inline. The software does not necessarily match the version number exactly to yours. Thanks for puting in all this effort!! No problem. $ ls -l /usr/local/www/ampache/config total 24 -r--r--r-- 1 www www 19352 Jan 5 16:38 ampache.cfg.php.dist -r--r--r-- 1 www www141 Aug 31 02:20 motd.php.dist -r--r--r-- 1 www www 96 Aug 31 02:20 registration_agreement.php.dist $ Does this look corect? No. You did not put the downloaded ampache.cfg.php file in the ampache/config directory. Your /usr/local/www/ampache/config should look like this: testweb# ll /usr/local/www/ampache/config/ total 46 -r--r--r-- 2 www www 14 Aug 31 02:20 .htaccess -rw-r--r-- 1 www www 19366 Jan 7 09:23 ampache.cfg.php -r--r--r-- 2 www www 19352 Jan 7 09:19 ampache.cfg.php.dist -r--r--r-- 2 www www141 Aug 31 02:20 motd.php.dist -r--r--r-- 2 www www 96 Aug 31 02:20 registration_agreement.php Note the ampache.cfg.php file. It is the one that I downloaded during install to my local workstation. I then uploaded it back to the server, and put it in the config directory per the documentation. Right, I had not done that, this time yet. It's there now: -rw-r--r-- 1 root www 19363 Jan 8 05:57 ampache.cfg.php I had a busy week at work, and am just now getting back to this. If you want to see what I have, It's reachable at http://beachcave/net/ampache/ As it stnads, it is pretty much exactly the way the ports tree installed it except that I have put the double quotes around the rss variables in the /usr/local/www/ampacahe/config/ampache.conf.dst file. I think I must be missing something importnat about the configuration steps that are required using the web installer. I know that I am confused about the 3 different user levels (system Mysql, and Ampache, right?) If you have any helpful sugestions, they would be greatly appreciated. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sat, Jan 10, 2009 at 09:22:36AM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 08:03:32PM -0500, stan wrote: I am trying to get the ampcache port working on a 7.1 machine. Just wondering if you've resolved the problems you had with this. No, I had a bust week at work, and am really just starting to look at it again. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Wed, Jan 07, 2009 at 09:33:46AM -0500, Steve Bertrand wrote: stan wrote: I'll describe the test setup that I used within a VM to configure things inline. The software does not necessarily match the version number exactly to yours. Thanks for puting in all this effort!! I'm willing to bet that you have a permissions error within the filesystem, but that is just a guess. Provide the output to: # ls -l /usr/local/www # ls -l /usr/local/www/ampache/config $ ls -l /usr/local/www total 12 drwxr-xr-x 15 www www1024 Jan 5 16:33 ampache drwxr-xr-x 6 root wheel 512 Dec 28 17:38 apache22 drwxr-xr-x 18 root wheel 512 Jan 3 22:06 data drwxr-xr-x 21 root wheel 2560 Jan 1 14:34 gallery drwxr-xr-x 9 root wheel 512 Dec 29 12:24 nagios $ ls -l /usr/local/www/ampache/config total 24 -r--r--r-- 1 www www 19352 Jan 5 16:38 ampache.cfg.php.dist -r--r--r-- 1 www www141 Aug 31 02:20 motd.php.dist -r--r--r-- 1 www www 96 Aug 31 02:20 registration_agreement.php.dist $ Does this look corect? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Wed, Jan 07, 2009 at 09:40:56AM -0500, Steve Bertrand wrote: stan wrote: Complete step 1 of the install process Go to step 2, when you press write config file you will be prompted to download this fle instead (not cerrtain wh the directory it goes in is writbale by the www user). Donwload this file and install it as: /usr/local/www/ampache/config/ampache.cfg Oh, I missed this my first pass through... If what you claim above is not a typo, then the system surely can not find a configuration, as it should be named: ampache.cfg.php ...not ampache.cfg Small point, but could be a critical one. Could be. I will have to wait till I am home to actually check this, as the machine I downloaded it to is not remotely acesible, and at th moment I don't have it on the web server machine. Thanks. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: Clearly I am still confused. :-( I just duid as you suggested, and all went well until I pushed the Write Config button at Step 2. At this point I was offered the option fo downlaoding to the machine that I was running the web browser on this config file. Since this is where I got hung up last. I stoped to ask what I am doing wrong. If I download this file, and put it in the config directory, based upon previous behavior the setup process will refuse to run, because the config file exists. What basic misunderstanding do I ahve here? I'm out of advice. I'd strongly advise that you seek help from the Ampache developers / community (http://ampache.org/). You'll be on topic there, and surely get more advice. OK, Can you please explain how the step 2 to 3 transition is supposed to work in the web based installer? Is the step 2 process supposed to write the config.php file to ampache/config? If so, why, when I do that manually does it refuse to go to step 3? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: Clearly I am still confused. :-( I just duid as you sugested, and all went well untill I pushed the Write Config button at Step 2. At this point I was offered teh option fo downlaoding to the machine that I was running the web browser on this config file. Since this is where I got hung up last. I stoped to ask what I am doing wrong. If I download this file, and put it in the config directory, based upon previous behavior the setup process will refuse to run, because the config file exists. What basic misunderstanding do I ahve here? I'm out of advice. I'd strongly advise that you seek help from the Ampache developers / community (http://ampache.org/). You'll be on topic there, and surely get more advice. I have posted the following to the Install forum over there. Perhaps someone can explain how the step 2 to step 3 transition in the web based installer is supposed to work. I must admit, I have no clue how it's supposed to work -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: Clearly I am still confused. :-( I just duid as you sugested, and all went well untill I pushed the Write Config button at Step 2. At this point I was offered teh option fo downlaoding to the machine that I was running the web browser on this config file. Since this is where I got hung up last. I stoped to ask what I am doing wrong. If I download this file, and put it in the config directory, based upon previous behavior the setup process will refuse to run, because the config file exists. What basic misunderstanding do I ahve here? This thread represents an exmaple of exactly the problem I am facing. It appears as though this behavior can be triggered by running the wrong version of ampache. Can anyone confirm that the version in ports actually works? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Tue, Jan 06, 2009 at 10:01:58PM -0500, Steve Bertrand wrote: stan wrote: On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: Clearly I am still confused. :-( I just duid as you sugested, and all went well untill I pushed the Write Config button at Step 2. At this point I was offered teh option fo downlaoding to the machine that I was running the web browser on this config file. Since this is where I got hung up last. I stoped to ask what I am doing wrong. If I download this file, and put it in the config directory, based upon previous behavior the setup process will refuse to run, because the config file exists. What basic misunderstanding do I ahve here? This thread represents an exmaple of exactly the problem I am facing. It appears as though this behavior can be triggered by running the wrong version of ampache. Can anyone confirm that the version in ports actually works? Stan, It appears as though you are bouncing off the walls to find a solution. Well. lets's see, I have been trying to gte it working since Saturday :-( Did you contact the appropriate list as prescribed by Kelly? It's unfortunately not a list, whcih I find intuitive, and useful, but one of those web base wiki sort of things. As you can see from another messahe, I posted teh problem there this mornimg. Zero replies since then. Can you document a well-defined approach in regards to the installation methods you need to follow to reach the goal you are after? I am confused by this. Is this a request to be able to reproduce the probkem? If so, absolutely. If so, email it to the list, starting with your base OS version. I'll help you out with a test platform if you can get things organized. OK, here goes: black# uname -a FreeBSD black.fas.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Dec 27 19:11:47 EST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 ports of interest: ampache-3.4.3 mysql-client-5.0.75 mysql-server-5.0.75 apache-2.2.11 Once you have these installed add the folloowing lines to /usr/local/etc/apache22httpd.conf Directory /usr/local/www/ampache/ Order allow,deny Allow from all /Directory Alias /ampache /usr/local/www/ampache Edit /usr/local/www/ampache/config/ampache.cfg.php.dist and put doubel quotes around the names of the rss* bairables (to work around a known bug Point your browser to the ampacge/install.php file the webserver for this machine. Complete step 1 of the install process Go to step 2, when you press write config file you will be prompted to download this fle instead (not cerrtain wh the directory it goes in is writbale by the www user). Donwload this file and install it as: /usr/local/www/ampache/config/ampache.cfg Try to proced to step 3. You should get an error message saying that Ampache is already configured (but it's not0. I beleive this is a repeatvle bug. Thanks for the help here. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sun, Jan 04, 2009 at 04:45:41PM -0600, Kelly D. Grills wrote: On Sun, Jan 04, 2009 at 03:33:19PM -0500, stan wrote: OK, I did make some progress here. I figured out that I needed to change the grant to: GRANT ALL ON ampache to 'ampache_user'@'localhost' IDENTIFIED BY 'x' ; Then I entered this passwrd in the step 2 install page, and tried to write the config file. I could not, but,as stated in the docs, it offered to ket me download it. I did so, and put it in /usr/local/www/ampache/config. I set the owner to www. Good so, far, but now when I try to proced to step 3, I get: Error: Config file detected, Ampache is already installed So, I am guessing I should have somehow continued to set up this file without putting it in place? Well, I don't know every step you've taken, but this seems to have become much more difficult than it needs to be. All I've ever done is to install the ampache port and run through the web setup, no manually futzing with the database, etc. At this point I would: 1: deinstall the ampache port, manually rm /usr/local/www/ampache if required 2: drop the ampache database you've manually created 3: reinstall the ampache port 4: edit the default config file to quote those rss string values (/usr/local/www/ampache/config/ampache.cfg.php.dist) 5: run through the web setup Clearly I am still confused. :-( I just duid as you sugested, and all went well untill I pushed the Write Config button at Step 2. At this point I was offered teh option fo downlaoding to the machine that I was running the web browser on this config file. Since this is where I got hung up last. I stoped to ask what I am doing wrong. If I download this file, and put it in the config directory, based upon previous behavior the setup process will refuse to run, because the config file exists. What basic misunderstanding do I ahve here? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.1 release / apache22 / php5
On Mon, Jan 05, 2009 at 04:52:10PM -0800, Jim Pazarena wrote: for some odd reason, with this latest install (7.1), apache22 complains that it cannot find libphp5.so I usually compile php5 from ports and apache22 from ports after I think about it, I have never actually placed libphp5.so anywhere. I am not even sure who/what causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so it's present on my 7.0 system, and missing on my 7.1 system. advice would be much appreciated. I don't know if it's a change, but on the 7.1 machine I just built. the lang/php5 port was not configured by default to build the Apache module. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sun, Jan 04, 2009 at 01:00:44PM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 11:51:15PM -0500, stan wrote: Looking at the doc, you referenced, it appears that I should be able to connect to beachcave.net/install.php Doing so resluts in: The requested URL /install.php was not found on this server. No, you should be able to access: http://beachcave.net/ampache/install.php I just did. Thanks, I supose I had a typo somewhere. I apreciate all the help with this. Ubfortunately I am still confused. It appears that there are 3 levels of username/password involved here: 1. OS 2. MySQL 3. Ampache Is this correct? In any case, this is where I am. Loged in as the OS root user, I am able to atach to Mysql and I have run the following commands: create databse ampache ; use ampache ; GRANT ALL ON ampache to ampache_user ; Is this correct? So I should have a Mysql user called ampache_user that can access the ampache database, correct? So. I am at step 3 in the web based setup, and trying to proced to step 3, but I get an error about Database Selection Failure Check Existance of ampache The /usr/local/www/ampache/config directory permisons look like this: drwxr-xr-x 2 www www 512 Jan 3 23:47 config Apache should be running as www, if I am not mistaken. after re-reading the MySQL docs, I changed the grant to: GRANT ALL ON ampache to 'ampache_user'@'localhost' ; and now when I try to go to step 3 I get: Error: Config file not found or Unreadable Can you please tell me what I am doing wrong now? Sorry for my ignorance in the use of MySQL etc. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sun, Jan 04, 2009 at 01:00:44PM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 11:51:15PM -0500, stan wrote: Looking at the doc, you referenced, it appears that I should be able to connect to beachcave.net/install.php Doing so resluts in: The requested URL /install.php was not found on this server. No, you should be able to access: http://beachcave.net/ampache/install.php I just did. OK, I did make some progress here. I figured out that I needed to change the grant to: GRANT ALL ON ampache to 'ampache_user'@'localhost' IDENTIFIED BY 'x' ; Then I entered this passwrd in the step 2 install page, and tried to write the config file. I could not, but,as stated in the docs, it offered to ket me download it. I did so, and put it in /usr/local/www/ampache/config. I set the owner to www. Good so, far, but now when I try to proced to step 3, I get: Error: Config file detected, Ampache is already installed So, I am guessing I should have somehow continued to set up this file without putting it in place? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Converting RRD records
I just built a replacement machne. it's 7.1 and AMD64. I have existing RRD records from an older I386 machine, that I would like to be able to access on this machine. Is it possible to convert these records, and if so how? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Createing a package.
I have managed to build OO on a machine of the same architecture as I want to run it oon. The target machine does not seem to be capable of building it. I suspect that it does not have enough memory. Can I create a package on the donor machine to move this to the target machine? Or is there a better way to do this? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Createing a package.
On Sat, Jan 03, 2009 at 05:42:32PM +, Daniel Bye wrote: On Sat, Jan 03, 2009 at 12:23:06PM -0500, stan wrote: I have managed to build OO on a machine of the same architecture as I want to run it oon. The target machine does not seem to be capable of building it. I suspect that it does not have enough memory. Can I create a package on the donor machine to move this to the target machine? Or is there a better way to do this? No, this is about the best way to do it. The tool you need is pkg_create. # pkg_create -b portname should do it. You'll need the full version number, so on my system the portname bit is openoffice.org-2.4.2. Thanks, I was a bit put off by the man page, that impiles that you should use a front end to call pkg_create. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
PHP5, Apache, and ampcache port
I am trying to get ampcache up to let some friends of mine access some music. I am having troubles getting all of this to work, ad the install instructions on the ampcache web site assume a level of knowledge about Apache, and php that I don't yet have. Can anyone tell me what I need to do to get PHP workign corectly in Apache? Thanks. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
PHP setup question
I am trying to get the ampcache port working on a 7.1 machine. I have installed the port, which puts it's files in /usr/local/www/a,pcache. I have my Apache serer configured to use /usr/local/www/data as it's documentroot: DocumentRoot /usr/local/www/data I made the php5 port, with a configuration to create the php5 apcehc module, and I have added this to the http.conf file: LoadModule php5_modulelibexec/apache22/libphp5.so I have also added the folowing: Options Indexes FollowSymLinks ExecCGI and IfModule dir_module DirectoryIndex index.html index.php /IfModule and IfModule mime_module . . AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps /IfModule and restarted Apache Yet when I point my browser to http://my_machine/ampcache I get a Not Found error. What am I doing wrong? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sat, Jan 03, 2009 at 08:29:27PM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 08:03:32PM -0500, stan wrote: I am trying to get the ampcache port working on a 7.1 machine. I have installed the port, which puts it's files in /usr/local/www/a,pcache. I have my Apache serer configured to use /usr/local/www/data as it's documentroot: DocumentRoot /usr/local/www/data snippage and restarted Apache Yet when I point my browser to http://my_machine/ampcache I get a Not Found error. What am I doing wrong? Your ampache installation is not in your DocumentRoot. Edit your httpd.conf ... To allow access to your ampache: Directory /usr/local/www/ampache/ Order allow,deny Allow from all /Directory To map your ampache's web path to it's filesystem path: Alias /ampache /usr/local/www/ampache Hmm, I thoght my Follow Symlinks directive would fix that. But I removed that link, made teh changes you sugested, and now I get: The requested URL /update.php was not found on this server. What else might I have wrong? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sat, Jan 03, 2009 at 09:35:18PM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 10:15:01PM -0500, stan wrote: Hmm, I thoght my Follow Symlinks directive would fix that. But I removed that link, made teh changes you sugested, and now I get: The requested URL /update.php was not found on this server. What else might I have wrong? It's an issue with ampache and php5. I believe it's been fixed in ampache 3.4.4, which is not in ports yet.i At any rate, in order to get your 3.4.3 working you need to edit your ampache.cfg.php (/usr/local/www/ampache/config/ampache.cfg.php) Enclose the string values of rss_main_title, rss_main_description and rss_main_copyright in double quotes. rss_main_title = Ampache for the love of Music rss_main_description = Rss feed for Ampache so you can monitor who is listening to what rss_main_copyright = copyright (c) Speedy B for Ampache Thanks, I would have never found that. We made progress, but now I get: The requested URL /login.php was not found on this server. Note that it's a different file it's complaining about now. You should be able to see this, if you point your browswer at beachcave.net/ampache BTW beachcave.net/test.php is working, I got that from: http://tinyurl.com/2khvsg For what it is worth, and thnaks so much for the help on this! -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sat, Jan 03, 2009 at 10:09:43PM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 10:55:56PM -0500, stan wrote: You should be able to see this, if you point your browswer at beachcave.net/ampache BTW beachcave.net/test.php is working, I got that from: http://beachcave.net/ampache/test.php DB Connection [ ERROR ] DB Inserted [ ERROR ] Looks as though you have a problem with your database. Probably. It's a new machine, and I have not got anything that depends on MySQL running yet. I figured when I got past the Not Found errors I'd see what I needed to do to get the conection the the DB going. I have not found anything in the docs about setting up the requisite tables yet, either. But the Not Fond error has to be corected before I get to that, right? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sat, Jan 03, 2009 at 10:09:43PM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 10:55:56PM -0500, stan wrote: You should be able to see this, if you point your browswer at beachcave.net/ampache BTW beachcave.net/test.php is working, I got that from: http://beachcave.net/ampache/test.php DB Connection [ ERROR ] DB Inserted [ ERROR ] Looks as though you have a problem with your database. BTW, I do have the php5-mysql-5.2.8 port installed, and MySQL seems to be running: black# ps -ax | grep my 67337 ?? I 4:11.11 /usr/local/libexec/mysqld --defaults-file=/var/db/squ 968 con- IW 0:00.00 /bin/sh /usr/local/bin/mysqld_safe --defaults-extra-f 1004 con- I 3:48.24 /usr/local/libexec/mysqld --defaults-extra-file=/var/ -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sat, Jan 03, 2009 at 10:09:43PM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 10:55:56PM -0500, stan wrote: You should be able to see this, if you point your browswer at beachcave.net/ampache BTW beachcave.net/test.php is working, I got that from: http://beachcave.net/ampache/test.php DB Connection [ ERROR ] DB Inserted [ ERROR ] Looks as though you have a problem with your database. I conected to MySQL, and the following Databases exist FYI: | information_schema | | mysql | | test -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sat, Jan 03, 2009 at 10:42:37PM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 11:24:02PM -0500, stan wrote: Looks as though you have a problem with your database. Probably. It's a new machine, and I have not got anything that depends on MySQL running yet. I figured when I got past the Not Found errors I'd see what I needed to do to get the conection the the DB going. I have not found anything in the docs about setting up the requisite tables yet, either. But the Not Fond error has to be corected before I get to that, right? Ampache requires MySQL 4.1 or higher, per the requirements at http://ampache.org/ OK, we seem to be OK there: Server version: 5.0.75 FreeBSD port I believe the errors you're currently seeing are a result of the lack of a database. When you iniatially ran the web setup you should have been asked for database info. I ssume you mean setting up Ampache via a browserr connection to it, correct? If so, I have been unable to do that, yet as I can't get past the Not Found errors. A, I on the right track here? You can insert the tables manually, see section 2.2 of the INSTALL document. (/usr/local/www/ampache/docs/INSTALL) Looking at the doc, you referenced, it appears that I should be able to connect to beachcave.net/install.php Doing so resluts in: The requested URL /install.php was not found on this server. So I don't think I am quite as far along as you think I am :-( -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP setup question
On Sat, Jan 03, 2009 at 10:42:37PM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 11:24:02PM -0500, stan wrote: Looks as though you have a problem with your database. Probably. It's a new machine, and I have not got anything that depends on MySQL running yet. I figured when I got past the Not Found errors I'd see what I needed to do to get the conection the the DB going. I have not found anything in the docs about setting up the requisite tables yet, either. But the Not Fond error has to be corected before I get to that, right? Ampache requires MySQL 4.1 or higher, per the requirements at http://ampache.org/ I believe the errors you're currently seeing are a result of the lack of a database. When you iniatially ran the web setup you should have been asked for database info. You can insert the tables manually, see section 2.2 of the INSTALL document. (/usr/local/www/ampache/docs/INSTALL) Looking at this doc, I did find that I had incorectly copied ampache.cfg.php.dist to ampache.cfg.php So I removed thta. But I still get the The requested URL /install.php was not found on this server. error. It does look like if I gte past this, and can get the web installer running, I should be able to figure it out from thre. Thanks for the help. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Apache 2 docs question
I'm setting up a new web server on 7.1 using Apache 2. I am reusing an old top level index.html that's from an Apache 1 install. I created a sym link to the Apache docs at /usr/local/share/doc/apache22 to the old manuual name. Here's the snipet from the index.html file thta points at it: hr width=50% size=8 / pThe Apache a href=manual/documentation/a has been included with this distribution./p But I don;t get a useful display, from this. The index.html file that is in this directory does not look like I expect. I suspect that I need to set up something so that the language is defined, right? How can I do this? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: An Apache2 configuration question
On Fri, Jan 02, 2009 at 07:14:40AM -0500, Jerry wrote: On Fri, 2 Jan 2009 02:33:54 -0500 stan st...@panix.com wrote: I'm setting up a 7.1 machine thta will server as, among other things, a web serrver. I've installed Apache2. I have some directores in the Apache documnet directory that I wish to pasword protect. I have added the following clause to /usr/local/etc/apache22/httpd.conf. I have created a Directory /usr/local/www/data Options Indexes FollowSymLinks AllowOverride AuthConfig /Directory In the directories that I want protected, I have created .htaccess files that look like this: AuthName Pictures AuthType Basic AuthUserFile /usr/local/etc/apache22/users2 require valid-user I have used htpasswd to create the users2 file. Ecerything works the way that I want _execpt_ the top level web page directory index, does not display the directories that have .htaccess files in them. What do I need to do to fix this? Have you checked out this URL: http://httpd.apache.org/docs/1.3/howto/auth.html Thanks for the pointer. I read through it, and it does not discuss the visibility of directoiresm unfortunately. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives?
On Fri, Jan 02, 2009 at 05:48:27PM +0100, Wojciech Puchar wrote: think twice before doing. Could you elaborate please ? ZFS still doesn't work as described ... Is that comment FreeBSD specifc, or aimed at ZFS in general? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: postgresql network access problem
On Wed, Dec 31, 2008 at 09:22:22PM -0700, Andrew Falanga wrote: On Wed, Dec 31, 2008 at 5:42 PM, stan st...@panix.com wrote: I am having a bit of a problem enabling remote access to postgress on my 7.1 system. I have added to postgresql.conf listen_addresses = '*' and to pg_hba.conf hostall all XXX.159.77.0/24 trust XX is a real number, and is the first octect of the network that this mahcine lives on Now, it appears that I alos need to add the -i, or -h flag to the invocation of postgress itslef, but I can't seem to get the rc.conf sysntax corrcet for that. What should this entry look like? Stan, I'm not aware of anything needed in /etc/rc.conf other than postgresql_enable=YES I know the argument of which you speak. Lately, I've been using just UNIX domain sockets for access to my databases but I do remember having to use this argument, if memory serves it's the -i option, to enable access on TCP (basically, it tells the daemon to open TCP sockets when starting). I would, instead of looking for an rc.conf entry, edit the script that starts the postgresql server in /usr/local/etc/rc.d. From the following link, http://www.freebsddiary.org/postgresql.php, if you're using a recent server, perhaps 8.x, the file will be named postgresql. If you're using an older server, it will something like, 010.pgsql.sh. Find the appropriate line that starts the server and modify the arguments there. Thanks. I did get it working. Here is the line that I used in rc.conf: postgresql_flags=-o '-i' -w -s -m fast As a point of information, what was confusing me was, i had increased the number of connections in postgresql.conf. This had created a situation where I did not have enough kernel resources. This was loged in /var/log/messages. I crected this, but even then postgess would never start again, and no further messages werre put in /var/log/messages. I would up re init'g the database. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: inetd.conf entry for saned?
On Wed, Dec 31, 2008 at 04:25:20PM -0500, stan wrote: I seem to be having an inrdinate amount of trouble getting a working inetd.conf entry for saned on 7.1 If I run saned from the command line, I can connect and scan. But I cannot seem to amke it work from inetd Here is what I have: sane-port stream tcp nowait saned/usr/local/sbin/saned saned Yes, I created a user for saned. although I am suprsied that the port did not do that. When I start inetd with the -d flag, I get: black# inetd -d ADD : sane-port proto=tcp accept=1 max=0 user=saned group=(null)class=daemon builtin=0x0 server=/usr/local/sbin/saned policy= inetd: sane-port/tcp: ipsec initialization failed; in entrust inetd: sane-port/tcp: ipsec initialization failed; out entrust inetd: enabling sane-port, fd 4 inetd: registered /usr/local/sbin/saned on 4 What file do I add this line to? For the record, here is wgat I woulnd up with, and it appears to work. In /etc/inetd.conf I have: sane-port stream tcp nowait saned /usr/local/sbin/saned saned Which is what I had, but what I was missing is TCP Wrappers, which are configuered (much to my suprise) in /etc/hosts.allow, that is where this line needed to go: sane-port proto=tcp accept=1 max=0 user=saned group=(null)class=daemon builtin=0 x0 server=/usr/local/sbin/saned policy= Having been doing this a long time, altjough never having dealt with TCP Wrappers in the past, I recall this file having a somewhat different purpose in the pat, so I thought it was just a leagcy file. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Nice web interface or music?
I's like to set up my MP3's so that I can access them from the web server on my Free-BSD 7.1 machine. Is there a port, that provides a nice interface to this? I'd like something better than just letting Apache display the directories. Sugestins? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Nice web interface or music?
On Thu, Jan 01, 2009 at 03:29:05PM -0500, Chris Hill wrote: On Thu, 1 Jan 2009, stan wrote: I's like to set up my MP3's so that I can access them from the web server on my Free-BSD 7.1 machine. Is there a port, that provides a nice interface to this? I'd like something better than just letting Apache display the directories. I like audio/squeezecenter. K, I installed the port, and pointed my browserr at port 9000 to cofigure it as the instructions sugewsted. I got a page congratulating me on my purchase of some hardware, andit said I needed to create an account on thier system. Weird What am I misunderstanding here? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Nice web interface or music?
On Thu, Jan 01, 2009 at 06:15:15PM -0800, George Hartzell wrote: In addition to the java clients, you can also go lower tech. and try this: http://www.ex-parrot.com/~pdw/slimp3slave/ or even the lower tech comment from that web site: [...] to running mpg123 http://slimserver:9000/stream.mp3 I am begining to think, from this and some other replies that I have ecieved, that I was not clear in my original question. Let me clarify. What I am looking for is a package, that will allow remote users to access MP#'s stored on my machine, from a web based interface, that presents the files in an organized fashion. I think that the remote userrs should be able to play these files using the built in capabilites of thier web browser to send the files to an appropriate program running on thier local machine (EG Winamp). In addition, I want these userrs to be able to downlaod the MP3's to thier local machine, so that they can put them on thier local laptop, or Ipod, or whatever. Is this clearer? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
An Apache2 configuration question
I'm setting up a 7.1 machine thta will server as, among other things, a web serrver. I've installed Apache2. I have some directores in the Apache documnet directory that I wish to pasword protect. I have added the following clause to /usr/local/etc/apache22/httpd.conf. I have created a Directory /usr/local/www/data Options Indexes FollowSymLinks AllowOverride AuthConfig /Directory In the directories that I want protected, I have created .htaccess files that look like this: AuthName Pictures AuthType Basic AuthUserFile /usr/local/etc/apache22/users2 require valid-user I have used htpasswd to create the users2 file. Ecerything works the way that I want _execpt_ the top level web page directory index, does not display the directories that have .htaccess files in them. What do I need to do to fix this? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Web server password management
I am setting up an Aoache2 webserver, and I want to require authenticon for some of it's contents. I am thinking of using htaccess. Is there a package that I can install that will allow users to request that various account management tasks be done. What I have in mind is a page that let's people request accounts, allows me to approve these request, and updates the users for for htpassword? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Scaner setup question
I am trying to set up my HP C2520A scanner on 7.1 san-find-scanner finds it at /dev/pass0, byt that device is only acessible to root: crw--- 1 root operator0, 104 Dec 30 18:10 /dev/pass0 Now obviously I could change this, but i am wondering what the correct way to allow ordinary users to access tis device is? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
PostgreSQL setup
I have installed PostgreSQL via the ports on a new 7.1 machine. I am trying to set it up. I found: http://www.freebsddiary.org/postgresql.php Whic says to run: su -l pgsql -c initdb But that gives me the following error message: initdb: no data directory specified You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA. But when I try: # su -l pgsql -c initdb -D /usr/local/postgres I get: Illegal option -D What am I doing wrong? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ssh and X11 problem
I just built a new 7.1 machine, and when I ssh from a Linux box to it I get the following errors: usr/local/bin/xauth: (stdin):1: bad display name unix:10.0 in remove command /usr/local/bin/xauth: (stdin):2: bad display name unix:10.0 in add command And I cannit get ssh to foward the X protocol. Yes I have added ForwardX11 yes to /etc/ssh/ssh_config What am I doing wrong? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
scanner setup question
I am trying to set up a new machine that has an HP scanner atached to it. I am a bit confused at the moment. I am trying to set up to allow users to acess this scanner. I have added this to /etc/devfs.conf perm pass0 0660 And that seesm to work: # ls -l /dev/pas* crw-rw 1 root operator0, 104 Dec 31 12:07 /dev/pass0 I have added my suer to the operator group # grep stan /etc/gro* wheel:*:0:root,stan operator:*:5:root,stan network:*:69:stan stan:*:210: Running san-find-scanner as me finds the sacnner: found SCSI processor HP C2520A 3503 at /dev/pass0 But, $ scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). What am I doing wrong? BTW as root: # scanimage -L device `hp:/dev/pass0' is a Hewlett-Packard C2520A flatbed scanner -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ssh and X11 problem
On Wed, Dec 31, 2008 at 12:41:48PM -0500, Glen Barber wrote: On Wed, 2008-12-31 at 12:35 -0500, stan wrote: I just built a new 7.1 machine, and when I ssh from a Linux box to it I get the following errors: usr/local/bin/xauth: (stdin):1: bad display name unix:10.0 in remove command /usr/local/bin/xauth: (stdin):2: bad display name unix:10.0 in add command And I cannit get ssh to foward the X protocol. Yes I have added ForwardX11 yes to /etc/ssh/ssh_config What am I doing wrong? I assume you have xserver on the FreeBSD box? Check your display name. I'm pretty sure it's supposed to be 'hostname:0:0'. Perhaps I was not clear. Yes I do have the X server running on the FreeBSD machine, but that should not matter, as I am ssh'ing _from_ the Linux box which does have a working X server on it also, and can ssh to other machines and get X fowarded corectly. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ssh and X11 problem
On Wed, Dec 31, 2008 at 12:58:18PM -0500, Glen Barber wrote: On Wed, 2008-12-31 at 12:54 -0500, stan wrote: On Wed, Dec 31, 2008 at 12:41:48PM -0500, Glen Barber wrote: On Wed, 2008-12-31 at 12:35 -0500, stan wrote: I just built a new 7.1 machine, and when I ssh from a Linux box to it I get the following errors: usr/local/bin/xauth: (stdin):1: bad display name unix:10.0 in remove command /usr/local/bin/xauth: (stdin):2: bad display name unix:10.0 in add command And I cannit get ssh to foward the X protocol. Yes I have added ForwardX11 yes to /etc/ssh/ssh_config What am I doing wrong? I assume you have xserver on the FreeBSD box? Check your display name. I'm pretty sure it's supposed to be 'hostname:0:0'. Perhaps I was not clear. Yes I do have the X server running on the FreeBSD machine, but that should not matter, as I am ssh'ing _from_ the Linux box which does have a working X server on it also, and can ssh to other machines and get X fowarded corectly. You need an xserver to connect *to*, which is why I asked. On the FreeBSD machine? I may be confused, but I think that on the FreeBSD machine the client tassk (eg xclock) is run, and it is pointed to the server on the machine that I am connecting _from_. Am I confused? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ssh and X11 problem
On Wed, Dec 31, 2008 at 01:32:23PM -0500, Glen Barber wrote: On Wed, 2008-12-31 at 13:02 -0500, stan wrote: On the FreeBSD machine? I may be confused, but I think that on the FreeBSD machine the client tassk (eg xclock) is run, and it is pointed to the server on the machine that I am connecting _from_. Am I confused? The task runs on the host machine (using the Xserver) and is forwarded over SSH to the client machine. The client task you refer to is on the host machine. The terms sever, and client are backwards from the intuitve expectaion in the X world. The server is the process (X) taht actually updates the screen with graphics (eg draw box). The client is the process that wisfes to access the serrver to put somehting on the screen (eg xclcok). So, in this case the server is on the Linux machine, and the client(s0 are on the FreeBSD machine. For the record, I solved the problem. Thier was no hostname entry in /etc/rc.conf. hostname returned nothig. Fixing this, and rebooting cured this problem. Thaks to veryone for making me think this through. Now, if somebady cna just give me a clue on the scanner issue (see seperate thread). -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: scanner setup question
On Wed, Dec 31, 2008 at 12:52:40PM -0500, stan wrote: I am trying to set up a new machine that has an HP scanner atached to it. I am a bit confused at the moment. I am trying to set up to allow users to acess this scanner. I have added this to /etc/devfs.conf perm pass0 0660 And that seesm to work: # ls -l /dev/pas* crw-rw 1 root operator0, 104 Dec 31 12:07 /dev/pass0 I have added my suer to the operator group # grep stan /etc/gro* wheel:*:0:root,stan operator:*:5:root,stan network:*:69:stan stan:*:210: Running san-find-scanner as me finds the sacnner: found SCSI processor HP C2520A 3503 at /dev/pass0 But, $ scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). What am I doing wrong? BTW as root: # scanimage -L device `hp:/dev/pass0' is a Hewlett-Packard C2520A flatbed scanner I did finally resolve this, although I am not certain whu this works. I woulnd up putting the following 3 lines in /etc/devfs.conf own pass0 root:operator permpass0 0660 linkpass0 scanner The one I did not have in here, when it was not working was the link. Strange that tunning as root sane checks the pass0 device, but noot when running as an ordianry user. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
inetd.conf entry for saned?
I seem to be having an inrdinate amount of trouble getting a working inetd.conf entry for saned on 7.1 If I run saned from the command line, I can connect and scan. But I cannot seem to amke it work from inetd Here is what I have: sane-port stream tcp nowait saned/usr/local/sbin/saned saned Yes, I created a user for saned. although I am suprsied that the port did not do that. When I start inetd with the -d flag, I get: black# inetd -d ADD : sane-port proto=tcp accept=1 max=0 user=saned group=(null)class=daemon builtin=0x0 server=/usr/local/sbin/saned policy= inetd: sane-port/tcp: ipsec initialization failed; in entrust inetd: sane-port/tcp: ipsec initialization failed; out entrust inetd: enabling sane-port, fd 4 inetd: registered /usr/local/sbin/saned on 4 What file do I add this line to? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
postgresql network access problem
I am having a bit of a problem enabling remote access to postgress on my 7.1 system. I have added to postgresql.conf listen_addresses = '*' and to pg_hba.conf hostall all XXX.159.77.0/24 trust XX is a real number, and is the first octect of the network that this mahcine lives on Now, it appears that I alos need to add the -i, or -h flag to the invocation of postgress itslef, but I can't seem to get the rc.conf sysntax corrcet for that. What should this entry look like? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Marvel NFE driver in 6 CURRENT
I'm building a new machine which (I beleive) needs the NFE driver fr the onboard NIC's. It appears that there is a third part (as in not in tree) driver for this chipset, Why is this not in 6.2 CURRENT? Are the issues with it? -- I'm sorry, no one here has any intentions of helping you with anything. I am the manager of all of Customer Service. - End forwarded message - -- I'm sorry, no one here has any intentions of helping you with anything. I am the manager of all of Customer Service. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem upgrading ports
I've gt a 6 STABLE machine that I just cvsup'd the ports tree on , and am trying to use portmamager to upgrade the installed ports. But when I run: portmamager -u -r -R I get the folowing: removing: /usr/sbin/pkg_delete -f executing: /bin/rm -r /usr/ports/x11-fonts/xorg-fonts-encodings (OK to ignore error) rm: /usr/ports/x11-fonts/xorg-fonts-encodings: No such file or directory MGPMrParse 0.4.1_6 error: dependencyPortName-= MGrStrlen( dependencyPortName )-=0 dependencyPortDir-=/x11-fonts/xorg-fonts-encodings MGrStrlen( dependencyPortDir )-=31 MGPMrParse 0.4.1_6 error: Error in Makefile??? MGPMrDependencyParse 0.4.1_6 error: MGPMrParse returned an error rrFillDependencies 0.4.1_6 error: MGPMrDependencyParse returned an error rrFindDepends 0.4.1_6 error: rrFillDependencies returned an error MGPMrCreateAllUpdateStatusDb 0.4.1_6 error: rrFindDepends returned errorCode 1 rPmUpgradeNewMethod 0.4.1_6 error: MGPMrCreateAllUpdateStatusDb returned errorCode 1 What am I doing wrong? -- I'm sorry, no one here has any intentions of helping you with anything. I am the manager of all of Customer Service. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Szakacsits Szabolcs/ ntfs-3g--PLEASE FORWARD
Whoever forwarded my email concerning ntfs-3g to Szakacsits Szabolcs, please forward this as well, since the email address he provided bounced! TIA, Stan Szakacsits Szabolcs [EMAIL PROTECTED] wrote: Error opening partition device: Operation not permitted It seems one important error message is missing above this line or you don't use the stable ntfs-3g 1.0 version. Correct? If there is another line then what's that? I copied and pasted the entire message and just now double-checked it, so yes, that's the whole message, and no, I didn't miss a line. Regarding the version, uh, I can't find it. I even read /usr/local/include/ntfs-3g/version.h and nothing there! I built it from the latest port after rebuilding my port tree. Failed to startup volume: Operation not permitted Failed to mount '/dev/ad0s1': Operation not permitted The NTFS partition is hibernated. Please resume Windows and turned it off properly, so mounting could be done safely. The ntfs-3g reliability sanity check could be too paranoid. Please mount the partition read-only and send the output of the below 'hexdump' command, so we could fix this problem. ntfs-3g /dev/ad0s1 /win -o force,ro hexdump -C /win/hiberfil.sys | head -20 od -tx1 /win/hiberfil.sys # ntfs-3g /dev/ad0s1 /win -o force,ro Failed to open /proc/filesystems: No such file or directory modprobe: not found Failed to open /proc/filesystems: No such file or directory # hexdump -C /win/hiberfil.sys | head -20 hexdump: /win/hiberfil.sys: No such file or directory # od -tx1 /win/hiberfil.sys od: /win/hiberfil.sys: No such file or directory Now, I hate to disappoint you, but my satellite Internet connection is going to be turned off at any time. Could be days, could be midnight my time. I quit paying ;) If that happens, I won't be checking email until around Wednesday, and will only be in front of a computer with an Internet connection once a week (for the whole day). GMT+5, will sign on around 9:00 my time. But keep trying until you don't hear back from me ;) Thanks, Stan2 - Don't get soaked. Take a quick peek at the forecast with theYahoo! Search weather shortcut. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Write To Win Drive?
Szakacsits Szabolcs [EMAIL PROTECTED] wrote: Your problem seems to be not hibernation but FreeBSD ports related. Something thinks that you don't have permission to do what you want. Ntfs-3g doesn't have EPERM errors besides hibernation related problems during mount but your problem is indeed not that. Then I assume the proper authority has been apprised of the situation and I will wait until it is fixed. Thanks, Stan - It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How Write To Win Drive?
Garrett Cooper writes: # ntfs-3g /dev/ad0s1 /win Failed to open /proc/filesystems: No such file or directory modprobe: not found Failed to open /proc/filesystems: No such file or directory Error opening partition device: Operation not permitted Failed to startup volume: Operation not permitted Failed to mount '/dev/ad0s1': Operation not permitted The NTFS partition is hibernated. Please resume Windows and turned it off properly, so mounting could be done safely. TIA, Stan /proc's in this case's strictly a linux thing, right? IIRC fuse was ported from Linux, so some stuff may be in the wrong spots.. 2So, in other words, wait for the developers to work out this bug? Or is there a way to work around it? Also, is it possible to mount and read/write to my thumb drive? TIA, Stan - Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Write To Win Drive?
Szakacsits Szabolcs [EMAIL PROTECTED] wrote: Error opening partition device: Operation not permitted It seems one important error message is missing above this line or you don't use the stable ntfs-3g 1.0 version. Correct? If there is another line then what's that? I copied and pasted the entire message and just now double-checked it, so yes, that's the whole message, and no, I didn't miss a line. Regarding the version, uh, I can't find it. I even read /usr/local/include/ntfs-3g/version.h and nothing there! I built it from the latest port after rebuilding my port tree. Failed to startup volume: Operation not permitted Failed to mount '/dev/ad0s1': Operation not permitted The NTFS partition is hibernated. Please resume Windows and turned it off properly, so mounting could be done safely. The ntfs-3g reliability sanity check could be too paranoid. Please mount the partition read-only and send the output of the below 'hexdump' command, so we could fix this problem. ntfs-3g /dev/ad0s1 /win -o force,ro hexdump -C /win/hiberfil.sys | head -20 od -tx1 /win/hiberfil.sys # ntfs-3g /dev/ad0s1 /win -o force,ro Failed to open /proc/filesystems: No such file or directory modprobe: not found Failed to open /proc/filesystems: No such file or directory # hexdump -C /win/hiberfil.sys | head -20 hexdump: /win/hiberfil.sys: No such file or directory # od -tx1 /win/hiberfil.sys od: /win/hiberfil.sys: No such file or directory Now, I hate to disappoint you, but my satellite Internet connection is going to be turned off at any time. Could be days, could be midnight my time. I quit paying ;) If that happens, I won't be checking email until around Wednesday, and will only be in front of a computer with an Internet connection once a week (for the whole day). GMT+5, will sign on around 9:00 my time. But keep trying until you don't hear back from me ;) Thanks, Stan - Get your own web address. Have a HUGE year through Yahoo! Small Business. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Write To Win Drive?
Vince [EMAIL PROTECTED] wrote:hmm sounds kind of like the fuse kmod isnt loaded. whats the output of kldstat ? # kldstat Id Refs AddressSize Name 14 0xc040 6f6544 kernel 21 0xc0af7000 59f20acpi.ko 31 0xc33a9000 a000 ntfs.ko you should have a module fuse.ko loaded. If not, check the file exists (it should be in /usr/local/modules/ ) It does exist If it is there then try kldload fuse Hmmm... # kldload fuse kldload: can't load fuse: No such file or directory # kldload /usr/local/modules/fuse.ko # then try the ntfs-3g command again. Same problem as before.: # ntfs-3g /dev/ad0s1 /win Failed to open /proc/filesystems: No such file or directory modprobe: not found Failed to open /proc/filesystems: No such file or directory Error opening partition device: Operation not permitted Failed to startup volume: Operation not permitted Failed to mount '/dev/ad0s1': Operation not permitted The NTFS partition is hibernated. Please resume Windows and turned it off properly, so mounting could be done safely. TIA, Stan - Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Write To Win Drive?
Yeah, I'm kinda puzzled by that hibernation line. The server was down. I booted up directly into FBSD and ran the command again (just to be sure) and it gave me the same error. Why? I didn't touch Windoze! Stan2 Vince [EMAIL PROTECTED] wrote: Stan Cooper wrote: Same problem as before.: # ntfs-3g /dev/ad0s1 /win Failed to open /proc/filesystems: No such file or directory modprobe: not found Failed to open /proc/filesystems: No such file or directory Error opening partition device: Operation not permitted Failed to startup volume: Operation not permitted Failed to mount '/dev/ad0s1': Operation not permitted The NTFS partition is hibernated. Please resume Windows and turned it off properly, so mounting could be done safely. So not quite the same problem. you could try the -o force although it sounds like a bad idea. Your best bet sounds like booting into windows then shutting down instead of hibernating like the error says (sorry if i missed a post where you explained why you couldnt do this.) Vince TIA, Stan - Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Looking for earth-friendly autos? Browse Top Cars by Green Rating at Yahoo! Autos' Green Center. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Write To Win Drive?
Okay, making progress. The problem was the distro was copied before Dec 6, so I had to rebuild the ports tree. That done, I built out fuesfs-ntfs. But I still can't mount the drive. I edited /etc/fstab thus: /dev/ad0s1/winfuserw00 I also tried fusefs in the above. Then I ran: # mount_fusefs /dev/ad0s1 /win mount_fusefs: /dev/ad0s1 on /win: Operation not supported by device. Am I screwed? TIA, Stan - Get your own web address. Have a HUGE year through Yahoo! Small Business. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Write To Win Drive?
# ntfs-3g /dev/ad0s1 /win Failed to open /proc/filesystems: No such file or directory modprobe: not found Failed to open /proc/filesystems: No such file or directory Failed to create /dev/fuse: No such file or directory fuse: failed to open fuse device: No such file or directory What am I doing wrong? TIA, Stan2 Vince [EMAIL PROTECTED] wrote: Stan Cooper wrote: Okay, making progress. The problem was the distro was copied before Dec 6, so I had to rebuild the ports tree. That done, I built out fuesfs-ntfs. But I still can't mount the drive. I edited /etc/fstab thus: /dev/ad0s1/winfuserw00 I also tried fusefs in the above. Then I ran: # mount_fusefs /dev/ad0s1 /win mount_fusefs: /dev/ad0s1 on /win: Operation not supported by device. Am I screwed? TIA, Stan The command for fusefs-ntfs is ntfs-3g not mount_fusefs. no idea how to have fstab use it as the example given in the manpage is for linux. Vince - Get your own web address. Have a HUGE year through Yahoo! Small Business. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Get your own web address. Have a HUGE year through Yahoo! Small Business. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Write To Win Drive?
Roland Smith [EMAIL PROTECTED] wrote:Try /usr/ports/sysutils/fusefs-ntfs instead. It's newer and is supposed to support writing. Hmm. Well, there's no such port in FBSD. There is such a port, however, available from Absolute FBSD. So I d/l'd it and all the required to build products. I checked to see if libtool15 was built on my system. It was, so I didn't bother with that. I built out fusefs-libs, then fusefs-kmod, all successfully. However, when I tried to compile fusefs-ntfs, I got an error and was referred to the d/l page http://freeports.org/sysutils/fusefs-ntfs for information...which only seems to tell me I need to build the other products (which I just built) first. Perhaps this doesn't work on FBSD? TIA, Stan - 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Write To Win Drive?
Kevin Kinsey [EMAIL PROTECTED] wrote: Stan Cooper wrote: Roland Smith wrote:Try /usr/ports/sysutils/fusefs-ntfs instead. It's newer and is supposed to support writing. Hmm. Well, there's no such port in FBSD. Are you certain? [EMAIL PROTECTED]/usr/ports] uname -s FreeBSD [EMAIL PROTECTED]/usr/ports] ll IN*6 -rw-r--r-- 1 root wheel 9888013 Feb 6 09:33 INDEX-6 [EMAIL PROTECTED]/usr/ports] ll sysutils/fusefs-ntfs total 1 -rw-r--r-- 1 root wheel 1075 Feb 20 21:25 Makefile -rw-r--r-- 1 root wheel 214 Feb 20 21:25 distinfo drwxr-xr-x 2 root wheel 512 Jan 21 02:09 files/ -rw-r--r-- 1 root wheel 354 Dec 5 16:56 pkg-descr -rw-r--r-- 1 root wheel 840 Dec 5 16:15 pkg-plist Geez, well I just copied your commands directly and, naturally, the first two went without a hitch, but the last one gave me No such file or directory, and yes, I did that from /usr/ports And that's well over a month old. According to freshports.org, this port was added on December 6th. I built this system this year. So you'd think it'd be there, right? I wouldn't know; but I'd try the port, because if it failed I might get some support from this community. Well, let's hope some help's forthcoming ;) TIA, Stan - Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How Write To Win Drive?
Hi; I have a windoze drive set up in my fstab that I can access and read, but I can't write to it! The permissions are set rw...doesn't that mean read *and* write? I'm confused. TIA, Stan 2 - Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Write To Win Drive?
Eric writes: what kind of file system? fat or NTFS? I dont think you can write to NTFS drives from BSD can you, at least not without a port? see if this port helps: ntfsprogs More here: http://tldp.org/HOWTO/Filesystems-HOWTO-5.html76 Yes, Eric, you're right, it is an NTFS drive. Didn't know there was any other kind ;) I installed ntfsprogs and read the man, but couldn't find the command ntfsmount anywhere in my system! I'm not even sure that's the command I need, but where is it?! I read the above page, and all I got out of it is this: Driver allows to mount NTFS volumes under FreeBSD and NetBSD. We also support limited writing ability: you can write into not comressed files without holes, but you can't change the size of file yet. Write support was made to swap on NTFS volume. So, apparently, there is limited write ability, but I have no idea what that means. Even when I try to copy a simple README file over, I can't. Seems like it's really limited in its write ability! Tore writes: If it is FAT32, my best guess is that you do not have permisson to write. In that case, log in as root, umount the drive, set new permissions, etc. How do I find out if it's FAT32? I'm running XP. Also, what do you mean set new permissions? The permissions are set to rw. Isn't that good enough? Roland writes: How is the drive mounted? If you type mount does it show the drive to be mounted read-only? I unmounted, typed mount /win and it just gave me a prompt. But the command I really need to use, if I understand correctly, is mount_ntfs /dev/ad0s1 /win. TIA, Stan2 Roland Smith [EMAIL PROTECTED] wrote: On Tue, Mar 27, 2007 at 06:02:57AM -0700, Stan Cooper wrote: Hi; I have a windoze drive set up in my fstab that I can access and read, but I can't write to it! The permissions are set rw...doesn't that mean read *and* write? I'm confused. How is the drive mounted? If you type mount does it show the drive to be mounted read-only? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) - Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Uptime
It was that obvious, huh? :-) Thanks, Stan Don O'Neil [EMAIL PROTECTED] wrote: Type uptime at the prompt. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stan Cooper Sent: Thursday, March 22, 2007 11:45 PM To: freebsd-questions@freebsd.org Subject: Uptime Hi; How do I determine the uptime of my server? Thanks, Stan2 - TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 2 - TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How Do I Surf From FBSD?
Hi; I have a server I just built with FBSD and I'd like to be able to surf using a browser. What do I need to build to make that happen? Thanks, Stan2 - Don't get soaked. Take a quick peek at the forecast with theYahoo! Search weather shortcut. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Do I Surf From FBSD?
Thanks!2 Pietro Cerutti [EMAIL PROTECTED] wrote: On 3/22/07, Stan Cooper wrote: Hi; I have a server I just built with FBSD and I'd like to be able to surf using a browser. What do I need to build to make that happen? I think the first problem here is having the words server and surf in the same sentence... Anyway, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html Thanks, Stan2 - Don't get soaked. Take a quick peek at the forecast with theYahoo! Search weather shortcut. -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org - Need Mail bonding? Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Uptime
Hi; How do I determine the uptime of my server? Thanks, Stan2 - TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]