update: OpenBSD 4.8 weird time or cron problems
I noticed that this was sent by email by cron when attempted to execute the process: Your Terminal type is unknown! Enter a terminal type: [vt100] Why? i don't know. I added TERM=220 into root's crontab and it worked. The thing is that it never needed it .. why now it does? Regards, Marcos Laufer wrote: 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 0xfee0: 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 0xfec0, 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: 0xc/0xb000 0xcb000/0x1600 0xcc600/0x4000 ipmi at mainbus0 not configured pci0 at mainbus0 bus 0: configuration mode 1 (bios) mem address conflict 0xff00/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
update2: update: OpenBSD 4.8 weird time or cron problems
oh, i am still seeing this on message. btw , i use postfix and i copied pwd.db to it's /etc folder Jul 19 15:43:16 srv last message repeated 237 times Jul 19 15:53:13 srv last message repeated 288 times Jul 19 15:59:58 srv last message repeated 222 times Jul 19 13:00:01 srv syslogd: restart Jul 19 16:00:14 srv sendmail: /etc/pwd.db: No such file or directory Jul 19 16:00:50 srv last message repeated 15 times Jul 19 16:02:51 srv last message repeated 62 times Jul 19 16:05:05 srv last message repeated 57 times Marcos Laufer wrote: I noticed that this was sent by email by cron when attempted to execute the process: Your Terminal type is unknown! Enter a terminal type: [vt100] Why? i don't know. I added TERM=220 into root's crontab and it worked. The thing is that it never needed it .. why now it does? Regards, Marcos Laufer wrote: 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 0xfee0: 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 0xfec0, 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)