Ubuntu Servers :: Automatic Unmount On Reboot?

Apr 1, 2010

I have a problem while rebooting my 9.10 server when I have SAN partition mounted. The message is something about the swap that can not be cleaned during the process. All works if I unmount the partitions before shutting down or rebooting.So I though to create a bash script that unmounts the parts during runlevel 0 and 6.I've created a simple script like this in /etc/init.d:

#!/bin/bash
umount /mnt/xxx
and the I've done:

[code]....

View 7 Replies


ADVERTISEMENT

Debian :: Automatic FTP Upon Reboot?

Apr 20, 2015

I was wondering if there is a way to automatically transfer files between one machine to another upon Debian starting (or when a script is executed). Would it be also possible to check a database for a value and if the value exists then files can be transferred automatically (just like reboot).

View 3 Replies View Related

CentOS 5 :: Automatic Reboot On Ping Result?

Feb 15, 2011

Is there any way to reboot my centos 5.2 server automatically once the ping result to my default gateway is continuously greater or equlls to 10 ms.

View 3 Replies View Related

Ubuntu Installation :: Automatic Grub2 Choice On Remote Reboot?

Jan 10, 2010

I'm trying to figure out if I can do a remote reboot (eg over ssh) and specify a new grub2 os choice for the next boot only (once), in order to boot windows remotely once, but then back to linux on the next reboot.I found this related post for grub, but won't work for grub2 ( I never tried it with grub for a remote reboot)[URL]which suggests changing the default menu option with the once flag:

[root@localhost ~]# echo "savedefault --default=2 --once" | grub --batch
[root@localhost ~]# reboot

I'm just starting to work with grub2 and am not at all clear whether I can do anything similar

View 4 Replies View Related

Debian :: Program For Automatic Or Remote Reboot Process?

May 21, 2010

I looking for a program for automatic or remote reboot process...

Soon I order a VPS and needs a Call of Duty (or other games too) server restarter, if its crash...

View 3 Replies View Related

General :: Can't Open Terminal And Other Apps - After Automatic Update And Reboot?

Sep 24, 2010

I did an automatic update and rebooted this morning and I now have a bit of a nightmare situation where I can't open the majority of applications, including the terminal. When I rebooted, my desktop loaded as normal, but then when I try to open the terminal (from Applications -> Accessories or from my quick launch panel), nothing happens other than the quick launch panel disappears for a second then reappears. This is the case for most other apps, but not for Chrome (obviously).

Used Alt+F2 to open the terminal, ran safe upgrade and then rebooted, but still having the same issue. As Ubuntu was booting, there was a "Broken pipe" message, which didn't stop the boot process but is still a bit worrying. I've run a file system check but this hasn't resolved the problem either.

View 1 Replies View Related

Ubuntu Servers :: Mounted NFS Share Will Not Unmount?

Jan 8, 2010

We have a server running Hardy. I configured it as an NFS client and mounted a share. The NFS server is remote and accessed through TCP only (no UDP allowed through the firewall). Now I've mounted it, though, I can't unmount it!

Code:
david@scatha $ mount | grep nfs
example.com:/home/david on /mnt/tmp type nfs (rw,tcp,addr=123.123.123.123)
Now when I try to unmount it:

[Code]...

View 4 Replies View Related

Ubuntu Servers :: Unmount Of /dev/nbd0 Failed?

Oct 24, 2010

After in-place upgrade from 9.10 to 10.04, the message

Code:
Unmount of /dev/nbd0 failed
appears on the console at shutdown, with a warning that data may be lost, and followed by a 10 second countdown, after which shutdown continues normally.
Syslog shows this one line at each boot:

Code:
Oct 23 10:04:16 m2a74am kernel: [ 1.203334] nbd: registered device at major 43
Nothing gets mounted explicitly at /dev/nbd0, so I am puzzled about the error message on shutdown.

View 1 Replies View Related

General :: Automatic Reboot And Revert Grub Config On Boot Failure?

Dec 3, 2010

I have a working RHEL in /dev/sda1 and a newly constructed Ubuntu Lucid in /dev/sda2. I'm going to edit the grub config and reboot the server into the new Ubuntu. However, I'm not 100% sure that the new distro can boot. And since my only way to access the server is via SSH, I need the network to be up too.

How can I configure Grub and Ubuntu so that if the server fails to boot, it will automatically reboot into the old RHEL? Currently using GRUB 0.93, but I can upgrade it if needed.

Update: In the end, no boot failure occured. But without the insurance from this, I wouldn't have attempted [URL]..

View 2 Replies View Related

Ubuntu Servers :: Automatic Login For Use With Vnc?

Feb 23, 2011

recently installed Ubuntu Server 10 everything has set up just fine but the only problem i have is to get ubuntu to login automatically. The main reason for this is because i havent got a monitor connected if for whatever reason the server restarts its hanging at the login screen and i cant login via vnc to the desktop. The furthest ive got is for it to say at the login screen next to the name (user logged in). Any Ideas on how to resolve this? or if it is possible?

View 2 Replies View Related

Ubuntu Servers :: Automatic Folder Copy/tar Under 10.10?

May 26, 2011

First off I'm running a headless Ubuntu server 10.10 box.I have a single folder on a ntfs drive that I wish to copy somewhere else on the same HD. I'd like this to automatically happen about once a week or so. It would be even better if it would tarball the copy also..but this isn't a 100% necessary.

Something like "XFOLDER" would be copied to "/backup/XFOLDER1.tar" then next time "/backup/XFOLDER2.tar" and so on.

View 1 Replies View Related

Ubuntu Servers :: Change Wireless Automatic Connection?

Jun 12, 2011

I have just managed to get my wireless working with Ubuntu Server 10.04. However, I was wandering if anyone knows how to change the auto connection settings? I would either like to tell it which network to connect to (at the moment it automatically connects to the wrong one) or disable automatic connection.

View 6 Replies View Related

Ubuntu Servers :: Kernel Log Daemon Always Stop And Restart Back Automatic?

Feb 22, 2010

waht is kernek log daemon..? why kernel log daemon always stop and restart back automatic?

View 1 Replies View Related

Fedora Servers :: Automatic Subdomains On Local Dev Machine

Jul 28, 2011

I have working localhost on my Fedora 15. Directory tree look like this

Code:

/var/www/html/default
/var/www/html/projects
/projects/foo
/projects/bar

[code]....

View 2 Replies View Related

Ubuntu Servers :: Lost GUI After Reboot?

Apr 25, 2010

