Recently, I updated the kernel to the latest version and also installed Ruby and the Passenger module for Apache. The server was fine for a few days.However, today, it's been restarting randomly (usually a minute after I can log in).I tried booting with recover mode so I could view the logs for a longer period of time, but that caused it to restart before even allowing me to log in. Now, all boot modes will just cause the server to restart right after the GRUB messages appear.Our server setup complicates things. We have a RAID-1 mirroring for the /boot partition and a RAID-5 (software) for the / partition
I'm currently using ubuntu desktop 9.10 (without desktop - I've removed packages) as OS on my server.But there's going on some strange thing ... There are about 8 users, and the thing is they many times user rar or some other disk-demanding programs. What I've noticed is that sometimes server will go with load over 20 (I know that's not good ...) and it will come down in few minutes and everything is OK, but sometimes it just restarts itself. I would like to disable that so it won't restart
I`m using Ubuntu Server 10.10. The system randomly restarts each day.Here are the logs: http://paste2.org/p/1499309Everything seems normal except that UDP: short packet thingy but even Google didn`t help me to find what`s thatBy the way, I think reboots started after I configured this PC as a gateway between internet and my local network
is it normal having several security updates week after week in a 10.04 ubuntu lts server distro? Some of them even need a system restart, which I consider truly bad for a web server...
I'm trying to write a script that will continuously ping a server and then send out an email when the server is down, and then when it is back up. Then, continuing with monitoring. I would like to not run this in cron, because I don't want to script to run with multiple instances.
For example, Ping a server every minute. -If successful, do nothing. -If failed to ping, then send out email stating that server is down. -Once ping is successful, then send out email stating that server is up.
I only want it to send an email once after a failure, so the end user isn't get an email every minute that it fails. Once it is successful, then send the email (one time), stating that the server is up. Then, continue to ping and if fails again, repeat the process.
Connecting with PuTTy works fine with my public/private keys. But why does sshd start and then restart twice when booting? I tried looking in the logfiles under /var/log/ for anything with ssh/sshd but nothing shows up.
I want my server to automatically shutdown at 23:59 and startup at 8:00. The startup is handled through by bios but the shutdown is to be managed through cron. I thought I had this working, I actually swear I had it working because I thought the uptime command showed the appropriate uptime. I happened to be up and was streaming a movie from my server when at the time it should've shutdown it actually just restarted. If I run the shutdown -h now command by itself it works well but the scheduled command just restarts the server. Here is the what is shown when I enter crontab -e.
I installed latest stable debian lenny. However when I want to switch to a virtual console by pressing Alt+Ctrl+F(1-6) the X server is restarted and I get the gdm login screen. When I kill gdm, virtual console switching works fine. How to switch a to a terminal and return to my X session by pressing Alt+Ctrl+F7?
If the server restarts, does the information in iptables get lost? I have seen a number of pages where people recommend readding lines or creating bash scripts to get it to work again. What about files like squid.conf, ncsa_auth files, etc.?
I've set this up as a primary dns server, Bind is the only thing running on it, no gui, etc. I followed the default settings so I have a named.conf, named.conf.options, and named.conf.local file.
I have a log file I labeled as named.log in this path /var/log/bind. I'm using logrotate to rotate out the file.
My problem is that after syslogd restarts in the morning. My named.log file don't start logging info until I restart Bind. The new named.log file gets created and the old files rotate out and compress. All of the other log files in /var/log, syslog, messages, mail, etc, rotate out and compress like they should, after syslogd restarts.
I know that I could restart Bind using Cron but I shouldn't have to.
Below are snips of the files I'm using.
I named this one 'bind' and it's in the directory /etc/logrotate.d
I'm making a clever backupsystem based on nfs and rsync.Basically, I export folders from the clients to a backup server, and the backup server processes them and makes backups.The backupserver mounts the folders during startup, but if a client restarts, then I guess it would unmount from my backupserver, right?What can I do to make it automount the folder whenever the client gets back up again?All the clients are static servers without much interferance, without any risk of external people tampering with them and without internet access. Security is not an issue, and any kind of shady compromisingcripts will do.However, installing software on them is tricky as I have to download packet for packet and transfer them via usb manually.
I have a problem with one a server installed with Debian 3.1, that is restarting almost every day at the same hour, 6,25 AM. Here are the messages obtained with #cerberus:/etc# grep -C 5 restart /var/log/messages
.....missing displays....
.....missing displays....
As I said, there are days when the system is not restarting, but more often it does. For example, on 6th October it didn't restart, but on 7th it did, and the messages are the same.
I have a problem with one a server installed with Debian 3.1, that is restarting almost every day at the same hour, 6,25 AM. Here are the messages obtained with #cerberus:/etc# grep -C 5 restart /var/log/messages
.....missing displays....
.....missing displays....
.....missing displays....
As I said, there are days when the system is not restarting, but more often it does. For example, on 6th and 8th October it didn't restart, but on 7th it did, and the messages are the same.
I have an IBM ThinkPad T43 on which I run Ubuntu 10.10. Everything works fairly smoothly except that I notice my laptop fan runs continuously. When I turn on the machine it revs up until boot-up is complete, then it shuts off for a few minutes, and then it comes back on and never turns off until I'm through working.Is this strictly a hardware problem, or is there something about Linux that causes the computer to run hot and so causes the fan to work hard? Is there a setting that I could check to see if the fan is working properly? I don't use any exotic programs or run video intensive games, so there's no reason why the computer should run especially hot
So I'm having this weird problem where my computer wants to continuously resume a session from hibernate no matter how I shut it down. I think it started when I tried to hibernate my computer with the battery really low. Somehow it messed it up. In any case, it can't resume properly, but gets stuck somewhere in the middle (I think when it's trying to sort out the resume image). Each time I power it on I have to boot it, restart in the middle of the boot so the boot menu comes up as it starts up again, edit commands before boot and add the "noresume" option so it will boot up normally.
In a lot of programs I write, I would love the option to simply hit a key without disturbing the data, and have some other action take place.
An example loop would be,
Code: for(some var = 0; some var != infinity; some var++){ if(poll(left mouse button)){ stop doing this stuff; } . . . doing other stuff, because the left mouse button wasn't pressed }
but, I don't want the loop to pause for more than a the tiniest fraction of a second, and I certainly don't want it to sit there waiting for me to do, or not do, something.
What is it I'm looking for?
(Oh, and if you haven't guessed, c/c++ are the languages of choice for this operation - I don't care which you might have in mind when submitting an answer -- in fact, it need not be either of those languages.)
I recently started attending University and there is a filesharing hub set up throughout the dorms. I want to connect to it using LinuxDC++ but the connection just continuously times out. I have used DC++ before on Windows and never had any troubles so I am thinking it is something to do with networking in Linux (I have only been using Ubuntu for about a month).
As title suggests, this is about my USB wireless adapter Linksys WUSB54G ver.4 periodically failing. Now, the exact problem AND solution was posted on this thread:
[URL]
Essentially, I have to try a new kernel or something. I downloaded the kernel 2.6.34 at http://kernel.org/ which is supposed to solve my networking problem. But above thread suggests building my own kernel somehow [URL] and some of its steps are unfortunately not straightforward as copy-and-paste and i'm afraid i can't go on after trying to mimic command prompts a few times.
I tried referring to other sites, like
[URL]
but their suggested steps aren't exactly the same, or maybe they are really but i'm too dumb to see it.
I think I managed to copy the config file (i hope i chose the right one) and put it to the extracted folder of new kernel I just downloaded, but "Build the linux-image and linux-header .deb files" ?
As the title says, when I select the install option on the liveCD, the Ubuntu logo is shown, and the flickering starts. I've tried the vga=XXX option, but no luck. Any experiences? It doesnt' happen with the 9.10 live CD...
I've just installed Ubuntu desktop 10.10 (32 bit). No matter what programs I run, the CD-ROM (DVD-ROM) drive is checking for a new CD/DVD every 5 seconds or so (even if no applications are running). It is quite annoying because of its robotic noise. The drive is empty. How could this be turned off? Is the media manager misconfigured by default?
After the last system update (few days ago) the wireless box disconnects and reconnects continuously (every 60-90 secs). This is the pertinent /var/log/messages when it disconnects: Code: Jan 11 16:16:24 ibm kernel: [ 8073.320442] -->RTUSBVenderReset Jan 11 16:16:24 ibm kernel: [ 8073.321453] <--RTUSBVenderReset Jan 11 16:16:26 ibm kernel: [ 8075.624596] Key1Str is Invalid key length(0) or Type(0) Jan 11 16:16:26 ibm kernel: [ 8075.624632] Key2Str is Invalid key length(0) or Type(0) Jan 11 16:16:26 ibm kernel: [ 8075.624668] Key3Str is Invalid key length(0) or Type(0) Jan 11 16:16:26 ibm kernel: [ 8075.624705] Key4Str is Invalid key length(0) or Type(0) Jan 11 16:16:26 ibm kernel: [ 8075.625355] 1. Phy Mode = 0 Jan 11 16:16:26 ibm kernel: [ 8075.625358] 2. Phy Mode = 0 Jan 11 16:16:26 ibm kernel: [ 8075.741083] 3. Phy Mode = 0 Jan 11 16:16:26 ibm kernel: [ 8075.780107] MCS Set = 00 00 00 00 00 Jan 11 16:16:26 ibm kernel: [ 8075.795195] <==== rt28xx_init, Status=0 Jan 11 16:16:26 ibm kernel: [ 8075.807107] 0x1300 = 000a4200 Jan 11 16:16:28 ibm kernel: [ 8077.937015] pci 0000:02:1d.0: wake-up capability enabled by ACPI Jan 11 16:16:28 ibm kernel: [ 8077.960539] pci 0000:02:1d.0: wake-up capability disabled by ACPI Jan 11 16:16:28 ibm kernel: [ 8077.977291] tg3 0000:03:01.0: BAR 0: set to [mem 0xfb100000-0xfb10ffff 64bit] (PCI address [0xfb100000-0xfb10ffff] Jan 11 16:16:29 ibm kernel: [ 8078.097571] ADDRCONF(NETDEV_UP): eth1: link is not ready
And this when manually reconnected: Code: Jan 11 16:16:37 ibm kernel: [ 8086.167522] -->RTUSBVenderReset Jan 11 16:16:37 ibm kernel: [ 8086.168530] <--RTUSBVenderReset Jan 11 16:16:39 ibm kernel: [ 8088.464724] Key1Str is Invalid key length(0) or Type(0) Jan 11 16:16:39 ibm kernel: [ 8088.464760] Key2Str is Invalid key length(0) or Type(0) Jan 11 16:16:39 ibm kernel: [ 8088.464796] Key3Str is Invalid key length(0) or Type(0) Jan 11 16:16:39 ibm kernel: [ 8088.464833] Key4Str is Invalid key length(0) or Type(0) Jan 11 16:16:39 ibm kernel: [ 8088.465510] 1. Phy Mode = 0 Jan 11 16:16:39 ibm kernel: [ 8088.465513] 2. Phy Mode = 0 Jan 11 16:16:39 ibm kernel: [ 8088.581175] 3. Phy Mode = 0 Jan 11 16:16:39 ibm kernel: [ 8088.621207] MCS Set = 00 00 00 00 00 Jan 11 16:16:39 ibm kernel: [ 8088.636185] <==== rt28xx_init, Status=0 Jan 11 16:16:39 ibm kernel: [ 8088.648150] 0x1300 = 000a4200 Jan 11 16:16:39 ibm kernel: [ 8088.751141] ERROR!!! RTMPSetTimer failed, Halt in Progress! What is going on?
I need to change attributes in my /etc/fstab file.
I cant change my fstab file because apparently Kwrite only crashes when accessed by Konsole in SU mode.
I type this input/output:
linux-mg28:/home/me # kdesu kwrite /etc/fstab kdesu(13370): Session bus not found KCrash: Application 'kdesu' crashing... sock_file=/root/.kde4/socket-linux-mg28/kdeinit4__0
[Code]....
I have a dual XP/suse11.3 system. I even removed my old Suse along with all its partitions, leaving only the NTFS XP, re-downloaded the 11.3 ISO image, burned a new fresh install disk and reinstalled 11.3. I updated the software in YaST.
I still can't modify my fstab file. But I can locate the file in Dolphin and click it to open in a Kwrite window. Read only of course.
Scenario: An IDE is set up on a Linux desktop box, editing PHP files locally. Every time I save a file, I want this change to appear on the linux server where Apache is running. The server has ssh (and samba and nfs for that matter).As a reference, when I edited files on Windows, I finally came over WinSCP as the exact tool I needed - WinSCP have just this feature present, with initial synch and then continuous update, using the filesystem watch service: "Keep Remote Directory up to Date".
On Linux, one could argue that sshfs could be employed to sidestep the need for synchronization entirely. On windows, a samba-share would do the same. However, I want the IDE to work with local files (on a SSD disk!), not having to go over the network to do PHP indexing and whatnots, which takes ages.But sshfs might be a part of the solution nevertheless - so that the continuous synchronization just needed to be done between two local directories.
not sure if this goes here, but is there a way to get the mouse to continuously click automatically after a set time interval? (eg, 2 seconds) i've googled and found plenty of auto-clicking software for windows, but no luck for linux.
Ok so just updated 10.10 to 11 and I can't do anything, the desktop is continuously flickering the purple ubuntu splash screen behind it and if I click anything it will open but flashaswell, I did have nova desktop which changes my wallpaper automatically but I uninstalled it as I thought that may be thebprovlem
Is there anything I can do? Or will I have to copy the home folder to USB and then do a clean install?
With what software I can slow down my HDD. With Power Manager if i change from Performance to Aggressive Powersave my HDD still working all the time and it's hot all the time on my laptop.
I have dual boot on my machine - Windows Vista and Fedora 12.
I have noticed that while I am on Vista, the fan runs only intermittently, but while I am on Fedora, it runs continuously. I have tried to tweak the power and CPU settings for Fedora, but did not get anywhere.
Should I be worried that the fan is running continuously? Or is it okay, the fan is just doing its job?