Debian Configuration :: Systemd - NTP Host Name Not Found

Apr 14, 2016

my system keeps on telling me about an error:

Code: Select allsudo journalctl  -p 0..3
Apr 14 10:36:11 debian ntpd_intres[682]: host name not found: ptbtime1.ptb.de
Apr 14 10:36:11 debian ntpd_intres[682]: host name not found: ptbtime2.ptb.de
Apr 14 10:36:11 debian ntpd_intres[682]: host name not found: ptbtime3.ptb.de

A quick check

Code: Select allsystemctl status ntp.service
ntp.service - LSB: Start NTP daemon
   Loaded: loaded (/etc/init.d/ntp)
   
[code]...

3 packets transmitted, 0 received, 100% packet loss, time 1999ms.Same result when using the standard Debian ntp time servers like "server 0.debian.pool.ntp.org iburst" in /etc/ntp.conf.

View 13 Replies


ADVERTISEMENT

Debian Configuration :: Systemd Custom Service

Aug 4, 2015

On macbook air 6.2, i've installed a Debian jessie mate DE, dual boot using refind. I'm currently fine-tuning it. I've made a script following powertop advice:

Code: Select all[newb@debian /etc/systemd/system]$ cat mba_kb_sp.sh
#!/bin/sh
echo 'auto' > '/sys/bus/usb/devices/1-3.1/power/control';
echo 'auto' > '/sys/bus/usb/devices/1-3.2/power/control';
echo 'auto' > '/sys/bus/usb/devices/1-5/power/control';
exit 0

[Code] ....

All seems to work fine, however when i check the sys file it didn't change. But I can start manually the systemd service and, this time, it works.

View 2 Replies View Related

Debian Configuration :: Installing Libpam-systemd

Aug 12, 2015

I upgraded my machine from Wheezy to Jessie, opted to not install systemd yet. When i try to upgrade kde-plasma-desktop, apt doesn't let me do it.

For some reason "libpam-systemd : Depends: systemd (= 215-17+deb8u1) but it is not installable"

Installing systemd-shim doesn't work. Libpam-systemd package site gives impression that you would be able to use systemd or systemd-shim.

Tried looking through changelog, but it didn't really give any hint.

