- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot chdir to /var/news
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:32 AM
03-04-2003 10:32 AM
Cannot chdir to /var/news
HP-UX diam2 B.11.00 U 9000/800 (tc)
login: klaxcut
Password:
Please wait...checking for disk quotas
Cannot chdir to /var/news
diam2:/place/oracle8>
I cannot run SAM on the server.
Please assit me to resolve this problem. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:34 AM
03-04-2003 10:34 AM
Re: Cannot chdir to /var/news
/var/news should be readable by others as it is checked through /etc/profile. Make sure the permissions are at a minimum of 755 with bin as the owner.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:38 AM
03-04-2003 10:38 AM
Re: Cannot chdir to /var/news
Make sure that there are execute (and read) permissions on '/var/news' for the owner, group and others.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:38 AM
03-04-2003 10:38 AM
Re: Cannot chdir to /var/news
by issuing "cd /var ", "ls -l | grep news" commands.
Issue "df -k" command and ensure /var is not full.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:38 AM
03-04-2003 10:38 AM
Re: Cannot chdir to /var/news
# ls -ald news
drwxrwxrwx 2 bin bin 96 Jul 20 2003 news
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:57 AM
03-04-2003 10:57 AM
Re: Cannot chdir to /var/news
mount /var
If you get an error other than already mounted, work from there.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:00 AM
03-04-2003 11:00 AM
Re: Cannot chdir to /var/news
# man news
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:10 AM
03-04-2003 11:10 AM
Re: Cannot chdir to /var/news
issuing #mount /var gives the following message:
rootdiam2[]mount /var
vxfs mount: /dev/vg00/lvol8 is already mounted, /var is busy,
or allowable number of mount points exceeded
rootdiam2[]
I had a power outage yesterday and the system crashed. Who knows if that is the problem, though in the past the system could crash but nothing harmful will be noticed. Please your kind attention is solicited.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:14 AM
03-04-2003 11:14 AM
Re: Cannot chdir to /var/news
# bdf
If /var doesn't come up, then check:
# cd /var
# ls -la
If nothing comes up, your LV is not mounted. You now need to do an 'fsck' on the file system:
# fsck /dev/vg00/lvol8
# mount /dev/vg00/lvol8 /var
If fsck fix all problems reported, then you can mount the file system and you will be good to go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:16 AM
03-04-2003 11:16 AM
Re: Cannot chdir to /var/news
If it includes "/var" then it is already mounted. If not, you may issue the command "mountall" which will try to mount the file systems that are not yet mounted.
any how, if you can do "cd /var" and see the subfolders in it, then you have to check the file permission set for news folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:16 AM
03-04-2003 11:16 AM
Re: Cannot chdir to /var/news
If it includes "/var" then it is already mounted. If not, you may issue the command "mountall" which will try to mount the file systems that are not yet mounted.
any how, if you can do "cd /var" and see the subfolders in it, then you have to check the file permission set for news folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:17 AM
03-04-2003 11:17 AM
Re: Cannot chdir to /var/news
# cat /etc/fstab | grep var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:24 AM
03-04-2003 11:24 AM
Re: Cannot chdir to /var/news
diamx:/>cd /var
diamx:/var>ls
adm dt spool stm
core rbootd statmon tombstones
diamx:/var>
I think a lot of files are missing in it or something is just wrong. SAM and news are not there and some other files too.
see d result below for fstab:
rootdiamx[var]cat /etc/fstab |grep var
/dev/vg00/lvol8 /var vxfs delaylog 0 2
rootdiamx[var]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:28 AM
03-04-2003 11:28 AM
Re: Cannot chdir to /var/news
# fsck /dev/vg00/lvol8
and try to fix the filesystem problems if any
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:32 AM
03-04-2003 11:32 AM
Re: Cannot chdir to /var/news
"# mount /dev/vg00/lvol8 /var "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:44 AM
03-04-2003 11:44 AM
Re: Cannot chdir to /var/news
i have my oracle database running and users are connected. does it matter if I do umount and do fsck while users are running oracle?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:52 AM
03-04-2003 11:52 AM
Re: Cannot chdir to /var/news
You may have to shut the DB and tell the users to log out before unmounting it.
I think you will not be able to unmount the system in multiuser mode, if so boot it in single user mode and do fsck and mounting operations or use "fuser -k /var".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:52 AM
03-04-2003 11:52 AM
Re: Cannot chdir to /var/news
diamv, i get the following:
---diamv
diamv:/var>ls
X11 lost+found preserve spool tombstones
adm mail rbootd statmon uucp
cde_report2 news run stm yp
dt opt sam tmp
diamv:/var>
---diamx
rootdiamx[var]ls
adm dt spool stm
core rbootd statmon tombstones
rootdiamx[var]
Each of these directories; sam, tmp, run, news all have something in them lookign at diamv.
That means files must be missing or are they hidden somewhere?
Pls help.
i have my oracle database running and users are connected. does it matter if I do umount and do fsck while users are running oracle?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:52 AM
03-04-2003 11:52 AM
Re: Cannot chdir to /var/news
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:55 AM
03-04-2003 11:55 AM
Re: Cannot chdir to /var/news
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 12:01 PM
03-04-2003 12:01 PM
Re: Cannot chdir to /var/news
mount -a
Ignore the errors about already mounted and look for errors where /var/news (or something similar) cannot be mounted--run fsck. That is likely the problem. Note that if the system seems to be running OK, then /var is indeed mounted since a missing /var breaks just about everything in HP-UX.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 12:07 PM
03-04-2003 12:07 PM
Re: Cannot chdir to /var/news
So you may just create this folder "news" under /var .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 12:20 PM
03-04-2003 12:20 PM
Re: Cannot chdir to /var/news
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 10:37 AM
03-05-2003 10:37 AM
Re: Cannot chdir to /var/news
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 10:52 AM
03-05-2003 10:52 AM