- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- syslog.log
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
01-12-2004 07:37 PM
01-12-2004 07:37 PM
i have some msg like this in the syslog.log file :
Jan 12 22:23:30 ciccogd above message repeats 59 times
Jan 12 16:23:43 ciccogd : getty: cannot open "tty0p1". errno: 2
Jan 12 16:43:24 ciccogd : getty: cannot open "tty0p1". errno: 2
Jan 12 22:43:31 ciccogd above message repeats 59 times
Jan 12 16:43:44 ciccogd : getty: cannot open "tty0p1". errno: 2
Jan 12 17:03:25 ciccogd : getty: cannot open "tty0p1". errno: 2
I do not manage to find the origin of these messages.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 07:54 PM
01-12-2004 07:54 PM
SolutionTry to remark this and run an "init q" after the edit and see if no new messages are logged.
#ttp1:234:respawn:/usr/sbin/getty -h tty0p1 9600
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 08:00 PM
01-12-2004 08:00 PM
Re: syslog.log
Error 2 means:
#define ENOENT 2 /* No such file or directory */
Either you deconfigure the getty for that line (usually configured in /etc/inittab.. comment out the entry, run init q) or you create a new device file, if it's still needed.
# mksf -C tty -I 0 -p 1
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 08:15 PM
01-12-2004 08:15 PM
Re: syslog.log
another suggestion,
#insf -e
run this command and check for log files again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 07:57 PM
01-13-2004 07:57 PM
Re: syslog.log
If you have faulty entries in your "/etc/inittab" you should see that the "/var/adm/wtmp" will grow out of control, and eventually fill the filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 08:10 PM
01-13-2004 08:10 PM
Re: syslog.log
It seems you have copied the inittab file or line from a system with more serial ports, or you have removed a serial port/MUX, or something like that. You can see which serial ports exist with ioscan:
ioscan -fnkCtty
Since getty cannot open tty0p1, there are two solutions:
1) if /dev/tty0p1 doesn't exist, you might try to create it. This is already described, but only solves the issue if there is a real device connected to it. So after creating it with mknod, check if it is connected to a real device with ioscan of doing a cat of the device.
2) if /dev/tty0p1 exists, the device has no real hardware connected to it, so you can comment the line and think about removing the device file(s).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 08:18 PM
01-13-2004 08:18 PM
Re: syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 12:45 AM
01-14-2004 12:45 AM
Re: syslog.log
From the man page for sh(1) and/or inittab(4)
Comments Lines
A word beginning with # causes that word and all the following characters up to a newline to be ignored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 01:10 AM
01-14-2004 01:10 AM