Hello list, i am having strange issues with openbsd 4.8 and cron .
This is a OpenBSD 4.8 with it's kernel modified to have pci.c rev 1.72
, in order to make it run on a IBM x336 server.
Everything was working perfect. Until i added today a new user. Then i
used vipw to change it's group.
After that i noticed that my hourly script configured at cron was not
being executed. When i looked the messages log i saw this:
Jul 19 02:00:01 srv syslogd: restart
Jul 19 04:00:01 srv syslogd: restart
Jul 19 06:00:01 srv syslogd: restart
Jul 19 08:00:01 srv syslogd: restart
Jul 19 10:00:01 srv syslogd: restart
Jul 19 13:51:44 srv sendmail: /etc/pwd.db: No such file or directory
Jul 19 13:52:25 srv last message repeated 14 times
Jul 19 13:54:29 srv last message repeated 48 times
Jul 19 14:00:01 srv last message repeated 159 times
Jul 19 11:00:01 srv syslogd: restart
Jul 19 14:00:10 srv sendmail: /etc/pwd.db: No such file or directory
Jul 19 14:00:40 srv last message repeated 20 times
Jul 19 14:02:39 srv last message repeated 54 times
Jul 19 14:12:29 srv last message repeated 263 times
Jul 19 14:22:37 srv last message repeated 238 times
Jul 19 14:32:41 srv last message repeated 298 times
Jul 19 14:42:40 srv last message repeated 250 times
Jul 19 14:52:40 srv last message repeated 216 times
Jul 19 14:59:58 srv last message repeated 129 times
Jul 19 12:00:01 srv syslogd: restart
Jul 19 15:00:08 srv sendmail: /etc/pwd.db: No such file or directory
Jul 19 15:00:39 srv last message repeated 13 times
Jul 19 15:02:29 srv last message repeated 46 times
Jul 19 15:12:45 srv last message repeated 200 times
Jul 19 15:20:20 srv last message repeated 164 times
Notice how time jumps after 10:00am . Notice after 14:00 that when
syslog restarts it shows 11:00 , the right time. .
I added the pwd.db and localtime into postfix's etc. I also started
ntpd to set time . No difference with cron, it does not run it's
hourly process anymore
Date looks fine when i look at it:
# date
Tue Jul 19 12:29:03 ART 2011
But cron does not execute it's processes anymore. Any help will be
appreciated!
Here is dmesg:
OpenBSD 4.8-stable (GENERIC.MP) #1: Fri Jan 21 16:23:35 ART 2011
root@srv:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
real mem = 2146832384 (2047MB)
avail mem = 2101727232 (2004MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/30/05, BIOS32 rev. 0 @
0xfd6f1, SMBIOS rev. 2.3 @ 0xf5eea (52 entries)
bios0: vendor IBM version "-[APE130AUS-1.12]-" date 11/30/2005
bios0: IBM eserver xSeries 336 -[883725U]-
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC MCFG
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 GHz
cpu2:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
cpu3 at mainbus0: apid 7 (application processor)
cpu3: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 GHz
cpu3:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
ioapic0 at mainbus0: apid 14 pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0: apid 13 pa 0xfec82000, version 20, 24 pins
ioapic2 at mainbus0: apid 12 pa 0xfec82400, version 20, 24 pins
acpiprt0 at acpi0: bus 4 (PCI2)
acpiprt1 at acpi0: bus 5 (PCI3)
acpiprt2 at acpi0: bus 1 (PCIS)
acpiprt3 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpicpu2 at acpi0
acpicpu3 at acpi0
bios0: ROM list: 0xc0000/0xb000 0xcb000/0x1600 0xcc600/0x4000
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
mem address conflict 0xff000000/0x1000
pchb0 at pci0 dev 0 function 0 "Intel E7520 Host" rev 0x0c
"Intel E7520 Error Reporting" rev 0x0c at pci0 dev 0 function 1 not
configured
ppb0 at pci0 dev 2 function 0 "Intel E7520 PCIE" rev 0x0c
pci1 at ppb0 bus 2
ppb1 at pci0 dev 4 function 0 "Intel E7520 PCIE" rev 0x0c
pci2 at ppb1 bus 3
ppb2 at pci2 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
pci3 at ppb2 bus 4
mpi0 at pci3 dev 1 function 0 "Symbios Logic 53c1030" rev 0x08: apic
13 int 4 (irq 11)
scsibus0 at mpi0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <COMPAQ, BF07285A36, HPB8> SCSI3
0/direct fixed
sd0: 69464MB, 512 bytes/sec, 142264000 sec total
sd1 at scsibus0 targ 1 lun 0: <COMPAQ, BF07288285, HPB5> SCSI3
0/direct fixed
sd1: 69464MB, 512 bytes/sec, 142264000 sec total
safte0 at scsibus0 targ 8 lun 0: <IBM, 25P3495a S320 1, 1> SCSI2
3/processor fixed
mpi0: target 0 Sync at 160MHz width 16bit offset 63 QAS 0 DT 1 IU 1
mpi0: target 1 Sync at 160MHz width 16bit offset 63 QAS 0 DT 1 IU 1
ppb3 at pci2 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
pci4 at ppb3 bus 5
ppb4 at pci0 dev 6 function 0 "Intel E7520 PCIE" rev 0x0c
pci5 at ppb4 bus 6
bge0 at pci5 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1
(0x4101): apic 14 int 16 (irq 11), address 00:14:5e:32:1
1:3e
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb5 at pci0 dev 7 function 0 "Intel E7520 PCIE" rev 0x0c
pci6 at ppb5 bus 7
bge1 at pci6 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1
(0x4101): apic 14 int 16 (irq 11), address 00:14:5e:32:1
1:3f
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
"Intel E7520 Config" rev 0x0c at pci0 dev 8 function 0 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: apic
14 int 16 (irq 11)
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: apic
14 int 19 (irq 3)
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: apic
14 int 23 (irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2
pci7 at ppb6 bus 1
vga1 at pci7 dev 1 function 0 "ATI Radeon VE" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 14 int 16 (irq 11)
drm0 at radeondrm0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
pciide0 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configu
red to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR8083N, 0L02> ATAPI
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02:
apic 14 int 17 (irq 7)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM registered ECC PC2-3200CL5
spdmem1 at iic0 addr 0x51: 512MB DDR2 SDRAM registered ECC PC2-3200CL5
spdmem2 at iic0 addr 0x52: 512MB DDR2 SDRAM registered ECC PC2-3200CL5
spdmem3 at iic0 addr 0x53: 512MB DDR2 SDRAM registered ECC PC2-3200CL5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
Regards,