Server :: Deploy Updated .conf Files On Multiple Workstations?

Apr 28, 2011

we're about to migrate a set of workstations (ubuntu 10.04 LTS) to a new kerberos/LDAP setup. Basically, this requires the installation of some required deb packages and to copy some new .conf files over the original ones.We made a deb package having these "features":requires the needed other packages as dependenciesbacks up original conf filescopies the new conf files to the right places (i.e. /etc/krb5.conf,/etc/ldap.conf)The problem is: apt-get complains because the deb is "touching" files owned by other packages (kerberos, ldap, etc.). Therefore, the only way to skip this check is either to force apt-get to proceed or using the "replaces" directive in the deb control file, specifying the clashing packages. omething like this:

Code:
Package: <package-name>
Version: 0.9.9

[code]....

View 6 Replies


ADVERTISEMENT

CentOS 5 Server :: Loading Multiple Virtual Host Conf Files From Httpd.conf?

Jun 1, 2009

I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:

In my httpd.conf file, at the very end, I have the line

Include conf/vhosts/vhost_*.conf

However, when I run apache checkconfig or try to start apache, it gives me the error:

httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied

It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.

View 3 Replies View Related

Server :: Deploy Centos 5.5 Through Pxe Agent On Multiple Servers?

Apr 14, 2011

We have to install centos 5.5 in approx 60 servers and we want to have a server in which we can create an image of 1 server and deploy it on all other severs through pxe. Mainly all servers will be having raid 5 or raid 1 configured. So the utility should be having the raid support.

View 1 Replies View Related

Server :: Apache-php Deploy - Unable To Run Files

Jul 2, 2010

i installed apache 2.2.15 in my system its working properly.... but i deployed some php files in /usr/local/apache2/htdocs ... i was not able to run that php files ..... if i run that php file in browser it shows content of that file... for an example i created one test.php file(it contains <?php echo "hello world" ?>) and put it in /usr/local/apache2/htdocs... if i run in browser using this [URL] its shows in browse like this <?php echo "hello world" ?>......

View 1 Replies View Related

CentOS 5 :: Deploy Kernel For Multiple Servers / VPSs?

Dec 22, 2009

I wonder if there is any fast deploy kernel for multiple servers / VPSs when new kernel is available? Kernel from RHE/CentOS is always old comparing to new versions from kernel.org

View 1 Replies View Related

Ubuntu Networking :: Apt.conf Is Not Updated Correctly?

Jun 19, 2010

Updating Synaptic with authenticated proxy settings make it works.However, apt-get command line tool does not work.[URL]Which program is responsible for updating such file ?

View 1 Replies View Related

Networking :: /etc/resolv.conf Not Updated By Dhcp

Mar 4, 2010

I am using kubuntu 9.10 64-bit on AMD M500 machine i removed networkmanager (because i had frequent disconnect) and installed wicd but the /etc/resolv.conf had a comment on top which says that it is to be configured by networkmanager (still) I put the DNS in there manually and it works What to put in there so that it uses DHCP ? Maybe its set to be not written by anyone other than networkmanager ??

View 1 Replies View Related

Ubuntu Networking :: /etc/resolv.conf Not Updated On Startup?

Mar 9, 2010

I'm using 9.10 Ubuntu Karmic 64-bit (but same thing happens on my 32 bit VM on same PC).

My /etc/resolf/conf file is not updated with DNS information on first boot. The DNS information is in the /etc/network/interfaces file.

The trick I have to do every time I reboot the PC is:

Code:
sudo ifdown eth0 && sudo ifup eth0

First off, why? Second how can I resolve this issue?

I have three NICs eth0 and 1 are normal LANs connected to the internet, but I choose eth0 as the primary. eth2 is a local private one. the DNS information from eth0 should be in the resolv.conf file but isn't. The file is empty at bootup, except for some comments instructing me not to edit this. After running the above sudo commands the file is properly updated and internet works.

Here's my /etc/network/interfaces file's contents:

Code:
auto lo
iface lo inet loopback
auto eth0
#iface eth0 inet dhcp

[Code]...

View 3 Replies View Related

