RE: Sendmail recommended permissions for apache/php server
You should not be changing the ownership and permissions on any of the directories used by sendmail(8), or the group membership of any of the groups used by sendmail. Not even if you think you know what you are doing. This is extremely security sensitive, and getting it wrong means at minimum unprivileged users can forge e-mails untraceably[*]. That's what I thought, I found it to work but preferred to ask on the list since it didn't make sense to me :) To the OP -- can you execute sendmail outside PHP? If you can use mail(1) to send a test e-mail, then sendmail should be fine. Note: test this as an unprivileged user. No it doesn't work, just tried it: %mail -s Hello lo...@msdi.ca Hello ! . EOT %WARNING: RunAsUser for MSP ignored, check group ids (egid=0, want=25) can not chdir(/var/spool/clientmqueue/): Permission denied Program mode requires special privileges, e.g., root or TrustedUser. Apr 12 08:47:08 dev sendmail[94980]: NOQUEUE: SYSERR(msdi): can not chdir(/var/spool/clientmqueue/): Permission denied What are the permissions on /usr/libexec/sendmail/sendmail ? They should look like this: % ls -la /usr/libexec/sendmail/sendmail -r-xr-sr-x 1 root smmsp 662136 Apr 1 08:38 /usr/libexec/sendmail/sendmail # ls -al /usr/libexec/sendmail/sendmail -r-xr-sr-x 1 root wheel 707160 Jan 3 02:57 /usr/libexec/sendmail/sendmail So the group is wrong... I changed it from wheel to smmsp and everything works fine now ! Thanks a lot for the fix, but this server is a clean install of 9.0-RELEASE that I installed about 2-3 months ago. I never changed the permission myself on that file so I guess there is something wrong that would need to be fixed (unless it's already fixed in newer versions). Thanks again ~~ Ian Lord MSD Informatique 143 Rue des Fauvettes St-Colomban (Québec) J5K 0E2 Tél: (514) 776-MSDI - (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ 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 recommended permissions for apache/php server
Hi, I am trying to use sendmail to send emails from a php script (I tried phpmailer and mail function with the same result). I always got messages like Could not execute: /usr/sbin/sendmail Sendmail is World executable: # ls -l /usr/sbin/sendmail lrwxr-xr-x 1 root wheel 21 Jan 3 02:57 /usr/sbin/sendmail - /usr/sbin/mailwrapper So I've checked into /var/log/messages and found this: Apr 11 18:09:44 dev sendmail[38340]: NOQUEUE: SYSERR(www): can not chdir(/var/spool/clientmqueue/): Permission denied I've checked permissions on the /var/spool/clientmqueue/ directory # ls -al /var/spool/clientmqueue/ drwxrwx--- 2 smmsp smmsp 3 Apr 11 19:01 . So I saw that only the user and group smmsp could write to this directory. I presumed the apache user should have access to it so I added www to the smmsp directory. I then got a different error in /var/log/messages Apr 11 19:38:40 dev sendmail[41170]: NOQUEUE: SYSERR(www): can not write to queue directory /var/spool/clientmqueue/ (RunAsGid=0, required=25): Permission denied I found very old threads saying to change the group of apache to smmsp but I doubt it's a good idea. Chmodding 777 the /var/spool/clientmqueue/ fixed the problem, I can now send emails, but I wonder if this is the way to fix the issue correctly. Is that the official fix or did I missed some configuration somewhere ? Sending emails from php using mail or sendmail should be something working out of the box I guess, I doubt we're supposed to change permissions to make it work Any help would be appreciated. Regards ~~ Ian Lord MSD Informatique 143 Rue des Fauvettes St-Colomban (Québec) J5K 0E2 Tél: (514) 776-MSDI - (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.cahttp://www.msdi.ca/ ___ 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
12 TB Disk In freebsd AMD 64 ?
Hi, I am planning to build a 12x 1TB array RAID 6 on a hardware controller... I will use it as a nfs server for archiving files (we need to keep legal files for 6 years)... Raid 6 will give me a 10 TB drive approx... Reading these pages: http://www.freebsd.org/projects/bigdisk/index.html http://www.freebsd.org/projects/bigdisk/index.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html I kinda understand freebsd is not well suited for that. I can read between the lines that we shouldn't go over 2TB. Is this information still exact or outdated ? I'm pretty sure I won't be able to boot on that megadrive so I planned on having 2 smaller disk on raid 1, but I want to make sure the big disk will work and will be reliable. Could someone comment please ? Thanks in advance ~~ Ian Lord MSD Informatique 143 Rue des Fauvettes St-Colomban (Québec) J5K 0E2 Tél: (514) 776-MSDI - (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca http://www.msdi.ca ___ 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
MySql54 Port With_CHARSET and WITH_XCHARSET
Hi, I am wondering if there is a problem with the port or if there is something I don't understand about mysql configure options... Doing: cd /usr/ports/databases/mysql54-server make WITH_CHARSET=utf8 WITH_XCHARSET=none make install It sounds like the only charset that should be available would be utf8 but if I send a show charset query on the server, it lists them all... I am trying to compile while making sure there is only one charset on the server... did I missed something or is it a bug with the port or with mysql ? Thanks ~~ Ian Lord MSD Informatique 143 Rue des Fauvettes St-Colomban (Québec) J5K 0E2 Tél: (514) 776-MSDI - (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ 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
Urgent help needed please: Gvinum problem
Hi, We had a power lost even though we have ups and generators (still investigating it) and when the machine rebooted one of the disk seems to be failed : The system complains about fsck repaired failed and that I must run it manually. It then boots in single user mode. I entered gvinum and pressed l to see the status of the drive and I get this: My volume is UP My plex is shown as degraded I have 3 of the 4 subdisks shown as UP the 4th is shown as down. Running gvinum /dev/gvinum/RAID5 which is the name of my volume gets me this error: ** /dev/gvinum/RAID5 Cannot find file system superblock Ioctl (GCINFO): Inapropriate ioctl for device fsck_ufs: /dev/gvinum/RAID5: cant read disk label I tried bsdlabel gvinum/RAID5 it tells me there is no valid label found Does anyone knows what I can try to try to put back system online (at least, so I can restore a backup on the disk) Thanks ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél: (514) 776-MSDI - (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ 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
Urgent help needed please: Gvinum problem
Hi, We had a power lost even though we have ups and generators (still investigating it) and when the machine rebooted one of the disk seems to be failed : The system complains about fsck repaired failed and that I must run it manually. It then boots in single user mode. I entered gvinum and pressed l to see the status of the drive and I get this: My volume is UP My plex is shown as degraded I have 3 of the 4 subdisks shown as UP the 4th is shown as down. Running gvinum /dev/gvinum/RAID5 which is the name of my volume gets me this error: ** /dev/gvinum/RAID5 Cannot find file system superblock Ioctl (GCINFO): Inapropriate ioctl for device fsck_ufs: /dev/gvinum/RAID5: cant read disk label I tried bsdlabel gvinum/RAID5 it tells me there is no valid label found Does anyone knows what I can try to try to put back system online (at least, so I can restore a backup on the disk) Thanks p.s. Please reply to me also as I am a digest member thanks ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél: (514) 776-MSDI - (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ 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: Urgent help needed please: Gvinum problem
Hi, We had a power lost even though we have ups and generators (still investigating it) and when the machine rebooted one of the disk seems to be failed : The system complains about fsck repaired failed and that I must run it manually. It then boots in single user mode. I entered gvinum and pressed l to see the status of the drive and I get this: My volume is UP My plex is shown as degraded I have 3 of the 4 subdisks shown as UP the 4th is shown as down. Running gvinum /dev/gvinum/RAID5 which is the name of my volume gets me this error: ** /dev/gvinum/RAID5 Cannot find file system superblock Ioctl (GCINFO): Inapropriate ioctl for device fsck_ufs: /dev/gvinum/RAID5: can't read disk label I tried bsdlabel gvinum/RAID5 it tells me there is no valid label found Does anyone knows what I can try to try to put back system online (at least, so I can restore a backup on the disk) I'm trying to find my vinum notes, but can't as of yet... What does a: # fsck -y /dev/gvinum/RAID5 ...yield...anything? Steve ~ Same :( But thanks all, I just did a newfs and currently restoring backups on it Strange... Last time I will will gvinum, nothing as stable as a hardware controller I guess :( ___ 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
Linux for freebsd admins
Hi, I am not trying to start a war linux vs freebsd or a long thread on which distribution is best. Just trying to get a quick answer here. I am an inconditional to freebsd and I love it. Unfortunately I have an application that doesn't support freebsd and only run on linux. I tried to run it for a week under freebsd and it doesn't work. I have to install a linux machine and don't know which distribution to take. I tried debian ubuntu and fedora and didn't like them. I want: - A basic install (not 900 packages installed by default - No gui, I like my flashing cursor - an equivalent of ports. I want to easily compile my ports I don't like prebuilt package. Want to retrieve them by cvs. - an equivalent to portupgrade. I gotta admit mabe the three I tried was able to do that, but I'm so negative about linux thay maybe I didn't see the good point of it. Could you tell me which distribution you are using when you have no choice and need to go to linux ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BTX halted
Hi, I'm trying to install freebsd 7 AMD64 on a HP Proliant DL380 Server (3gig ram, Dual Xeon 3.06GHZ) All firmware are up to date, and there is no memory problem or known problem (Based on extended diagnostic of the system) I installed windows 2003 to update the firmware without any problem. When I boot from the freebsd cd, I see the BSD Boot Menu As soon as I get into Boot freebsd or Boot freebsd safe mode or Boot freebsd verbose mode or freebsd acpi mode d There is a dump on the screen and the last line is btx halted. I retyped the screen dump hoping someone could help me: | int=000d err= efl=00010006 eip=000219b2 eax=000219ac ebx= ecx=c080 edx=0006d948 esi=0003e007 edi= ebp=000940bc esp=0009e088 cs=0008 ds=0010fs=0010 gs=0010 ss=0010 cs:eip=0f 32 0d 00 01 00 00 0f-30 0f 20 e0 83 c8 30 0f 22 e0 b8 00 c0 03 00 0f-22 d8 0f 20 c0 0d 00 00 Ss:eso=90 95 00 00 00 80 fc 00-00 90 fc 00 07 e0 03 00 00 00 00 00 07 d0 03 00-00 00 00 00 3c d9 06 00 BTX halted Any help would be really appreciated Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: BTX halted
-Original Message- From: Ian Lord [mailto:[EMAIL PROTECTED] Sent: 25 avril 2008 19:39 To: 'freebsd-questions@freebsd.org' Subject: BTX halted Hi, I'm trying to install freebsd 7 AMD64 on a HP Proliant DL380 Server (3gig ram, Dual Xeon 3.06GHZ) All firmware are up to date, and there is no memory problem or known problem (Based on extended diagnostic of the system) I installed windows 2003 to update the firmware without any problem. When I boot from the freebsd cd, I see the BSD Boot Menu As soon as I get into Boot freebsd or Boot freebsd safe mode or Boot freebsd verbose mode or freebsd acpi mode d There is a dump on the screen and the last line is btx halted. I retyped the screen dump hoping someone could help me: | int=000d err= efl=00010006 eip=000219b2 eax=000219ac ebx= ecx=c080 edx=0006d948 esi=0003e007 edi= ebp=000940bc esp=0009e088 cs=0008 ds=0010fs=0010 gs=0010 ss=0010 cs:eip=0f 32 0d 00 01 00 00 0f-30 0f 20 e0 83 c8 30 0f 22 e0 b8 00 c0 03 00 0f-22 d8 0f 20 c0 0d 00 00 Ss:eso=90 95 00 00 00 80 fc 00-00 90 fc 00 07 e0 03 00 00 00 00 00 07 d0 03 00-00 00 00 00 3c d9 06 00 BTX halted Any help would be really appreciated Regards ~~~ I just downloaded i386 version of freebsd and I was able to get into the setup menu. Would it be possible that my server is not compatible with AMD64 version of freebsd ? It is compatible with linux AMD64 version though... As anyone managed to run freebsd 7.0 AMD64 on a dl380 G3 ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel log messages
Hi, In my dailing cron outut, I received this : kernel log messages: +++ /tmp/security.iwonKikI Thu Sep 13 03:02:27 2007 +pid 85092 (httpd), uid 80: exited on signal 11 pid 85097 (httpd), uid +80: exited on signal 11 pid 85099 (httpd), uid 80: exited on signal 11 +pid 85091 (httpd), uid 80: exited on signal 11 pid 85090 (httpd), uid +80: exited on signal 11 pid 85094 (httpd), uid 80: exited on signal 11 +pid 85098 (httpd), uid 80: exited on signal 11 pid 85105 (httpd), uid +80: exited on signal 11 pid 85085 (httpd), uid 80: exited on signal 11 +pid 85104 (httpd), uid 80: exited on signal 11 pid 91372 (httpd), uid +80: exited on signal 11 pid 85096 (httpd), uid 80: exited on signal 11 Is this something I should care about ? First time I see this, and since the os mention it to me, I guess it's something important :-) Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Veritas Backup Exec on Freebsd 6.1 (Boon Keng Lee)
Hi, Please kindly advise us can the FreeBSD 6.1 being backup via Veritas Backup Exec 11d Server for Windows with the Linux Client agent ? Thank for the help. ~~ Hi, On our side, we didn't manage to make this happen using the regular linux agent that veritas (now Symantec) provides, but we were able to install the legacy unix agent which works like a charm. We take full and incremental backups without problem. Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Urgent help needed please: pecl-memcache problem after upgrade of php
-Original Message- From: B. Cook [mailto:[EMAIL PROTECTED] Sent: 13 août 2007 13:54 To: Ian Lord Subject: Re: Urgent help needed please: pecl-memcache problem after upgrade of php Have you tried rebuilding the port? memcache to reflect your current version of php? Thats usually what I need to do. cd /usr/ports/www/memcache (or whatever it is..) make clean make make deinstall make install sync then try a php -v or php-cgi -v and see what happens. Ian Lord wrote, On 8/13/07 10:49 AM: Hi, I just did a portupgrade -a and now memcache doesn't work anymore in php. Here are the version portupgrade installed: pecl-memcache-2.1.2 memcached-1.2.2 php5-5.2.3_1 In php/error.log I can see this error message [13-Aug-2007 10:38:20] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/memcache.so' - /usr/local/lib/php/20060613/memcache.so: Undefined symbol quot;php_session_create_idquot; in Unknown on line 0 Can anyone help please If not able to fix (might be a problem with the port, what is the easiest way to go back to previous version) Thanks p.s. Please reply to me directly as I am only registered on the digest list ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- B. Cook Network Analyst Poughkeepsie City School District Mobile: 845.264.5827 | Desk: 845.451.4791 Thanks for your help... The problem was not with the memcache port but with the pecl-memcache port... Doing as you suggested, fixed the problem make clean, followed by a make deinstall and make install Before sending the message I already tried a make deinstall / make reinstall and it didnt work. Any idea why 1- Portupgrade broke the thing ? 2- a make clean/make deinstall/make install is better than a make deinstall/make reinstall ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Urgent help needed please: pecl-memcache problem after upgrade of php
Hi, I just did a portupgrade -a and now memcache doesn't work anymore in php. Here are the version portupgrade installed: pecl-memcache-2.1.2 memcached-1.2.2 php5-5.2.3_1 In php/error.log I can see this error message [13-Aug-2007 10:38:20] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/memcache.so' - /usr/local/lib/php/20060613/memcache.so: Undefined symbol quot;php_session_create_idquot; in Unknown on line 0 Can anyone help please If not able to fix (might be a problem with the port, what is the easiest way to go back to previous version) Thanks p.s. Please reply to me directly as I am only registered on the digest list ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pecl-memcache problem after upgrade of php
Hi, I just did a portupgrade -a and now memcache doesn't work anymore in php. Here are the version portupgrade installed: pecl-memcache-2.1.2 memcached-1.2.2 php5-5.2.3_1 In php/error.log I can see this error message [13-Aug-2007 10:38:20] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/memcache.so' - /usr/local/lib/php/20060613/memcache.so: Undefined symbol quot;php_session_create_idquot; in Unknown on line 0 Can anyone help please Thanks p.s. Please reply to me directly as I am only registered on the digest list ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Linux Compat and freebsd root
Hi, When I start a deamon running under linux emulation, the root of the filesystem '/' seems to be in fact '/usr/compat/linux' Is there a way to mount something like /freebsd pointing to the real filesystem ? If so, where would I put the mount command so that it is loaded when the deamon starts ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Linux Compat and freebsd root
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Lord Sent: 30 juillet 2007 15:58 To: freebsd-questions@freebsd.org Subject: Linux Compat and freebsd root Hi, When I start a deamon running under linux emulation, the root of the filesystem '/' seems to be in fact '/usr/compat/linux' Is there a way to mount something like /freebsd pointing to the real filesystem ? If so, where would I put the mount command so that it is loaded when the deamon starts ? Thanks ~~ Cancel my last, I did a symlink and it worked great. Sorry to bother :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: RALUS for Linux - authentication failing
On Thursday 26 July 2007 12:18:52 pm John Nielsen wrote: I'm trying to get the latest Linux remote agent for Backup Exec to run on a FreeBSD-amd64 machine. The exact version is RALUS-11d.7170.2, although I suspect any 10.0 - 11d version would be the same. After trying a few things (including installing on a real Linux host) I was able to identify and extract the files containing the two rpm's that are actually installed. I ran those through rpm2cpio and got a simple directory layout. I duplicated the directory structure and config file from the Linux host and ran the main executable. (The init script tries (and fails, even after I fixed all the hardcoded paths) to do some housekeeping, but none of it is necessary for the thing to actually run.) The executable seems to run okay and the host even shows up as a Unix target on the (Windows) Backup Exec server, but I'm unable to authenticate, preventing me from doing any backups. I've used the agent on other Linux and Solaris hosts successfully, and it generally just takes the OS root (or other user in the beoper group) password, without a need to set any ralus-specific passwords anywhere. Has anyone else gotten this to work on FreeBSD? If not, can anyone tell me (or speculate) what method the agent uses / might use to authenticate users? I was able to enable logging, so I know it sees the login attempt but it can't verify the password: 18006 Thu Jul 26 11:51:16 2007 : LogonUser failed for user: root because LogonUser: The input password does not match the OS password I ended up going with the legacy agent for Linux for now. The install script actually ran okay except for installing the startup script (which I had to edit anyway), and the agent seems to be running fine. It uses its own password and authentication so I didn't have the problem I did with the modern RALUS. I'm still open to any input but I probably won't be spending more time on getting the modern agent working if I don't have any new ideas. Thanks, ~~~ Hi John, Do you know the difference between the legacy and new one in term of functionalities ? Also, is the legacy agent an option during the installation of ralus ? I don't remember having that option in backup exec 10 Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Portupgrade and mysql5-server
Hi, Just a quick question. When there is a new version of mysql5-server port, I use portupgrade -a to update it. Everytime I need to do a /usr/local/etc/rc.d/mysql-server start to start it manually after the upgrade. Shouldn't it be done automatically ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Portupgrade and mysql5-server
-Original Message- From: Yuri Pankov [mailto:[EMAIL PROTECTED] Sent: 25 juillet 2007 11:29 To: Ian Lord Cc: freebsd-questions@freebsd.org Subject: Re: Portupgrade and mysql5-server On Wed, Jul 25, 2007 at 11:25:54AM -0400, Ian Lord wrote: Hi, Just a quick question. When there is a new version of mysql5-server port, I use portupgrade -a to update it. Everytime I need to do a /usr/local/etc/rc.d/mysql-server start to start it manually after the upgrade. Shouldn't it be done automatically ? Thanks It shouldn't. If you want it to start automatically, check /usr/local/etc/pkgtools.conf, search for AFTERINSTALL. Yuri Thanks ! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Root access loggin
Hi, A Zend technician asked me to have a root access on one of my box to troubleshoot something wrong in Zend Platform installation that doesn't work on Freebsd. He will need root access naturally to install and debug remotely. Is there a way to log all the commands he will type and send them in a logfile ? Or is there a better solution than granting him root access from ssh ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Root access loggin
-Original Message- From: John Fitzgerald [mailto:[EMAIL PROTECTED] Sent: 24 juillet 2007 15:42 To: Tom Grove Cc: freebsd-questions@freebsd.org; Ian Lord Subject: Re: Root access loggin I may be misunderstanding this, but wouldn't allowing only certain commands with sudo assume that the user actually knows what commands are needed by the user? In this situation it seems like the whole reason to grant access to the server was because the user _doesn't_ know what needs to be done. ~~ Exactly, I don't know what needs to be done, and they don't neither. That's why they need to browse around trying to figure out why their installer doesn't work. Sudo wouldn't be any help here cause I would need to pre approve commands and I don't know which one will be needed. Basically, I don't there there is a better solution then giving away the root password, but at least, I would like a log of what has been done. Naturally, I understand any log could be overwritten/modified since the person is root, but since I don't think Zend would make fun in hacking my server, the point in having the log is to undo anything I wouldn't approve .. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: Data corruption with Ide Raid Card
Hi, On our dev environnement, we have a clone server with a Promise FastTrak Tx2000 Pata Raid Card When we installed freebsd, it got detected and I didn't do anything special during the installation. Yesterday, a hard drive failed. Freebsd crashed with write errors on screen. I rebooted and removed the hard drive marked as dead in the raid controller. Freebsd booted up no problem, but I lost a couple of tables in some databases in mysql. Is there anything I forgot/did wrong to get into this problem ? or is it just that these controllers are so crappy that explain the corruption ? I more used to scsi hardware raid controllers in freebsd and never had a data corruption problem before even when disk died or because we hot-removed them. Any idea ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Data corruption with Ide Raid Card
Hi, On our dev environnement, we have a clone server with a Promise FastTrak Tx2000 Pata Raid Card When we installed freebsd, it got detected and I didn't do anything special during the installation. Yesterday, a hard drive failed. Freebsd crashed with write errors on screen. I rebooted and removed the hard drive marked as dead in the raid controller. Freebsd booted up no problem, but I lost a couple of tables in some databases in mysql. Is there anything I forgot/did wrong to get into this problem ? or is it just that these controllers are so crappy that explain the corruption ? I more used to scsi hardware raid controllers in freebsd and never had a data corruption problem before even when disk died or because we hot-removed them. Any idea ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Moving Freebsd to a new Server
Hi, We were in a rush to install a freebsd server without proper hardware on hand, so we used Microsoft Virtual Server and install Freebsd on it. I would like to move the freebsd installation to a real server and was wondering how to do so. I searched around and the solution seems to be to dump the hard drive content and restore it on the new server. Does anyone knows a good walkthrough of the entire process, I didn't find anything in the handbook beside moving freebsd to a new harddrive which I cannot do from the same machine. Basically, I need a way to dump the hd to file, transfer the file over whatever media (dvd, network, etc) and restore on the new machine. I'm not even sure if I need to install freebsd on the new machine or not since I guess I cannot overwrite the partition on which freebsd is running :-) Any help/reference would be appreciated Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Whats eating my cpu ?
Isnt top suppose to show all the process eating cpu ? System takes 20% cpu and I don't see in which process. any idea ? last pid: 1021; load averages: 0.20, 0.39, 0.34 up 0+00:22:56 04:08:51 52 processes: 1 running, 51 sleeping CPU states: 0.0% user, 0.0% nice, 1.7% system, 20.2% interrupt, 78.1% idle Mem: 109M Active, 39M Inact, 61M Wired, 304K Cache, 106M Buf, 787M Free Swap: 1024M Total, 1024M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 1021 root 1 960 2372K 1628K RUN 0:01 0.05% top 695 mysql 3 200 441M 81324K kserel 0:06 0.00% mysqld 672 nobody 1 40 9056K 8712K kqread 0:03 0.00% memcached 698 root 1 80 16532K 9560K nanslp 0:01 0.00% httpd 864 msdi 1 960 6252K 3340K select 0:01 0.00% sshd 723 www1 200 18600K 12436K lockf0:01 0.00% httpd 494 root 1 960 1376K 1032K select 0:01 0.00% syslogd 860 msdi 1 960 3292K 2248K select 0:01 0.00% sftp-server 725 www1 200 18728K 13748K lockf0:01 0.00% httpd 862 root 1 40 6268K 3300K sbwait 0:00 0.00% sshd 852 root 1 40 6252K 3268K sbwait 0:00 0.00% sshd 857 msdi 1 960 6540K 3476K select 0:00 0.00% sshd 556 bind 1 960 4144K 3280K select 0:00 0.00% named 726 www1 200 18512K 12192K lockf0:00 0.00% httpd 742 root 1 960 3504K 2872K select 0:00 0.00% sendmail 865 msdi 1 200 4628K 2644K pause0:00 0.00% csh 711 root 1 980 3524K 2764K select 0:00 0.00% sshd 658 mysql 1 80 1728K 1312K wait 0:00 0.00% sh 859 msdi 1 200 3788K 1948K pause0:00 0.00% csh 993 msdi 1 80 1776K 1408K wait 0:00 0.00% su 752 root 1 80 1388K 1100K nanslp 0:00 0.00% cron 804 root 1 50 1344K 952K ttyin0:00 0.00% getty 799 root 1 50 1344K 952K ttyin0:00 0.00% getty 798 root 1 50 1344K 952K ttyin0:00 0.00% getty 801 root 1 50 1344K 952K ttyin0:00 0.00% getty 803 root 1 50 1344K 952K ttyin0:00 0.00% getty 800 root 1 50 1344K 952K ttyin0:00 0.00% getty 805 root 1 50 1344K 952K ttyin0:00 0.00% getty 802 root 1 50 1344K 952K ttyin0:00 0.00% getty 746 smmsp 1 200 3384K 2812K pause0:00 0.00% sendmail 738 www1 200 16552K 9612K lockf0:00 0.00% httpd 737 www1 200 16552K 9612K lockf0:00 0.00% httpd 735 www1 200 16552K 9612K lockf0:00 0.00% httpd 733 www1 200 16552K 9612K lockf0:00 0.00% httpd 729 www1 200 16552K 9612K lockf0:00 0.00% httpd 728 www1 200 16552K 9612K lockf0:00 0.00% httpd 732 www1 200 16552K 9612K lockf0:00 0.00% httpd 730 www1 200 16552K 9612K lockf0:00 0.00% httpd 727 www1 40 16552K 9612K kqread 0:00 0.00% httpd 741 www1 200 16552K 9612K lockf0:00 0.00% httpd 739 www1 200 16552K 9612K lockf0:00 0.00% httpd 719 www1 200 16552K 9612K lockf0:00 0.00% httpd 740 www1 200 16552K 9612K lockf0:00 0.00% httpd 734 www1 200 16552K 9612K lockf0:00 0.00% httpd 731 www1 200 16552K 9612K lockf0:00 0.00% httpd 721 www1 200 16552K 9612K lockf0:00 0.00% httpd 736 www1 200 16552K 9612K lockf0:00 0.00% httpd 435 root 1 1030 528K 388K select 0:00 0.00% devd 118 root 1 200 1252K 728K pause0:00 0.00% adjkerntz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Whats eating my cpu ?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Lord Sent: 7 juin 2007 04:14 To: freebsd-questions@freebsd.org Subject: Whats eating my cpu ? Isnt top suppose to show all the process eating cpu ? System takes 20% cpu and I don't see in which process. any idea ? last pid: 1021; load averages: 0.20, 0.39, 0.34 up 0+00:22:56 04:08:51 52 processes: 1 running, 51 sleeping CPU states: 0.0% user, 0.0% nice, 1.7% system, 20.2% interrupt, 78.1% idle Mem: 109M Active, 39M Inact, 61M Wired, 304K Cache, 106M Buf, 787M Free Swap: 1024M Total, 1024M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 1021 root 1 960 2372K 1628K RUN 0:01 0.05% top 695 mysql 3 200 441M 81324K kserel 0:06 0.00% mysqld 672 nobody 1 40 9056K 8712K kqread 0:03 0.00% memcached 698 root 1 80 16532K 9560K nanslp 0:01 0.00% httpd 864 msdi 1 960 6252K 3340K select 0:01 0.00% sshd 723 www1 200 18600K 12436K lockf0:01 0.00% httpd 494 root 1 960 1376K 1032K select 0:01 0.00% syslogd 860 msdi 1 960 3292K 2248K select 0:01 0.00% sftp-server 725 www1 200 18728K 13748K lockf0:01 0.00% httpd 862 root 1 40 6268K 3300K sbwait 0:00 0.00% sshd 852 root 1 40 6252K 3268K sbwait 0:00 0.00% sshd 857 msdi 1 960 6540K 3476K select 0:00 0.00% sshd 556 bind 1 960 4144K 3280K select 0:00 0.00% named 726 www1 200 18512K 12192K lockf0:00 0.00% httpd 742 root 1 960 3504K 2872K select 0:00 0.00% sendmail 865 msdi 1 200 4628K 2644K pause0:00 0.00% csh 711 root 1 980 3524K 2764K select 0:00 0.00% sshd 658 mysql 1 80 1728K 1312K wait 0:00 0.00% sh 859 msdi 1 200 3788K 1948K pause0:00 0.00% csh 993 msdi 1 80 1776K 1408K wait 0:00 0.00% su 752 root 1 80 1388K 1100K nanslp 0:00 0.00% cron 804 root 1 50 1344K 952K ttyin0:00 0.00% getty 799 root 1 50 1344K 952K ttyin0:00 0.00% getty 798 root 1 50 1344K 952K ttyin0:00 0.00% getty 801 root 1 50 1344K 952K ttyin0:00 0.00% getty 803 root 1 50 1344K 952K ttyin0:00 0.00% getty 800 root 1 50 1344K 952K ttyin0:00 0.00% getty 805 root 1 50 1344K 952K ttyin0:00 0.00% getty 802 root 1 50 1344K 952K ttyin0:00 0.00% getty 746 smmsp 1 200 3384K 2812K pause0:00 0.00% sendmail 738 www1 200 16552K 9612K lockf0:00 0.00% httpd 737 www1 200 16552K 9612K lockf0:00 0.00% httpd 735 www1 200 16552K 9612K lockf0:00 0.00% httpd 733 www1 200 16552K 9612K lockf0:00 0.00% httpd 729 www1 200 16552K 9612K lockf0:00 0.00% httpd 728 www1 200 16552K 9612K lockf0:00 0.00% httpd 732 www1 200 16552K 9612K lockf0:00 0.00% httpd 730 www1 200 16552K 9612K lockf0:00 0.00% httpd 727 www1 40 16552K 9612K kqread 0:00 0.00% httpd 741 www1 200 16552K 9612K lockf0:00 0.00% httpd 739 www1 200 16552K 9612K lockf0:00 0.00% httpd 719 www1 200 16552K 9612K lockf0:00 0.00% httpd 740 www1 200 16552K 9612K lockf0:00 0.00% httpd 734 www1 200 16552K 9612K lockf0:00 0.00% httpd 731 www1 200 16552K 9612K lockf0:00 0.00% httpd 721 www1 200 16552K 9612K lockf0:00 0.00% httpd 736 www1 200 16552K 9612K lockf0:00 0.00% httpd 435 root 1 1030 528K 388K select 0:00 0.00% devd 118 root 1 200 1252K 728K pause0:00 0.00% adjkerntz ~ Oops, it's not system, it's interrupt... is there a way to know what is wrong with my interrupts ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Whats eating my cpu ?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nikos Vassiliadis Sent: 7 juin 2007 04:24 To: freebsd-questions@freebsd.org Cc: Ian Lord Subject: Re: Whats eating my cpu ? On Thursday 07 June 2007 11:16, Ian Lord wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Lord Sent: 7 juin 2007 04:14 To: freebsd-questions@freebsd.org Subject: Whats eating my cpu ? Isnt top suppose to show all the process eating cpu ? System takes 20% cpu and I don't see in which process. any idea ? ~ Oops, it's not system, it's interrupt... is there a way to know what is wrong with my interrupts ? Yes, try systat -vm 1. Also, what about your network? Nikos ~~ Thanks for the quick response... Most of the interrupts avg 1000 are with clk, I guess this is the clock... I guess it has something to do with the fact I'm currently running under Microsoft Virtual Server Interrupts 1143 total 986 0: clk 1: atkb 128 8: rtc 3 11: de0 26 14: ata 15: ata I'll try to find a way to reduce them cause my system is crawling, I guess it's because of the interrupts Thanks again ! ___ 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]
Su newbie question
Hi, A real dumb question today : Ive always been the only administrator of servers I installed so I never searched too much on the topic A new employee has joined the team and he will need to administer the servers (compile ports, etc) Usually, I do a su when I need to do these tasks, so I wonder if everybody needs to know that password or if he could have his own password to su ? Thanks ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél: (514) 776-MSDI - (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Newbie Question: Mail from from cron jobs...
-Original Message- From: Oliver Peter [mailto:[EMAIL PROTECTED] Sent: 16 mai 2007 03:18 To: Jerry McAllister Cc: Oliver Peter; Ian Lord; freebsd-questions@freebsd.org Subject: Re: Newbie Question: Mail from from cron jobs... On Tue, May 15, 2007 at 05:38:15PM -0400, Jerry McAllister wrote: On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote: On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote: ... Where can I change the address [EMAIL PROTECTED] to [EMAIL PROTECTED] ? Look in the file /etc/mail/aliases You can alias root to go to your favorite address. Don't forget to run newaliases(1) after editing the file. Of course, doing this will mean that all mail to root will go to you. Hhm. I thought the problem was that you would like to change the From: of those e-mails not the To: ? -- Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174 Worker bees can leave. Even drones can fly away. The Queen is their slave. ~~~ Exactly... I receive the emails since I correctly configured my aliases to redirect all mails externally... The problem I have is with the from... Someone told me to change the hostname in rc.conf, that won't work since I have 4 machines: Machine1.mydomain.com Machine2.mydomain.com Machine3.mydomain.com Machine4.mydomain.com I want the mail from to be [EMAIL PROTECTED] not [EMAIL PROTECTED] ... Not too sure where to look into to fix this ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: SMP issues with i386/6.2 RELEASE and Compaq DL360 g1
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Price Sent: 16 mai 2007 02:51 To: freebsd-questions@freebsd.org Subject: SMP issues with i386/6.2 RELEASE and Compaq DL360 g1 Has anyone else seen issues while trying to boot an SMP kernel on a Compaq DL360 G1 with the latest P21 bios (11/2002). I can't seem to get it to recognize both processors... Thanks, James ~~~ I installed a 6.2 release (default install) On two dl360 G1 Today without any problem... Both processors were detected fine. I have a dual P3 550 and a dual P3 866 It went fine without any tweaking or special kernel config ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Newbie Question: Mail from from cron jobs...
Thanks a lot, it works perfectly. I'm starting to think it was not that much of a newbie question since you are the first one to give a working answer :) Thanks again -Original Message- From: Giorgos Keramidas [mailto:[EMAIL PROTECTED] Sent: 16 mai 2007 12:22 To: Ian Lord Cc: 'Oliver Peter'; 'Jerry McAllister'; freebsd-questions@freebsd.org Subject: Re: Newbie Question: Mail from from cron jobs... On 2007-05-16 03:21, Ian Lord [EMAIL PROTECTED] wrote: -Original Message- From: Oliver Peter [mailto:[EMAIL PROTECTED] Sent: 16 mai 2007 03:18 To: Jerry McAllister Cc: Oliver Peter; Ian Lord; freebsd-questions@freebsd.org Subject: Re: Newbie Question: Mail from from cron jobs... Look in the file /etc/mail/aliases You can alias root to go to your favorite address. Don't forget to run newaliases(1) after editing the file. Of course, doing this will mean that all mail to root will go to you. Hhm. I thought the problem was that you would like to change the From: of those e-mails not the To: ? Exactly... I receive the emails since I correctly configured my aliases to redirect all mails externally... The problem I have is with the from... Someone told me to change the hostname in rc.conf, that won't work since I have 4 machines: Machine1.mydomain.com Machine2.mydomain.com Machine3.mydomain.com Machine4.mydomain.com I want the mail from to be [EMAIL PROTECTED] not [EMAIL PROTECTED] You have to enable 'masquerading' and (optionally) `genericstable' for this sort of email address rewriting to work. Here's a commented/example sendmail.mc snippet for that: dnl Address masquerading. dnl dnl Making sure that all email that passes through my desktop's dnl Sendmail installation is masqueraded as coming from dnl `kobe.laptop', even if its original address is something dnl slightly different (i.e. `ftp.laptop' or `mail.laptop'), is ok dnl here. It ensures that address rewriting and translation through dnl `genericstable' will also work for all `*.laptop' host names. dnl dnl To make sure that remote hosts don't get a MAIL FROM address dnl from a hostname that doesn't resolve, envelope addresses are dnl masqueraded here too, and then get rewritten by `genericstable' dnl to real-world addresses. dnl MASQUERADE_AS(`kobe.laptop') FEATURE(`masquerade_entire_domain') FEATURE(`masquerade_envelope') dnl Rewriting the envelope-from address of all outgoing messages dnl through a `genericstable' lookup ensures that envelope-from dnl addresses seen by relay hosts are real, i.e. have an address dnl of [EMAIL PROTECTED]' instead of the default dnl envelope-from of [EMAIL PROTECTED]' that Sendmail would use. dnl dnl This is required some times, to avoid getting bounces for dnl messages from ISP mail relays that are misconfigured or are too dnl strict about what can appear in a MAIL FROM command. dnl FEATURE(`genericstable', `hash -o /etc/mail/genericstable') GENERICS_DOMAIN(`kobe.laptop') FEATURE(`generics_entire_domain') Here `kobe.laptop' is my laptop's hostname, and I have enabled address rewriting for some local email addresses by: % cat /etc/mail/genericstable # # Address rewriting of outgoing email messages. # [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] % You will have to use a similar setup to change the envelope-from and header-from address of the outgoing messages your mail server sends. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Newbie Question: Mail from from cron jobs...
Hi, Everyday, cron is sending me status reports of jobs it ran. In my /etc/mail/aliases I configured root: [EMAIL PROTECTED] and it works fine. The problem, is that the mail is coming from [EMAIL PROTECTED] We have a spamfirewall and it rejects the mail saying localhost.mydomain.com is invalid. Where can I change the address [EMAIL PROTECTED] to [EMAIL PROTECTED] ? Thanks a lot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Port marked as broken
Hi, I just did a cvsup and a pkg_version -v to see that one of my port is outdated. pecl-memcache-2.1.0needs updating (port has 2.1.2) When I tried to portupgrade -a I got a message saying pecl-memcache-2.1.2 is marked as broken: Configure fails. I though something was broken on my system so I went to /usr/ports/databases/pecl-memcache/ and did a make deinstall followed by a make clean and a make I get the same error message saying: === pecl-memcache-2.1.2 is marked as broken: Configure fails. *** Error code 1 Stop in /usr/ports/databases/pecl-memcache. I did some research and found that tag broken is in the cvs so I guess the developer set it that way. 2 questions: 1- How come a broken port is in the cvs ? Shouldn't the developer do a rollback or something if something fails ? 2- Is there a way to reinstall an older version hoping to get the functionality back (since I deinstalled :-() Thanks a lot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Memory 3.5GB not used?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don O'Neil Sent: 24 avril 2007 13:56 To: freebsd-questions@freebsd.org Subject: Memory 3.5GB not used? I just built a new server with an Athlon 64 x2, 4GB Ram and a Gigabyte/Nvidia motherboard. When I boot the system up it says on the console that 532888K will be ignored. Of course it isn't put in any of the log files. Dmesg shows this: real memory = 3724476416 (3551 MB) avail memory = 3649908736 (3480 MB) Any reason the extra 1/2 GB isn't showing up or usable? Is there something I need to specify in the kernel to get to the other 1/2 GB? What if I want to install more than 4GB? This mobo supports up to 16 GB... Do I need to go to the AMD64 platform to get 4GB? I'm running FreeBSD 6.1 i386 SMP kernel. Either use the amd64 version of freebsd or activate PAE in your kernel Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
lost password caused by drunk admin
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ghirai Sent: 17 avril 2007 02:58 To: Lewis Joshua; freebsd-questions@freebsd.org Subject: Re: lost password caused by drunk admin Hello Lewis, Tuesday, April 17, 2007, 4:59:40 AM, you wrote: Hello FreeBSD List, Ok I made a huge mistake (insert laugh here because I know you will). I was working late at home and had more then a few drinks... A lot more. I was working with a PAP2-NA (Analog to VoIP adapter (ATA)) and I changed the password. The password that was programed into the unit from my service provider was a randomly generated password and I was messing with a lot of the settings and needed to keep logging in. So I changed it to make my life easier. So any way I changed the password and now it appears I didn't change the password to what I had thought I had. The password was a short 4 digit number. Like I said I just wanted to make my life easier while I was messing around with it. Now I am locked out of the unit and TOTALY SOL. My phones don't work at the house because the think has been set incorrectly. I don't know how to crack passwords or even where to start. Is there some kind of script or application I can run on my FreeBSD system to try every combination of numbers from 0 - . It is possible I may have fat fingered the number so it could be 6 or 7 digits instead of the 4 I intended. I don't know. I tried every variation I can think of and even got drunk again hoping to recreate the stupid mistake. I have totally messed that one up. I would have had to type it twice which just goes to show you should not work on your junk while drunk. Can anyone help me out? The unit has no reset buttons to reset it to defaults there is nothing online that I can find to bypass the unit. I did a port scan and it appears to only be listening on port 80. Any thoughts out there? Please. Thanks and I hope I made someone laugh with my mistake because I know all my friends are. Thanks. How/over what protocol do you get to wherever it asks for the password? -- Best regards, Ghirai. Hi, Is it just me or haven't you jumped too fast to the difficult solution ? I did a simple search on google: +pap2 +password reset Which returned a lot of results... I read through a couple of them and it appears you can use the analog port to reset the password... Here is one example that looks good: http://forums.linksys.com/linksys/board/message?board.id=VoIP_Adaptersmessa ge.id=11 Read through a couple of them, you might find an easier way then bruteforcing the unit lol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Multiple routes to same destination?
You are right, Zebra will keep only one route in freebsd routing table since Freebsd cannot handle more. At Least zebra will change that route in the routing table if it detects some kind of network topology change (depending on the routing protocol) Best I've been able to reach. I really don't know why freebsd still doesnt support that Linux and even windows supports that :) ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél: (514) 776-MSDI - (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Webster, Andrew Sent: 8 février 2006 09:11 To: Ian Lord; freebsd-questions@freebsd.org Subject: RE: Multiple routes to same destination? I am using Zebra, but it will only keep one route to the same destination in the routing table at any given time, even if there is more than one valid path :( :( I know that Linux has this built-in, and more searching of the 'Net after posting my initial question revealed that multipath routing is in fact something that many people have been asking for since FreeBSD 3.x. I was hoping it would have been built into FreeBSD 6 by now. Andrew Webster Directeur des technologies Director of Technology ConnecTalk Inc. 125 Gagnon, Suite 202 Saint-Laurent, QC H4N 1T1 Tel: 514-856-3060 Fax: 514-856-2988 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Lord Sent: Tuesday, February 07, 2006 07:22 To: freebsd-questions@freebsd.org Subject: Re: Multiple routes to same destination? Hi, this is not a scientific answer, but since no one else replied, here is what I found a while ago... When I installed Freebsd 6, i did a lot of reseach/posting and found out that there is no way freebsd will handle multiple routes to the same destination I was hoping to have two default routes for redundancy (and if possible, load balancing) I never heard of a kernel patch, and if there was one, I wouldn't feel confident with it (just my opinion) I then went with a routing package (there is zebra and quagga) which kinda did the trick. (I used quagga since I had some problem setting up zebra from the ports). It works fine but adds a level of routing that could have been handled by the kernel I guess. At 20:51 2006-02-06, Webster, Andrew wrote: Hi, Does FreeBSD 5.x, or 6.0 support multiple routes to the same destination? I saw some kernel patches a while back for this on 4.x, but I'd like to run something more recent... Thanks! Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél.: (514) 776-MSDI- (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD 2.2.9 / Installation problem
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Ivanov Sent: 16 mars 2007 07:07 To: 'Josh Paetzel'; freebsd-questions@freebsd.org Cc: 'Kris Kennaway' Subject: AW: FreeBSD 2.2.9 / Installation problem I tried to send to freebsd-questions the following twice, and twice failed!: Dear Sir or Madam, I tried reaching ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/ from my Windows XP machine, using Firefox 2.0.0.2, and it requires me to input a username and a password. The same happens with IE7. I would like to download old ISO images. Is this a bug, or is it some new regular behaviour, and in any case, is there a way to download these images? NetBSD archives work well, so it is not a problem in my machine I think. Regards, Nino Ivanov Lol :) In Ie7, just click the log on anonymously checkbox and press login ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache22: not found
Hi, I just installed memcached from /usr/ports/databases/memcached When I try to run the shell scrip: /usr/local/etc/rc.d/memcached.sh I get an error message saying apache22: not found I can still start the deamon using /usr/local/bin/memcached -d Does someone knows how to fix this ? it's probably something really stupid... Thanks ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél: (514) 776-MSDI - (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Spam prevention
Hi, I would like to setup a mail server with postfix and sendmail... To fight spam, is spamassassin the best choice or should I look into something else ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wlan Firewall / Reefedge Dolphin equivalent
Thanks, After your post, I downloaded pfsense and played with it... I had some trouble getting it to work, stranges error during boot, etc. I found it was a fork of monowall which worked for me out of the box.. Amazing product ! Thanks a lot for your help -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vince Sent: 1 novembre 2006 08:04 To: Ian Lord Cc: freebsd-questions@freebsd.org Subject: [SPAM] [SPAM] Re: Wlan Firewall / Reefedge Dolphin equivalent Ian Lord wrote: Hi, There was linux distribution made by reefedge under the name Dolphin. It's an all in one solution that authorize wlan lan users before allowing them access. It also filter traffic based on their username. It's a kind of barrier between your wireless zone and the rest of your network... Reefedge doesn't exist anymore and I wonder if there is some kind of equivalent under freebsd. I've looked in the ports without success. p.s. If you don't know one but know of a Linux alternive, please let me know Sounds like you want some kind of captive portal. have a look at pfsense http://www.pfsense.com/ its a freebsd based firewall distro. Vince Thanks ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wlan Firewall / Reefedge Dolphin equivalent
Hi, There was linux distribution made by reefedge under the name Dolphin. It's an all in one solution that authorize wlan lan users before allowing them access. It also filter traffic based on their username. It's a kind of barrier between your wireless zone and the rest of your network... Reefedge doesn't exist anymore and I wonder if there is some kind of equivalent under freebsd. I've looked in the ports without success. p.s. If you don't know one but know of a Linux alternive, please let me know Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Small Redundant web/mail setup
Hi, I need to setup a high-availability setup for mail/web setup I was thinking about the following setup: 4 servers total: Data Servers: 1 Server holding all the websites data and mail messages. It would serve these files via nfs to the application servers. It would also run mysql A second server Also sharing it's content via nfs, replicating it's data though rsync each ?? minutes. The mysql would run as a slave of theprimary Application Servers: Both servers would be running apache, php, sendmail and posfix and would serve content from the share nfs drive. 1- Is this a viable solution, I mean by that, Is it Like this big ISP are set up ? 2- Is there a better way to replicate data than RSYNC (without going to san of expensive hardware) ? If not, is there a hotsync feature (I mean by that as soon as server A modify something, server B knows and replicate)? I would appreciate if you could give me feedbacks, suggestions, or if you see any problem that might happen with this kind of setup. Thanks a lot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resolved??? Re: Apache 2.2 http accept filter
At 20:01 2006-08-25, you wrote: Did accept filter error problem get resolved? I do NOT have NO_MODULES set in the kernel config or in /etc/make.conf anywhere, and I checked: unicorn[126]# pwd /boot/kernel unicorn[127]# ll *http* -r-xr-xr-x 1 root wheel 5544 Aug 25 12:05 accf_http.ko* unicorn[128]# kldload accf_http.ko kldload: can't load accf_http.ko: File exists unicorn[130]# grep -i http rc.conf # apache22_http_accept_enable (bool): Set to NO by default. # Set to yes to check for accf_http kernel # put accf_http in the kernel config? not yet. apache22_http_accept_enable=YES Do I need to put something in /boot/modules? I already have accf_http loaded, apparently because of the apache22_http_accept_enable flag in rc.conf. Let me know if you've gotten anywhere with this. tack On Sat, 19 Aug 2006, Ian Lord wrote: At 12:18 2006-08-19, you wrote: Ian Lord wrote: well, the apache22_http_accept_enable=YES should do this for him, but it seems like the problems stands elsewhere. Ian, are you sure that these modules are present under the /boot/modules directory? Hi, I just checked and the /boot/modules directory is empty so I guess the problem is there... Do I need to build a port or something to have them ? You might have option NO_MODULES in your kernel config file. If so, remove it and rebuild your kernel as described in the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html Hmmm, the reason the the NO_MODULES is set to yes in my kernel, is because I use PAE Here is a snip from the /usr/src/sys/i386/conf/PAE file # Don't build modules with this kernel config, since they are not built with # the correct options headers. makeoptions NO_MODULES=yes So I guess since I am Using PAE, I just can't build the modules... So from there, what is the recommended solution ? I tried removing apache22_http_accept_enable=YES from rc.conf and using AcceptFilter http none AcceptFilter https none in my httpd.conf file (I also tried not mentionning the AcceptFilter lines in http.conf) I still get the same problem ie: I get the error message [Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I still have problem with it... From what I understand, the problem comes from the fact that I use PAE. When you compile a kernel with PAE, it is clearly mentionnend we need to use the no_module=YES here is a snip from the file /usr/src/sys/i386/conf/PAE ~~ # Don't build modules with this kernel config, since they are not built with # the correct options headers. makeoptions NO_MODULES=yes ~~ So basically, the modules are not built :) So I guess that I cannot use acceptfilter with PAE The problem is that apache keeps on asking for the file so I have warning everytime I start apache... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache 2.2 http accept filter
Hi, When I start apache2.2, I get the following error: [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter Here is my config In /etc/rc.conf: apache22_enable=YES apache22 ssl_enable=YES apache22_http_accept_enable=YES In /usr/local/etc/apache22/httpd.conf: AcceptFilter http httpready AcceptFilter https dataready Is there anything I am missing in the kernel or somewhere ? Also, is it better to run with or without httpready ? I read it was better performance wide to use it Thanks a lot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: Apache 2.2 http accept filter
well, the apache22_http_accept_enable=YES should do this for him, but it seems like the problems stands elsewhere. Ian, are you sure that these modules are present under the /boot/modules directory? Hi, I just checked and the /boot/modules directory is empty so I guess the problem is there... Do I need to build a port or something to have them ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2.2 http accept filter
At 12:18 2006-08-19, you wrote: Ian Lord wrote: well, the apache22_http_accept_enable=YES should do this for him, but it seems like the problems stands elsewhere. Ian, are you sure that these modules are present under the /boot/modules directory? Hi, I just checked and the /boot/modules directory is empty so I guess the problem is there... Do I need to build a port or something to have them ? You might have option NO_MODULES in your kernel config file. If so, remove it and rebuild your kernel as described in the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html You sure know how to troubleshoot ! Thats exactly it Thanks a lot for the quick reply Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2.2 http accept filter
At 12:18 2006-08-19, you wrote: Ian Lord wrote: well, the apache22_http_accept_enable=YES should do this for him, but it seems like the problems stands elsewhere. Ian, are you sure that these modules are present under the /boot/modules directory? Hi, I just checked and the /boot/modules directory is empty so I guess the problem is there... Do I need to build a port or something to have them ? You might have option NO_MODULES in your kernel config file. If so, remove it and rebuild your kernel as described in the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html Hmmm, the reason the the NO_MODULES is set to yes in my kernel, is because I use PAE Here is a snip from the /usr/src/sys/i386/conf/PAE file # Don't build modules with this kernel config, since they are not built with # the correct options headers. makeoptions NO_MODULES=yes So I guess since I am Using PAE, I just can't build the modules... So from there, what is the recommended solution ? I tried removing apache22_http_accept_enable=YES from rc.conf and using AcceptFilter http none AcceptFilter https none in my httpd.conf file (I also tried not mentionning the AcceptFilter lines in http.conf) I still get the same problem ie: I get the error message [Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: urgent: I just rm-r a directory
Thanks to all how had replyed to me :) I'm from a dos/windows world so I was hoping for an undelete utility On fat partitions data is not deleted, it's just flag as deleted, so I though it was the same for freebsd. Seems like I'll have to call the company that store our tapes offsite to recover :) Thanks to all At 20:34 2006-08-06, jan gestre wrote: On 8/7/06, Ian Lord [EMAIL PROTECTED] wrote: I did a rm-r by mistake on a directory... any way to recover ? Help please :( _ if you don't have back ups of the directory concerned, i'm sorry to inform you that you won't be able to recover it. a word of advise, at least make the rm with -i switch to make it interactive, that way it will ask you first before deleting, good thing though it's not your / you deleted :D ___ 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]
urgent: I just rm-r a directory
I did a rm-r by mistake on a directory... any way to recover ? Help please :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xircom Cardbus ethernet 10/100+Modem 56
Hi, As anyone been successful at using xircom cardbus cards under freebsd ? When the system boots, the modem gets detected, the network card also (as DC0) but I get a bunch of these messages: CARDBUS1 Ressource Not Specified in CIS No Station address in CIS If I remove the card while booting and insert it after the system is booted, the computer crash and reboots It's strange because the card is in the compatibility list... The card works fine on windows and linux also Anyone has a clue on how to fix this ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Streaming video real time
At 19:53 2006-07-16, you wrote: I have a need to stream video from my server room to wherever I am via the web. Basically, I need to be able to see the temperature sensor in the room when an alarm is indicated, and I need to be able to see what mode the A/C is in. I have found some articles regarding streaming video, but nothing which seemed to relate to streaming video realtime. I have a USB web cam, and Apache installed. And, I am running FBSD 5.3 on the server. Any suggestions as to what I should look at would be greatly appreciated. I don't think streaming is really mandatory for this kind a setup... Just do a cron job every 1 minute (ajust if necessary) that will take a picture, and save it as jpg in the root of your website... Then just use a simple meta refresh in your web page so that it reloads itself every 1 minute... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVS Export truncate files ?
Hi, we use cvs for in house developpement of a php web site... We use cvs update to sync files, cvs checkout when a new employee need to work on the files, and cvs export when we push the changes to the production web site... For some reason, we found that cvs export truncated a couple of files which caused parsing errors... I don't see any error message While it's doing it, I see the following extract: cvs export: Updating pub/class U pub/class/class.session.cmd cvs export: Updating pub/class/html2pdf cvs export: Updating pub/class/html2pdf/cache cvs export: Updating pub/class/html2pdf/classes Is it normal that the class.session only has a U in front of the line instead of cvs export: Updating Am I doing something wrong or is it some sort of bug/limitation with the cvs export function ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Resource Not specified in CIS (sending again didnt have reply during the weekend...)
Hi, I just tried to install a clean copy of freebsd 6.1 on a Ibm Thinkpad 600X Laptop. There is a Xircom Cardbus network/modem card in it. When the system boots, the modem gets detected, the network card also (as DC0) but I get a bunch of these messages: CARDBUS1 Ressource Not Specified in CIS No Station address in CIS I've browsed through the forums, I saw a couple of people having the same problem, but didn't find any solution... I didnt provided a complete log of boot process cause since I don't have access to the nic, and there is no floppy on the laptop, it's hard to extract it :) Any help would be greatly appreciated Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Resource Not specified in CIS
Hi, I just tried to install a clean copy of freebsd 6.1 on a Ibm Thinkpad 600X Laptop. There is a Xircom Cardbus network/modem card in it. When the system boots, the modem gets detected, the network card also (as DC0) but I get a bunch of these messages: CARDBUS1 Ressource Not Specified in CIS No Station address in CIS I've browsed through the forums, I saw a couple of people having the same problem, but didn't find any solution... I didnt provided a complete log of boot process cause since I don't have access to the nic, and there is no floppy on the laptop, it's hard to extract it :) Any help would be greatly appreciated Thanks ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél.: (514) 776-MSDI- (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Resource Not specified in CIS
Hi, I just tried to install a clean copy of freebsd 6.1 on a Ibm Thinkpad 600X Laptop. There is a Xircom Cardbus network/modem card in it. When the system boots, the modem gets detected, the network card also (as DC0) but I get a bunch of these messages: CARDBUS1 Ressource Not Specified in CIS No Station address in CIS I've browsed through the forums, I saw a couple of people having the same problem, but didn't find any solution... I didnt provided a complete log of boot process cause since I don't have access to the nic, and there is no floppy on the laptop, it's hard to extract it :) Any help would be greatly appreciated Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Windows Filemon equivalent for freebsd
Hi, Just a quick question, do you know a port that will do about the same thing as filemon for windows ? Basically, just a command line tool to list all access to disk showing 1- File being access 2- Success of failure 3- Process accessing the file Thanks a lot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Intel EtherExpress Pro ISA card
At 13:20 2006-04-21, you wrote: I have this card install in a System but the GENERIC kernel does not pick it up. Is there a custom driver for this card or a step I'm missing. Matt If you look at this page (I assumed you are trying to use freebsd6 i386 version) http://www.freebsd.org/releases/6.0R/hardware-i386.html I'm not sure if they are the model you need but you'll see that the ex drivers supports Intel EtherExpress Pro/10 Intel EtherExpress Pro/10+ the fxp drivers supports a couple of etherexpress card the ie drivers support Intel EtherExpress 16 I think the one you need is the ie since it's for 8 and 16 bits isa card. if you read the file /usr/src/sys/i386/conf/GENERIC you'll see that all of the drivers for the nics are enabled in the generic kernel... So I guess your card is not supported. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql-server50 lacks supports for innodb ???
At 02:47 2006-03-27, Glenn Dawson wrote: At 10:22 PM 3/26/2006, Ian Lord wrote: Hi, I just installed mysql-server50 port for the ports databases directory... I compiled it using defaults make make install and InnoDB is not available... What's wrong with the port ??? I have mysql50-server built and installed with the defaults, and it has support for innodb. What did you do to determine that your install does not have support? I really don't know... It's a clean machine, just reinstalled freebsd and then I did a make and make install in the ports /usr/ports/database/mysql50-server/ Obviously, I didn't use the without_innodb flag When I try to create a innodb table by using create table foo (bar mediumint(8)) ENGINE=InnoDB; If I do a show create table foo; +---+--+ | Table | Create Table | +---+--+ | foo | CREATE TABLE `foo` ( `bar` mediumint(8) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 | +---+--+ The innodb is not there it defaults back to myisam Anyone knows what could be wrong ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql-server50 lacks supports for innodb ???
At 07:47 2006-03-27, Ian Lord wrote: At 02:47 2006-03-27, Glenn Dawson wrote: At 10:22 PM 3/26/2006, Ian Lord wrote: Hi, I just installed mysql-server50 port for the ports databases directory... I compiled it using defaults make make install and InnoDB is not available... What's wrong with the port ??? I have mysql50-server built and installed with the defaults, and it has support for innodb. What did you do to determine that your install does not have support? I really don't know... It's a clean machine, just reinstalled freebsd and then I did a make and make install in the ports /usr/ports/database/mysql50-server/ Obviously, I didn't use the without_innodb flag When I try to create a innodb table by using create table foo (bar mediumint(8)) ENGINE=InnoDB; If I do a show create table foo; +---+--+ | Table | Create Table | +---+--+ | foo | CREATE TABLE `foo` ( `bar` mediumint(8) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 | +---+--+ The innodb is not there it defaults back to myisam Anyone knows what could be wrong ? I just did a mysql show engine innodb status; ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is defined So I see the server is really skipping innodb... just strange that the default install does this ! I'll try to figure out what config file I need to modify so this doesnt happen... Thanks for your help ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual xeon
At 17:35 2006-03-27, Aguiar Magalhaes wrote: Hi list, We´ve received a xeon dual processor machine, Intel motherboard... What´s the best versionplatform for it ?? i386, ia64 ?? Hi, first of all, from what I know ia64 won't work... That release is for the itanium kinda cpus... You have the choice between amd64 version (it works with processor having the emt64 extensions like the xeon) or the i386 version. If all you need will be compiled from the ports, I highly recommend the amd64 version... If you are planning on installing precompiled binairies you'll find that there is no support nowhere for the amd64 version so I recommend to use i386 Hope this helps ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual xeon
At 17:49 2006-03-27, Kris Kennaway wrote: On Mon, Mar 27, 2006 at 05:42:21PM -0500, Ian Lord wrote: If you are planning on installing precompiled binairies you'll find that there is no support nowhere for the amd64 version This is completely false. Sorry I wasn't clear enough... In the commercial vendors... It's really hard to find amd64 versions... Ex: pdflib, zend performance, zend safeguard, etc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Urgent Help needed: How to boot in single user mode with usb keyboard
Hi, I am currently in a maintenance window trying to rebuildworld... I am doing it on a dell poweredge with a built in drac wich emulate a usb keyboard... When I need to boot on the drac, I need to use boot with usb keyboard in the menu... Now I need to boot in single mode WITH usb keyboard and I can't figure out... I saw in a post that I could do the following in boot loader: set hint.atkbd.0.flags=0x1 boot -s But it doesnt work... Any help would be greatly appreciated Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mysql-server50 lacks supports for innodb ???
Hi, I just installed mysql-server50 port for the ports databases directory... I compiled it using defaults make make install and InnoDB is not available... What's wrong with the port ??? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pix 501 and freebsd
At 13:37 2006-03-24, Imran Imtiaz wrote: how can i use pix firewall to make a transparent to on my freebsd server. sorry if i am on the wrong place. Not sure if this is what you need, but I guess you are talking about a layer 2 bridged firewall.. Pix OS supports this only from version 7 and pix 501 and pix 506 cannot upgrade yet to this version (not sure if they will ever be able to) A transparent firewall like this just sits beside your switch and your computer and the only layer 2 traffic that can pass through is arp. All other frame will get deencapsulated and a layer 3 (and up) access-list will be applied. This is what is called a transparent firewall as it is transparent on your network :) With a pix 501, you will need to use nat ou pat or simulate a router with the nat 0 command... Hope this helps ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kernel settings for Dell 1850 and 2850 with 4GB of ram
Hi, I am currently running freebsd 6 (amd64) on dells servers that have dual xeon processors in them. There is also 4 gigs of ram in them. I need to reinstall cause I want to go to i386 version (too much problems finding binairies compatible with amd64 with commercial vendors) Could someone tell me: 1- What is the cpu I need to specify in my config ? 2- Do I need to run PAE to have access to all my 4 gigs of ram ? 3- Should I use ULE or 4BSD has my threading model ? (I currently run ULE but it seems it's slower then 4BSD for the posts in that forum) 4- What threading should I use in mysql for better stability and performance (generic or ?) Your help will be very appreciated Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1
At 13:59 2006-03-15, Kris Kennaway wrote: On Wed, Mar 15, 2006 at 10:55:07AM -0800, Don O'Neil wrote: Does anyone know if FreeBSD 6.1 is on track to be released on Monday as per the release schedule? Not likely (still at least 6.1-RC1 to go). The schedule is out of date. Kris Is the new release date known or ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd 6.1 binary compatibility
Hi, sorry for the newbie question... I know for ports there won't be any problem, but what about commercial apps where we don't compile them from scratch, will they work or do we need a new binary from them ? I'm wondering if pdflib (registered) will continue to work or if I need to wait until they release a new binary... Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fileserver with FBSD?
that will span over the 4 drives? Sort of like a clustered space? I guess you mean you want to merge all hard drive space is if it was a single hd... In this case, you can either mount all the drives in your shared directory, or if you really want a single virtual hard drive, you can use raid 0, raid 5 or a span. You can either have a hardware raid controller or a software solution... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Making APC 500 Back UPS (basic) work with FreeBSD
At 09:09 2006-02-21, manish jain wrote: Hi, I just purchased an APC 500 Back UPS (the basic model, not the pro/smart one). It does not have any serial/usb interface. Can I get apcupsd or any other daemon to work with it so that the system automatically shuts down before backup supply runs out ? If someone can attach a sample configuration file, I shall be grateful. Thanks Manish Jain How do you think freebsd will know the ups is about to stop providing energy if the ups has no serial or usb port ? :) ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél.: (514) 776-MSDI- (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Making APC 500 Back UPS (basic) work with FreeBSD
At 10:32 2006-02-21, Peter wrote: --- Ian Lord [EMAIL PROTECTED] wrote: At 09:09 2006-02-21, manish jain wrote: Hi, I just purchased an APC 500 Back UPS (the basic model, not the pro/smart one). It does not have any serial/usb interface. Can I get apcupsd or any other daemon to work with it so that the system automatically shuts down before backup supply runs out ? If someone can attach a sample configuration file, I shall be grateful. Thanks Manish Jain How do you think freebsd will know the ups is about to stop providing energy if the ups has no serial or usb port ? :) Maybe he can try using the ESP protocol? Not too sure what you are talking about, the only esp protocol I know is for encryption during a vpn connection... But basically, this ups is so dumb the only connection between the pc and the ups is through the power cable... Unless you find a way to communicate through that, there is no way you can know there is a power outage (lol unless there is a speaker and you use a microphone to listen for the alarm :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Making APC 500 Back UPS (basic) work with FreeBSD
At 11:47 2006-02-21, Donald J. O'Neill wrote: On Tuesday 21 February 2006 10:08, Chuck Swiger wrote: Donald J. O'Neill wrote: On Tuesday 21 February 2006 08:26, Chuck Swiger wrote: [ ... ] No. If your UPS isn't smart and does not have an external USB or serial port, apcupsd has nothing to work with. As best I can tell from the OP's description, and the APC website, they all have a UPS port. Go from there. All of the new Smart-UPS APC models that they are selling now have USB ports. There are plenty of older models around in the channel, and there is the entire Back-UPS model line that are not smart, and thus have no monitoring/shutdown capabilities. See the Subject: header... Then, thats got to be a really old, old one. I've been working (playing with actually) with computers since the color computer. I won't admit to anything further back than that. I've never seen one that didn't have some means of communication (monitoring). Not from APC anyway. I think the model number from the case would tell us a lot. I think... therefore I sometimes blow smoke. Don Lol in my own opinion, if the user that asked the question can't figure out there is a usb/serial port on the unit (I took the assumption as true :) I can hardly see how he would manage to compile and configure apcupsd :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error log meaning
Is this a log from your ftp deamon ? If so, it might be due to the fact that you are not connecting using passive mode and going through a server that doesnt handle ftp transfer correctly. Might be something complety different also... I cannot help you more then that (if it did at all lol) At 13:29 2006-02-08, Imran Imtiaz wrote: I have seen the following error in my messages file can anyone tell me what does it mean? is my computer being hacked? Refused PORT 207,46,133,140,1,21 (address m ismatch)[A ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél.: (514) 776-MSDI- (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple routes to same destination?
Hi, this is not a scientific answer, but since no one else replied, here is what I found a while ago... When I installed Freebsd 6, i did a lot of reseach/posting and found out that there is no way freebsd will handle multiple routes to the same destination I was hoping to have two default routes for redundancy (and if possible, load balancing) I never heard of a kernel patch, and if there was one, I wouldn't feel confident with it (just my opinion) I then went with a routing package (there is zebra and quagga) which kinda did the trick. (I used quagga since I had some problem setting up zebra from the ports). It works fine but adds a level of routing that could have been handled by the kernel I guess. At 20:51 2006-02-06, Webster, Andrew wrote: Hi, Does FreeBSD 5.x, or 6.0 support multiple routes to the same destination? I saw some kernel patches a while back for this on 4.x, but I'd like to run something more recent... Thanks! Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél.: (514) 776-MSDI- (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote backup solutions
You might want to look into http://www.bacula.org/ Didnt try it myself, planning to test it soon... They have a windows client from what they say... At 17:25 2006-02-07, Göran Nilsson wrote: Hi all. Im looking for som software (opensource) that's scalable to to plenty of remote backups over the Internet. The idea about this is offering small companys to do theire backup to a remote distance, and don't have to concern that much about it. The companys servers are generally NT 4.0 Server up to Windows2003. The backup system should be based on a FreeBSD 6.0 system. In the beginning it won't be that many companys doing remotebackups still, it should be easy grow with the jobs needed. Anyone have a pointer to what i should look for? Shoud the backups be done via a vpn solutions like OpenVPN and rsync? Or should i look for something else? Are there any pitfalls i should lookout for? Anyway any/all feedback is most appriciated. /Goran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél.: (514) 776-MSDI- (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: navigating between html php
Php is running as a apache mopdule I guess... So apache will need write access to the folder you are trying to write into... Just try to make your directory writable by the www user to check if this is your problem.. To do so, do into the directory your script is trying to write into and do something like chown www:wheel . chmod 770 . or something like that depending on your need... see man chown and man chmod if you are not too sure what you need... It might be something else that prevents you to write in your directory (ie safe mode in php.conf) but without looking at your code, it might be a good place to start with... At 14:17 2006-01-25, fbsd_user wrote: Hello list. I am running FreeBSD 6.0/apache 1.3.33_2/php 4.4.0/mysql 4.0.25. I am beginner in coding php. In past only added php code to count visitors to home page. Now I want to build application to host user web site as directory on my server. I want to use native html as much as possible in what is seen by user's browser and keep the real functional php code in a common file on my server so it does get seen by anyone. At this point I am just creating the navigation base code to implement this concept. Below is listed 2 files. page1.php is the native html page1 passing a form to the common main.php code workhorse. The idea is main.php will receive the form from page1.php and process the make dir and then return to the page1.php to show any errors or goto page2.php if make dir worked. In main.php the line to check the dir_name for 0-9 a-z gives error and I don't know what is wrong. Also I can not find any function in php manual to (goto or branch to) the native html page I want. Is what I am trying to do legal? Is there a better way to do this? Thanks in advance. page1.php Setup your personal website by first chooseing your 8 character website name. Web Name: ?php if($dir_error == yes) {print ($dir_error_msg);} ? main.php ?php // this is the main work hourse php script the performs all the functions of this application $today = date(Y/m/d); // in mmdd format $directory = (DOCUMENT_ROOT); // home dir of server files usr/local/www/data from global var $user_ip_addr = (REMOTE_ADDR); // ip address of user viewing this page global var $dir_error = ;// set to null //[[:alnum:]] matches any letter or digit (can also be expressed as [a-z0-9] ) if($_POST['action'] = dir_add) { $newdir = $_POST['dir_name']; if(eregi([[:alnum:]], $directory$newdir)) { if(file_exists($directory$newdir)) { $dir_error = yes; $dir_error_msg = Your web site name is not available, try a different one; goto(page1.php); // return to page1 and display error } else { mkdir($directory$newdir, 0707); goto(page2.php); // return to page1 and display error } else; { $dir_error = yes; $dir_error_msg = Enter alphanumaric content only, Try again; goto(page1.php); } endif} // notice following is all comments. /* if($_POST['action'] = user_signup_infor_add) { add code here later } add as flat file to dir users if($_POST['action'] = user_wedpage_infor_add) { add code here later } add as flat file in user created dir from above if($_POST['action'] = user_webpage_infor_display) { add code here later } pass text wysiwyg to native html page if($_POST['action'] = user_webpage_infor_edit) { add code here later } take returned text data ad replace content of flat web page file */ ___ 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]
RE: navigating between html php
At 20:16 2006-01-25, fbsd_user wrote: Thank you for replying but creating the directory or permissions has nothing to do with my question. Please reread original post. Sorry, read too fast :) The function to redirect the user to another page is header ('Location: http://www.yahoo.com'); This will do a http redirect, you must make sure the script has not sent any output, otherwise the redirect will fail. Instead of redirecting the user, you might do the following use require, require_once, include, or include_once to inclure the content of page1 this will have the same effect Regarding your error while checking if the directory exist, can you post the exact error php gives you ? ___ 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 subscribe to this list?
Check out http://www.freebsd.org/community/mailinglists.html More specifically: http://lists.freebsd.org/mailman/listinfo/freebsd-questions At 14:05 2006-01-16, Rick McCombs wrote: How do I subscribe to this list? I could not find on the web how to subcribe. I tried majordomo and apparently there is no majordomo. Thanks ___ 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]
Time Zone
What is the prefered time zone for a web server Is it better to keep it GMT or local timezone ? I am in eastern time zone so I need to deal with standard and daily saving time... Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 80 pin SCSI hard drives.
There are called sca or single connect if I'm not wrong... Most high end servers (sun, hps, ibm, compaq, etc used those) They are basically 68 pins drive (can be U80, U160 or U320) so you just need a regular se scsi adapter for them. The only difference is that the power is coming though the connector, scsi ids are also set by the backplane instead of jumpers at the back of the drive... If you don't plan to put them on a server that has those backplane, you can buy a converter from 68 pins to 80 like this one for example: http://cgi.ebay.com/INTERNAL-SCSI-3-SCA80-pin-to-SCSI-2-IDC50M_W0QQitemZ5853652732QQcategoryZ41993QQssPageNameZWDVWQQrdZ1QQcmdZViewItem http://cgi.ebay.com/SCA-adapter-80-pin-to-SCSI-I-II-III-68-or-50-Converter_W0QQitemZ8750421043QQcategoryZ11160QQrdZ1QQcmdZViewItem http://cgi.ebay.com/414-SCSI-Adapter-SCA-80-to-68-to-50-PIN-GIFT_W0QQitemZ8751171361QQcategoryZ167QQrdZ1QQcmdZViewItem There is a bunch on ebay, just seach for sca 80 it may be hard to fit in your case, just make sure it fits :) At 21:21 2006-01-16, je killen wrote: I've obtained two SCSI hard drives made by Maxtor that have 80 pin connectors and no power connector port. This isn't necessarily relevant to FreeBSD accept that i'm planning on using them in a FreeBSD installation. I'm only aware of 50 pin SCSI and 68 pin SCSI. I've tried to contact Maxtor to get advice on a PCI adapter and cables to use with these units but haven't gotten a reply. Can any one give me some info on how to set these drives up hardware wise? Or if they can be used, maybe I made a mistake getting them, but they are 18GB 15 k drives and were $75 apiece from Tiger Direct. two of them will give me 36 GB to use for a web server /usr and /var partitions. And ill use SATA drives for RAID back up. Thank you in advance. JK ___ 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]
Re: NIC bonding/teaming
At 16:47 2006-01-13, Ceri Davies wrote: On 13 Jan 2006, at 20:22, jim feldman wrote: Does 6.x have a nic bonding/teaming/failover feature like the linux bond (rnd robin, failover, ld bal, trunking)? I'm thinking multiple nics, one server, same lan/vlan. I've read up on CARP and one2many, but they don't seem to do what bond does. I think you want ng_one2many(4). Ceri Hi, I did a lot of tests with carp (was not appropriate at all), and ng_one2many I was able to make two nics appears at one with ng_one2many, but after severals days of tests and research, dropped it because it caused bad side effects and when I was pulling one nic out, it was stopping to transmit/receive for some moment. Also on the switch, both nics were registering the same mac address so my cisco was sending me warning about it every minute. If you find a way to make it work that works perfectly, let me know, I think a lot of people will benefit from it cause there is a bunch of people asking for nic teaming and no real solution... personnally, I ended up doing the redundancy at layer 3 instead of layer 2. I used quagga (or zebra) and put one nic in a separate subnet. I then used ospf to share routes. basically, my website is on an ip I binded to my loopback adapter and there is two gateways (both nics) to the rest of the network. It's not a solution I'm proud of because I wish I would have succeed to team the nic like I could have done on windows or linux, but I didn't find a working solution... Good luck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIC bonding/teaming
At 17:14 2006-01-13, Dan Nelson wrote: In the last episode (Jan 13), Ian Lord said: At 16:47 2006-01-13, Ceri Davies wrote: On 13 Jan 2006, at 20:22, jim feldman wrote: Does 6.x have a nic bonding/teaming/failover feature like the linux bond (rnd robin, failover, ld bal, trunking)? I'm thinking multiple nics, one server, same lan/vlan. I've read up on CARP and one2many, but they don't seem to do what bond does. I think you want ng_one2many(4). I did a lot of tests with carp (was not appropriate at all), and ng_one2many I was able to make two nics appears at one with ng_one2many, but after severals days of tests and research, dropped it because it caused bad side effects and when I was pulling one nic out, it was stopping to transmit/receive for some moment. Also on the switch, both nics were registering the same mac address so my cisco was sending me warning about it every minute. That's because you forgot to configure your cisco and tell it those two ports were trunked together :) Another alternative to ng_one2many is ng_fec, which despite its name does not actually negotiate the FEC protocol with the remote end (you have to hardcode it on the switch), but does do mac/ip port hashing. That prevents packet reordering within flows. Patches to add LACP negotiation (FEC is obsolete) are welcome though :) Oups :) Forgot to mention I was looking for switch redundancy also... So each nics were plugged into 2 separate switches so I was not able to configure the switch as trunk or etherchannel... On windows, I am able to team the nics on two different switches without problem with the hp or Intel teaming software, I guess only one nic works at the same time and register it's mac address in the switch tcam... For the original question, it should work with ng_one2Many :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports dependencies questions (php5-mysql-5.1.1 and php5-mysqli-5.1.1)
Hi, I have installed the ports php5-mysql-5.1.1 and php5-mysqli-5.1.1 during the make, the port mysql-client-4.1.16 got installed I need the newer version of mysql-client-5.x When I try to install it, I get an error saying I cannot install because mysql-client-4.1.16 is already installed. If I try to uninstall mysql-client-4.1.16 using pkg_delete I get an error because php5-mysql-5.1.1 and php5-mysqli-5.1.1 requires it... So is there a better way to install php5 with mysql support, or can the maintainer of this port change it so we can use mysql-client-5x or am I doing something stupid ? :) Thanks ~~ Windows:Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD:Are you guys coming or what? ~~ Ian Lord, CCNA MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél.: (514) 776-MSDI- (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports dependencies questions (php5-mysql-5.1.1 and php5-mysqli-5.1.1)
Hi, I have installed the ports php5-mysql-5.1.1 and php5-mysqli-5.1.1 during the make, the port mysql-client-4.1.16 got installed I need the newer version of mysql-client-5.x When I try to install it, I get an error saying I cannot install because mysql-client-4.1.16 is already installed. If I try to uninstall mysql-client-4.1.16 using pkg_delete I get an error because php5-mysql-5.1.1 and php5-mysqli-5.1.1 requires it... So is there a better way to install php5 with mysql support, or can the maintainer of this port change it so we can use mysql-client-5x or am I doing something stupid ? :) Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple server monitoring with HPs iLO ... ?
At 20:33 2005-12-19, Marc G. Fournier wrote: On Mon, 19 Dec 2005, lars wrote: But for the SSH bit of iLO, I just logged into one of our servers. It has an SSH interface. The iLO command line is a bit odd, but usable. So remotely power cycling or marking a server from a Unix box is doable. IIRC you can even load your own key file via the web interface and henceforth log in automagically without interactively entering a password. Hi, we have a bunch of Hp servers in our server room. The ilo card (standard or upgraded) doesnt support ssh. It's a web based device. In fact, you don't need the advanced feature unless you want graphical view of your server or if you want to mounth isos in the virtual cdrom. There is a software (windows only I think) which is called Insight manager. Here is the link http://h18013.www1.hp.com/products/servers/management/hpsim/index.html It's free as long as you run it from an hp/compaq system. It's basically a striped down version of openview. All of the managed devices (can be hp, dell, ibm, whatever) communicate with the server with snmp traps. When the software manage a hp/compaq server you naturally have a lot more functionnality :) The problem with freebsd, it that hp doesnt provide agents (not sure if you can install those from linux, didn't try). So basically, your management station cannot receive traps regarding hp agents, but will receive traps from the ilo card if you configure snmp on it. Hope it helps a bit... ~~ Windows:Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD:Are you guys coming or what? ~~ Ian Lord, CCNA MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél.: (514) 776-MSDI- (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple server monitoring with HPs iLO ... ?
At 20:33 2005-12-19, Marc G. Fournier wrote: On Mon, 19 Dec 2005, lars wrote: But for the SSH bit of iLO, I just logged into one of our servers. It has an SSH interface. The iLO command line is a bit odd, but usable. So remotely power cycling or marking a server from a Unix box is doable. IIRC you can even load your own key file via the web interface and henceforth log in automagically without interactively entering a password. ~ Sorry if you receive this email twice, I sent with the wrong email address the first time, think it didn't work ~ Hi, we have a bunch of Hp servers in our server room. The ilo card (standard or upgraded) doesnt support ssh. It's a web based device. In fact, you don't need the advanced feature unless you want graphical view of your server or if you want to mounth isos in the virtual cdrom. There is a software (windows only I think) which is called Insight manager. Here is the link http://h18013.www1.hp.com/products/servers/management/hpsim/index.html It's free as long as you run it from an hp/compaq system. It's basically a striped down version of openview. All of the managed devices (can be hp, dell, ibm, whatever) communicate with the server with snmp traps. When the software manage a hp/compaq server you naturally have a lot more functionnality :) The problem with freebsd, it that hp doesnt provide agents (not sure if you can install those from linux, didn't try). So basically, your management station cannot receive traps regarding hp agents, but will receive traps from the ilo card if you configure snmp on it. Hope it helps a bit... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple server monitoring with HPs iLO ... ?
At 13:18 2005-12-20, lars wrote: Hi, we have a bunch of Hp servers in our server room. The ilo card (standard or upgraded) doesnt support ssh. It's a web based device. In fact, you don't need the advanced feature unless you want graphical view of your server or if you want to mounth isos in the virtual cdrom. I think you are mistaken since I just logged in to one of our servers with Putty: --- User:Administrator logged-in to ilo-XX(nnn.nnn.nnn.nnn) iLO 1.80 pass21 at 18:05:43 Jul 12 2005 Server Name: BLUEBIRD Server Power: On /hpiLO- --- It's a HP ProLiant DL 380 G4, see iLO Revision in the output. And that software comes stock with the server. Unless HP made a mistake delivering it. We also once received the full set of redundant fans, for free :-) Hmmm I just tried a bunch of my servers: G1 servers are accepting telnet, but not ssh G3 servers are accepting neither Connecting with telnet only gives me the status of the server (up or down) But I don't have G2 neither G4 servers perhaps it's a new feature of G4 servers... Are you able to do anything with the ssh connection (see console, reboot, etc) or is it just to let you know the status of the server like it does for me in G1 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple CPUs
At 14:12 2005-12-13, Robert Fitzpatrick wrote: I guess this means my new server is only using one of my CPUs? esmtp# grep CPU /var/log/dmesg.today CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU) Hyperthreading: 2 logical CPUs cpu0: ACPI CPU (2 Cx states) on acpi0 Can someone point me to the best doc for enabling use of both CPUs on the FreeBSD 5.4 server? I assume the kernel needs built with options. -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Just add options SMP to your kernel configuration file and rebuild your kernel. You should go though all the configurations at the same time to do some optimizations... You can find the infos in the handbook on how to compile your kernel: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PCI-E 1x network adapter
At 04:17 2005-12-09, Jiri Mikulas wrote: Hello I'm looking for PCI-Express 1x network adapter for FBSD-6 I found adpaters only for PCI-X in documentation, on google I didn't find much more :(... Is there any PCI-E adapter supported ? Could you recommend me any adapter, plase ? Thanks for reply. Jiri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] We use Intel's dual ports gigabit adapters in dell's servers with freebsd 6 without any problem. They are supported by the em driver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Carp for nic redundancy ?
Hi, from what I understand, carp is used to provide redundancy between two servers but can it provide redundancy for two nics in the same server ? ex: if a server has 2 nics and one goes down, the virtual ip would get transfered to the other nic... I'm looking for a way to team nic a bit like hp or intel does on windows, I tried stuff like netstat, one2many, ether, etc and can't find a way to make this work so I am wandering if carp could help. For now, since I didn't find anything that would work, I've put a couple of ips on my loopback interface, put each of my nics on 2 differents subnet and used ospf for redundancy. It works perfectly, but I would prefer to have redundancy at layer 2 not layer 3 Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Veritas backup exec with ralus (remote agent for linux and unix servers)
Hi, Does anyone managed to install ralus and make it works on freebsd ? We have a veritas backup exec server that backups all of the m$ servers and we would like to backup freebsd servers from the same location.. Veritas (now symantec) doesnt supports freebsd but supports linux... I modified the installation script to be able to install the software, I installed the linux_base port created the user/groups manually etc etc But I can't authenticate to the freebsd machine and wondering why. If someone have a working installation, could you provide the installations step. If I manage to make it work I will add the software to the ports collection... Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVS Server with freebsd
Hi, I'm trying to setup a cvs server for our internal development... I may be blind, but I didn't find any ports for this in the ports tree... Do I need to compile it from the source or is there an easier way (port) I saw a pserver wrapper for cvs ( port = cvsd) in the port but not the actual cvs server Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Server with freebsd
thanks ! I'll check into this (ssh) Thanks a lot for your help At 12:17 2005-12-03, lars wrote: Ian Lord wrote: Hi, I'm trying to setup a cvs server for our internal development... I may be blind, but I didn't find any ports for this in the ports tree... Do I need to compile it from the source or is there an easier way (port) I saw a pserver wrapper for cvs ( port = cvsd) in the port but not the actual cvs server You don't need to install a CVS server, or port for that matter. I advise you to go to cvshome.org to read the documentation on how to set up a source code repository with CVS. I also recommend not to use pserver if you can avoid it. You can authenticate all CVS users via local accounts and SSH. With two environmant variables CVS_ROOT=... CVS_RSH=... the users then make their local CVS clients use SSH to authenticate with the CVS server and transmit their commits enrypted. In this way you don't need a CVS daemon running on the server. Kind regards Lars ___ 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]
schedule a script at system startup
Hi, I would like to run a shell script at system startup which needs to run under a specific uid... I don't see anything for this in man cron... is there a way to do it with cron ? or otherwise is there another way ? I guess there might be a way to put a script in /etc/rd.d/ but I don't know how to run it under a specifid uid Any help would be appreciated Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bad instability on FreeBSD/amd64 6.0
No it's intel based xeon processors, but since they use emt64 extensions, we can use the amd64 version of freebsd. At 06:32 2005-11-30, Johan wrote: On 11/28/05, Ian Lord mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: I've been running amd64 version since version 6 been out without any crashes. I am running on dell's 1850 and 2850 servers. Dell is using AMD now?? I couldn't find them on their website... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bad instability on FreeBSD/amd64 6.0
I've been running amd64 version since version 6 been out without any crashes. I am running on dell's 1850 and 2850 servers. On my part, the only problem I see in it, is that commercial vendors don't support it so in my case, I can't run zend accelerator and pdflib since they are precompiled for IA32 IA32 compat won't help you in this case since these two program are loadable module so you cannot load a ia32 module in a amd64 compiled application even with compatIA32 in the kernel. At 12:26 2005-11-28, Wojciech Puchar wrote: i've read few articles on the net that FreeBSD/amd64 crashes very frequently, contrary to /i386. how much truth is in that? i would strongly prefer to run amd64 system on amd64 machine that i will buy this week. ___ 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]
Switching from AMD64 to IA32
Hi, I installed freebsd 6.0 AMD64 version. I'm starting to feel it aint a so good idea because some commercial vendors doesnt provide binairies for it... PDFLIb, zend optimizer, etc So I was wandering, in the worst case scenario where I would need to install the ia32 version of freebsd 6.0 is there an easy way to make buildworld (while specifying I need IA32 instead of AMD64) or is it a complete install from scratch ? Also: when you do a make buildworld, does it recompile all ports on the systhem or just the os ? Thanks ~~ Ian Lord, CCNA MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél.: (514) 776-MSDI- (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
COMPAT_IA32 COMPAT_FREEBSD5
Hi, I am running freebsd 6 AMD64 I compiled my kernel with the following options: options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD5 # Compatible with FreeBSD5 However, I am trying to run an application which has been compiled for freebsd 5.x IA32 I get the following error: Unable to load dynamic library '/usr/local/lib/php/20041030/libpdf_php.so' - /usr/ local/lib/php/20041030/libpdf_php.so: unsupported file layout in Unknown on line 0 Do I need to do anything special to activate COMPAT_IA32 and COMPAT_FREEBSD5 on this loadable module ? Thanks ~~ Ian Lord, CCNA MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél.: (514) 776-MSDI- (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: COMPAT_IA32 COMPAT_FREEBSD5
So Basically, I would need to recompile Php for ia32 and run it in emulation, then since php is running as a dso, recompile apache... At that point, I prefer to do a make buildworld :) At 14:08 2005-11-16, Andrew P. wrote: On 11/16/05, Ian Lord [EMAIL PROTECTED] wrote: Hi, I am running freebsd 6 AMD64 I compiled my kernel with the following options: options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD5 # Compatible with FreeBSD5 However, I am trying to run an application which has been compiled for freebsd 5.x IA32 I get the following error: Unable to load dynamic library '/usr/local/lib/php/20041030/libpdf_php.so' - /usr/ local/lib/php/20041030/libpdf_php.so: unsupported file layout in Unknown on line 0 Do I need to do anything special to activate COMPAT_IA32 and COMPAT_FREEBSD5 on this loadable module ? Various problems occur when a dynamic x86 executable tries to use x86_64 libraries. You don't have to do anything special per se, but ensure that binaries are consistent. ~~ Ian Lord, CCNA MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél.: (514) 776-MSDI- (514) 776-6734 Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: COMPAT_IA32 COMPAT_FREEBSD5
So Basically, I would need to recompile Php for ia32 and run it in emulation, then since php is running as a dso, recompile apache... At that point, I prefer to do a make buildworld :) At 14:08 2005-11-16, Andrew P. wrote: On 11/16/05, Ian Lord [EMAIL PROTECTED] wrote: Hi, I am running freebsd 6 AMD64 I compiled my kernel with the following options: options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD5 # Compatible with FreeBSD5 However, I am trying to run an application which has been compiled for freebsd 5.x IA32 I get the following error: Unable to load dynamic library '/usr/local/lib/php/20041030/libpdf_php.so' - /usr/ local/lib/php/20041030/libpdf_php.so: unsupported file layout in Unknown on line 0 Do I need to do anything special to activate COMPAT_IA32 and COMPAT_FREEBSD5 on this loadable module ? Various problems occur when a dynamic x86 executable tries to use x86_64 libraries. You don't have to do anything special per se, but ensure that binaries are consistent. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]