Applications :: Replicating Web Folders Across Production Servers
Oct 20, 2010
We have several production machines serving our static content. I want an automatic operation where I would only need to upload to one of them and it will get replicated/mirrored to all machines.Either that or distribute automatically from local source to all machines. First option is obviously better since all machines reside on same LAN and remote to our office.
Another feature I am looking for is to get a full report on what got transferred and if any problems occurred immediately (since usually these deployments can mean downtime for us). Looking around I saw rsync.Using CentOS 5.4-5.5 btw.
View 5 Replies
ADVERTISEMENT
Feb 24, 2010
I administer several web hosting (combined with mail relays and other services) production servers under Debian GNU/Linux. I began giving these public services two years ago via three boxes: the first is a gateway which controls traffic via iptables (it's attached to a DSL modem) between a public subnet (the DMZ) and a local network which connects several workstations. In the DMZ subnet I maintain two Pentium-III era boxes, they've grown in services since I set them up. Actually, I think I should buy new ones, but, you know, I want to save money and lenghten its life.
So, they've grown in data hosted, but I've never implemented a resilent backup system. I've set up some rsync tasks sheduled via cron jobs to copy the entire UNIX file system in each of the DMZ boxes, but I'd like to be prepared before an unexpected "real" crash of some HDD, I mean, some problem that renders a disk unusable.
AFAIK, sysadmins sync entire HD backups which are capable of recovering a system via swapping the unusable unit with the backup unit. Maybe the best fashion is to implement a RAID mirroring the unit, I'm I right? So, keeping my systems as they are, I mean, capable of using 4 parallel ATA units, what would you do? Use dump, rsync or some other way to have an operational second unit with an exact copy in a bootable second drive, in order to quickly swap it if the main unit fails?
Comes to my mind to partition a second unit (so making it bootable) and backup daily via rsync only those parts of the unix file system hierarchy which are necessary to boot a system properly. What do you think about this workaround?
View 6 Replies
View Related
Jul 9, 2010
I assume that the maturity of UFW is irrelevant because in the end it is just a front end for iptables...
But just in case, is UFW mature enough for production use on a web server?
View 1 Replies
View Related
Jul 2, 2010
I have found some duplicate files in my folders. Is there a way to clean them out?
View 2 Replies
View Related
Jul 20, 2011
what is Production IP address and Management IP address in Linux servers? What is the significance of these two? When to use what?
View 3 Replies
View Related
Oct 30, 2010
I just started using ubuntu and I have a question, is it possbile to install applications on the /media/ folders. That would be the other partitions of my hard drive, and still integrate it with the ubuntu, make it appear on the menu etc.I feel like my linux partition is running out, since I've only put few gb on it and my dvd rom is dead so I can't use gparted to edit the partition.
View 5 Replies
View Related
Apr 30, 2011
how can i remove 'applications' and 'files and folders' launchers from unity in Ubuntu 11.04? Because applications and files and folders are already accessible from typing in the search box which gets opened clicking the top most left button.
View 4 Replies
View Related
May 18, 2011
It functions perfectly well, but the Files & Folders object has as a feature a 'recent' section which displays recently opened files. This is much the same as a menu object available in Gnome, except with the latter you could clear recent files for security or privacy purposes - you cannot do this in Unit.I have found that if you drag a file from the 'recent' section in the Unity Files & Folders object to Trash it doesn't just delete the shortcut - it deletes the target as well.
It is not at all clear if and how you can configure the File & Folders and the Applications objects to display what you want rather than the default, and the inability to quickly and safely clear recently opened items is something I think is in need of a fix.
View 4 Replies
View Related
May 31, 2010
I just encountered a very weird issue and I am having hard time replicating and identifying the root cause. We have one RH9 server and we received an alert that the /var reached 85%, I checked and found out that /var/log/audit.d is occupying most of the space. It has a lot of files inside it consisting file size of 21MB each everyday. I ask the customer if can housekeep and it eventually climbed up to 100%. My colleague did some house keeping but what he did was he compressed the audit.d directory and remove it.
After that users are complaining they cannot telnet to the server even though the service is on. I have recreated the audit.d directory and restarted the xinetd as usual. Still the same problem. And the weird thing is that I cannot even switch to any user from the root. I tried to do "su - someuser" but it hangs there without doing anything. I also tried to telnet, it will ask for login and password but same thing it hangs in there. Did some restart on xinetd and did "chkconfig telnet off" "chkconfig telnet on" but with no success. Could this be caused by the deletion of audit.d? Or is the 100% utilization of /var the system could not cope up? The good thing is everything worked fine after restart. But still the root cause is unknown. If I check /var/log/secure it shows the user being authenticated though it is not getting any session. /var/log/messages also does not reveal anything.
View 3 Replies
View Related
Dec 5, 2010
Noticed that one of my partitions on openSuse 11.1, mounted as /usr, filled up suddenly with over 20 GB of something. Tracked it down to /usr/bin, in which the X11 directory contains 2353 items and another X11 directory, recursively at least 11 times that I've expanded without reaching the last X11 directory. The newest files in each directory are dated 11/24/10.
Any idea of what's happening? How to stop it before it fills the disk?
View 7 Replies
View Related
Aug 3, 2010
So I was playing RollerCoaster Tycoon 2 in a WINE Virtual Desktop when I went to check my email. I launched Firefox and suddenly my bookmarks started to replicate and haven't stopped. I've recorded this happening. Link here: [URL]
View 9 Replies
View Related
Jul 31, 2010
I recently set up replication on a production server and some rows are not making it to the tables on the slave. After 3 days I can see 200+ entries (of 161,000~) that are on the master and not the slave. Logs under /var/log including mysqld.log, mysql.status, messages do not show any problem.I have already tried dropping the DB on the slave and setting up the replication again by doing a stop slave, set slave options such as were in the logging to start, drop table, restore the dump previously made by the master, start slave, but the issue persists.
I following the documentation on the MySQL site for setting up replication so I'm not sure why this is having issues.What can I do to investigate and fix this?
View 2 Replies
View Related
Jan 27, 2010
I have set up a master BIND DNS server with 2 slaves. All the services start up fine on all 3 servers, but zones and named.conf info is not being replicated. The 3 servers are tentatively installed on a Xen virtual server for testing purposes. All 3 servers are 64bit and installed with: -> CentOS release 5.4 (Final) - 2.6.18-164.10.1.el5xen -> BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2
All 3 servers are fully updated. All 3 servers have static IP addresses. The services on all 3 servers start up without any apparent issues. Master server: # /etc/init.d/named restart ; tail -f /var/log/messages
[Code]...
View 10 Replies
View Related
Jan 12, 2011
we use NFS for share folders between two linux servers. I need to know where and how I can log the NFS connections and errors. I need it, because I think maybe NFS raise the maximun connections and one application fails.
View 3 Replies
View Related
Jul 21, 2010
I posted this yesterday, but my post completely disappeared (I looked high and low -- nothing.)
I am using Ubuntu Server 10.04, all the latests updates.
For an FTP Server, I use ProFTP.
One specific directory, and it's subdirectories on my server will not download at a reasonable rate. They move at about 17-50KBPS.
All other folders work fine, at around 1.5-2.5MBPS.
What is going on? I have no idea how to troubleshoot this. The files being transfered are in a directory under home. They should have no permissions issues (I reapplied the permissions I want already), I tried restarting ProFTP, the files vary in sizes (from a few kilobytes to about 120 megabytes).
I use Webmin for most web management.
I am not having overload issues with my network card or CPU utilization while downloading these files. They are being accessed from the local network.
This issue is taxing because the files in question are backup files.
View 9 Replies
View Related
Sep 3, 2010
I have been through a lot of sites and googled allmost everything to get an answer about sharing folders on a Ubuntu Server with Windows clients.
Every site tells me, that the only way to get from windows to the shared folders on a ubuntu server, is by using some extra software, installed on the windows machine.
Is this correct?
View 8 Replies
View Related
Jul 27, 2011
Ive been trying to figure out a method to upload (copy) all files and sub folders under that folder to my content delivery network, basically run it every 30 minutes.
Whats the best way to do it? I tested a few that I was reading about, one just copied files nd not sub folders, another moved all files.
View 3 Replies
View Related
Sep 1, 2011
I am done setting up an ubuntu server on Amazon Cloud Service.
I connect to it via SSH.
I would like to upload my website into the /var/www folder through SSH. I would like to upload a complete folder's worth.
View 5 Replies
View Related
Apr 13, 2010
I basicly want certian folders to deny access to all clients exept those that supply the correct user name and password. I tried following the directions here (for the basic authentication), but its not working.i have
Code:
Deny from all
AuthType Basic
[code]....
View 2 Replies
View Related
Sep 26, 2010
1- I've set up 3 virtual users,one of them is a system one (with a different password) and writes on his own home folder. With this one I haven't found any problems yet, but with the other 2 users I can't access files/folders created by them. It's a permissions problem for sure, but I'm not sure how to correct it.With these users I can upload files, create files and create folders. The problem is I can't access what I create (I can't enter a folder I created but it is there and I can upload files into it).
2- Whenever I turn on ssl_enable=YES I can't access the server (even from the server itself when I connect to localhost, It's a regular Ubuntu installation).Here's the config file for the users:
Code:
write_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES[code].....
View 7 Replies
View Related
Feb 14, 2011
I have made some little mail server (postvix+dovecot+fetchmail) at ubuntu. The mail serve is using system accounts. Now I want to creat Shared mailbox. I have found some information, but I can't understand it correctly. Can U view the below information and correct me.
I have several accounts: Oleg (my account - /home/oleg/Maildir/); pankov (/home/pankov/Maildir); cv ( /home/cv/Maildir/). I want to share the mailbox of CV user:
I have add the follwoing information to dovecot.conf:
# You need to create also a private namespace:
namespace private {
separator = /
prefix =
[Code].....
View 1 Replies
View Related
Jun 3, 2011
I just did a new install of 11.04 because I got a new ssd and now when I try to host my site from /home/USER/www/ apache says "You don't have permission to access / on this server" 403 Forbidden. I had the same exact configuration files on my other install of 11.04 and everything worked fine. One thing I did notice is that when apache installed it did not create a www-data group. I also serve a folder for music on another port and I can get to that fine.
View 3 Replies
View Related
Sep 1, 2011
How yo get ride of access denied 404/403 for localhosts other folders? i am using lamp and trying to access my site which is placed in a folder wthin the document root. but its showing access denied. how i can edit permissions?
View 3 Replies
View Related
Jan 28, 2010
we connected the new hard disk in the folder /home /newhdd it has alot of files and we gave access to the folder /home via NFS When we attach a folder on the remote computer is on a remote computer folder newhdd empty, while the other folders in the directory /home full like on NFS servers.
View 1 Replies
View Related
Mar 17, 2009
On our network, we authenticate our users via LDAP and use autofs to mount their home directories. This works fine in Fedora 8. However, in Fedora 10, when the user logs in, it also mounts the home folders of the users that previously logged onto the system as well. This is what I see when I login as "user1" on Fedora 10
[Code]...
View 2 Replies
View Related
Aug 8, 2011
I m able to do the changes in the home directory of the users' but when it comes to the /var/www/html folder, it's not allowing to do any changes/create the files or folders
I m able to view the files and it's contents
Global Settings:
View 4 Replies
View Related
Jan 2, 2010
I just set up an VPS with ubuntu. I made a user1 and gave it ownership
Code:
chown -R user1 /home/www
This user also have been given all the root privileges (I know it is not recommended!)
The problem is that each time I make new site, and user1 wants to upload (through ftp) files to /home/www/newsite I need to redo the the above command in order to be enable user1 to upload. Not only this, I need to rework permissions (744 for folders and 644 for files), otherwise the newsite throws permission errors message.
View 2 Replies
View Related
Jan 14, 2010
I configured my apache2. On my Intrepid I had apache2.0 while on my Karmic I have a apache2.2. Aftere configuring I tested it and got a an error page when I tested it in my web browser. I looked into the log file that showed the following error "[client 127.0.0.1] (13)Permission denied: access to /my_dir/ denied".
It appears apache2.2 can't access directories in my home folder. File system rights for the files and folders are correct. There is no AppArmor profile for Apache. User settings in "/etc/apache2/apache2.conf" file are correct. The inaccessible folder in "/etc/apache2/sites-available/default" looks as follows:
[Code]...
A trick using symbolic links didn't work either. On my previous Intrepid with Apache 2.0 my pages worked like a charm. Now on my current Karmic (before apache2.conf was pre configured, now it's not) with Apache 2.2 my pages are wrecked. how I can make Apache2.2 access folders in my home folder and which settings are needed in default file for that?
View 8 Replies
View Related
Jan 21, 2010
Just installed lamp, I can access phpmyadmin mysql is set up and everything. When I try to view a directory [URL] I get an access denied error.
EDIT: I changed the permissions of the "folder" folder itself, I can access everything in that directory now but not any other folders in it. Do I really need to go through every folder every time and change the permissions?
View 4 Replies
View Related
Mar 25, 2010
When I connect with my ubuntu 9.10 x86_64 freenx server from Linux/Mac share folders from client side will properly mounted and I can use with no problems.
When I connect to the same server from windows box, I get this error message:
Quote:
Info: Share: '//COMPUTER/FOLDER' failed to mount: mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Last two days I was googleing a lot about this but all I tryed didn't work.
Is there somebody share folder works from windows connection?
View 2 Replies
View Related