Server :: BIND9 Conf And Zone Files?

Sep 20, 2010

The thing is, I've created a new local zone here (called "local.lan"), and, aparently, it is working fine, and DHCP3-SERVER is updating DNS info through the controls.But sometimes I get some strange answers from the server, like when I do the "arp" command in one of the clients, and get the server's hostname "mixed" with it's own reverse, like this: "dns.local.lan.2.168. | ether | 00:02:1e:f5:61:74 | C | eth0". Other thing is that sometimes my DNS don't update when a computer "enters" the lan. In the /var/log/syslog the DHCPOFFER appears, but the information about the DNS update isn't there.So, I would like to show you my named.conf file and my local zone db file, and get some feedback from you (what would you change... what is wrong...).

# ------------------- #
* named.conf:
# ------------------- #

[code]....

View 17 Replies View Related

General :: Make Samba Read Updated Smb.conf File Without Restarting That?

Apr 5, 2011

I just made a minor change to the smb.conf file, is there a way to force the samba service to read that change without restarting samba completely?

View 6 Replies View Related

Debian :: Cant Find Anything In Apache2.conf Or Httpd.conf Files?

Jul 25, 2010

phpmyadmin files are in usr/share/phpmyadmin but i cant find anything in my apache2.conf or httpd.conf files that point to that directory.How do I find the route taken from the Server root "ServerRoot "/etc/apache2"" to the phpmy admin files.

View 5 Replies View Related

General :: Refresh Current Configuration Used By Modprobe With Newly Updated Modules.conf File?

Jun 20, 2010

Is there a way to refresh the current configuration used by modprobe with an updated modules.conf file at the command line for Red Hat Linux 9.0?

View 1 Replies View Related

CentOS 5 :: Deploy VPS On Server?

Nov 24, 2009

i use CentOS5.4, i want to deploy VPS on my server. Which technology i can use: OpenVz or Xen?

View 2 Replies View Related

Server :: Ubuntu Workstations Connects To Samba Pdc But Gets No Group Permissions?

Dec 30, 2010

The current situation:there is a samba PDC with ~50 XP workstations, all working fine for the last two years.The goal:Cycle older hardware back into production by installing ubuntu on them. These workstations must authenticate against the domain, and must automatically mount a public, a user, and a department share that contains folders with various group permissions.The added challenge:Since the office where this lan is located is closed for the next week or so, the ubuntu workstation I am testing with is connecting via a site-to-site VPN. This is soon to be mandated as a requirement anyway, so if not done now it will have to be done later anyway. I mention this since it *may* be something that could be interfering with the success of my mission, however, given what does work, I do not think this is my culprit.

What does work:Thanks to winbind, I can log into the ubuntu workstation via gdm with my domain credentials, and thanks to pam_mount my shares do mount correctly. I take this to mean my pam conf files are correct, along with nsswitch.conf.wbinfo -p, -a, -t, and -u work on the workstation. getent passwd returns DOMusers.listwbinfo -p, -t, -Y, -S, -G, -n, -s, etc, all work on the PDC. getent passwd returns a list from /etc/passwd and getent group returns a list from /etc/group.A remotely controlled windows workstation on the lan works as expected.

It appears that winbind is not able to parse the group permissions at all, not for the user, nor for the folders.The hope:is that someone can say that this problem of group permissions not being recognized has a typical cause (though several hours/days of google searching has revealed no such thing). However, I can provide a great deal of supporting information, as I have gone through documentation and testing extensively (though not extensively enough, apparently). For my own sanity, I put most things I tried into a text document so I could review it and look for errors in judgment, that doc ended up being some 1500 lines long, and doesn't include conf files. Rather than flooding this post, if someone is up for reviewing it, I can definitely make it and further supporting info available...

View 3 Replies View Related

Server :: Open Suse For Workstations (For Basic Office Tasks)

Mar 2, 2010

I have an office with +- 20 PC's and would like to change over to Linux. I have decided on Open SUSE for the workstations, and would like to know what will be the best server to use. The work stations are for basic everyday office tasks. The servers main function is data storage.(I would also like it to function as an email server).

View 2 Replies View Related