I was using Ubuntu 9.10 and was using fireftp ( firefox plugin ) to do some ftp operation. And then I noticed firfox is fozen so I reboot my pc by switching off the power ( restart doesn't work ). When I turn it back on again, no GUI anymore. I was taken to ttyl login commend.

View 3 Replies View Related

Ubuntu Servers :: How To Get Into GUI On Reboot After Installation

Nov 8, 2010

I just finished installing Ubuntu Server Edition 10.10. After reboot it brings me to a shell prompt asking for username and then password. After putting it in I just get a blank shell prompt. How do I get into the GUI ?

View 6 Replies View Related

Ubuntu Servers :: SSH Not Starting On Reboot

Nov 29, 2010

I have set up a new IP specifically for SSH and configured SSHD_Config accordingly to listen on this new interface and a specific port. However when I reboot SSH is not starting. Looking in the syslog it shows that it is unable to start. It looks like its trying to listen on the interface before it is set up.

Code:
Nov 29 13:00:23 anubis init: ssh main process (601) terminated with status 255
Nov 29 13:00:23 anubis init: ssh main process ended, respawning
Nov 29 13:00:23 anubis init: ssh main process (610) terminated with status 255
Nov 29 13:00:23 anubis init: ssh main process ended, respawning
Nov 29 13:00:23 anubis init: ssh main process (618) terminated with status 255
Nov 29 13:00:23 anubis init: ssh respawning too fast, stopped

I am able to start SSH manually once the server is booted. Do I need to set up my interfaces differently to ensure they are available prior to SSH starting somehow? I don't want to change my ssh config to listen on all addresses.

View 9 Replies View Related

Ubuntu Servers :: ISCSI + LVM Gone After Reboot?

Feb 21, 2011

I have an iSCSI target on my Ubuntu 10.04 LTS server that is giving me access to 3 x 2TB volumes. I am using LVM to create 1 big volume and using it as a place for my backup software to write to. Upon initial setup I tested to see if the connection would still be there after a reboot, and it was. After going through the trouble of configuring my backup software (ZManda) and doing a few very large backups I had to reboot my SAN (OpenFiler) for hardware reasons. I took my server down while performing the maintenance and brought it back up only after the SAN work was done. Now, the LVM volume is listed as "not found" when booting.

Using iscsiadm I can see the target but LVM doesn't know of any volumes that exist using those targets. I need to get it back up and running and then troubleshoot the reboot issue.

View 2 Replies View Related

Ubuntu Servers :: Bond0 Not Starting After Reboot?

Apr 10, 2010

I am having problems with bond0 starting at boot on ubuntu server 9.10. After I do a restart I have to manually start the network with "ifup bond0". I have installed the built package (ifenslave-2.6_1.1.0-15ubuntu1_i386.deb (as indicated in Bug #482419)).

I have setup bonding for mode=6 with miimon=100 using eth0 and eth1 (both are Intel 10/100/1000 ports using an aic79xx network driver).

The contents of the aliases file are:

alias bond0 bonding
options bond-mode=6 miimon=100

The contents of the interfaces file are:
auto bond0

iface bond0 inet static
address 192.168.15.60
netmask 255.255.255.0
gateway 192.168.15.1
slaves eth0 eth1
bond-mode 6

View 9 Replies View Related

Ubuntu Servers :: High I/O Wait After Every Reboot?

May 19, 2010

The Machine

Core 2 Duo E4600
2GB DDR2 RAM (1 stick)
Intel ICH10R based motherboard (tried an ICH9R aswell)
4-port SATA controller (PCI Sil 3114)
O/S: Ubuntu Desktop x64 10.04 LTS (using 'desktop' because I like having a remote desktop)

The Storage Setup Disks: Assorted selection of 9 disk. 750GB, 1000GB and 1500GB Seagate and Western Digital disks. The disks are joined through a standard LVM2 configuration. I don't know the LVM term, but normally you'd call it a JBOD setup. On that LVM device, I've put a cryptsetup device, made with the LUKS tools (aes-xts-plain 256) On the cryptsetup device, I've created and mounted an EXT4 partition.

All in all, a completely standard LVM2 and LUKS setup, running EXT4. After a reboot, I proceed to unlock my cryptsetup encryption device, and then mount the EXT4 partition. All is well, the mount is accessible and everything looks fine. I then try to send a file to the mount, via Samba. After a few hundred MB written, the I/O wait goes berserk. It stays at 50% (dual core setup remember). The system becomes unresponsive to network commands (can't browse samba) for about 5-10 minutes. When it finally responds, the I/O wait is gone and everything is now fine. I can write and read hundreds of GB's of data without any issues at all. I can benchmark and stress all disks perfectly fine and no logs are showing disk errors.

I tried monitoring my disks with 'iostat -d 2' while the I/O wait was happening, and there is some slight Blk_read/s activity on 1 disk at a time. First for example /dev/sda is showing a little Blk_read/s acitivty, then it jumps to the next disk, and when every disk has show that slight Blk_read/s activity (500-800 or so) the problem is gone and the I/O wait is no more. I've tried changing motherboards, switching disks around on the controllers, checking individual disks, replacing disks and I've tried different versions of Ubuntu. The problem however persists. I could see it being a network issue, possibly a driver issue. But since the NIC is a standard RTL8111 on-board it seems unlike that the problem wouldn't be more widespread since this NIC is litterally being used everywhere. I did change my motherboard, so a faulty NIC seems unlikely twice in a row.

View 9 Replies View Related

Ubuntu Servers :: Updates That Needs Reboot Timeline

Nov 5, 2010

Where can I find the updates time line that requires Ubuntu server reboots for this year? Is there such a list ?

View 4 Replies View Related

Ubuntu Servers :: Upgrading Kernel Without Reboot

Dec 16, 2010

I have an Ubuntu 8.04 server running 2.6.24-23-server. I have a godaddy account and I am trying to upgrade my os version to 10.04, which requires a kernel upgrade. I have tried ksplice but kernel 2.6.24-23-server is not supported. I have heard about screen sessions but I have not found it possible to reboot one screen while having the other screen stay persistent if it is possible.So the main question is how to update Ubunut 8.04 to Ubuntu 10.04 with out rebooting the entire server? Rebooting is completely not an option at the moment.

View 1 Replies View Related

Ubuntu Servers :: RAID1 Disappears After Reboot?

Jan 5, 2011

I had a thread earlier asking for help installing Ubuntu Server to my homemade atom based NAS, but I gave up on that (GUI's are more helpful to me ) and so now I'm running Ubuntu 10.10 Desktop 64bit edition.Last night I was finally able to get mdadm set up. I have two 1TB disks set up in RAID1 config. I used

Code:
sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
to create the array, and then waited until it finished assembling. Then I used System>Administration>Disk

[code]....

View 1 Replies View Related

Ubuntu Servers :: Nss_initgroups_ignoreusers Is Recreated On Each Reboot

Feb 7, 2011

In /etc/ldap.conf I'm using my own nss_initgroups_ignoreusers setting. However, on each system start, Ubuntu adds its default nss_initgroups_ignoreusers line additionally to my own, and I have no idea where that comes from (needless to say, it's annoying!). So when I edit /etc/ldap.conf as follows:

Code:

# [...]
nss_initgroups_ignoreusers avahi,avahi-autoipd,backup,bin,couchdb,daemon,games,gdm,gnats,haldaemon,hplip,irc,kernoops,libuuid,list,lp,mail,man,messagebus,news,ntp,proxy,pulse,root,rtkit,saned,speech-dispatcher,sshd,statd,sync,sys,syslog,usbmux,uucp,www-data,backup

After I restart the system (and that happens on *every* startup), I've suddenly got two lines:

Code:

# [...]
nss_initgroups_ignoreusers avahi,avahi-autoipd,backup,bin,couchdb,daemon,games,gdm,gnats,haldaemon,hplip,irc,kernoops,libuuid,list,lp,mail,man,messagebus,news,ntp,proxy,pulse,root,rtkit,saned,speech-dispatcher,sshd,statd,sync,sys,syslog,usbmux,uucp,www-data,backup

[code]....

How can I disable this 'feature'?

View 1 Replies View Related

Ubuntu Servers :: No Connection To SSH After Updates / Reboot

Apr 2, 2011

I'm running Ubuntu 10.04 LTS. Last night I was doing some admin on this box, it's running apache and ASSP for spam filtering. Once I finished I started some updates.I checked for updates and applied them, but fell asleep. This morning, my session had timed out at continue. I reconnected and saw a message stating a reboot was required.I've rebooted, my usual services are running, eg apache and ASSP. I can view pages on apache and the admin page for ASSP. I'm remote from the system, so connecting over the internet and when I try to connect, it fails.

Quite urgent, however at least my services are working. However I'm not happy that I can't access the system myself.I don't know if this is my own fault for leaving updates unattended or if an update caused the problem. Thanks.

View 8 Replies View Related

Ubuntu Servers :: Remotely Reboot Via Web Interface?

May 2, 2011

Is there any web interface that I can install to remotely reboot ubuntu? It would only be accessible via a VPN or on the LAN so not too much worry over security.

View 3 Replies View Related

Ubuntu Servers :: Reboot Command Shutting Down PC

Jun 6, 2011

I have problem with my reboot command.
sudo reboot and sudo halt -f now don't work (they don't reboot)
but sudo halt -p is shutting down my PC.

View 9 Replies View Related

Ubuntu Servers :: /tmp Cleared On Server Reboot?

Jul 26, 2011

I installed 11.04 server and had samba share /tmp (as advised by the server pdf doc) shared to my windows 7 laptop, which was all well and good, so copied some files to it and rebooted the server, and they had been removed.i guess i shouldnt have put anything in /tmp as i presume this is cleared on reboot, so why did the documentation advise to create /tmp share?

View 1 Replies View Related

Fedora Servers :: VNC After Reboot

Mar 14, 2009

Ok this is one of those questions that have probably been made often. But I just CANNOT find a way around this on Fedora, and i have searched for it alot. Basically, after remotely rebooting my server, i'm not able to connect through vnc because the server needs to login. I've looked into an automatic login, but this is not the way i want to go. Edit: I'm using the default fedora vnc server, and RealVNC on my Windows computer. Been to ##linux on freenode, but at the time, noone there could answer me either.

View 5 Replies View Related

Ubuntu Servers :: Forced Fsck Hangs On Reboot?

Jan 12, 2010

I am running 9.04 Server (standalone). It had been running fine since I installed in last autumn. Upon reboot, fsck of the root filesystem was forced and it hangs at the same point (16.5%) every time. I was able to break out somehow with cntl-alt-del but the boot was to a read-only filesystem. So I couldn't disable the forced fsck. Instead, I tried to fsck there. It started, but hung. I couldn't do e2fsck -v as it needed the device and, although I worked on UNIX systems for decades, I am not familiar with the /dev/mapper stuff.

Looking at other threads, all involving the desktop GUI Ubuntu, I tried some of the suggestions. Went into the BIOS to see what I could disable. I killed the serial port and similar. (Some said that onboard modems interfered with the checks in /dev.) I also tried to boot from my original installation disk. That does work.The suggestion is to choose "Try without any change to your computer". The problem is that is not available on the server installation, apparently only the desktop (GUI). I had install, check CD for defects, test memory, boot from first hard disk, and something like repair or recover a broken disk. I started the last of them, as it seemed to be the only option. It failed because it couldn't get a dhcp address. I could manually configure it (as it is hard addressed anyway), but I didn't want to start screwing up configurations not knowing where it was going, whayt it would ry to do, and risk losing months of hard work.

Without help, I think I will be forced to install the OS on a second drive, use that install to fsck the original filesystem on the original disk, edit the fstab (or whichever has the config) on the original disk to disable fsck, and return to the original boot.I am building this server for a nonprofit and have put in many hours writing mysql/perl apache cgi code for them as a free service and hate to lose it all and set back everything.

View 2 Replies View Related







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