Re: Script doesn't complete via Cron
- Original Message - From: Gerard Samuel [EMAIL PROTECTED] To: FreeBSD Questions [EMAIL PROTECTED] Sent: Friday, September 12, 2003 1:26 PM Subject: Script doesn't complete via Cron When I execute the script by hand, it completes without any problems. When I let a cronjob handle it, it doesn't scp the zip file to the remote server. I don't get any errors in /var/log/auth.log or /var/log/messages Anyone has any ideas on how to fix this up? Thanks Try having the script call scp by the /path/to/the/scp/executable. HTH, Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help
- Original Message - From: Ricardo Javier Aranibar León [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 9:48 AM Subject: Help Hi, I'm newbie using FreeBSD, I bougth from FreeBSDMall(4 cd's) I installed: Apache-1.3.27_4 mod_auth_pgsql_0.9.12_1 mod_php4-4.3.1 PostgreSQL 7.3.2 I can't find the file php.ini I like config my repository. Check under /usr/local/lib, or /usr/local/lib/php, or /usr/local/share/PEAR. and from php I can't connect to Postgresql I have this error Fatal error: call to undefined function pg_connect() But my script phpinfo(); show me ?php echo Hello; $conn = pg_connect(dbname=phpdb); ? The result of this script is Hello Fatal error: call to undefined function pg_connect() Regards, Ricardo Try ?php phpinfo(); ? and make sure that PostGres support was compiled. HTH, Kevin Kinsey, DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: converting internet addresses
From: Michal F. Hanula [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 08, 2003 6:13 AM Subject: Re: converting internet addresses [EMAIL PROTECTED] dnsip this.is.almost.certainly.a.dns.wild.card.kwiki.org 65.214.160.247 Yes, this certainly explains it, LOL... Wonder if lee_shackleton caught this? KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Making a certain cron job
David Fleck said: Date=`date +%Y-%m-%d` cat /var/log/http/${Date}-error_log | mail -s log [EMAIL PROTECTED] From: Jason Lieurance [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, September 07, 2003 9:44 PM Subject: Re: Making a certain cron job Hello, Thank you for the response. Does the date part (Date=`date +%Y-%m-%d`) go as part of the cron job? Thanks again. -- Jason I'd say not. Save the lines he wrote as somescript.sh and put the following command in your crontab at the desired time: /bin/sh /path/to/somescript.sh Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Images of FreeBSD
From: Virgil [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 06, 2003 8:53 PM Subject: Images of FreeBSD I would like to know if their is any way I can find any images of what the desktop looks like in BSD, I have searched extensively for days and tried numerous ways to contact others and can't find absolutely no information about BSD, I would like to know what it looks like before I try to install it and also to see what programs are with it and what programs are available for it, I am mostly looking for a OS to replace Windows for video editing purposes. Thanks very much for your time and hope to hear something soon. Virgil Gross There is a sticky thread on the forum at freebsdforums.org, I believe in the FreeBSD General category, in which several people have posted screenshots of their BSD desktops. I don't know, on the other hand, how many people are using BSD for video editing. It would likely be a rather small user niche, but I could be quite wrong. The Good News: Mac OS X is based on BSD, stable as a rock, and has lots of video editing SW available, and a large user base in the community of video editors. Bad side, it isn't free. HTH, Kevin Kinsey DaleCo, S.P ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: virus scan programs
If so, could you describe the Unix/BSD approach to locating and eradicating these invaders of one's hard drive? If the issue is already explained in either printed literature, or posted at a world wide web site, it is sufficient to cite the location. Many thanks for your response. There are extremely few known viruses that affect any BSD systems. Occasionally, issues are found with other software, such as the Apache Web Server, or Sendmail, or ??. Also, occasionally, actual real people attempt illegal access of such systems. They should be called crackers, although some people still use the antithetical term that starts with a h instead of a cr. Since you are in the government, I'd simply suggest hunting these people down and killing them. ;-) #man kill Remember that PID 1 is you :-) If you are talking about using FreeBSD to protect users of that other Operating System from Redmond, here's a good article: http://bsdatwork.com/reviews.php?op=showcontentid=1 Perhaps a bit dated, but should get you going in the right direction. HAND, Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: converting internet addresses
From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 05, 2003 12:00 PM Subject: converting internet addresses Dear BSD enthusiast, Greetings. I am a newcomer to the BSD/Unix world. See below. My question is this: What is the difference between what I am telling the DNS server and outgoing gateway router to do when I enter into my browser address box 'http://www.bsdcon.kwiki.org' and when I enter into my browser address box 'http://bsdcon.kwiki.org'? No difference whatsoever, as you may have noted that both hostnames resolve to the same IP address. Likely they are different folders on the same server. This would be an example of name based virtual hosting, which is possible since the implementation of HTTP 1.1 The server recognizes the browser's request by name (bsdcon.kwiki.org) and serves from the web folder configured to receive that request. www.bsdcon.kwiki.org sends you to some other folder in the same way, or perhaps it is unconfigured and sends you instead to the 'default' folder at that site. Seems unusual that it would be in DNS and not specifically configured, but that's a possibility. My place of employment is a large agency with thousands of client machines. Yeah, the California Dept of Transportation. OK. Most of the clients use Microsoft Windows 2000 Professional operating system. Most of the servers use either Novell operating system, or I.B.M. Domino operating system. You said that already, too. I feel sorry for them, maybe ;-) Nonetheless, welcome to the world of FreeBSD. Kevin Kinsey, DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can not rmdir
From: Henrik Hudson [EMAIL PROTECTED] To: Edouard Saksonov [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, August 22, 2003 2:55 PM Subject: Re: Can not rmdir And if you don't want it to prompt you, do: rm -rf dir_name Be careful though..this can and will wipe your whole system if you accidentally type: rm -rf / and then tap the enter key :) and yes, I've done it both on purpose to see what happens and not on purpose. The former is kinda cool, the latter makes you say a few choice words. Henrik A few choice words!? You are indeed a mild-tempered gentleman ... ;-) KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hi Quick question
From: Eric Murphy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 08, 2003 10:52 PM Subject: Hi Quick question Is there a command to browse files by pages? When ever I ls in a big dir, I can't shift page up for some reason. This is very annoying =( Heh, the replies here are good, but there's a humor possibility ... Think about the old quote Less is More --- ls | morels | less To Eric, one more thing: on most terminals you can press the Scroll Lock key and then use the arrow keys to browse the terminal output up to the limit of its memory buffer ... Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp.gnu.org got cracked... how does this affect FreeBSD?
From: Martin [EMAIL PROTECTED] To: FreeBSD Questions Mailing List [EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 3:50 PM Subject: ftp.gnu.org got cracked... how does this affect FreeBSD? http://ftp.gnu.org/MISSING-FILES.README They are still checking the archives and the available checksums. It seems that the sources have not been modified. FreeBSD contains some GNU software. How is it handled when foreign sources are imported? I just want to know to sleep better this night... The ftp-server was cracked in March(!)... just imagine that. Lots of things can happen in such a long period of time. Martin One thing that's happening is some port dependencies won't make --- at least this was true late last week or early this one; tried building /usr/ports/lang/php4 with aspell support and the Makefile couldn't find the aspell library tarball anywhere on its list...a quick perusal of ftp.gnu.org showed that the files were removed until verification had taken place... KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: static IP address will not go away!
From: Ray Hicks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 9:55 AM Subject: static IP address will not go away! I have a new internet connection and my new provider here will DHCP me an address. I changed /etc/rc.conf to reflect the interface should now DHCP and removed the static IP entry. Now when I ifconfig -a the interface It shows 2 IP addresses. The old one I had manually put there and the one it DHCP'd for. I have removed the entries from rc.conf for the static IP. Can anyone suggest where it might be coming from? I am using FreeBSD 5.1-RELEASE. The system has been rebooted or the interface has been brought down/up? KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
re: Installing PHP4 from ports fail
From: Gregory Norman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 02, 2003 9:49 AM Subject: Installing PHP4 from ports fail I installed apache13-server. Will this installation allow me to use ssl? Not AFAIK. You probably need apache+mod_ssl or apache-ssl (? - the English one ... Greg Laurie, IIRC)... When I try to install php the installation fail repeatedly at this point. -Wl,-rpath -Wl,/usr/local/lib ../lib/libbison.a Making all in doc makeinfo --no-split -I . `test -f 'bison.texinfo' || echo './'`bison.texinfo -o bison.info bison.texinfo:37: Unknown command `copying'. bison.texinfo:58: Unmatched [EMAIL PROTECTED]'. bison.texinfo:93: Unknown command `insertcopying'. makeinfo: Removing output file `bison.info' due to errors; use --force to preserve. *** Error code 2 Stop in /usr/ports/devel/bison/work/bison-1.75/doc. *** Error code 1 Stop in /usr/ports/devel/bison/work/bison-1.75. *** Error code 1 Stop in /usr/ports/devel/bison/work/bison-1.75. *** Error code 1 Stop in /usr/ports/devel/bison. After the installation failed I did the following: make clean /usr/ports/lang/php4 cd /usr/ports/devel/bison make clean make The bison installation fails repeatedly at the same place and with the same error messages as the php installation. If someone could help me, offer any suggestions or pointers I would appreciate it. Gregory Norman I've basically given up on building anything that's not just about the latest source. Probably a good idea from a security standpoint. The issues focus around compatibility in code. If you're running 4.4-release, you've got a codebase that's almost two years old. If you've updated /usr/ports, you have a much newer version of PHP. IIRC, bison is part of /usr/src/gnu, so it's probably outdated as well, unless you've installed a newer version yourself. Sorry I'm of little help. My solution (I rebuilt mod_php4 yesterday) is to run -STABLE, and cvsup /usr/ports before compiling anything ... Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I want using FreeBSD, but...
From: Kirk Strauser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 25, 2003 9:34 AM Subject: Re: I want using FreeBSD, but... --- I suppose I might be offended by the comment, but: On the behalf of Christian FreeBSD users everywhere: screw you. That's not *our* job... Kevin Kinsey Daleco, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie...
I've been messing around with the installion of Freebsd and think I've got it after a few tries (I think). I'm at the username # command line. It also says I got mail. But now I'm so lost. I've downloaded Doc's, handbooks and other information but I don't know where to go next. If anyone could give me a few pointers, it's would be greatly appreciated! Thank You, Robert Colon Network Administrator http://www.lakeluregolf.com Well, if it says I got mail I'd type: #man mail and read the instructions, or if I was a dare-devil I'd just type #mail and take a look... And, as someone else said, you gotta decide what you wanna do next Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Huge load average on mail server
From: John Fox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 4:37 PM Subject: Huge load average on mail server I recently became responsible for our mail server, and lately, the load average on the thing has been running consistently high, in mid-20's to mid-30's. And at the same time, sendmail has become extremely sluggish in terms of responding to connections on port 25. There's got to be a bottleneck somewhere, but my experience leaves me ill-equipped to seek it out. What procedures would folks recommend for me to follow in order to try and determine the problem? Thank you, john In addition to other thoughts on this thread, if it IS the MTA: Examine queues; attempt to find patterns in logs, check DNS speed/configuration, check disks, memory, etc. KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sendmail reject non-extant hosts? RFC1123
I'm not happy that Sendmail is allowing connections from non- existent hosts (i.e., spammers...) I run Sendmail more or less straight out of the box on -stable. I had been under the impression that the line ALL : PARANOID : RFC931 20 : deny in /etc/hosts.allow would help reject some of this stuff. However, as the amount of spam in my inbox is beginning to attest, this isn't the case. I've been googling and searching the archives with strings similar to the one in the title, and haven't yet grok what I'm supposed to do to get this to work... So, how do I tell Sendmail that if a host doesn't exist, (i.e. d3kr890d.129ddk.org) I don't want to talk to it... Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem adding user (4.8R)
From: Johan Paul [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 03, 2003 1:41 PM Subject: Problem adding user (4.8R) Hi, I just installed FreeBSD 4.8 and tried to add a user to the system using 'adduser foo'. I get a few questions and then this: -- 8 -- Don't worry about mistakes. I will give you the chance later to correct any input. Enter username [foo]: Please enter a username Enter username [foo]: foo Please enter a username Enter username [foo]: -- 8 -- ...whatever I type in as username, the system rejects it. Does 'foo' match the regexp that you entered or already had setup when you were 'answering a few questions?' Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which server-side programming should i choose.
From: sanketh sangam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 3:19 PM Subject: Which server-side programming should i choose. I have a Apache webserver on FreeBSD machine. I think mySQL is also installed(I do not know how to check if mySQl is installed on that sytem). I am planning to put a user authentication to access my webpages in the server. For that i need to write server-side programming. Since there are any server-side softwares(PHP, ASP, JSP, Perl) ,I am confused as to which one would be better for Apache and freeBSD. Instead of going for those server-side programming, should I go for HTTP authentication method. I am confused. Any kind of help would be appreciated. Not much to do with FBSD, but . PHP!! All the way...easiest, free, likely to be more secure than Perl if used as Apache module than CGI. Beautiful C-like syntax (/usr/src/* might even make more sense to you after learning it...) great user community. Kevin Kinsey, DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which server-side programming should i choose.
From: Kevin Kinsey, DaleCo, S.P. [EMAIL PROTECTED] To: sanketh sangam [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 5:48 PM Subject: Re: Which server-side programming should i choose. From: sanketh sangam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 3:19 PM Subject: Which server-side programming should i choose. I have a Apache webserver on FreeBSD machine. I think mySQL is also installed(I do not know how to check if mySQl is installed on that sytem). I am planning to put a user authentication to access my webpages in the server. For that i need to write server-side programming. Since there are any server-side softwares(PHP, ASP, JSP, Perl) ,I am confused as to which one would be better for Apache and freeBSD. Instead of going for those server-side programming, should I go for HTTP authentication method. I am confused. Any kind of help would be appreciated. Not much to do with FBSD, but . PHP!! All the way...easiest, free, likely to be more secure than Perl if used as Apache module than CGI. Beautiful C-like syntax (/usr/src/* might even make more sense to you after learning it...) great user community. Kevin Kinsey, DaleCo, S.P. OK, once more I post before getting the full context. Bill Campbell's suggestion is good, too. PHP might be overkill if *all* you want to do is limit access to certain areas/pages. But, if you *want* to also have interactive content, PHP's great; and it has native functions to do the HTTP authorization, as well as giving you other options in re: authorization. KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: setting up ipfw
From: Jamie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 8:01 PM Subject: setting up ipfw I am having a very difficult time setting up ipfw on a 4.8 installation. Was wondering if anyone might be able to shed some light on this. I followed the directions in the handbook, and I compiled a new kernel with these options, ( am going for a deny all by default, open services as necessary philosophy): options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 Upon rebooting, I was unable to access the machine from anywhere, which is fine, because I have console access. Output of ifconfig -a looks like this: ifconfig -a fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 200.88.54.93 netmask 0xff00 broadcast 200.88.54.255 inet6 fe80::203:47ff:fe77:8169%fxp0 prefixlen 64 scopeid 0x1 ether 00:03:47:77:81:69 media: Ethernet autoselect (100baseTX full-duplex) status: active lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500 sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552 faith0: flags=8002BROADCAST,MULTICAST mtu 1500 the name of the machine is power.bar.com I want to ssh in from another machine: foo.bar.com with IP address 200.88.34.12. This is the rule I am adding: ipfw add allow tcp from 200.88.34.12 to power.bar.com 22 It tells me it can't resolve power.bar.com! So, I try: ipfw add allow tcp from 200.88.34.12 to 200.88.54.93 22 It accepts the rule, but I still cannot connect from foo.bar.com. Anyone have any ideas? Are you allowing ip OUT from 200.88.54.93? Please post output of ipfw show (not that it's not implicit, I guess...) and describe your network topography. FWIW, here's my top few rules: 00010 allow ip from my.ip.ad.dres to any out 00020 deny log logamount 20 ip from any to any out 00030 allow tcp from any to any established 00040 allow ip from any to any frag 00050 allow tcp from any to my.ip.ad.res setup Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help! I killed my rc.conf and cant boot correctly!
From: Keith Spencer [EMAIL PROTECTED] To: Adam [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 1:04 AM Subject: Re: Help! I killed my rc.conf and cant boot correctly! Thanks Adam, When the machine boots it drops straight into (I guess) single user mode. The /usr/sbin /usr/bin cant be cd-ed to and the /etc dir says it is read only file system! So I can't save to it. I have a Schlacter tute fireall setup on it. With whatever security it entails. Any clue? Can I interupt the boot and do something? This is a mission critical machine darn it...Oh dear! Keith You need to mount the filesystems properly, and it needs be done manually. IIRC: $/sbin/mount -t ufs /dev/ad1sf /usr //...change device to match your setup HTH, KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Obvious 'Doh!'? find vs. diff....
[EMAIL PROTECTED] [/usr/src] [19:57] #find / -name GENERIC -print /usr/src/sys/alpha/conf/GENERIC /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/GENERIC /usr/src/sys/pc98/conf/GENERIC /usr/obj/usr/src/sys/GENERIC [EMAIL PROTECTED] [/usr/src] [19:57] #diff /usr/obj/usr/src/sys/GENERIC /usr/src/sys/i386/GENERIC diff: /usr/obj/usr/src/sys/GENERIC/GENERIC: No such file or directory ??? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Obvious 'Doh!'? find vs. diff....
[EMAIL PROTECTED] [/usr/src] [19:56] #find / -name GENERIC -print /usr/src/sys/alpha/conf/GENERIC /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/GENERIC /usr/src/sys/pc98/conf/GENERIC /usr/obj/usr/src/sys/GENERIC [EMAIL PROTECTED] [/usr/src] [19:57] #diff /usr/obj/usr/src/sys/GENERIC /usr/src/sys/i386/GENERIC diff: /usr/obj/usr/src/sys/GENERIC/GENERIC: No such file or directory ??? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Obvious 'Doh!'? find vs. diff....
From: Joshua Oreman [EMAIL PROTECTED] To: Kevin Kinsey, DaleCo, S.P. [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 9:17 PM Subject: Re: Obvious 'Doh!'? find vs. diff Easy on the send button! Hmm, unique situation with my SMTP, didn't *say* it had left... AAMOF, it was still in the 'inbox' really do need to rid myself of this borken M$ mailer On Thu, Jun 26, 2003 at 09:03:41PM -0500 or thereabouts, Kevin Kinsey, DaleCo, S.P. wrote: [EMAIL PROTECTED] [/usr/src] [19:57] #find / -name GENERIC -print /usr/src/sys/alpha/conf/GENERIC /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/GENERIC /usr/src/sys/pc98/conf/GENERIC /usr/obj/usr/src/sys/GENERIC [EMAIL PROTECTED] [/usr/src] [19:57] #diff /usr/obj/usr/src/sys/GENERIC /usr/src/sys/i386/GENERIC diff: /usr/obj/usr/src/sys/GENERIC/GENERIC: No such file or directory /usr/obj/usr/src/sys/GENERIC is probably a directory. The `find' command you want is: #find /usr/src /usr/obj -name GENERIC -type f -print `-type f' restricts it to files. -- Josh /me slaps forehead! Thx, KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: your mail (was: no subj)
Reboot and do NOT boot automatically but press another key. At a shell prompt, type 'boot-s' to boot into single user mode. Type 'passwd' and enter a new password. HTH, Kevin Kinsey DaleCo, S.P. - Original Message - From: Paige King [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 21, 2003 10:22 PM forgot my login and password. what do I do to bypass the login. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two DNS servers with one IP address
From: Scott Kupferschmidt [EMAIL PROTECTED] To: Alfonso Romero [EMAIL PROTECTED] Cc: freebsd-questions [EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 9:55 PM Subject: Re: Two DNS servers with one IP address Hello, It certainly is possible to register two nameservers with the same IP address. While it serves no real purpose to do so, if you require 2 NS's then you can. Check with your registrar. We do that here on our virtual servers just because it's easier and really, if the server goes down, that's it. No point in having the DNS up if the entire server is down for us. Well, that might depend on your TTL's and the speed of the repair boyz in the NOC... :-) Keep in mind that the world will consider your DNS broken if you do this. DNS reporting services will flag you if your 2 servers on are the same *subnet*, much less the same IP addy... Obviously, what people think is of little concern in your situation, I'm guessing Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: directv satellite internet conection
From: Olivier Nicole [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 05, 2003 11:01 PM Subject: Re: directv satellite internet conection will it work?? Your question needs some more explanations. Internet over satellite work. Olivier IIRC, DirecTV == DirecWay == Hughes? Very proprietary, probably win only. But who knows whether something can be/ has been ported, etc. Make search time in /usr/ports? Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any recommended simple text editors?????
- Original Message - From: BSD baby [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 30, 2003 9:17 PM Subject: Re: any recommended simple text editors? THANK YOU to whoever recommended ee! I had never tried that little thing. It's wonderful. Though vi is good for me, I'm going to tell beginners to use ee from now on. Easiest one I've ever seen. ee is good and mentioned in documentation/ handbook. However, /usr/ports/editors/nano is superior. Pico is well known as 'easy editor' and Nano is Pico with a turbocharged engine... My .02 Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mysql
From: BSD baby [EMAIL PROTECTED] To: Ian Barnes [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 11:16 AM Subject: Re: Mysql I want to remove my mysql installation and re-install from scratch. Now the problem. I have 6 active databases. How can i make sure that i dont loose those. And that when i have re-installed, that they work immediatilly ?? The databases are in /var/db/mysql The smartest thing would be to do (as root user): mysqladmin -u YourUsername -p shutdown cd /var/db/mysql tar cvfz MyDatabases.tgz * mv MyDatabases.tgz /home/ That will stop your database server, and save all your data in your /home/ dir. Then, when you want to restore them, IF they're not there after a new install, just do: cd /var/db/mysql rm * tar xvfz /home/MyDatabases.tgz There is also mysqldump with complete instructions at the mysql.com website. IIRC, it creates SQL language files that would be used to entirely recreate the database from the commandline once the new server is up running. HTH, Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fbsdhosting.com
*gg* - Original Message - From: Rus Foster [EMAIL PROTECTED] To: ph33r mp3s [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, March 15, 2003 1:47 AM Subject: Re: fbsdhosting.com On Sat, 15 Mar 2003, ph33r mp3s wrote: Hello, I will be opening up a web hosting company with the domain fbsdhosting.com . I was just mailing you on your input tot his. I am going to be putting links to your site as well as information. I'd like your feedback on this before i go ahead and put the site up, etc. Thank you for your time and hope to hear from you soon. Fbsdhosting.com Mike Mullan Well as a techie I wouldn't buy from you. Before using any ISP I check the following The whois record. Yours is frankly offensive and also the address is obviously fake. Your own DNS servers. Do you have your own? You don't but you might fix this. Also your email address scream that you are just a kid, 18 tops. How much experience do you have in running a hosting company? I run one and even with 7 years expierence under my belt I still hit things I've never encountered before. Just my $0.02 Rus To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Controlling free space on HDD...
From: Xpression [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 15, 2003 9:15 AM Subject: Controlling free space on HDD... Hi guys: After install Apache I want users store their sites on my server via FTP (ProFTPd), I configure it and it works, but I think they can store X Mb of space on my disk until fill it, can I restrict it to any amount Y of megabytes... [EMAIL PROTECTED] [/home/kdk] [9:33] #apropos quota VFS_QUOTACTL(9) - manipulate filesystem quotas edquota(8) - edit user quotas quota(1) - display disk usage and limits quotacheck(8)- file system quota consistency checker quotactl(2) - manipulate filesystem quotas quotaon(8), quotaoff(8) - turn filesystem quotas on and off repquota(8) - summarize quotas for a file system rpc.rquotad(8) - remote quota server HTH, KDK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD codenames?
From: Christian Andreas Westgaard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 10:34 AM Subject: FreeBSD codenames? Linux distros often have codenames. example: Debian 2.2 (potato) Debian 3.0 (woody) Redhat 6.2 (zoot) Redhat 8.0 (psyche) Doesn FreeBSD 5.0 and 4.7 have codenames? -- Heh, Linux stole them from Berkley UNIX, eh? There was a wonderfully humorous (though short) exchange on chat around November 1st, '02... you really should check the archives. That said, I don't guess there have been code names for FBSD specifically, although the history of the BSD's is replete with such...generally western US cities...I can't see such things with FBSD, though, I mean, 5.1 -POTATO would require all the docs to be rewritten, among other things :-) Kevin Kinsey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mysql-gui will not build
From: Kirk Wythers [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 7:35 PM Subject: mysql-gui will not build I'm having trouble building mysql-qui. Can anyone help me out with the following error: [EMAIL PROTECTED]:103 make install clean === Patching for mysql-gui-1.7.5_1 === Applying FreeBSD patches for mysql-gui-1.7.5_1 1 out of 1 hunks failed--saving rejects to FL/Fl_Editor.H.rej Patch patch-FL-Fl_Editor.H failed to apply cleanly. *** Error code 1 Stop in /usr/ports/databases/mysql-gui. uname -a: FreeBSD lorax.forestry.umn.edu 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Tue Feb 4 13:54:49 CST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LORAX_SMP_KERNEL i386 Thanks, Kirk Well, 5.0 FBSD is a bit of a different beast. I wouldn't be surprised if the port maintainer hasn't yet adjusted for it.. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Why natd don't divert packets?
From: denb [EMAIL PROTECTED] Sent: Friday, March 07, 2003 5:22 AM Subject: Re: Why natd don't divert packets? Bernd Walter [EMAIL PROTECTED]: On Fri, Mar 07, 2003 at 11:51:45AM +0300, denb wrote: This working in FreeBSD4.7(ipfw1), but broken in FreeBSD 5.0 (ipfw2). Why? This is an issue triggered by compiling libalias with -O2. Recompile libalias without -O2 and recompile natd so it binds to the rebuild libalias.a The problem wasn't there a month ago. See -current list for firther details. -- B.WalterCOSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] I ran this on FreeBSD 5.0-RELEASE, not CURRENT. Any suggestions? 5.0 REL was -CURRENT as of the date of the release. This makes you an early adopter ---congratulations! As you are running the the first release from that branch (-CURRENT), I'd think his explanation would be worth looking into...maybe he meant 'six weeks' instead of a 'month', which would put it well within the dates delineated by your -RELEASE version. Kevin Kinsey, DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Port 3306 (was: subject blank)
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 06, 2003 7:12 PM Hi all, I have Found a rule in my ipf firewall rules file. it allows in my agetway machine running webmin etc etc. to port 3306 from any. Now I may well have added this rule but I didn't comment it (Not like me!) Any clues as to what that port is for? Services file has no listing. Thanks Keith Spencer IIRC, that's MySQL. Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: hacking attempts?
From: YOU [EMAIL PROTECTED] To: Phillip Smith (mailing list) [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 10:06 AM Subject: Re: hacking attempts? On Tue, 4 Mar 2003, Phillip Smith (mailing list) wrote: I found this in my logs and I'm wondering if this is a hacking attempt? Should I be concerned? Also, if/when I see these, I'd like to add them to a blocked list using /sbin/ipfw, but get the following message when trying this command: # /sbin/ipfw add 1 deny all from 151.204.100.88:255.255.255.255 to any ipfw: getsockopt(IP_FW_ADD): Protocol not available freedom.domain.com login failures: Mar 2 11:38:33 freedom sshd[47912]: Failed none for illegal user test from 64.21.10.2 port 36747 ssh2 Mar 2 11:38:33 freedom sshd[47912]: Failed publickey for illegal user test from 64.21.10.2 port 36747 ssh2 Mar 2 11:38:34 freedom sshd[47912]: Failed keyboard-interactive for illegal user test from 64.21.10.2 port 36747 ssh2 Mar 2 11:38:34 freedom sshd[47912]: Failed password for illegal user test from 64.21.10.2 port 36747 ssh2 ipfw: getsockopt(blaah) Is your kernel configured for firewall work? Check LINT for options. As well you should be able to use tcpwrappers, look in /etc/hosts.allow. You could add a deny for this 'persons' ip addy denying him/her/it access to your sshd daemon. NOTE: It is 'normally not a good idea' to do this, but if you don't want to rebuild with a firewall configured kernel it will suffice. Hope this helps. R. And the reason it's not a good idea? I've always assumed it was because you didn't want to be on vacation, at a friends house, or suddenly have your ISP switch subnets on you and lock you out of your box... Absolutely nothing wrong with denying the supposed cracker's IP; AAMOF, go over to ARIN or APNIC or such and ditch entire Class A nets that you'll never touch...I'll never be in SE Asia, for example... I use a dual strategy here. One machine only trusts a second; on the second box I deny the known bad guyz and let most others try... ...Needless to say, the really important stuff is on the first box... Kevin Kinsey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: The web-based bug interface is currently disabled.
From: Kirk Strauser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 02, 2003 4:13 PM Subject: Re: The web-based bug interface is currently disabled. Could you rate-limit the system to 'n' submissions from a given email address in a given unit of time? That won't stop someone from creating 30 Hotmail accounts and posting 30*n PRs, but anyone that bored and with that much time on their hands is basically unstoppable without human intervention anyway. :-) ... that seems a given, but it might at least take some of that extra time away from the submit button and put it into reading/typing in auth codes instead.. How 'bout cookieing them... Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: RFC 1912 compliant ISP's...
From: Giorgos Keramidas [EMAIL PROTECTED] To: Kevin Kinsey, DaleCo, S.P. [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, March 02, 2003 12:03 PM Subject: Re: RFC 1912 compliant ISP's... [ Top posting 'fixed'. ] Thanks. Been talking to too many MS types lately... but in this context it shouldn't have been up there.. On 2003-03-01 22:10, Kevin Kinsey, DaleCo, S.P. [EMAIL PROTECTED] wrote: Kevin Kinsey, DaleCo, S.P. [EMAIL PROTECTED] wrote: Hi, mostly I'm just testing my ISP's smtp service(s). The name they give out for users to use as the outgoing MTA is not listed in the reverse zone, so I can't post to wonderful servers like those @freebsd.org. Anybody else got service this wonderful :) And, since it worked I'll pat myself on the back for my ingenuity, and slap myself on the wrist for forgetting that there's a test@ list for just such a purpose. Apologies. Anyone from SouthWest Missouri who uses my ISP, I'll let you in on the secret... It's not really a secret. Besides, why not mail it to the list anyway? This way someone who has similar problems in the future will find the answer in the list archives :-P You shouldn't set up your mta to forward mail directly to their destination when you're behind an ISP, but relay all your messages through the ISP's mail gateway using Sendmail's SMART_HOST feature. - Giorgos Great idea, except this was off a laptop running a M$ product. I'm working on a home office, and will have a FBSD server there someday, so then that will be what I need to do. But first, build the floor, install carpet, insulate walls... The real issue was simply that the ISP is telling us use Server X when Server Y is actually listed in their MX records. So, the 'big secret' is...don't trust tiadon.com, just use mail instead of smtp... (and yes, everyone I know that uses them has that name in their config) I was just tired of dealing with the simpletons... passwords can only be LC alpha and numerals, wrong MTA name in documentation, haven't answered my email in 3 days (not even an auto- responder...??) . And, I just signed up two weeks ago... I'm starting to feel like I'm the only one in the surrounding 3 counties that would know how to do it righttoo bad I have no brain for business, 'cause otherwise I could run an ISP better than them, methinks.I guess I'm just spoiled by the amazing amount of technical know-how around these lists... Kevin Kinsey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RFC 1912 compliant ISP's...
Hi, mostly I'm just testing my ISP's smtp service(s). The name they give out for users to use as the outgoing MTA is not listed in the reverse zone, so I can't post to wonderful servers like those @freebsd.org. Anybody else got service this wonderful :) ?? Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: RFC 1912 compliant ISP's...
And, since it worked I'll pat myself on the back for my ingenuity, and slap myself on the wrist for forgetting that there's a test@ list for just such a purpose. Apologies. Anyone from SouthWest Missouri who uses my ISP, I'll let you in on the secret... KDK - Original Message - From: Kevin Kinsey, DaleCo, S.P. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 01, 2003 9:59 PM Subject: RFC 1912 compliant ISP's... Hi, mostly I'm just testing my ISP's smtp service(s). The name they give out for users to use as the outgoing MTA is not listed in the reverse zone, so I can't post to wonderful servers like those @freebsd.org. Anybody else got service this wonderful :) ?? Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: diff patch
patch diff.txt orig.file HTH, KDK - Original Message - From: Jon Reynolds [EMAIL PROTECTED] To: 'questions@FreeBSD. ORG' [EMAIL PROTECTED] Sent: Tuesday, July 23, 2002 5:45 PM Subject: diff patch I am fairly new to FreeBSD and I am trying to figure out how to do a patch using a diff file. I have read the patch man page and this is what I am thinking I am going to type on the command line in the directory of the program to make it work: 'patch php-4.2.1 php-4.2.1-to-4.2.2.patch' Is this correct or do I have to also put the original file at the end also 'patch php-4.2.1 php-4.2.1-to-4.2.2.patch php-4.2.1'? Sorry if this is something simple but it is not simple to me. Jon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: subscribe
From: David Merriman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 18, 2002 3:58 AM Subject: subscribe subscribe To eliminate the risk of malicious scripts or code, *all* HTML email is automatically _deleted_ UNREAD on receipt. AS ARE ALL POSTS TO THE LIST THAT SAY 'SUBSCRIBE' :-P Seriously, if you want to subscribe, read the below and perform that action after removing the u and n characters from unsubscribe in both instances. KDK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Private Home network
Mr. Hale Did you ever get any real help with this? My thought: are you telling the interface to use DHCP in /etc/rc.conf? For example, for the RealTek 8139 family of NICs, the following should be in /etc/rc.conf: ifconfig_rl0=DHCP The 'rl0' would vary to another driver name for another type of NIC. If I understood your original question correctly, you desire the FBSD box to grab its own configuration data from the router for your LAN interface --- I think that ought to do it. Best of luck Kevin D. Kinsey, DaleCo, S.P. - Original Message - From: Harry W Hale III [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 12:48 PM Subject: Private Home network I have small network at home consisting of three machines. These machines are connected through a router to a cable modem where they share the internet. My router assigns by dhcp ip numbers in the range of 192.168.1.2 to 192.168.1.l00. The router does NAT for my other computers. I do not have an official registered domain. My windows machines boot up and operate on the internet without complication. Is there any way that I can get my FreeBSD machine to due the same? My FreeBSD machine will get a valid ip assignment. It is not be able to get external DNS translations and Sendmail chokes. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: new user
From: osama zekry [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 2:07 PM Subject: new user i dont know what should can i speak to you about but i know that i am a new user to freebsd so if you have a little time just tell me whats meaning of BSD Berkeley Systems Distribution. I found this article to be fascinating enough that I printed the whole thing: http://www.oreilly.com/catalog/opensources/book/kirkmck.html This is just ONE chapter of what must be a fascinating book. I hear there's also a video in which McKusick talks through the whole thing. and how can i be profesional in free bsd Well, learn how to use it as an amateur first. Get on the mailing lists. Learn to read C. Find some problems and fix them...Good luck...unless you're a LOT smarter than me you'll never catch some of these guys...! sorry i knew that i soo bad in english but i will try to be god I think (hope?) you're missing an 'o' right there. In my Book there's only one God. Best of luck being 'good.' Some resources (sorry, they're all in English, I think): The FreeBSD Site: www.freebsd.org The FreeBSD Handbook: www.freebsd.org/handbook/ ** this is also available by FTP download from ftp.freebsd.org Greg Lehey's book, The Complete FreeBSD Greg home page: www.lemis.com/grog/ Buy it at Amazon: http://www.amazon.com/exec/obidos/ASIN/1571762469/ Here's a review on the book: http://www.bsdtoday.com/2000/November/Features330.html Actually, Greg knows 2 or 3 languages, so you might visit his site and see if there's any info regarding a translation of that one... Annelise Anderson's book: http://www.bittreepress.com/FreeBSD/introbook/ bye bye See ya. Kevin Kinsey, DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message