Ubuntu Servers :: Deploy ACL U9.10 Server?

Mar 1, 2010

I would like to know how to deploy an ACL (ACCESS CONTROL LIST) on Ubuntu 9.10 server, because "apt-get install acl" is not responding.

View 2 Replies View Related

Ubuntu :: Deploy A WAR File Through Tomcat In A Server?

Aug 26, 2010

how I can deploy a WAR file with a Tomcat that happens to be installed on a server. I divided it to different small questions but no strait answer so far.

These are the things I've done:

created a myapps folder inside the tomcat directory, and copied the WAR file there.

These are the questions:

1. I did not touch anything inside the Tomcat folder, anything need to be changed?.

2.How to start the Tomcat so that it can deploy th e WAR file?

View 3 Replies View Related

General :: Deploy War File On Tomcat Server Remotely?

Aug 20, 2010

I want to deploy war file on tomcat server remotly.

View 4 Replies View Related

General :: Deploy Windows Onto Server With No Physical Access To Machine

Jul 30, 2010

I need to deploy Windows Server 2008 R2 onto a server that is currently running Linux. Effectively, I want to restore a Windows disk image onto the Linux system hard disk.I don't have physical access to the machine, so I need to find a way to do everything remotely, using SSH (no KVM). And the Linux machine only has one hard disk - the one containing the OS. However, I might be able to create a partition in free space at the end of the hard disk to store the image (I might need some help with the Linux commands). Or perhaps the image file can be pulled via FTP.

I tried Acronis but was disappointed to find that it doesn't seem to allow me to overwrite the system partition (unlike the Windows version of Acronis, which is capable of doing this with a restart).

View 1 Replies View Related

General :: Deploy Windows Server 2008 R2 In Virtual Machine On Host?

Jul 27, 2011

Will there be any issues installing and then subsequently running a Microsoft Windows Server 2008 R2 installation on a VirtualBox VM on a Linux host (Ubuntu 11.04 64-bit)? I require Windows Server 2008 R2 for a course I'm taking, and I dont have any systems to install/deploy it onto.

Host Machine Specs:

Ubuntu 11.04 64-bit
4GB RAM
350GB Disk Space
Nvidia Quadro system

View 2 Replies View Related

Server :: Access The Log Files For Multiple Websites?

Apr 1, 2010

I have managed to configure AWstats to work from one server to access the log files for multiple websites on multiple servers and even managed to write a little front end php site to access all the different conf files. I want to know if there is a way of combing two conf files for the same site but are on two different servers in a loadbalanced situation. so my conf files look something like: [URL].. I have to monitor bandwidth for our websites and its gets tedious switching between the various conf files for the same site and totaling it up so I was hoping I could combine the output of both conf files on screen using some funky command in the awstats.pl script

View 1 Replies View Related

Server :: Find And Replace In Multiple Files In Ssh?

Jul 3, 2010

Find and replace in multiple files in ssh?

View 1 Replies View Related

Programming :: Copying Multiple AVI Files To NAS Server

May 18, 2009

I am working with DM355 target board. Here we record. The video coming from IP cameras. Now I have to write c program for copying. The recorded avi files with date and time to NAS server using scp. I wrote a script to copy single file to NAS server.

#!/bin/bash
DATE=$(date +%Y%m%d_%H_%M_%S)
mv Camera1.avi Camera1_$DATE.avi
scp Camera1_$DATE.avi root@192.168.1.4:/root/test/
mv Camera1_$DATE.avi Camera1.av

But I have to write c program for copying multiple avi files with Date and Time to NAS server.

View 5 Replies View Related

Server :: Synchronizing /etc/hosts Files Across Multiple Servers?

Jun 16, 2011

I have 16 linux servers that use /etc/hosts files to see and talk with each other. I'm adding servers to this pool of servers. It is required to do host resolution via the /etc/hosts files. DNS or NIS are not alternatives. Aside from manually editing each of the 16+ /etc/hosts files every time I add a server or editing one /etc/hosts file on one server then scp'ing it to all the other servers, is there anyway to edit the /etc/hosts on one server and "push" it onto the other servers that need the new /etc/hosts file?

