General :: Update A File With Some Configuration Changes?
Jun 17, 2011
I have a challenege infront of me. There is a configuration file which is generated post deployment say orion-web.xml Post deployment I have to append the file with contents,
<session-config>
<session-timeout>-1s</session-timeout>
</session-config>
between one node <webapp>
[code].....
This case would have been different if I had to change the value which would have been possible with my small little knowledge of sed.
View 14 Replies
ADVERTISEMENT
Feb 18, 2011
I'm developing with puppet, and I need to do an aptitude update from a specific file, here is my configuration: The file sources.list in /etc/apt/ is deleted. I've created 3 files in /etc/apt/sources.list.d each one with their repos:
00-debian_sources.list
deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free
[code]....
All the repos are updated/refreshed , and I only want to refresh/update the specific repos insie of the file 01-debian_security_updates.list. On the other hand if I put some repos in the sources.list and delete the 3 files and I create an external file for example in /tmp/temprepo and I do the command aptitude update -o dir::etc::sourcelist=/tmp/temprepo it works fine.give some workaround to update and then upgrade packages from the files specified in my config.
View 1 Replies
View Related
Aug 8, 2010
Today I tried to attach my digital turntable to the line-in of the computer and hoped for some sound to come. Unfortunately it didn't work. I switched the line-in feature on and put the volume on max. Still no results. I checked the same on Windows and this DOES work, so it can't be the hardware. Do I have to install some extra app in order to use the line-in in put? To complete the information: I'm using Squeeze 64-bits with Gnome. The turntable (Akai ATT05U) HAS worked before (that was when I used Ubuntu 32-bits on an Intel Celeron ). Another thing: since I tried to edit the sound settings, I get an error message at boot: "Could not update ICEautority file /var/lib/gdm3/.ICEauthority". Does this have anything to do with the audio matter?
View 10 Replies
View Related
May 13, 2011
I keep getting this error on my debian server (Buffalo Linkstation so there is no GUI):
Debian Linux Version 2.6.12.6-arm1
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/Release Unable to find expected entry main/binary-arm/Packages in Meta-index file (malformed Release file?)
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/Release Unable to find expected entry main/binary-arm/Packages in Meta-index file (malformed Release file?)
E: Some index files failed to download, they have been ignored, or old ones used instead.Ive tried and tried changing the source.list to different repos but keep getting the same error over and over. Im really not sure what to do and I have no idea how to fix it. Its been working fine for the longest time.
source.list
#### Debian Main Repos
#deb http://http.us.debian.org/debian/ stable main contrib non-free
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb http://security.debian.org stable/updates main contrib non-free
#deb-src http://security.debian.org stable/updates main contrib non-free
[Code]...
View 5 Replies
View Related
Feb 22, 2011
I want to see what is the configuration of my Wind River Linux (actually I want to see what modules are installed in it when it was built). I can't find the configuration file.
View 14 Replies
View Related
Sep 14, 2010
I just installed tmux on Ubuntu 10.04 and tried to remap the prefix key to C-a by creating the file ~/.tmux.conf with these lines:
set-option -g prefix C-a
unbind-key C-b
When starting tmux, both regularly and with -f ~/.tmux.conf, the prefix is effectively the same default C-b
There are no errors or warnings whatsoever.
View 2 Replies
View Related
Oct 31, 2010
I had installed BIND packages but /etc/named.conf file is missing as the packages are shown,
[root@nisserver ~]# yum list bind*
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
[code]...
View 3 Replies
View Related
Oct 14, 2009
i am not able to open desktop configuratuon file in open suse 11.1.i think it could be due to absence of pluggins etc.
View 3 Replies
View Related
Mar 28, 2011
When I downloaded the motion detection sw "Motion" I found in the following path: /etc/motion/
motion.conf and 4 thread files in case of using several cameras.
Q1: Which language is that configuration file written?
Q2: I need to collect the source of Motion. Is that configuration file + the 4 thread files which in the /etc/motion directory only the source of the program neither there is some files in another paths I don't know?
View 13 Replies
View Related
Apr 15, 2010
i want to change in configuration file of ftp server i.e.'vsftpd.conf' for download and upload by root user is enabled . so tail me what changes is occured in configuration file of "ftp server"
View 3 Replies
View Related
Jul 7, 2010
It says to run update.php from the maintenance folder. What command do I type to run an update file?
View 5 Replies
View Related
Jan 26, 2011
how to update a file that is already exist in bash. so far i haven found any. I'm using parameter as my first start for the existent, copy file to a different directory.
View 5 Replies
View Related
Jun 17, 2011
I have looked at the GNU GRUB Manual 1.99 at [URL] but I cannot find an explanation of what the kernel entry / command in the grub.conf file means. I get what's the meaning of that entry but where is described what it actually is and what are proper.
I suppose this entry / command was actual in GRUB Legacy, but I cannot find where it is described...
View 1 Replies
View Related
Sep 10, 2010
On this Red Hat Box that I am using there is no .vimrc file for the user root. So, I created one and entered only one line to highlight syntax with colors when I am writing scripts in PHP and Bash. But it is not working.
Code:
[root@localhost ~]# cat ~/.vimrc
syntax on
[code]....
View 6 Replies
View Related
Feb 18, 2011
I have one previously compiled apache server from source. I would like to know is there any option to get previous configuration file from /etc/httpd/.
View 9 Replies
View Related
Feb 11, 2011
It's always a good to backup a configuration file like sources.list before you edit it. To do so, issue the following command: sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup Where does it backup to and how do I access it? I want to put the backup on removable disk or upload it
View 2 Replies
View Related
Sep 23, 2010
How can I disable ICMP messages through the configuration file of /proc/sys/net/ipv4/ICMP_echo_ignore_all Also how the above file can be edited?
View 1 Replies
View Related
Aug 23, 2011
I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Failed to open /proc/filesystems: No such file or directory
[Code]..
View 14 Replies
View Related
Apr 10, 2011
One of the good points of linux is that is easy to customize the partitioning scheme of the disk and put each directory (/home, /var, etc) in diferent partitions and/or diferent disk. Then we can use diferen file system/configurations for each of them for make them better. xamples:
noatime is a mount option to not write access time on the files. data=writeback is an option to layz write metadata on new files. ext3/4 has journaling that make the partition more secure in case of a crash. bigger blocks make the partition waste more space, but make it faster to read and may become more fragmented. (not sure) Then: What are the best filesystem/configurations for each directory? Note: given the answer of Patches, will only discuss /, /home and /var only.
/var -> It's modified constantly, it write logs, cache, temporal, etc.
/home -> stores important files.
/-> stores everything else (/etc and /usr should be here)
View 1 Replies
View Related
Mar 13, 2011
I'm looking for a way to have the access log for my nginx install scroll up the terminal as lines are added to the log. I think I need a command like cat access.log | diff but I'm not sure exactly what it should be.
View 1 Replies
View Related
Jul 3, 2011
I changed the user name using the User Properties window and rename the home directory with the new user name. Did not change the Group Name. The new name is ResearLab
When I restarted the system I received an error message:
Gnote Crash
gnote 0.7.3-4.fc14
Following are the messages:
(1) could not update ICE authority file/home/ResearLab/.ICE authority
There is a problem with the configuration server
(2) /usr/Libexec/gconf-Sanity-check-2 exited with status 256
(3) Nautilus could not create the following required folders: /home/ResearLab/Desktop, /home/ResearLab/.nautilus.
Before running nautilus, please create these folders or set permission such that natilus can create them.
A. What did I do wrong? Is it not possible to rename a user in Linux?
B. How can I correct this problem?
C. Should I have created a new user instead or renaming an existing one?
D. Can the primary group be renamed?
View 1 Replies
View Related
Jan 6, 2010
I installed Fedora 11 and was trying to setup a Web server for pure LAMP development and wanted to port forward with router so that my webserver can be access from inter net.
Server installation was perfectly fine. I was able to login from the user which I created during the installation. Instead of auto get ip I assigned 192.168.1.100 and then I set a HTML Server port forward.
Where the problem started.
I wanted to configure few users on vsFTPd and I tell you truly there is no place on Google where some one has defined a descent way which any person can understand that we can add some users.
Somewhere I found that Linux normal users can also access ftp if the local_user directive is set YES which i did and I added 3 users.
I wanted that whenever user is connected by vsFTPd returned them /var/www/html directory. Where as vsFTPD was taking them to their home directory (respective to each user)
I was unable to find any way that I can configure vsFTPd to set one default directory path which take every user to www/html directory so that developers can deploy websites.
I notice Gnome GUI offers each user a home directory path so I though why not I gave every new user and existing user /var/www/html as their home directory
which i did... and this is how my Server stop responding to any further login attempts.
FTP is still working fine if I left it open It let the ftp client to connect but Linux server is not allowing login by any user
It gives an error 'Could not update ICEAuthority file /var/www/html//.ICEauthority'
And when i click close then next message is : 'There is problem with the configuration server (/usr/libexec/gconf-sanity-check-2 exited with status 256)'
Is there any way i can undo? Is there any way i can go directly to shell and remove those users and re-add some new users in the default way - I believe if I can add one new user with default directory /home/user I will be able to login
After this is resolve still I will need to search how we can add FTP users and take them to the directory /var/www/html
View 4 Replies
View Related
May 5, 2011
I upgraded from 10.10 to 11.04 on my Toshiba 32-bit laptop without any problems.Since the upgrade I am starting to have troubles on this machine. Most others are 64-bit and bar an Evolution issue are fine.In this case, 24 hours after the upgrade the machine wanted to do an Update. It would not allow the update until I fixed some broken packages which I did via Synaptics Package Manager. I then Marked All Upgrades and did the update from there.It was fine until I shut down and tried to log in again.I got the Blue Screen of Death!!!!!! I thought only Windows had this!Anyway, I could not log in. The auto login was not working so I used Other which gave me Recovery, entered my UN and PW, and I got the error message:
HTML Code:
Could not update ICEauthority file
I have searched the forum and some other sites, but none of the ideas can I get to work. I can start the machine using a 9.10 CD in the trial mode, but can not download the files suggested or delete the ICEauthority file, etc...
View 3 Replies
View Related
Mar 18, 2010
After a massive update including grub (not the problem) I cannot mount and boot because of the dubject error message. /root (dm-0) and swap (dm-1) are ok its just /home (dm-2) that appears broken.
View 1 Replies
View Related
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
Aug 17, 2015
There is this bug in the latest version of Ubuntu, which is also Jessie, which is:
Can't copy a file from SMB share to the local file system: Software caused connection abort
The problem, apparently, is that newer versions of Samba hit servers with multiple requests at the same time, and for some reason the Zyxel and Iomega boxes can't handle this. The best solution they've come up with is to modify the smb.conf file on your server to include this setting: "max mux = 1".
Here is the reference material on this bug: [URL] ....
People who develop samba have fixed it in the latest version but neither the ubuntu nor Debian have released the fixed version of nautilus, as of yet. Here, is the reference: [URL] ....
View 0 Replies
View Related
Jan 6, 2010
my squid show like this when i try create swap directory
[Code]....
View 2 Replies
View Related
Aug 25, 2010
I did an upgrade a while back to lenny, but still get these errors..
Here's what I get when O do apt-get update:
View 14 Replies
View Related
Apr 13, 2011
i have download debian 6.0.1 DVD, and installed corectly,i am using internet behind proxy, but i configure all the things thier and i still can ping to google from CLI bt i could nt update my system
View 2 Replies
View Related
Jul 10, 2011
My probles consists in that i have no idea on how update the clamav. I downloaded it throu center of software. Butt when i try to upgrade it from the gui the upgrading bar reaches only 15% and desapears. I tried do type freshclam from root command line but it just writes that there is not such command. May be i use incorrectly the command line.
View 4 Replies
View Related