Software :: Script For Managing System Servers Fails / Modify It?

Apr 5, 2011

I would like to create a simple bash script, that will enable me to connect to a list of defined linux servers and execute a command there.

I looks like this code...

I am running the script under a regular user not root.

How shall I modify the script to go through all the servers?

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Install Base System Fails On 10.04

Feb 26, 2011

i'm trying to build a web server but I keep having a problem. Everything loads fine until I get to the "Install base system" part of the installation and it puts up a red screen warning me that the install has failed. My uncle gave me his ubuntu discs and even some different hard drives, but I keep getting the same problem at the same point of the installation. Here is the rundown of everything i did.

System #1 -
ASUS P5G41-M m/b with 4GB memory
Intel Core 2 quad q9300 cpu
two western digital 640GB hard drives

I was testing it out to run a raid 1 just to learn how to make a software raid array. its my first try at making a raid array. The first time i used ubuntu server 10.04 32bit and the system failed at the install base system point. I then used boot n nuke to clean the drives and tried 10.04 64bit. it failed at the same exact point. my uncle gave me 2 western digital 1.0TB hard drives and I tried again. I got the same results. At that point i gave all the hardware back to my uncle and he gave me a server board to try out because he bought it and hasnt touched it. so I built a second system.

[Code]....

View 2 Replies View Related

Ubuntu :: Rsync Fails When Using Modify-window

Jul 30, 2011

I am trying to sync or copy some files from my local home directory to my external passport drive. My passport drive has been acting weird , I was having a hard time mounting it, but finally I did it. It was mounted using FAT (for compatibility reasons)Now I am trying to copy the files but in a smart way, using this script with --modify-window switch.Is that a bug? Is the --modify-window switch missing on Ubuntu or maybe different?

View 2 Replies View Related

General :: Modify The /etc/host File - Change Directory Fails?

Feb 1, 2010

I am in the process of setting up an Asterisk server with Broadvoice services. I am having issues with making outbound calls and Broadvoice suggests I modify the /etc/hosts file in order to add their proxy server IP address and name. I login to my server as root and get the following command line header

[root@root tmp]#

I entered cd thinking this is what I need to change directory but fails. What is the command I need to enter in order to get to the /etc/host file so I can change it? How do I confirm an /etc/host file even exists?

View 2 Replies View Related

Ubuntu :: Program / Operating System To Serves Purpose Of Managing OSs In Nature Of Simplicity?

Aug 19, 2010

Does anybody know of a program and/or an Operating System in which serves the purpose of managing OSs in a nature of simplicity? Sure would save so much time i spend reinstalling linux every time its brakes.

View 3 Replies View Related

Programming :: How To Modify System Kernel

Dec 7, 2010

For my work, I have to modify the routing lookup process at Linux kernel.

The details is below:

A-----B.

We have pcA, pcB (using Linux OS kernel 2.6.26.5) connect together. We need to modify the source code of kernel at B in order to if A sends the packets with destination IP address as C, pcB still receives this packet and send to transport layer (that means, it bypass the routing lookup process at kernel).

The solution I used as the following code...

View 12 Replies View Related

Ubuntu Servers :: Modify Permission On Jail User?

Dec 3, 2010

