Tru64 Tips
Reset root password
Re: root password recovery technique for Tru64 on Alpha 4100 Joe,
1. Bring the system to the SRM prompt -- P00>>> To do that if the system is running press the HALT Button or try Control-P from the console. If the system is powered off power it on. Depending on the auto_action SRM variable it might try to boot, but then you can HALT it or power cycle and use Ctrl+C to not allow it to boot (this might be tricky -- you need to know the exact moment to press Ctrl+C -- right before booting).
2. Once at the >>> prompt, boot to single user mode: >>> boot -fl s
3. run this if you are using LSM:
- lsmbstartup
4. verify & mount all local filesystems:
- /sbin/bcheckrc
or you could just use:
- mount -u / (on V5 there is a mountroot script)
5. here you can either use:
- passwd root (to set a new root password)
or
- vipw (or vi /etc/passwd)
and delete the root password
6. then init 3 or ^D to bring the system all the way up
HTH,
Ross
Configurare i parametri del kernel per Oracle 10gR2
Alcuni parametri forniti dalla Oracle sono insufficienti, e la documentazione Oracle è incompleta. Questi sono i parametri giusti.
tune_kernel.sh
#!/bin/sh echo ' ipc: shm_max = 4278190080 shm_min = 1 shm_mni = 256 shm_seg = 256 proc: exec_disable_arg_limit = 1 per_proc_stack_size = 8388608 max_per_proc_stack_size = 33554432 per_proc_data_size = 629145600 max_per_proc_data_size = 4294967296 max_per_proc_address_space = 4294967296 per_proc_address_space = 4294967296 max_proc_per_user = 2048 max_threads_per_user = 2048 maxusers = 4096 rdg: msg_size = 32768 max_objs = 5120 max_async_req = 256 max_sessions = 500 rdg_max_auto_msg_wires = 0 rdg_auto_msg_wires = 0 rt: aio_task_max_num = 8193 vfs: fifo_do_adaptive = 0 vm: new_wire_method = 0 inet: tcbhashsize = 32768 tcp_keepalive_default = 1 tcp_sendspace = 65536 tcp_recvspace = 65536 socket: somaxconn = 65535 sominconn = 65535 sbcompress_threshold = 600 ' > /tmp/$$.sysconfigtab sysconfigdb -m -f /tmp/$$.sysconfigtab rm -rf /tmp/$$.sysconfigtab sysconfigdb -s