I've just recently (re-)installed a fresh copy of OMV 0.5 (was using 0.4, but had the same issue), and re-configured my server from scratch.
The problem is that after performing security updates through the "update manager", my omv server is no longer able to resolve DNS for the use of apt-get, or web-interface installation of plugins, and I get an entire stream of:
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/non-free/source/Sources.gz Something wicked happened resolving 'security.debian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/binary-amd64/Packages.gz Something wicked happened resolving 'security.debian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/non-free/binary-amd64/Packages.gz Something wicked happened resolving 'security.debian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://packages.omv-extras.org/debian/dists/sardaukar/main/binary-amd64/Packages.gz Something wicked happened resolving 'packages.omv-extras.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://packages.omv-extras.org/debian/dists/sardaukar-vb/main/binary-amd64/Packages.gz Something wicked happened resolving 'packages.omv-extras.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://dh2k.omv-extras.org/debian/dists/sardaukar-miller/main/binary-amd64/Packages.gz Something wicked happened resolving 'dh2k.omv-extras.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://ftp.nl.debian.org/debian/dists/squeeze/main/source/Sources.gz Something wicked happened resolving 'ftp.nl.debian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://ftp.nl.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.gz Something wicked happened resolving 'ftp.nl.debian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/squeeze/contrib/binary-amd64/Packages.gz Something wicked happened resolving 'download.virtualbox.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/squeeze/non-free/binary-amd64/Packages.gz Something wicked happened resolving 'download.virtualbox.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://ftp.nl.debian.org/debian/dists/squeeze-updates/main/source/Sources.gz Something wicked happened resolving 'ftp.nl.debian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://ftp.nl.debian.org/debian/dists/squeeze-updates/non-free/source/Sources.gz Something wicked happened resolving 'ftp.nl.debian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://ftp.nl.debian.org/debian/dists/squeeze-updates/main/binary-amd64/Packages.gz Something wicked happened resolving 'ftp.nl.debian.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://ftp.nl.debian.org/debian/dists/squeeze-updates/non-free/binary-amd64/Packages.gz Something wicked happened resolving 'ftp.nl.debian.org:http' (-5 - No address associated with hostname)
E: Some index files failed to download, they have been ignored, or old ones used instead.
root@dstore:/etc/network# W: Failed to fetch http://ftp.nl.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.gz Something wicked happened resolving 'ftp.nl.debian.org:http' (-5 - No address associated with hostname)
Alles anzeigen
If I use a different PC & ping the server URL's & then modify the /etc/apt/sources.list, with the servers IP addresses, apt-get partially works.
*edit* Unfortunately, my sources.list is now somehow locked/read only, and I can no longer modify this file - But that's a different issues altogether */edit*.
Using ping from ssh, the DNS do not resolve.
root@dstore:/etc/network# ping mirror.internode.on.net
ping: unknown host mirror.internode.on.net
root@dstore:/etc/network# ping www.google.com
ping: unknown host www.google.com
Pertinent information is:
- Server IP address: 192.168.0.50
- Router IP address: 192.168.0.3
- ISPs primary/secondary DNSs IP addresses: 192.231.203.132 / 192.231.203.3
- Google DNSs ip addresses: 8.8.8.8 / 8.8.4.4
- http://ftp.nl.debian.org/
- http://security.debian.org/
- http://ftp.nl.debian.org/
My /etc/network/interfaces file is configured as per below:
# The loopback network interface
auto lo
iface lo inet loopback
iface lo inet6 loopback
# eth0 network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.50
gateway 192.168.0.3
netmask 255.255.255.0
post-up /sbin/ifconfig $IFACE mtu 6000
dns-nameservers 192.168.0.3 192.231.203.132 8.8.8.4 8.8.8.8 192.231.203.3
pre-down ethtool -s $IFACE wol g
iface eth0 inet6 manual
pre-down ip -6 addr flush dev eth0
Alles anzeigen
Can anyone provide any resolutions?
The complete OMV support info is provided below.
omv-support.sh executed by WebGUI-plugin
##########################
Basic Info:
Script started: 140222-133943
Script Version: 0.2.0
Debian-Version: 6.0.9
OMV-Version: 0.5.35
System Drive: (can vary at every boot)
/dev/sdg1
smartctl -i /dev/sdg1
smartctl 5.40 2010-07-12 r3124 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
Device: SanDisk Cruzer Fit Version: 1.22
Serial number: 4C532000010414103031
Device type: disk
Local Time is: Sat Feb 22 13:39:43 2014 EST
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
cat /etc/default/locale
# File generated by update-locale
LANG="en_AU.UTF-8"
LANGUAGE="en_AU:en"
##########################
01-sources:
cat /etc/apt/sources.list
--------------------------
#
# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130824-
13:07]/ squeeze main non-free
#deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130824-
13:07]/ squeeze main non-free
deb http://ftp.nl.debian.org/debian/ squeeze main
deb-src http://ftp.nl.debian.org/debian/ squeeze main
#deb http://203.0.178.32/debian/debian/ squeeze main
#deb-src http://203.0.178.32/debian/debian squeeze main
deb http://security.debian.org/ squeeze/updates main non-free
deb-src http://security.debian.org/ squeeze/updates main non-free
#deb http://128.31.0.36/ squeeze/updates main non-free
#deb-src http://128.31.0.36/ squeeze/updates main non-free
#deb http://203.0.178.32/debian/debian/ squeeze/updates main non-free
#deb-src http://203.0.178.32/debian/ squeeze/updates main non-free
# squeeze-updates, previously known as 'volatile'
deb http://ftp.nl.debian.org/debian/ squeeze-updates main non-free
deb-src http://ftp.nl.debian.org/debian/ squeeze-updates main non-free
#deb http://203.0.178.32/debian/debian/ squeeze-updates main
#deb-src http://203.0.178.32/debian/debian/ squeeze-updates main
--------------------------
ls -la /etc/apt/sources.list.d/
--------------------------
total 168
drwxr-xr-x 2 root root 4096 Feb 21 17:25 .
drwxr-xr-x 6 root root 4096 Feb 22 13:33 ..
-rw-rw-rw- 1 root root 290 Feb 21 17:25 omv-extras-org-sardaukar.list
-rwxr-xr-x 1 root root 679 Feb 21 15:49 openmediavault.list
-rw-r--r-- 1 root root 45 Nov 3 2011 openmediavault-local.list
-rw-r--r-- 1 root root 148726 Feb 11 02:16 openmediavault-omvextrasorg_0.5.39_all.deb
--------------------------
cat /etc/apt/sources.list.d/openmediavault.list
--------------------------
deb http://packages.openmediavault.org/public sardaukar main
# deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar main
## Uncomment the following line to add software from the proposed repository.
# deb http://packages.openmediavault.org/public sardaukar-proposed main
# deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar-proposed main
## This software is not part of OpenMediaVault, but is offered by third-party
## developers as a service to OpenMediaVault users.
# deb http://packages.openmediavault.org/public sardaukar partner
# deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar partner
--------------------------
##########################
02-packages:
dpkg -l | grep openmediavault
--------------------------
ii openmediavault 0.5.35 Open network attached storage
solution
ii openmediavault-clamav 0.5.9 OpenMediaVault ClamAV plugin
ii openmediavault-keyring 0.2 GnuPG archive keys of the
OpenMediaVault archive
ii openmediavault-omvextrasorg 0.5.39 OMV-Extras.org Package
Repositories for OpenMediaVault
ii openmediavault-supportinfo 0.5.12 OpenMediaVault support panel
ii openmediavault-transmissionbt 0.5.18 OpenMediaVault Transmission
(BitTorrent client) plugin
##########################
03-filesystem:
fdisk -l
--------------------------
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU
Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU
Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU
Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU
Parted.
Disk /dev/sde doesn't contain a valid partition table
Disk /dev/sdf doesn't contain a valid partition table
Disk /dev/md127 doesn't contain a valid partition table
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
256 heads, 63 sectors/track, 242251 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 242252 1953514583+ ee GPT
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 243202 1953514583+ ee GPT
Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 243202 1953514583+ ee GPT
Disk /dev/sdd: 4000.8 GB, 4000787030016 bytes
256 heads, 63 sectors/track, 484501 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdd1 1 266306 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/sde: 500.1 GB, 500103634432 bytes
255 heads, 63 sectors/track, 60800 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdf: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md127: 500.1 GB, 500102446080 bytes
2 heads, 4 sectors/track, 122095323 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdg: 16.0 GB, 16008609792 bytes
255 heads, 63 sectors/track, 1946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009bc58
Device Boot Start End Blocks Id System
/dev/sdg1 * 1 1861 14945280 83 Linux
/dev/sdg2 1861 1947 685057 5 Extended
/dev/sdg5 1861 1947 685056 82 Linux swap / Solaris
df -h
--------------------------
Filesystem Size Used Avail Use% Mounted on
/dev/sdg1 15G 866M 13G 7% /
tmpfs 3.9G 0 3.9G 0% /lib/init/rw
udev 3.9G 192K 3.9G 1% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 0 3.9G 0% /tmp
/dev/sda1 1.8T 1.1T 749G 60% /media/beb2abd8-74a4-43a4-9c76-13646efa428c
/dev/sdc1 1.8T 1.5T 399G 79% /media/f1e9694a-4a55-4af8-a45f-48f51ed4d89c
/dev/sdd1 3.6T 3.2T 432G 89% /media/e66bbdbf-e045-44be-954a-d5a85cc19634
/dev/sdb1 1.8T 1.4T 401G 79% /media/659574ad-b569-44a6-bb2c-1ecd6f8862d8
/dev/md127 459G 275G 161G 64% /media/e2297c94-c903-408d-a336-a97f83fbb531
##########################
04-raid:
cat /proc/mdstat
--------------------------
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md127 : active raid1 sde[3] sdf[2]
488381295 blocks super 1.2 [2/1] [_U]
[==============>......] recovery = 74.4% (363548352/488381295) finish=32.8min speed=63260K/sec
unused devices: <none>
cat /etc/mdadm/mdadm.conf
--------------------------
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
# Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
# To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
# used if no RAID devices are configured.
DEVICE partitions
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# definitions of existing MD arrays
ARRAY /dev/md/Redundant metadata=1.2 spares=1 name=dstore:Redundant
UUID=b72095f3:f328f7b8:175fcb2e:d92aeba5
# instruct the monitoring daemon where to send mail alerts
MAILADDR debro@internode.on.net
MAILFROM root
mdadm --examine --scan
--------------------------
ARRAY /dev/md/Redundant metadata=1.2 UUID=b72095f3:f328f7b8:175fcb2e:d92aeba5 name=dstore:Redundant
##########################
06-samba:
testparm -s -> checks smb.conf
--------------------------
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Can't find include file /etc/samba/dhcp.conf
Processing section "[working]"
Processing section "[important_stuff]"
Processing section "[storage]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
[global]
workgroup = DEBRO
server string = %h server
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password
\supdated\ssuccessfully* .
log level = 1
syslog only = Yes
log file = /var/log/samba/log.%m
max log size = 1000
time server = Yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
load printers = No
printcap name = /dev/null
disable spoolss = Yes
dns proxy = No
panic action = /usr/share/samba/panic-action %d
create mask = 0777
directory mask = 0777
aio read size = 16384
aio write size = 16384
use sendfile = Yes
printing = bsd
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
[working]
path = /media/659574ad-b569-44a6-bb2c-1ecd6f8862d8/.
read only = No
create mask = 0755
force create mode = 0644
directory mask = 0755
force directory mode = 0755
inherit acls = Yes
[important_stuff]
path = /media/e2297c94-c903-408d-a336-a97f83fbb531/.
read only = No
create mask = 0755
force create mode = 0644
directory mask = 0755
force directory mode = 0755
inherit acls = Yes
[storage]
path = /media/beb2abd8-74a4-43a4-9c76-13646efa428c/Storage/
valid users = daniel, emma, player
read list = player
write list = daniel, emma
read only = No
create mask = 0755
force create mode = 0644
directory mask = 0755
force directory mode = 0755
inherit acls = Yes
--------------------------
smbstatus
--------------------------
Samba version 3.5.6
PID Username Group Machine
-------------------------------------------------------------------
4964 daniel users our-pc (192.168.0.134)
Service pid machine Connected at
-------------------------------------------------------
working 4964 our-pc Sat Feb 22 13:01:09 2014
Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
4964 1000 DENY_NONE 0x100081 RDONLY NONE /media/659574ad-b569-44a6-
bb2c-1ecd6f8862d8 . Sat Feb 22 13:01:09 2014
--------------------------
pdbedit -L
--------------------------
nobody:65534:nobody
daniel:1000:
emma:1002:
player:1001:
##########################
99-other:
cat /etc/apache2/ports.conf
--------------------------
NameVirtualHost *:80
Listen 80
groups openmediavault
--------------------------
openmediavault : openmediavault
ownership of /var/www/openmediavault
--------------------------
total 80
drwxr-xr-x 8 openmediavault openmediavault 4096 Feb 20 23:11 .
drwxr-xr-x 3 root root 4096 Feb 20 22:45 ..
drwxrwxr-x 2 openmediavault openmediavault 4096 Feb 20 23:11 cgi
drwxrwxr-x 2 openmediavault openmediavault 4096 Feb 20 23:11 css
-rw-rw-r-- 1 openmediavault openmediavault 2367 Jan 2 02:26 download.php
-rw-rw-r-- 1 openmediavault openmediavault 1150 Nov 3 2011 favicon.ico
drwxrwxr-x 2 openmediavault openmediavault 20480 Feb 21 23:49 images
-rw-rw-r-- 1 openmediavault openmediavault 1583 Feb 4 03:01 index.php
drwxrwxr-x 3 openmediavault openmediavault 4096 Feb 20 23:11 js
drwxrwxr-x 2 openmediavault openmediavault 4096 Feb 20 23:11 licenses
-rwx------ 1 openmediavault openmediavault 1158 Jan 2 02:26 php-fcgi
drwxrwxr-x 2 openmediavault openmediavault 4096 Feb 20 23:11 rpc
-rw-rw-r-- 1 openmediavault openmediavault 1486 Jan 2 02:26 rpc.php
-rw-rw-r-- 1 openmediavault openmediavault 2502 Jan 2 02:26 rrd.php
-rw-rw-r-- 1 openmediavault openmediavault 1640 Feb 4 03:01 shutdown.php
-rw-rw-r-- 1 openmediavault openmediavault 2051 Jan 2 02:26 upload.php
cat /etc/passwd
--------------------------
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
ntp:x:101:103::/home/ntp:/bin/false
postfix:x:102:105::/var/spool/postfix:/bin/false
statd:x:103:65534::/var/lib/nfs:/bin/false
messagebus:x:104:108::/var/run/dbus:/bin/false
avahi:x:105:109:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
sshd:x:106:65534::/var/run/sshd:/usr/sbin/nologin
tftp:x:107:111:tftp daemon,,,:/srv/tftp:/bin/false
proftpd:x:109:65534::/var/run/proftpd:/bin/false
ftp:x:110:65534::/home/ftp:/bin/false
openmediavault:x:999:999::/home/openmediavault:/bin/sh
admin:x:998:100:WebGUI administrator:/home/admin:/usr/sbin/nologin
snmp:x:108:112::/var/lib/snmp:/bin/false
daniel:x:1000:100::/home/daniel:/bin/dash
player:x:1001:100::/home/player:/bin/dash
emma:x:1002:100::/home/emma:/bin/dash
clamav:x:111:114::/var/lib/clamav:/bin/false
debian-transmission:x:112:115::/home/debian-transmission:/bin/false
Alles anzeigen