Re: Still trying to get my site up!
Gerard Seibert wrote: Thanks to several individuals, I have almost gotten my Apache2 server working. Almost, but not quite. My ISP blocks port 80; therefore I am using a redirect from DynDNS.org to redirect to an alias using port 9545. The 'beerstud.us' redirects to 'www2.beerstud.us:9545' From my FreeBSD box, if I type: lynx http://beerstud.us, I see the following message: Using http://www2.beerstud.us:9545/. The connection is made and the index.htm file is displayed. However, I am unable to reach this site from any other computer. Eventually, the request will time out and I receive an error message telling me that the site is not available. I am not sure what I am doing wrong at this point. I have posted the following files if anyone feels ambitious enough to look them over for me. httpd.conf =http://www.seibercom.us/FreeBSD/httpd.conf hosts=http://www.seibercom.us/FreeBSD/hosts This is the output from ifconfig -a net-card.txt=http://www.seibercom.us/FreeBSD/net-card.txt resolv.conf=http://www.seibercom.us/FreeBSD/resolv.conf The 'hosts' file has a pretty good description of my network in it. I double checked my router, and I believe it is configured correctly to pass port 9545 through. Hi, Just checked www2.beerstud.us:9545, the connection fails.. Are you sure that you have enabled port forwarding in the router? - Sarath ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 2 Nic on same subnet.
Stephan Weaver wrote: Can you give me an example of how this is done? <--- please do not TOP POST From: Sarath ER <[EMAIL PROTECTED]> To: freebsd-questions@freebsd.org Subject: Re: 2 Nic on same subnet. Date: Tue, 21 Jun 2005 12:10:33 -0700 Stephan Weaver wrote: Hello All, I am trying to place my network behind a firewall [FreeBSD BASED]. What i have Done! I have 2 Nic in the BSD PC. vr0, vr1. Both on the same subnet eg. vr0 - 192.168.0.1 , vr1 - 192.168.0.2. I Plug the Ethernet Cable From the DSL modem Into my vr0 interface. I Plug the Ethernet Cable from the SWITCH into my vr1 interface. I am running ipnat as follows. ipnat.rules map vr0 192.168.0.0/24 -> 0.0.0.0/32 proxy port ftp ftp/tcp map vr0 192.168.0.0/24 -> 0.0.0.0/32 portmap tcp/udp 4:6 map vr0 192.168.0.0/24 -> 0.0.0.0/32 --- Here are some messages i get from my /var/log/messages. Jun 20 22:47:36 pizzaboys kernel: arp: 192.168.0.198 is on vr0 but got reply from 00:08:74:4f:57:c5 on vr1 Thank You, Stephan Weaver [EMAIL PROTECTED] You must delete the routes for the network from both interfaces and add individual host routes to the interfaces. Suppose you have a cable modem on vr0 add a host route for that Ip and assign it to vr0 interface and add the rest of the hosts in your lan in vr1 interface. Or you can choose a different network or subnet the same ip block Cheers, - Sarath ___ route delete -net yournetworkhere/maskhere <- you might have to do it twice... route add -host ipaddressofthelocalinterface -interface vr0 route add -host ipaddressofcablemodemhere -interface vr0 route add -host ipaddressofvr1here -interface vr1 route add -host firsthostinlan -interface vr1 route add -host secondhostinlan -interface vr1 I think this would do it... - Sarath ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 2 Nic on same subnet.
Stephan Weaver wrote: Hello All, I am trying to place my network behind a firewall [FreeBSD BASED]. What i have Done! I have 2 Nic in the BSD PC. vr0, vr1. Both on the same subnet eg. vr0 - 192.168.0.1 , vr1 - 192.168.0.2. I Plug the Ethernet Cable From the DSL modem Into my vr0 interface. I Plug the Ethernet Cable from the SWITCH into my vr1 interface. I am running ipnat as follows. ipnat.rules map vr0 192.168.0.0/24 -> 0.0.0.0/32 proxy port ftp ftp/tcp map vr0 192.168.0.0/24 -> 0.0.0.0/32 portmap tcp/udp 4:6 map vr0 192.168.0.0/24 -> 0.0.0.0/32 --- Here are some messages i get from my /var/log/messages. Jun 20 22:47:36 pizzaboys kernel: arp: 192.168.0.198 is on vr0 but got reply from 00:08:74:4f:57:c5 on vr1 Thank You, Stephan Weaver [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" You must delete the routes for the network from both interfaces and add individual host routes to the interfaces. Suppose you have a cable modem on vr0 add a host route for that Ip and assign it to vr0 interface and add the rest of the hosts in your lan in vr1 interface. Or you can choose a different network or subnet the same ip block Cheers, - Sarath ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: system cloning
Giorgos Keramidas wrote: On 2005-06-10 12:47, Sarath ER <[EMAIL PROTECTED]> wrote: This is how I do it on linux.. Correct me if I am wrong. rsync -vrplogDtH /* /new chroot and edit the fstab etc I do not know how to fix the bootrecord in freebsd, please find howto. # boot0cfg -v /dev/ad1 Thanks Giorgos, I checked your article too, Impressive. Cheers, - Sarath ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange error
Jack Raats wrote: This day I've a very strange error when trying to connect to my FreeBSD machine (4.11-STABLE) I got the following error: ssh_exchange_identification: Connection closed by remote host Can anyone give me any clue what's wrong? Jack ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Please check /etc/hosts.allow and /etc/hosts.deny of the remote machine and see if there are any restrictions for sshd. This also happens if the remote machine has strict key checking enabled. Regards, - Sarath ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: system cloning
This is how I do it on linux.. Correct me if I am wrong. rsync -vrplogDtH /* /new chroot and edit the fstab etc I do not know how to fix the bootrecord in freebsd, please find howto. boot from the array lets hope this helps. - Sarath Tony Shadwick wrote: Here's my scenario: I have a system that we are running in production that there was an oversight on, and it has a single hard drive installed (32GB SCSI I believe), rather than a 3 drive raid5 array. We would like to correct this, but we have all sorts of up-to-date packages and config files that we've tweaked that we would hate to just start over on it. There's a tool for OSX called "Carbon Copy Cloner" that would take care of this for me, which is basically a series of copy commands that takes the filesystem from one drive to another, preserving EVERYTHING important, and then bless the boot volume. Is there anything similar I can do on FreeBSD? My boss thinks I should be able to tar up the entire filesystem, create the raid array, and untar the whole thing on the new array. I seem to think this will fail due to block devices that have changed, fstab entries that have changed (though this is correctable), and symlinks that don't nicely come across. Thoughts? ___ 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: re-setting root password for MYSQL win 2003
John Andrews wrote: in order to access the MYSQL control centre and MYSQL administrator I need to be able to re-set the root userpassword, can someone please advise on how this is done in win2003 server admin tools/computer management/ local users and groups does not disclose the MYSQL root user see print screen. TIA john This is the wrong place to ask for a windows qn. Anyways here it is. The procedure under Windows: 1. Log on to your system as Administrator. 2. Stop the MySQL server if it is running. For a server that is running as a Windows service, go to the Services manager: Start Menu -> Control Panel -> Administrative Tools -> Services Then find the MySQL service in the list, and stop it. If your server is not running as a service, you may need to use the Task Manager to force it to stop. 3. Create a text file and place the following command within it on a single line: SET PASSWORD FOR 'root'@'localhost' = PASSWORD('MyNewPassword'); Save the file with any name. For this example the file will be |C:\mysql-init.txt|. 4. Open a console window to get to the DOS command prompt: Start Menu -> Run -> cmd 5. We are assuming that you installed MySQL to |C:\mysql|. If you installed MySQL to another location, adjust the following commands accordingly. At the DOS command prompt, execute this command: C:\> C:\mysql\bin\mysqld-nt --init-file=C:\mysql-init.txt The contents of the file named by the |--init-file| option are executed at server startup, changing the |root| password. After the server has started successfully, you should delete |C:\mysql-init.txt|. Users of MySQL 4.1 and higher who install MySQL using the MySQL Installation Wizard may need to specify a |--defaults-file| option: C:\> C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt.exe --defaults-file="C:\Program Files\MySQL\MySQL Server 5.0\my.ini" --init-file=C:\mysql-init.txt The appropriate |--defaults-file| setting can be found using the Services Manager: Start Menu -> Control Panel -> Administrative Tools -> Services Find the MySQL service in the list, right-click on it, and choose the |Properties| option. The |Path to executable| field contains the |--defaults-file| setting. 6. Stop the MySQL server, then restart it in normal mode again. If you run the server as a service, start it from the Windows Services window. If you start the server manually, use whatever command you normally use. 7. You should be able to connect using the new password. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenSSL reinstall
Kris, I did a buildworld and an installworld. Things are cool now :) One more question though, I am running cPanel (http://www.cpanel.net) in the server and it works well with PHP 4.3.11. But when rebuilding with 5.0.4 it segfaults. Any known incompatibilities? Rest everything is working fine. Thanks for your help, - Sarath Kris Kennaway wrote: On Sun, May 29, 2005 at 12:01:18PM -0700, Sarath ER wrote: Hi Kris, Infact I did try the make buildworld but i dont want to reinstall the entire base, as I read somewhere that it would overwrite /etc. Incorrect. I tried make -f Makefile.ssl in /usr/src/crypto/openssl and it didnt work. Looks like I am taking the wrong route. Yes. I cant do a full upgrade because the server is in a datacenter and I have only ssh access to it. And I do not know if it would fail to boot in case of a problem during the reinstall of base. Is it possible to only reinstall the openssl from crypto? The supported way to rebuild your system is with make buildworld. While it's possible for experts to rebuild parts of the system, you can in fact put your system into an even worse state if you don't know what you're doing. Please read more about the buildworld process in the handbook. In particular, since you're not doing an update it should be quite safe. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenSSL reinstall
Hi Kris, Infact I did try the make buildworld but i dont want to reinstall the entire base, as I read somewhere that it would overwrite /etc. I tried make -f Makefile.ssl in /usr/src/crypto/openssl and it didnt work. Looks like I am taking the wrong route. I cant do a full upgrade because the server is in a datacenter and I have only ssh access to it. And I do not know if it would fail to boot in case of a problem during the reinstall of base. Is it possible to only reinstall the openssl from crypto? - Sarath Kris Kennaway wrote: On Sun, May 29, 2005 at 11:38:52AM -0700, Sarath ER wrote: Now most of the programs I use in the server is segfaulting. Does any one know how to reinstall only the OpenSSL from the base? I am yet to familiarise myself with the make world.. commands. Familiarise yourself with the make world.. command :-) Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OpenSSL reinstall
Hello All, I am new to FreeBSD. I wanted to upgrade OpenSSL to the latest stable version in my FreeBSD 5.3 server. I ran make deinstall , make and make install in ports/security/openssl and and my OpenSSL libs in /lib are lost and the new version was installed in /usr/local/openssl. My other programs are not finding the new libs. I tried to replace the port package by deinstalling it and trying with the option for replacing base openssl. But it does not accept the "OPENSSL_OVERWRITE_BASE" variable. Now most of the programs I use in the server is segfaulting. Does any one know how to reinstall only the OpenSSL from the base? I am yet to familiarise myself with the make world.. commands. Please help me. Thanks in advance, - Sarath ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"