DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 8th April 2025
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,118
Default

Just in case my guess is correct, here is a link to a copy of the Shanghai timezone file, which you can download and restore to the directory.
Reply With Quote
Old 8th April 2025
unicorn unicorn is offline
Fdisk Soldier
 
Join Date: Apr 2020
Posts: 60
Default

no, no file missing, Shanghai is there.
Code:
ls -l
Code:
lrwxr-xr-x 1 root bin 33 Apr 8 14:34 Shanghai -> /usr/share/zoneinfo/Asia/Shanghai
Reply With Quote
Old 8th April 2025
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,118
Default

That isn't a file. From what you posted, that appears to be a circular link.

Compare it to the rest of the contents of the Asia zoneinfo directory.
Reply With Quote
Old 8th April 2025
unicorn unicorn is offline
Fdisk Soldier
 
Join Date: Apr 2020
Posts: 60
Default

Isn't it the ln command produce this link? and I can't copy that file to /usr/share/zoneinfo/Asia
Code:
cp: /usr/share/zoneinfo/Asia/Shanghai: Too many levels of symbolic links

Last edited by unicorn; 9th April 2025 at 01:47 AM.
Reply With Quote
Old 9th April 2025
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,118
Default

You do not have the file. You have a link, which points to itself in a loop. Please delete the link and restore your missing timezone file from backup, or if you have no backup, copy the file I have provided above, or extract the file from installation media -- it can be found within the base76.tgz fileset.

Until you correct your error, you will not be able to use Shanghai time.
Reply With Quote
Old 9th April 2025
unicorn unicorn is offline
Fdisk Soldier
 
Join Date: Apr 2020
Posts: 60
Default

yeah, you're right, issue resolved, thank you sir
Reply With Quote
Old 9th April 2025
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,118
Default

I'm glad you have corrected the problem! As you no longer need it, I've deleted the zoneinfo file from my web server.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unmounting/Syncing takes forever paulr NetBSD Installation and Upgrading 3 11th June 2017 03:43 AM
System clock's frequency e1-531g OpenBSD General 1 25th September 2015 05:03 PM
REQUEST: Programm for changing the clock m1tk0 Programming 3 16th January 2010 06:43 PM
configure clock in xfce delboy FreeBSD General 7 3rd September 2008 06:36 PM
can't set clock? carpman FreeBSD General 31 7th July 2008 11:26 PM


All times are GMT. The time now is 01:15 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick