Debian Configuration :: Automatic Restart Server ?
Dec 29, 2010I wanted to ask how to restart the Debian Server. It should start daily, at 2-3 o'clock in the morning. Don't know how to program the server.
View 4 RepliesI wanted to ask how to restart the Debian Server. It should start daily, at 2-3 o'clock in the morning. Don't know how to program the server.
View 4 RepliesSo this very (for me) important little package fails me once again. But this time it refuses to restart/start
This is the output:
Setting up openssh-server (1:5.3p1:-1)
Restarting OpenBSD Secure Shell Server: sshd: failed!
/dev/null is not a character device!
invoke-rc.d: initscript ssh, action "restart" failed.
[Code].....
The error is within the /etc/init.d/ssh script. ("error")
This is in squeeze so I can only blame my self, but.. This is one of the packages that fair and square should not fail to install/update/start/restart no mather what!
I tried to set up an automatic program restart on Debian Lenny for fail2ban and asterisk. Google helped me to find some HowTos. However, all what I tried so far doesn't work. The latest version: According some instructions the following commands have been written in a file called auto_start_stop:
Code: #! /bin/sh
-> saved in the folder /etc/init.d and
-> its properties changed with a right-click to 075.
-> The links have been created with update-rc.d auto_start_stop defaults
Why this doesn't work and how I could correct it?
is it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...
View 14 Replies View RelatedWhen I try to run programs from root terminal I get the error
Code: Select allQDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
No protocol specified
kate: cannot connect to X server :0
I found a solution: I do
Code: Select allxhost SI:localuser:root
but I have to do it after each reboot. I tried to put this command in rc.local but it did'nt work. How to do this auto?
I have configured a RaLink wireless card to connecto to an 802.1x network. I connect by selecting the network, and the i give the credentials(username/password). How do i configure Debian to automatically connect to this network when a session begins?
View 2 Replies View RelatedI've just installed debian sid and see that I've the kernel 2.6.32. I was a bit surprise as on ubuntu I had the 2.6.35 and debian sid is supposed to be more up to date that ubuntu (maybe I'm wrong).So I checked what were the packages available :
mart@mart-laptop:~$ uname -a
Linux mart-laptop 2.6.32-5-686-bigmem #1 SMP Sat Oct 30 23:25:58 UTC 2010 i686 GNU/Linux
mart@mart-laptop:~$ sudo aptitude search ^linux-image
[code]...
I'm recompiling my kernel on a dell latitude c600 running lenny as I type, and it's taking forever, so far upward of 4 hours.I think I'm getting drivers for ever piece of computing hardware since the univac So I googled "a kernel conf creator" and got [URL]... Its a nice, clean method for finding what hardware your using... you just run lspci cpuinfo make xconfig and put in all the info yourself. So I was thinking: this is exactly the kind of dull, repetitive behavior that computers were made for. Is there a program that can find my hardware info, and make the.config itself, with very little user input?Or should I reinstall debian on another partition and steal the .config from it? Or should I man it up and do it myself?
View 14 Replies View RelatedHow can I change the automatic fsck execution at boot time to be above 30 boots? I reboot the system sometimes 3 to 4 times a day. Intel 3 GHz, tower, i386 lenny vmlinuz-2.6.31-686
View 2 Replies View RelatedAfter an automatic update from Debian I get the following error while starting a root terminal:
An error occurred while loading or saving configuration information for gnome-terminal. Some of your configuration settings may not work properly.
Failed to contact configuration server: the most common cause is a missing or misconfigured D-bus session bus daemon.
My system is a three days old Linux version 2.6.32-5-amd64 (Debian 2.6.32-35) with an Intel(R) Core(TM) i7 CPU 60 @ 2.80GHz. It does start, goes through the grub and then spits out strange messages and just freezes before the KDE can be started. I have to restart again, until it really boots everything. This is happening in a random pattern.
I activated bootlog, but as far as I can see, the log only tracks, if the system is really booting. So I also have the dmesg copied into pastebin. These are the only two logs I know, now.
The code of the boot log goes here-
Wed Aug 17 10:24:19 2011: Setting parameters of disc: (none).
Wed Aug 17 10:24:19 2011: Setting preliminary keymap...done.
Wed Aug 17 10:24:19 2011: Activating swap...done.
[Code].....
Some problems keep bothering me and dont let me use my debian sqeeze with joy.Im in network with no DHCP on. When installing i didnt configure my eth network card.After each restart i need to configure manually my eth because it loses it.
View 7 Replies View RelatedI'm using Debian 8 and I have ipset v6.23 and iptables v1.4.21. I put a rule with ipset in rules.v4 file and then I restart the iptables with netfilter-persistent service. When I reboot the iptables list is empty. But if in the file I don't put a rule with ipset, after reboot the iptables list is correct.
View 4 Replies View RelatedI've after latest jessie update a problem with service samba restart. If I use "service samba restart", there is a timeout (after long time) and error.
Output of "systemctl status samba.service":
Code:
Select all● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd)
Loaded: loaded (/etc/init.d/samba)
Active: failed (Result: timeout) since Mo 2014-10-20 02:16:57 CEST; 7s ago
Process: 6205 ExecStart=/etc/init.d/samba start (code=killed, signal=TERM)
Okt 20 02:16:57 server systemd[1]: samba.service start operation timed out. Terminating.
Okt 20 02:16:57 server systemd[1]: Failed to start LSB: ensure Samba daemons are started (nmbd and smbd).
[Code] ....
Whats going wrong. "service samba restart" should bring no error message if the service is not running previously.
want to disable apache2 so that it does not restart on boot so that I may evaluate lighttpd
View 1 Replies View RelatedNow Debian6 suspend and rstart is all ok!
Auto start a program with login is ok.
How to auto start a program with debian suspended and restart ?
Maybe with gdm3 or NIC....?
How can I catch a event to auto start my program?
in configuring a fresh install of Squeeze. I discovered that it is possible to power off the system under gnome simply by pressing the power button or by selecting the "Shut Down" entry on "System" menu.However I need to restrict this option only to root. How can I do that?
View 7 Replies View RelatedI have been searching this on the internet bu havent found anything so far.Is it possible to run the matt's traceroute utility and have it restart at intervals of 1 seconds?
View 2 Replies View RelatedUbuntu restarts every 1 hour and sometimes around 3 am in the morning. It is happening for the past few weeks i didn't find any help for this problem in the net. Please reply if there is any way to find why it is happening or how to stop if from doing an auto reboot
View 3 Replies View RelatedI installed the latest Debian on a computer to make a backup appliance. No GUI.When the computer starts, everything is okay. The DHCP client is running, the network interface have an address, fine.If I do a /etc/init.d/network restart (or stop + start), no more DHCP client. t is stopped when the interface is down. When the interface is up, I have to start it manually.1 - is it normal ?2 - isn't ifup's job to launch the dhcp client ?3 - can /etc/network/if-up.d be the right place to resolve this ?
View 4 Replies View RelatedI am having slight issue with setting up file sharing. I have a windows 7 pc and hp proliant microserver running. I have a raid array which I am using as a share for storing music, pictures etc. When I reboot the debian server I can't connect to the server from the windows 7 PC (I have mapped a network drive) until I go on to the server and restart samba with /etc/init.d/samba restart - then everything works fine. I can ping the server with both ip and hostname but the network drive does not connect - this is straight after a reboot. Is the /etc/init.d/samba restart doing something differently to when the server boots? I have read several posts relating to printer sharing issues which point to samba not starting before cups so I am wondering if samba is starting before some of the relevant networking services.
View 2 Replies View RelatedWhenever my debian based server is rebooted 35 times it does an automatic disc check. When it does this and completes the disc check it doesn't properly establish network comms and I can't get in using SSH and I can't even ping the server.If I reboot again, it operates as normal but the problem is that the server is remote to me and I need to travel to the site when this occurs.
View 6 Replies View RelatedI'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).
View 9 Replies View Relatedwaht is kernek log daemon..? why kernel log daemon always stop and restart back automatic?
View 1 Replies View Relatedafter installing Debian, I typed the command:
Quote:
update-rc.d -f exim4 remove
to avoid automatic start of this mail server (I use qmail). After several months, I did a reboot and exim is started! Looking at the history, I found this command:
Quote: dpkg-reconfigure exim4-config
Maybe this command has restored the init script of exim?
I am using Centos 5. I got one error unexpectedly after some configuration for rsync and folder settings. The error i am getting is "Serve Authorization directory (daemon/ServAuthDir) is set to /var/gdm but does not exist. Please correct the configuration and restart GDM." after rebooting.
I tried to resolve the issue by setting permission for folder /var/gdm to 755. but the problem is still not resolved.
I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
How to setup vncserver and keep it running in the background after restart on Lenny workstation? The admin should be able to connect every time via vncviewer to this workstation.
View 2 Replies View RelatedI will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.
In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).
Whenever I choose "Restart" from the GDM screen, GDM appears to shutdown, and the first TTY is displayed with a login prompt at the bottom (assuming I haven't used that TTY). I am by no estimation a patient individual, but I waited a solid minute or two for something to happen, but nothing ever did. I end up logging in as root on that TTY and running "shutdown -r now" to get the job done. This is a shared computer, and ideally any user should be able to perform shutdown options graphically from GDM.The only mentioned workaround doesn't apply to me as I am using the nvidia driver, not intel.
View 1 Replies View Related