Everywhere I've looked on the Net, there hasn't been any suggestion except for the options I mention here.

Or am I just whistling in the wind?

View 6 Replies View Related

Server :: Remove Dynamic String Across Multiple Lines And Files?

May 13, 2011

My server was hit with an injection script which has placed code across many of my clients files. I need a script that can remove a block of php code that spans multiple lines, multiple directories/files and is dynamic, meaning that part of the code changes. I think using find/sed is what I need but cannot seem to figure out how to get it to work.The following is the script that is being injected everywhere. The catch is that they have generated dynamic code at the start/end of the script. (I have commented the parts that are dynamically changing on EVERY instance).PLEASE NOTE: Directly following this script is the start of a valid php script that I do not want to delete.

<?php
//{{65281980 - DYNAMIC!!
GLOBAL $alreadyxxx;

[code]...

View 2 Replies View Related

Slackware :: Difference Between Files (xorg.conf And Xorg.conf-vesa)?

Feb 16, 2011

1. What is the difference between files (xorg.conf and xorg.conf-vesa)

2. No matter how hard I try I can't change keyboard layout in xorg.conf-vesa (I change it in file ) but there is no actually anything changing, it starts to get annoying - for example - below goes my xorg.conf-vesa, if I uncomment and set line from

[Code]...

View 3 Replies View Related

Server :: Samba And Other Free Software Tools Can "control" A Number Of Windows Workstations

Jul 19, 2010

I want to have a Linux server "control" a number of Windows workstations. The workstations are a mixture of XP Pro, 7 Pro, and 7 Home Premium (the latter won't join a domain so can't have all the features I want mind). I want:

Centralised username and password database. Easy to add users. Roaming user profiles, so users can switch computers and take their settings with them. If possible, settings for selected programs shared between XP and 7. (They need separate profiles.) My Documents on a network file server. I'm interested in having transparent versioning on this - perhaps by using a copy-on-write filesystem, perhaps just by using a version control app on the server and having cron make a commit every night.

Able to manage software installation and removal centrally. (This I already do, using WPKG). Able to manage configuration centrally. Basically pretty much anything the user could change, I want to be able to force a setting of. I'm thinking desktop wallpaper locking, forcing use of a web proxy, setting printers, restricting use of USB drives, etc. Printer accounting.

Give the clients resolvable names (probably DNS, maybe WINS). This is mainly to help if I need to remote into a client desktop. I don't know to what extent this can be done with Samba. I know it doesn't have all the features of Windows servers, but I know next to nothing about Windows servers. So, can what I want be done? How I'm prepared to read docs for and test things out, but I don't want to be looking for tutorials on something not possible!

View 2 Replies View Related

Ubuntu :: Monitor Multiple Websites Nagios,Zabbix Conf?

Jan 12, 2010

I need to find a solution where I can monitor multiple sites at once and know when they go down. There are fraudulent sites (not mine I am in the infosec industry)

I have been playing with Nagios and Zabbix all day with not much luck. I have managed to get both installed and running and researched for hours. I just need to figure out how to add domain names to be monitored and I am stuck. I know you have to do it in the conf files but I cannot get a domain to show up?

View 3 Replies View Related

General :: Rename Multiple Files In Multiple Directories/subdirectories Recursively?

Aug 23, 2010

I am to rename all the files within a directory (which contains multiple subdirectories) recursively without invalid characters.

I tried the coding posted above.

find . -type f -printf '%p
' | while read file; do
oldfile=$(basename "$file")
newfile=$(echo "$oldfile" | sed 's/[^A-Za-z0-9_.]/_/g')
if [ ! "$newfile" == "$oldfile" ]; then
echo mv "$file" "${file%$oldfile}$newfile"
code....

but I get an error on both of them stating "find: bad option -printf find: [-H | -L] path-list predicate-list"

View 9 Replies View Related

Ubuntu Servers :: Setup A Home Server For Backing Up And Storing The Files On Multiple (Windows) Computers?

Feb 3, 2010

I'm looking to setup a home server for the purpose of backing up and storing the files on our multiple (Windows) computers. What kind of server should I set up? Samba? Lamp?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved