[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FW1] Cannot create /var/adm/utmp or /var/adm/utmpx




Kenny,

The reason you hit this is that when you installed fw-1 you selected the
option of installing an initial rule and that hosed the script
/etc/rcS.d/S30rootusr.sh without

In future:
a)	don't take this option or
b)	fix the script (I think there may be a fix in the fw-1 faq).

To mend your systems:

1)	Boot into single user
2)	remount you root file systems rw

2.1)	cd /sbin
2.2)	./mount / -o rw,remount
2.3)	./mount /usr

3)	copy the overwritten file from /etc/fw

3.1)	cp /etc/fw/boot/S30rootusr.sh  /etc/rcS.d/S30rootusr.sh
	(not sure about the /etc/fw location)

4)	reboot
5)	remember to put in rules (unless you want a router).


I'm doing this from memory abd I think is 3.1 mostly right.  If you can't
work out the exact info, mail me at dwhitlow@idsec.com and I'll forward
the exact commands. 

Regards,

Dave

On Tue, 12 Oct 1999, Kenny Elmore wrote:

> Date: Tue, 12 Oct 1999 13:50:20 -0500
> From: Kenny Elmore <Kenny.Elmore@vanderbilt.edu>
> To: Firewall-1 Mailing List <fw-1-mailinglist@lists.us.checkpoint.com>
> Subject: [FW1] Cannot create /var/adm/utmp or /var/adm/utmpx
> 
> 
> I have a Sun running Solaris 2.6. I installed fw1 3.0b, followed
> by Service Pack 8. When I reboot I get:
> 
> 
> /sbin/rcS: syntax error at line 142 ')' unexpected
> 
> INIT: Cannot create /var/adm/utmp or /var/adm/utmpx
> 
> INIT: failed write of utmpx entry:"   "
> 
> INIT: failed write of utmpx entry:"   "
> 
> INIT: Single User Mode
> 
> Type Ctrl-d to proceed with normal startup,
> (or give root passwrd for system maintenace):
> 
> I never changed rcS, and I can't get it  to boot past this
> point. Has anyone seen this? Any ideas?
> 
> Kenny
> 
> 
> 
> 
> =========================================
> Kenny Elmore, Network Engineer
> 
> Vanderbilt University
> ACIS Network Design and Engineering
> 230 Appleton Place
> 142 Hill Center/PD Box 34
> Nashville, Tennessee  37203
> 
> Kenny.Elmore@Vanderbilt.Edu
> 
> 
> 
> ================================================================================
>      To unsubscribe from this mailing list, please see the instructions at
>                http://www.checkpoint.com/services/mailing.html
> ================================================================================
> 

Best regards,

Dave
-------------------------------------------------------------------------
Dave Whitlow                            Tel: +44-(0)181-861-2001
Idsec Ltd                               Fax: +44-(0)181-861-3433
Suite A, 31-33 College Road,            Mail: dwhitlow@idsec.co.uk
Harrow, HA1 1EJ, UK                     Web:  http://www.idsec.co.uk




================================================================================
     To unsubscribe from this mailing list, please see the instructions at
               http://www.checkpoint.com/services/mailing.html
================================================================================