Does anyone know how to modify permission on jail user. current jail user added to its /home/jail/*

How can I assign jail user(s) enough permission to access /opt, /var, or any other directories other than /home/jail/* ?

View 9 Replies View Related

Software :: How To Modify System Time As Non Root User

Nov 18, 2010

I have developed an application, in C language, that should received the EPOCH time (6 bytes) at about every 30 min. What function should I use as a non root user to modify the System Time.? The idea is that the same application could update the System Time. I am using Ubuntu.

View 1 Replies View Related

Ubuntu Servers :: Can't Modify FTP \ Managed To Create A FTP Server By Using Apt-get Vsftpd?

May 13, 2010

I'm completely new to Linux/Ubuntu, but I managed to create a FTP server by using apt-get vsftpd or something.I followed a tutorial and modified a file called vsftpd.conf.I tried to disable all kind ofblocking/permissions. From a Windows client, I can connect to it without any login (I enabled anonymous) and I can download from it, but I am unable to modify it or upload files. Unless there is a better way to transfer files between the computers, how can I enable writing on the FTP server?

View 3 Replies View Related

Fedora Servers :: Can't Access Or Modify File Unless Directory Mode Is 777 And Files Are 666

Nov 8, 2010

I have a multi user system for my roommates and myself that has separate folders for each of us. I've got user authentication working with samba, but unless I set every file and folder readable/writeable by all users, I can't browse it or edit the files.This isn't ideal as the shares are open to other users access, so I'm hoping there's a way to keep folders at 750 and files at 660 while allowing samba users to browse, delete and edit.Also, the samba share is actually a mounted NFS share from another server. Both the NFS server and the Samba server have the same users/uid's. When a file is created from a Windows host via the Samba client, the NFS server's permissions do show that the correct user owns the files, but since the files aren't mode 666 but 640 I can't edit or delete the file.

View 4 Replies View Related

Ubuntu Servers :: Modify Apache IPv4 Configuration To IPv6 Config?

Feb 25, 2011

I want to modify apache IPv4 configuration to IPv6 configOn both windows and ubuntu.

View 1 Replies View Related

Ubuntu Servers :: Modify The Httpd.conf File But It's Empty And Wordpress Installation

Jun 17, 2011

I'm installing Wordpress and I want Hosting Multiple Sites with them. For that I need modify the httpd.conf file but it's empty. Where I can make that changes? These are the changes:

1. Type: LoadModule rewrite_module /libexec/mod_rewrite.so
2. Find the <VirtualHost> section in the httpd.conf file.
3. Find a line in the <VirtualHost> section of the httpd.conf that looks like this: AllowOverride None
3. Replace that line with this line: AllowOverride FileInfo Options
4. On a new line, type ServerAlias *.[URL].
5. Save the httpd.conf file and close it.

View 1 Replies View Related

Ubuntu Servers :: Samba - Access The Shares But Read-only And Unable To Delete / Modify Files Using The IMacs

Sep 2, 2010

I have a few ubuntu servers which have samba shares on the network and for the most part have had little trouble with them. Recently we purchased a few iMac's for one of our deptartments and, while we're able to access the shares, all the files on them are read-only and we are unable to delete/modify files using the iMacs. This is not an issue with any of our windows machines (W2K, WinXP, Vista).

View 2 Replies View Related

Fedora :: Add/delete Modify The Menu System On The Menu Bar?

Mar 20, 2011

How do I add/delete modify the menu system on the Fedora Menu Bar, i.e. If I want to add a custom menu to the "Applications/Office" menu how do I do it?

Fedora Core 14 On Gnome 2.32.0
(Linux xxxxx 2.6.35.6-45.fc14.i686 #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 i386 GNU/Linux)

View 4 Replies View Related

CentOS 5 Hardware :: Infiniband (mlx4) Works On 16-core System But (now) Fails On 32-core System

Jan 27, 2010

We have a small cluster of 20 HP systems, all running CentOS 5.3 in an NFS-root environment. Half are quad-socket, quad-core Xeon E7340 @ 2.40GHz (total 16 cores), the other half are 8-socket, quad-core Opteron 8354 (total 32 cores). All systems have a Mellanox Infiniband adapter ("Mellanox Technologies MT25418 [ConnectX VPI PCIe 2.0 2.5GT/s - IB DDR / 10GigE] (rev a0)")

With kernel 2.6.18-128.1.6.el5, infiniband works fine on all systems.

With the update to kernel 2.6.18-164.11.1.el5 (and both types of node running the same NFS-root image), the 16-core Xeons still work fine. Infiniband no longer works on the 32-core Opterons. Specifically, either the ib0 interface fails to appear, or it does appear but when configured with an IP address, doesn't actually work. In either case, loading the IB kernel modules takes a long time, but I haven't instrumented the load script yet to see which module, if any, is at fault. More errors listed below.

However, if I tweak the BIOS of the 32-core systems to reduce the per-socket core count to 2 (so effectively 8-socket, dual-core, down to a total of 16 available cores), Infiniband starts working again. Putting it back to 32-cores makes it fail. Booting the older kernel makes it work again. In summary: old kernel, IB works on all systems. Newer kernel, IB only works on 16-core systems.

Updating the IB firmware from 2.5.0 to 2.7.0 (latest available) doesn't help. I also did a full 'yum update' to make sure that libmlx4, openibd all other associated packages were up-to-date. Doesn't help either.

Some errors that appear on 32-core nodes:

ib_query_port failed (-16) for mlx4_0
ib_query_port failed (-16) for mlx4_0
mlx4_core 0000:04:00.0: SW2HW_MPT failed (-16)
mlx4_core 0000:04:00.0: SW2HW_MPT failed (-16)

[Code]....

View 5 Replies View Related

Ubuntu Servers :: SSH Authentication Fails From Outside LAN?

Mar 29, 2010

My first post here. I've been using Ubuntu to run our internal mail server for a while now on Ubuntu server 9.04 and ISPconfig 2. I've read a lot of threads on poeple that have difficulty connecting to their server using SSH from outside the LAN and it is not the same problem I have. Well, not entirely the same.

My problem is that my authentication fails from outside the LAn, but I can connect to the SSH port from outside my LAN. The other threads pointed towards checking the router port forwarding etc, but I can see my SSH log in asking for my username and password. So, at this stage I know the port forwarding worked, otherwise I wouldn't even see the log in prompt.

Has anyone see this before where you can connect, but the authentication fails? I can use the correct username and password from inside the LAN, but using the same credentials from outside fails.

View 2 Replies View Related

Ubuntu Servers :: MySQL Fails With My.cnf

Jun 5, 2010

I'm trying to start my MySQL server, and it fails if the /etc/mysql/my.cnf file is there. If it isn't, then it fails - syslog shows me this:

Code:
Jun 5 11:02:53 myhost /etc/init.d/mysql[21733]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jun 5 11:02:53 myhost /etc/init.d/mysql[21733]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed

[Code].....

View 7 Replies View Related

Ubuntu Servers :: Capistrano Fails To Set Up?

Sep 18, 2010

i have recently been trying to set up a server, and have had the problem of trying to set up capistrano deploys with the command cap deploy:setup.when i run the command it outputs the following error;

Code:
cap deploy:setup
/usr/lib/ruby/1.8/net/ssh/transport/openssl.rb:1:in `require': no such file to load --

[code]....

View 3 Replies View Related

Fedora Servers :: Squid Fails To Start?

Mar 4, 2009

I am running fedora 10 and webmin squid proxy server, after power failure the squid fails to start. i have tried to start it from command line but failed

[root@ ~]# /etc/init.d/squid start
Starting squid: .................... [FAILED]
[root@ ~]# /etc/init.d/squid reload

[code]....

View 1 Replies View Related

Fedora Servers :: Build Of Apache 1.3.41 Fails On F12?

Jan 9, 2010

I'm trying to move an existing webserver from an old machine to a machine with Fedora 12 installed on it. ThSince the version available in the repository is version 2.X I downloaded the source from apache.org and tried to compile it. I ran configure using the default options and it an without any warnings or errors. However when I run make it fails with the following error:

gcc -c -I../os/unix -I../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci` htpasswd.c
htpasswd.c:101: error: conflicting types for getline
/usr/include/stdio.h:653: note: previous declaration of getline was here
make[2]: *** [htpasswd.o] Error 1
make[2]: Leaving directory `/root/apache_1.3.41/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/root/apache_1.3.41'
make: *** [build] Error 2

what the problem and more importantly the solution to this problem is?

View 9 Replies View Related

Fedora Servers :: Importing XP Machine Fails

Oct 18, 2010

We are trying to consolidate some servers to run as virtual machines on our F13 host.After booting into SystemRescueCD, we take a dd of /dev/sda (we initially did a dd of sda1 before realizing our error)We transferred this image (EDI.img) to our F13 VM host. and created a new virtual machine using the graphical Virtual Machine Manager using "import an existing disk image" and the same EDI.img file as the storage volume.

Unable to boot, I've done much googling to find the registry entries of MigrateIDE.reg - which I've manually added to the image's registry via chntpw -e /mnt/windows/WINDOWS/system32/config/system.Another forum's posting advised to boot from the XP iso and allow this installation process to "repair" the existing installation. I'm still sitting at a blank screen with minimal CPU activity. Can anyone point me in the right direction on how to migrate a physical XP machine to be a virtual machine running under F13?

View 2 Replies View Related

Fedora Servers :: Slave Dns Fails W/o Primary Dns?

Mar 23, 2011

setup - one primary dns and one slave dns. zone transfer works, internet works, dig lookup works. if i bring down the primary, everything stops working. should'nt the slave dns pick up the slack when the primary dns goes down.

zone "2.168.192.in-addr.arpa." IN {
type slave;
file "slaves/192.168.2.db";
[code]...

View 3 Replies View Related

Ubuntu Servers :: Apache2 Fails To Start ?

Jan 17, 2010

How to resolve this apache2 problem I keep getting, I have installed a debian LAMP server with ispconfig3 and everytime I reboot apache fails to start, I don't know and I have done some research but nothing seems to work, which leads me to reinstall everything from scratch again, I think I have reinstalled at least 10x or more.

When ever I reboot I get the following error

Code:

View 9 Replies View Related

Ubuntu Servers :: Upgrade Fails From Server 9.04 To 9.10?

Feb 24, 2010

I tryed to update ubuntu server from 9.04 to 9.10 a few days ago, but do-release-upgrade failed with the following output.

serv@server:~$ sudo do-release-upgrade
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading

[Code]....

View 3 Replies View Related

Ubuntu Servers :: Installing Apache Fails ?

Jul 17, 2010

I don't have much experience working with Ubuntu servers, but I recently decided to try to set one up. I have a remote server hosted with a static ip address, but I can't seem to install apache.

When I run the command

Code:

It fails to install with because it is missing dependencies.

"apt-get install -f" doesn't help. How can I install the necessary dependencies to get this working?

View 3 Replies View Related

Ubuntu Servers :: MySWL Fails On Startup?

Jul 18, 2010

I cannot get MySQL to start on startup. Every time I need to run the following command from the command line to get it going:

Code:
start mysql

If I try to use MySQL from the command line before starting MySQL I get

Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

How to resolve this once and for all

View 6 Replies View Related

Ubuntu Servers :: 10.04 Server Install Fails

Jul 20, 2010

Attempting to install 10.04 Server on an IBM Series X 232 server. Its an old server with dual p III's, 4 small drives and an adaptec controller with a RAID 5 array. The server is currently running CentOS 5.5.

The CD I am installing from is known good. I verified it after I wrote it and verified it again during the install process. The system boots from the CD, I accept the defaults, then it fails at "adding additional components".

View 1 Replies View Related

Ubuntu :: 10.10: System Fails To Boot?

Mar 14, 2011

This morning my system has a problem which is beyond my ability to understand: Firstly, the system does not boot automatically, after a fixed delay, from the grub menu. I have to press 'enter' against a chosen boot option. Secondly boot then fails. A lot of messages flash past the screen (which appear to be a trace) and end showing the following (partial example):

Code:
Killed
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.

at this stage I can move around the directory structure using 'cd', but no other commands seem to work.I tried the recovery boot option - same result. Is this a symptom that my boot drive has failed? No, that can't be true, or I would not be able to see the grub menu, would I? I can't find a similar situation after a Google search; what recovery procedure I should use? Correction: I must have had brain fade: I see there is quite a long thread on this very topic on the forum. I'm going to examine that first before I ask for more help.

View 6 Replies View Related

Fedora Servers :: 11 And ESXi Vmware-tools - Fails ?

Aug 7, 2009

I have a freshly installed, updated Fedora 11 installation for which the VMWare Tools fails. It can't compile what it needs, either. It's running under ESXi 3.x.

View 2 Replies View Related

Fedora Servers :: Ejabberd Fails To Start In F-12 / Solve This?

Nov 23, 2009

Ejabberd fails to start in f-12. ejabberd-2.0.5-9.fc12.i686. This ran fine in f-10 and f-11. Getting a large number of strange error messages from the ejabberd log code...

Looks like it may be a permissions problem.

Anybody from the ejabberd community here that has gotten ejabberd to work on f-12?

View 1 Replies View Related







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