how to install stunnel (patch I think ) with haproxy. I guess I would need clear cut instructions because I will be doing this on a production server and dont wanna make any mistakes.
I have 2 services registered one for HAProxy and one for stunnel. When I type service start haproxy or service start stunnel they start and everything works fine. I ran ntsysv and they are set as autostart, and I have init.d scripts that work. I have checked the runlevel and using chkconfig runlevel 3, 4 and 5 are :on. And I also added service haproxy start and service stunnel start to inittab. But when I restart the computer haproxy and stunnel fail to autostart. I am a fedora novice and I have no idea why this isn't working...
I received stunnel 4.40-0.6.1 as an update from "zypper up" (openSUSE 11.4).After a reboot, stunnel does not work anymore for the programs that need it.Symptom: the program (emacs+mew) hangs for ever, telling me
"Creating an SSL/TLS connection..." /var/log/messages does not contain a clue and restarting stunnel via "rcstunnel restart" looks fine:
How do I fix this stunnel error in Fedora 15(LoveLock)? I previously have been able to run stunnel in Fedora 14 and had stunnel up and running. Just recently moved to Fedora 15 LoveLock and now stunnel returns the following fail mesage when I try to restart stunnel.# /etc/init.d/stunnel startStarting stunnel (via systemctl): Job failed. See system logs and 'systemctl status' for details.Does anyone know What changed or how to fix this fail error?
I want to bypass my isp web content filtering with squid. i know i have to encrypt my connection between my browser and squid server.how can i do that without using such Putty or Stunnel?which configuration i have to do on squid?
I am using haproxy for the first time.I downloaded the latest version 1.4.7 and then unpacked it.then opened the terminal and wrote the command
After which an executable haproxy file was created which I copied to /usr/local/sbin. then i wrote $sudo make install. then I make a configuration file in /etc/haproxy.cfg which is as follows
But it's not working it is various kind of errors intially it was showing "cannot bind to socket" so tried changing the port number but didn't help. I also used command like $sudo sysctl net.ipv4.ip_nonlocal_bind=1 But didn't help.
I have been trying to get command line email working for cron email reports and such. I have set up stunnel for ssl and this works with thunderbird (set to route through stunnel with no ssl in thunderbird). I am trying to use ssmtp as I don't need all the complexity of sendmail - just trying to use an [URL]..account It complains that my address is not verified. I think the from line is not set up properly but I have been unable to see this in the stunnel logs and ssmtp doesn't seem to have logs. Is there a way to get more logs from stunnel. How do I make sure I am sending the right email and not something like "localhost"?
We have 2 HTTP Load balancer with HAproxy and heartbeat. There are 4 nodes in this cluster. It's doing round robin load balancing. The HTTP cluster working fine. We are having problem with our portal because it uses SSO. We need sticky connection support in our HAproxy. Also we need load balancing for HTTPS traffic. Here's our HAproxy conf file.
I am about to build a server cluster with mysql-cluster and a couple of apache webservers. I have found lots of tutorials regarding the setup of haproxy, but i have the option to get a pretty affordable barracuda load balancer. Now, i am kinda new at this. But my main questions are.. Can the load balancer also serve for the database? Is it a straightforward configuration?
Will squid or HAproxy work to reverse proxy non-http traffic? I have searched and searched for a reverse proxy solution for non-website traffic. TCP but not http, on ports other than 80, 443, 8080, etc. Basically I just need a TCP forwarder that works with multiple TCP servers, WITHOUT webpage caching features. I do not need or want any webpage caching. Can squid work as a reverse proxy for TCP traffic without http? The other program I came across in searching was HAproxy. Both programs are for http but I am curious if they would work for TCP servers that do not serve webpages.
I have suspicious requests in my haproxy logs from multiple sources to the same target. I could deny them in /etc/hosts.deny, but there are too many to keep track of. Is there a way to deny all requests to a specific target either in haproxy or through iptables?
Here's an example of the request: Apr 12 15:11:37 127.0.0.1 haproxy[28672]: 41.105.42.150:27072 [12/Apr/2011:15:11:37.315] web_servers frontend_farm/######## 3/0/1/1/169 404 1073 - - --NI 3/3/2/1/0 0/0 "GET /images/comment_icon.gif HTTP/1.1"
I've commented out my amazon instance id for security purposes. The request is for comment_icon.gif which does not exist. All requests go to that. The source IPs are from different countries as well. Blocking a certain country won't work either. Basically, if there was a way to send all requests for comment_icon.gif to /dev/null or something it would work.
I am trying to setup a High-Availability HTTP Load Balancer With HAProxy & Heartbeat using the below links.
I have all RHEL 5.4 servers hosted on VMWare.
[url] [url]
This is the scenario, as given in the links as wells as my setup.
Load Balancer 1
Load Balancer 2
Web Server 1
Web Server 2
I have followed all the steps mentioned in the links religiously except the 2.2 here, in which it is asking to configure the vhosts. I could not really understand , what is to be placed in /etc/httpd/conf.d/vhosts.conf file and in which Web Server.
Due to this step only, I think I am failing in Failover test given in Point 4.1 here. I am able to open the webpage by [url] which gives the content of Web Server 1 (http1.example.com). But, when I try to shutdown the http service (to check failover), it does not shows the contents of Web Server 2 (http2.example.com)
Although, I am able to succeed in Failover Test 4.2, in which shared IP 192.168.0.120 switches when I try to start/stop the any of the Load Balancers.
I am using haproxy for the first time. I downloaded the latest version 1.4.7 and then unpacked it.then opened the terminal and wrote the command $make -f Makefile.bsd REGEX=pcre DEBUG= COPTS.generic="-Os -fomit-frame-pointer -mgnu" After which an executable haproxy file was created which I copied to /usr/local/sbin. then i wrote $sudo make install then I make a configuration file in /etc/haproxy.cfg which is as follows
[Code]....
But it's not working it is various kind of errors intially it was showing "cannot bind to socket" so tried changing the port number but didn't help I also used command like $sudo sysctl net.ipv4.ip_nonlocal_bind=1
Tried to install Gnome after the minimal server (console based) install.I would like to install a graphical GUI now What to do? wich packages? tried zypper gnome-desktop (or something similar) but it wasn't enough.
If I install the factory release now, can I easily convert my system to a normal 11.3 point release later, after 11.3 is out? If so, how would I do it? (11.2 has an issue that affects me. It's fixed in 11.3 already, so I have to use 11.3 if I'm going to use openSUSE.)
In /var/log/warn I can see :Code:Jul 18 19:29:41 Linux1 SuSEfirewall2: Warning: config 'vsftpd' not available I did install vsftpd, but I removed it and install pure-ftpd instead.
i have a backtrack install that i would like to keep while installing suse for an everyday OS; i start the install process but when it gets to partitioning the hard drive, it doesnt seem to recognize anything already being on there; it just gives me the setup for suse, ie: sda1 ext3 = OS sda2 or sda5 = swap. do i have to configure a partition scheme? i installed ubuntu on a desktop alongside windows very easily due to grub graphical install/partition; is there not a similar function for suse?
I have installed openSUSE 11.3 on a couple of computers here at work, one 64bit one 32. I always install choosing KDE as the desktop and installed Gnome once the OS install is complete. Now when I go into YAST2 and select the gnome and I get the following. pattern:gnome-11.3-22.1.i586 requires patterns-openSUSE-gnome, but ths requirement cannot be provided
[Code]...
And the 64 version say the say but with x86_64 instead of i586. I have been on 11.3 for a month now and the systems are fully updated. I do not want to uninstall KDE and I do not want to break patterns. Does anyone know how to fix this?
I have a major problem installing opensuse 11.3 on my computer( hp pavilion dv6).I downloaded openSUSE-11.3-GNOME-LiveCD-x86_64 from software.opensuse.org: Download openSUSE 11.3 and made a live usb.I'm a newbie at using linux infact i never used another operating system beside windows.Now i have installed windows 7 (on c disk 100gb).My first problem when i am trying to install opensuse is that he dosn't automatic choose to make my partitions so i have to do it manualy.I was searching how to make it the best way so i desited to make 4 partitons one for ' /boot' one for ' / 'one for '/home' and a swap partition/In windows7 i made 4 new partitons
3:10 gb for /boot 4:10 gb for/ 5:70 gb for /user 6:10 gb for /swap
My first question is :Is this right to make 4 paritions in windows (opensuse can't format or resize my partitions it just can edit it ) so it's my only way to make partitions( If this is wrong how can i make partitions then)
My second question is how to change the bootloader configurtation because everytime when ii try to install opensuse it stops at about 96% and it says to reconfigure the bootloader options.
If i skip this i get the folowing message
=== System Checking === Checking for /usr/bin/chroot binary... Passed Checking for chroot directory /mnt... Passed Checking for chroot directory content (bin boot Checking for binary /mnt/bin/ls... Passed Trying to chroot... Failed
Whats better partition based install or LVM based install?Does one perform better than the other?I have a 640 gig drive.I have win 7 installed on a 360 gig partition.The remaining space is free.
I have 40gb of hd and I want Xp and fedora on it. I installed Xp first and now I want to install Fedora 12, every time I chose the space to iinstalll it, it says that there is no enough space to install it, although the xp just took less than 2gb of the disk. How can I resize it so that there is enough space?
I'm trying to install some wireless drivers, but apparently I don't have a /lib/modules/<kernel>/build directory, which is causing the Makefile to throw an error. Is there a specific place I should point the Makefile at?
I just reinstalled my OpenSuse 11.3 with the GNOME desktop. As soon as I was done installing and I was on a fresh desktop, I installed the Yast updates that were available, rebooted, and now I can't login to any of my User accounts. Whenever I try to login, it tells me that it is "Unable to Open Session".o any of you know how I can fix this without having to reinstall all over again
Since I've installed opensuse 11.4 instead of 11.3, I cannot install .rpm packages nor execute updates. I get the following message: "There has been a (probably temporarily) when connecting to the software source/repository" (own translation) details: Media source [URL] does not contain the desired medium So, probably there is something wrong with my software sources. Could anyone give a suggestion to repair this since I'm not a linux expert and would like to install new software on my newly updated machine.
I did a fresh install of SuSE 11.4 (WIN7 TOO) and changed my Larger HD1 to the first HD. I was installing and got this error first: the boot loader is installed on a partition that does not lie entirely below 128GB The system might not boot if BIOS supports only lba24 (result is error during install grub mbr) status loc dev/sdb6
I continued with the install and then got:
Yast2 error occured while installing GRUB ver 0.97 (640k lower/3072k upper memory) [minimal bash-like lineediting is supported? for the first word, TAB lists possible command completition anywhere else TAB lists possible completion of a device/filename] grub setup --stage2=/boot/grub/stage2 --force4-lba (hd0,5) (hd0,5) Error 25 disk read error grub> quit
I am trying to install PDFedit however after un-zipping and running configure at the end i get this message:checking whether we want to prepare pdfedit-core-dev package... no checking whether we want to build PDFedit gui... yes configure: error: QTDIR environment variable must be set
I am trying to install openSUSE 64 bit with KDE on my netbook and I am having some issues. I can't get the install started. I tried creating a live usb by using the SUSE Studio Image Writer, but I get an error saying: Exception caught during write: ystem.ComponentModel.Win32Exception: Access is deniedat ImageWriter.DriveAccess.Write(Byte[] buffer, UInt32 len)at ImageWriter.MainWindow.WriteToDisk()(This happens when I try to make the usb)I tried Googling it but I couldn't find anything so I tried creating a live usb using UNetbootin but when I boot from the usb, I get an error saying: Could not find kernel image: gfxboot.I have a 2 gb usb with FAT file format. Also I am only in High School, I want to try out different Linux distros so tell me if I did something wrong.
I have an apparently stable installation of Xubuntu that I've hand-tweaked in a few ways. I'd like to be able to reinstall this system verbatim on this machine should a disk crash happen, etc.Is there a "standard" method to create an install and/or total-backup CD that would be an instantiation of the currently-installed-and-modified system?