At 215-6 there are just
Code: Select allSwitch libpam-systemd dependencies to prefer systemd-shim over
    systemd-sysv, to implement the CTTE decision #746578. This is a no-op on
    systems which already have systemd-sysv installed, but will prevent
    installing that on upgrades. (Closes: #769747)
Version of libpam-systemd that would be installed is "Candidate: 215-17+deb8u1"

View 2 Replies View Related

Debian Configuration :: Systemd Boot Is Now Verbose

Aug 13, 2015

When I first started running Jessie 8.1 I noticed that after the disk check the boot was quiet, ie. no messages to the terminal . However, something has happened and now when I boot the machine I get a verbose listing of all the processes being started. Is there a way to change it back to the way it was? In other words a quiet boot. The only thing I know of that has been 'anomalous' behavior is the other day when doing a mp4 to avi conversion, using avconv, I apparently had an over temp condition which closed my LXDE session and brought me to the login prompt. Don't know what other info one may need but feel free to ask for more, if necessary.

View 13 Replies View Related

Debian Configuration :: Enabling Persistent Logs With Systemd

Dec 1, 2015

How to enable persistent logging with systemd? I find it really weird that all this machinery that is systemd doesn't store persistent logs, what if I'm trying to retrieve some information regarding previous boots?

For instance: I have random suspend issues, after rebooting the computer there's no trace left in the logs of what happened, and furthermore (at least in Jessie) I can no longer see a pm-suspend log.

So, at first it sounds like all you have to do is edit journald.conf setting #Storage=auto to "persistent" and create the /var/log/journal directory, but then reading here /usr/share/doc/systemd/README.Debian

Code: Select allEnabling persistent logging in journald
=======================================

To enable persistent logging, create /var/log/journal and set up proper permissions:

install -d -g systemd-journal /var/log/journal
setfacl -R -nm g:adm:rx,d:g:adm:rx /var/log/journal

and here [URL] ....

There are two main reasons why I decided to not enable persistent logging just yet ....

We did get corrupt journal files in the past where the journal then no longer worked at all [1]. With volatile you can just reboot and have a clean state again. Admittedly, the journal has seen a lot of improvements in the mean time and hopefully is more robust, so this point is no longer true.

We still install rsyslog by default. That means we get store them twice. This is something we don't want to do atm.

View 3 Replies View Related

Debian Configuration :: Udev / Systemd Change Some Rules In 8.0

Apr 18, 2016

I have SSD drives without SCT support, because of this I want to tune /sys/block/device-name/device/timeout in order to force mdadm put these drives offline. So, I can see my drive like this:

/dev/disk/by-id/ata-OCZ-SABER1000_A22MJ061512000074.

Where can I tune /sys/block/device-name/device/timeout from 30 to 7 sec only for these drive? I don't want to use rc.local.

Can I create right udev rules for it in /etc/udev/rules.d?

I want to avoid any conflict with /lib/udev/rules.d.

Code: Select all# udevadm monitor --environment --udev
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing

UDEV  [9302.549485] add      /devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0
DEVTYPE=scsi_target
SEQNUM=5210
SUBSYSTEM=scsi

[Code] ....

View 0 Replies View Related

Debian Configuration :: Systemd Automounts For Removable Media Not Timing Out

Jul 18, 2015

I have the following hardware setup:

a NAS running Debian that frequently (but not always) has two removable media attached,a Debian desktop that mounts the above NAS via sshfs,the aforementioned removable media are symlinked to the directory on tha NAS that is then mounted by the desktop.

What I'd like this setup to do is to immediately time out if mounts as unavailable. Instead, I only get the expected behaviour if the NAS is down (the ssh client takes about 3 seconds to do that); if it's up, the removable media automounts (they are symlinked to the directory shared with the desktop) seem to never time out, ever. This happens locally on the NAS as well, when ssh'ing to the NAS and trying to run `ls /media/Storage` or `ls /media/Backup`, these commands never return. It's as if systemd was ignoring the x-systemd.device-timeout setting on the NAS.

The relevant part of the NAS's fstab:

Code: Select all/dev/sdb1       /media/Backup   ext4    defaults,noauto,x-systemd.automount,x-systemd.device-timeout=1s,rw,user,nofail,x-systemd.idle-timeout=30s       0       1
/dev/sdc1       /media/Storage  ext4    defaults,noauto,x-systemd.automount,x-systemd.device-timeout=1s,rw,exec,nofail,x-systemd.idle-timeout=5min      0       1

[Code] ....

I find it highly interesting that despite both removable media being detached, only one is flagged as having a dependency failed. Both paths exhibit the hang behaviour, though.

What can I do to actually time out when the media are not there?

View 4 Replies View Related

Debian Configuration :: Systemd Fails To Raise Up Network Interface

Mar 15, 2016

Is this a problem of systemd or network-manager however when I started to see this alert I noticed the nm-applet doesn't start automatically anymore.

Code: Select allsystemctl status network
networking.service       network-online.target    network.target
network-manager.service  network-pre.target       
zagor@Debian-635:~$ systemctl status networking.service
● networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor prese

[Code] ....

View 5 Replies View Related

Debian Configuration :: Corrupted (permanent) Systemd Logs In Jessie

Apr 22, 2016

I've enabled permanent systemd logs in Jessie, and after a while I'm seeing messages about corrupted logs when checking with journalctl --verify

Code: Select allInvalid tail monotonic timestamp 0%
File corruption detected at /var/log/journal/..........

as far as I can see, there is currently no option to delete this files from within systemd facilities, is that correct?

Should they be deleted manually, or just left alone?

Apparently I can still read all older logs regardless of such reported corruption, using the journalctl --boot -n option.

EDIT:Another thing coming to mind is that this has been happening for me not only in Jessie but in every systemd-based distro that I've tried, once permanent logging is enabled: is that some kind of systemd bug?

What would exactly mean

Code: Select allFile corruption detected at /var/log/journal/38d5e6b861134eadb37cbd64b98a66bd/user-65534@d1745ac610d2459f940a24f27abd6d47-0000000000000f14-00051b8d2dabdcac.journal:000000 (of 8388608 bytes, 0%)

in particular, the 0% of 8388608 bytes part ?

View 0 Replies View Related

Debian Configuration :: Plex Media Server Startup Script Due To Systemd

May 6, 2015

My plex media server does not work with systemd apparently but running the command below makes plex startup properly

Code: Select all/usr/sbin/start_pms &

Is there anyway to make this command run on my computer at startup.

I am running debian 8 jessie.

View 4 Replies View Related

Debian Configuration :: Hardware Event Listening Scripts With Systemd Not Acpid

Aug 22, 2015

Just migrated to stretch, and noticed we're not using acpid anymore. Had couple of scripts at /etc/acpi/events listening for some events. What would be the alternative with systemd?

View 2 Replies View Related

Debian Configuration :: Systemd Can't Read Boot Logs Of Failed Boots

Mar 25, 2016

I'm getting BSOD when I'm booting my main system (debian 8 fully updated). I get a BSOD with a _ sign. URL...because I can't access to failed boots files. Besides having the files

Code: Select allfelipe@debian ~ % ls /var/log/journal   
362d07f9e18b45f8aec4575c347f181d  92e8a448f7a348719da129184a7e6821

Code: Select allfelipe@debian ~ % journalctl --list-boots
 0 0c51ae5b67f144059c5470dbe345d621 vie 2016-03-25 09:05:29 ART—vie 2016-03-25 09:11:58 ART

View 3 Replies View Related

Debian Configuration :: Wheezy - After Update Systemd Turn Off Laptop Screen On Boot

Sep 25, 2015

I decided to update all the software on my computer. Fortunately, it upgraded kernel version 3.14 to 3.16. I was happy to learn that suspend now worked on my laptop by calling pm-suspend, but it did not worked by closing the lid. So I search and found on debian's website that installing systemd and adding some config lines in /etc/systemd/logind.conf would sove the issue. So I followed the procedure and did like instructed, to end up with a computer that boots on black screen.

The last verbrose line I see on boot up is "kvm disabled by bios" and then it shutdown down the screen. The computer works, as I can login and shutdown by doing those operation blindly.

I tried removing systemd but it still does not work. If I use the old kernel 3.14 I can boot without any problem, but if I use kernel 3.16, I boot to a black screen. I remember successfully booting in 3.16 before installing systemd.

View 4 Replies View Related

Debian Configuration :: ProFTPd Configuration - Use To Host MySQL Databases And A Few Websites

Nov 18, 2010

I am having no luck configuring ProFTPd on a Debian Lenny production server we use to host our MySQL databases and a few websites. I had originally set it up so I could login and manage our internal sites, but I have the need to allow a few clients in to access their sites that we host. I am trying to root the users in their site directory, which would be "/sites/www.whatever.com/".

It just hit me while typing this. Is it possible to create a user without a shell to prevent login via SSH and set the home folder to /sites/whatever instead of /home/username? That would allow me to continue operating with my current configuration and root them in their site while preventing SSH logins.

View 6 Replies View Related

Debian Configuration :: Host Name Not Broadcast To DHCP

Dec 21, 2010

I have setup a few machines within my house. The Debian Squeeze machines do not provide a host name in the DHCP client list on my router. Strangely, my Ubuntu, Android, and Blackberry machines do show host names. I have noticed the same behavior when wirelessly tethering my Debian laptop to my Android phone (which also uses DHCP). Is there something I need to enable to have the name show up on the router?

View 14 Replies View Related

Debian Configuration :: Host Name Resolution Failure?

Aug 15, 2011

I am experimenting with installing a bare minimum, network capable installation of Debian Squeeze. Right now, I am having trouble getting proper host name resolution. I have provided the output of ping (which is able to resolve names), wget (which is unable to resolve names), and the contents of the files I believe to be relevant to the problem. When I installed Debian, I installed *only* the SSH Server from the list of available configurations. Since then, I have installed mdns4, dnsmasq, mdns-scan, and libnss-mdns to get name resolution to work with no success so far. All packages were installed with no recommends -- aptitude -R package name. What am I missing to get host name resolution working?

[Code]...

View 12 Replies View Related

Networking :: Iptables Configuration On Debian Dmz Host?

Jul 6, 2010

I am trying to set up a DMZ host - that is, one multifunctional PC between the WAN and the LAN. I've started with a basic router, and expanding upon that as the need arises. I am currently trying to gain access (from the WAN) to a website hosted on one of the servers in the LAN, but I am having trouble accessing the host from the WAN; I think my iptables configuration may be too restrictive. On the DMZ host, I'm using Debian (Etch). I have setup dhcp3-server, a script to configure iptables and pound (reverse-proxy). The (virtual) machine has 4 network cards: eth0, eth1, eth2, eth3; eth0 is the WAN, eth1 through eth3 serve 3 different virtual LANs.

All machines in the LAN (except one windows 2008 server - I might want to address that problem later) get their IP adresses correctly via dhcp from the DMZ host. All machines on the LAN can access the internet (including the 2008 server if I configure it manually) as they should. If I access http://localhost on the DMZ host, pound reports "The service is not available. Please try again later." - as it should.

I can ping the DMZ host from the WAN on 10.0.0.79 However, if I try to access the DMZ host from the WAN (http://10.0.0.79) I get "Unable to connect" from firefox. I'm sure this is not a pound problem, so I think it's in the iptables, or maybe I should be installing some extra software that I'm unaware of.

[code]....

View 3 Replies View Related

Debian Configuration :: Rsync - Not Creating Files On Host

Aug 2, 2015

Having an issue with rsync

I launch the following

Code: Select allrsync -avz --remove-source-files --log-file=/home/pi/rsync.log --temp-dir
=/data/temp --partial --progress -e "ssh" 192.168.1.100://data/ext/downloads/File.ext /data/

Basically I download to main PC and rsync to my pi as the pi has a fraction of the speed for some reason when downloading form a source outside of my network.

The first few files will sync fine. Then I start getting errors like this

Code: Select allrsync: rename "/data/temp/.File.ext.y1716M" -> "File.ext": No such file or directory
(2)

The directory on the host has user and group ownership as pi. Rsync has been setup to login without a password.

View 0 Replies View Related

Debian Configuration :: Samba Host Name Wrong And Not Working

Jun 11, 2010

Using Debian 5.0 Stable, with all current updates, if I type \192.168.0.249 I get samba access and can use all the shared files ok.if I go via the network the computer should be called \squ-eee-zeboxserver but instead comes up as \SQU-EEE-ZEBOXSERsqu-eee-zeboxserver which when clicked gives the attached error.

View 11 Replies View Related

Debian Configuration :: Apache - Host-header From Requests Are Ignored

Oct 16, 2010

my server into the public internet and must have my webserver [2.2.9 (Debian)] act secure. But this does not look very easy [I am searching, reading and working on it already the whole day ]. I read the apache docs, but there is a lot of stuff, which is different in Debian [lenny, 5.0.6]. Apache ignores the host-header given by the browser: [URL] are all served, but should be blocked. I new new to apachy, but on my IIS this works as expected. All browsers act equal [so no browser header problem].I configured two VirtualHosts, an excerpt:

NameVirtualHost hugo:80
<VirtualHost hugo:80>
DocumentRoot /usr/share/doc

[code]....

The I go to my hosts file on any box, and add hugo's ip-address under the new name x. Then, x is served, although the host-header in apache Every user coming from the internet could make the same!

View 13 Replies View Related

Debian Configuration :: When Open A Web Browser - Can't Resolve The Host Name

Mar 29, 2011

I've just installed Debian Squeeze from a live CD. When I open a web browser (be it iceweasel or epiphany) and try to go to google.com, it tells me it can't resolve the host name. [Edit: They do, however, allow me to go anywhere on debian.org, minus the search feature] I also get the same error when I try to go to my website running on a local server. However, when I type the server's IP address (192.168.0.10), it goes to the website fine. Basically, any program I run that needs to resolve a host name returns an error, with the exception of the host command:

I've tried changing my DNS server IP from 192.168.0.1 (my router, configured to provide DNS) to 192.168.1.254 (my internet modem, also configured to provide DNS). That didn't help any. Then I changed my DNS server IP to the same one used by the modem, and now everything works.

I've tried googling my way out of the issue, and I've found where someone had the same issue as I've got and fixed it by adding "blacklist ipv6" to their /etc/modprobe.d/blacklist.conf file, but that didn't work for me.

So, recap: Why does resolving domain names fail for certain applications (except the "host" program) when the DNS server IP is that of my router or modem (which works fine for all of my other computers), but suddenly works when I point the computer straight to my ISP's DNS servers, and how can I permanently fix the problem?

View 4 Replies View Related

Debian Configuration :: Make Mailboxes For Each Virtual Host On Server?

Mar 1, 2010

I'm using Debian 5 with Exim 4 on my VPS. My purpose is to make mailboxes for each virtual host on my server. What do I have: 1. Exim is set correctly - receiving mail from [URL]... is successfull. 2. Mail for [URL]... is delivered, and the mail for [URL]... too. But [URL]... is the site written to /etc/hosts (it's localhost), and [URL]... is virtual host. But mail from both boxes writes to /var/mail/mail. Now what do I need: 1. Make mail for [URL]... store in [URL].... and mail for [URL].. store in www/Maildir. 2. Make mailboxes like [URL].... to receive mail by Thunderbird. 3. Set passwords for [URL]... and [URL]... (I don't want to enter my system user/root passwords).

View 2 Replies View Related

Debian Configuration :: IPTables - Local Host Cannot Get Returning Traffic

Sep 20, 2010

I have a strange iptables issues. I have just built a new Debian install and starting adding some real basic rules (see below) the problem seems to be that the localhost itself can't get any returning traffic. That is, it seems to be allowed outgoing traffic but not the connected, returning traffic. Ordinarily allowing Established Connections would resolve this, see the rule below, but it hasn't. Why this doesn't work. Removing the last DROP in the INPUT chains obviously makes the traffic work!

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -j ACCEPT -p tcp --dport 22
iptables -A INPUT -j ACCEPT -s x.x.x.x
iptables -A INPUT -j ACCEPT -s x.x.x.x
iptables -A INPUT -j ACCEPT -s x.x.x.x -p tcp --dport 80
iptables -A INPUT -j ACCEPT -s x.x.x.x -p tcp --dport 8080
iptables -I INPUT 1 -i lo -j ACCEPT
iptables -A INPUT -j DROP

View 3 Replies View Related

Debian :: Configuration - Domain Name- Host Name - Resolv.conf Areas

Feb 6, 2009

I installed debian etch, it runs and does connect to the internet fine through a linksys router...the linksys router is connected to my cable modem...now..

I just registered for a domain name (ex. mydomainname.org) with Verio....this is where I am stuck.

I installed apache 2, a web server, file server (all seem to work) I need to know what files I need to configure to have my machine actually BE that domain name.

Ex. my linksys DHCP IP addresses, the linksys gets an IP from the cable modem...my yquestion is ONCE I register a domain name with verio...how do I configure my end so it "knows" I am that respective domain name...I think I need to configure the following, but knot sure how to do it: resolv.conf, hosts, and interface?

View 3 Replies View Related

Debian Configuration :: NVIDIA Driver 32bit Chroot On 64bit Host?

Mar 23, 2011

I have 64bit debian 6 squeeze installed on my 64bit pc. I have an NVIDIA gpu which I have installed the drivers for and they work just fine. I also have a 32 bit chroot located at /32 which was created using debootstrap. The NVIDIA 64bit driver gives the option to install compatability driver libraries into the 32bit chroot. Whenever I run any application that uses opengl rendering within the chroot, they segfault. When I uninstalled and reinstalled the NVIDIA driver without installing the libraries to the chroot, and instead replaced them with mesa gl libraries, the programs complain about framebuffer missing. They do not segfault, and some programs that can use sdl instead will work fine. I have xhost + set to allow any programs in the chroot to use the host's xorg. I have the host's proc mounted to the chroot proc directory, and i also have dev mount --bind 'ed to the chroot.

View 11 Replies View Related

Debian Configuration :: VirtualBox: Host-only Networking: Static IP Guest Addresses?

Jun 6, 2011

Debian Testing host, Winduhs XP guest. Winduhs is not allowed to directly access The Internets, and I am not setting up bridging as that makes it possible for the guest to mount layer 2 attacks on the LAN. I need for the guest to tunnel through the host without being able to see anything on the host, so it can then get access to The Internets, while being protected by iptables (Shorewall).

Used to be with VMware I had host-only set and the guest in a different class c (192.168.2.1) from the host (192.168.1.1) I turned on ipforwarding, set Shorewall rules, and it all worked. Now I have everything set with VirtualBox, and it does not work. Guest can ping its interface but not host. Host can ping vboxnet0. Host is supposed to masquerade guest's 192.168.2.1 through to the default out at 192.168.1.1, but it's not. I think a clue is in routing, but I don't know what's wrong.

[code]....

View 2 Replies View Related

Debian Configuration :: Warning: Xfce Wiil Not Run Properly Add Debianser To The Host

Jul 12, 2011

I have a issue with my host file

127.0.0.1 debianserver
ping debianserver
ping: unknown host debianserver
# hostname
debianserver
[Code]....

I running xfce4.8 and when I start my session I get a warning: xfce wiil not run properly add Debianser to the host...

View 8 Replies View Related

Server :: Host Unknown Error:Sendmail / Stat=Host Unknown (Name Server: Def-fgh.com.: Host Not Found)?

Sep 8, 2009

Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.

There are more examples of the same,around 20 domain have the same problem.

Sep 7 14:33:46 server2 sendmail[24591]: n8793jiC024589: to=<abc@xyz.fi>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=163672, relay=xyz.fi., dsn=5.1.2, stat=Host unknown (Name server: xyz.fi.: host not found)

Sep 7 22:09:42 server2 sendmail[6407]: n87Gdffa006403: to=<abc@def-fgh.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=152474, relay=def-fgh.com., dsn=5.1.2, stat=Host unknown (Name server: def-fgh.com.: host not found)

View 2 Replies View Related

Debian Configuration :: No Wireless Network Found

Mar 25, 2016

I am running Jessie 8.3 and wireless in Wicd has stopped working for me, displaying "No Wireless Networks Found."

Code: Select allsudo /etc/init.d/wicd restart Restarted wicd
Made sure wlan0 is in wicd preferences.
iwconfig:

Code: Select alleth0      no wireless extensions.

wlan0     IEEE 802.11abg  ESSID:"Tell My Wifi Love Her" 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=200 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
         
lo        no wireless extensions.

For some reason my user account was removed from the netdev group? So I readded it...

Code: Select allekarr@fidelio:~$ sudo gpasswd -a ekarr netdev
Adding user ekarr to group netdev

[code]....

And still, "no wireless networks found" in Wicd.

View 12 Replies View Related

Debian Configuration :: No Operating System Found?

Feb 20, 2010

Installed linux-image-2.6.32-bpo on my laptop today and after the reboot i got "no operating system found" . I'm now typing using a Puppy live cddrom .

View 3 Replies View Related







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