Operating System - HP-UX
1752806 Members
5804 Online
108789 Solutions
New Discussion юеВ

HP server root login error

 
Robert-Jan Goossens_1
Honored Contributor

Re: HP server root login error

can you try to logon with ftp as root?

Re: HP server root login error

yes robert,
i can login with ftp in user but i cant login into ftp via root login.

Robert-Jan Goossens_1
Honored Contributor

Re: HP server root login error

did you also try the login from the console?

Re: HP server root login error

so I guess you can't get to root when you run:

su -

or

su - root

But can you get to root from running:

su

or

su root

That should give you root without running roots profile. The root user *shouldn't* require access to any libraries to get the shell running, as roots shell *should* be /sbin/sh which is a statically linked shell.

If you've changed root's shell to something else... well you broke your own system... time to look for backups...

HTH

Duncan

I am an HPE Employee
Accept or Kudo
candlejack
Advisor

Re: HP server root login error

What about sudo? Do you have sudo installed?
"The future starts today, not tomorrow." -Pope John Paul II

Re: HP server root login error

dear robert,

As you told about the consol but i also try to login via consol but i cant login via consol.
i only access the user login nothing else.

Re: HP server root login error

dear Duncan,

no i cant able to login via su or su root.

Re: HP server root login error

dear robert,

this is the output of the top from sybase login
System: hpux Thu Feb 5 10:56:54 2009
Load averages: 0.02, 0.03, 0.04
114 processes: 107 sleeping, 6 running, 1 zombie
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.04 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
1 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.02 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%

Memory: 70468K (22936K) real, 115120K (35428K) virtual, 473752K free Page# 1/4

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 35 root 152 20 800K 800K run 0:08 0.39 0.39 vxfsd
1 pts/tc 9315 sybase 178 20 7128K 712K run 0:00 0.06 0.05 top
0 ? 2165 root 154 20 1752K 200K sleep 0:02 0.04 0.04 prngd
0 ? 1921 root 154 10 3956K 572K sleep 0:01 0.04 0.04 diagmond
0 ? 663 root 152 20 1988K 288K run 0:07 0.04 0.04 syncer
1 ? 787 root 127 20 3824K 468K sleep 0:01 0.04 0.04 netfmt
1 ? 0 root 127 20 32K 0K sleep 0:20 0.03 0.03 swapper
0 ? 1 root 168 20 504K 220K sleep 0:00 0.02 0.02 init
1 ? 2 root 128 20 32K 32K sleep 0:00 0.02 0.02 vhand
1 ? 3 root 128 20 32K 32K sleep 0:04 0.02 0.02 statdaemon
0 ? 4 root 128 20 32K 32K sleep 0:00 0.02 0.02 unhashdaemon
1 ? 751 root 154 20 2544K 228K sleep 0:00 0.02 0.02 syslogd
0 ? 945 root 154 20 3112K 804K sleep 0:00 0.02 0.02 automount
0 ? 965 root 154 20 2948K 380K sleep 0:00 0.02 0.02 inetd
0 ? 1239 root 154 20 3532K 472K sleep 0:03 0.02 0.02 sendmail:
1 ? 1249 root 154 20 12056K 1080K sleep 0:00 0.02 0.02 snmpdm
0 ? 1271 root 154 20 5564K 856K sleep 0:00 0.02 0.02 mib2agt
1 ? 1320 root 154 20 10212K 2728K sleep 0:00 0.02 0.02 rpcd
0 ? 1323 root 152 20 15888K 3380K run 0:08 0.02 0.02 cimserver
0 ? 1878 root 154 20 2620K 312K sleep 0:01 0.02 0.02 pwgrd
0 ? 1949 root 154 20 11236K 2464K sleep 0:00 0.02 0.02 swagentd
0 ? 2068 root 152 20 21416K 3696K run 0:00 0.02 0.02 vxsvc
1 ? 2157 root 154 20 21416K 3696K sleep 0:00 0.02 0.02 vxsvc
0 ? 2177 root 154 20 3512K 384K sleep 0:00 0.02 0.02 dtlogin
1 ? 2178 root 138 0 372K 104K sleep 0:00 0.02 0.02 krsd
0 ? 2184 root 168 20 2988K 368K sleep 0:00 0.02 0.02 p_client
1 ? 2185 root 168 20 3672K 452K sleep 0:00 0.02 0.02 cimserverd
0 ? 2273 root 158 10 2948K 332K sleep 0:00 0.02 0.02 diaglogd
1 ? 2274 root 154 10 3700K 684K sleep 0:00 0.02 0.02 memlogd
1 ? 2275 root 154 10 4452K 832K sleep 0:14 0.02 0.02 psmctd
0 ? 2282 root 154 20 2340K 448K sleep 0:00 0.02 0.02 registrar
1 ? 2333 root 154 20 3500K 656K sleep 0:00 0.02 0.02 disk_em
0 ? 2438 root 154 20 3792K 656K sleep 0:00 0.02 0.02 dm_core_hw
0 ? 2501 root 154 20 4160K 668K sleep 0:00 0.02 0.02 dm_memory
0 ? 2561 root 154 20 3452K 644K sleep 0:00 0.02 0.02 dm_stape

please check whether any process is there which is not important.

Re: HP server root login error

one more thing that why i cant able to login into consol terminal in my hp server.
please i also paste the manifiest command of our server.

Serial number: SG44116705
Order number: J92740350~003~0100


System Hardware

Model: 9000/800/rp3410
Main Memory: 1022 MB
Processors: 2
OS mode: 64 bit
LAN hardware ID: 0x00306E4B3A23
Software ID: 4183773601
Keyboard Language: Not_Applicable

Storage devices HW Path Interface
TEAC DW-224E 0/0/2/0.0.0.0
HP 36.4GMAS3367NC 34732 Mb 0/4/1/0.10.0 SCSI C1010 Ultra160 Wide LVD A6828-60101
HP 36.4GMAS3367NC 34732 Mb 0/4/1/0.8.0 SCSI C1010 Ultra160 Wide LVD A6828-60101
HP C5683A 11195 Mb 0/1/1/1.3.0 SCSI C1010 Ultra160 Wide LVD
HP 36.4GST336753LC 34732 Mb 0/1/1/0.1.0 SCSI C1010 Ultra160 Wide LVD
HP 36.4GST336753LC 34732 Mb 0/1/1/0.0.0 SCSI C1010 Ultra160 Wide LVD

I/O Interfaces
Class H/W Path Driver Description
usb 0/0/1/0 hcd NEC USB Interface
usb 0/0/1/1 hcd NEC USB Interface
usb 0/0/1/2 ehci NEC USB Interface
sideba 0/0/2/0 side_ba CMD IDE controller
ext_bus 0/0/2/0.0 side IDE
ext_bus 0/0/2/0.1 side IDE
ext_bus 0/1/1/0 c8xx SCSI C1010 Ultra160 Wide LVD
ext_bus 0/1/1/1 c8xx SCSI C1010 Ultra160 Wide LVD
lan 0/1/2/0 igelan HP PCI 1000Base-T Core
ext_bus 0/4/1/0 c8xx SCSI C1010 Ultra160 Wide LVD A6828-60101
tty 0/7/1/0 asio0 PCI SimpleComm (103c1290)
tty 0/7/1/1 asio0 PCI Serial (103c1048)
ipmi 16 ipmi IPMI Controller


Installed Software

Your system was installed with HP-UX version B.11.11.

Your system has the following software products installed and
configured on the system disk drive(s).

Product Revision Description
B6848BA 1.4.gm.46.7 Ximian GNOME 1.4 GTK+ Libraries for HP-UX
B8111AA 1.2.2.15.00 Java 2 RTE for HP-UX (700/800), PA1.1 + PA2.0 Add On
B8465BA A.01.05.08 HP WBEM Services for HP-UX
B9073BA B.06.02 HP-UX iCOD (Instant Capacity on Demand)
B9098AA 1.2.2.15.00 Java 2 Plugin for HP-UX (700/800)
B9788AA 1.3.1.13.01 Java2 1.3 SDK for HP-UX
B9789AA 1.3.1.13.01 Java2 1.3 RTE for HP-UX
BUNDLE11i B.11.11.0306.1 Required Patch Bundle for HP-UX 11i, June 2003
Base-VXVM B.03.50.5 Base VERITAS Volume Manager Bundle 3.5 for HP-UX
CDE-English B.11.11 English CDE Environment
FDDI-00 B.11.11.02 PCI FDDI;Supptd HW=A3739A/A3739B;SW=J3626AA
FEATURE11-11 B.11.11.0209.5 Feature Enablement Patches for HP-UX 11i, Sept 2002
FibrChanl-00 B.11.11.09 PCI/HSC FibreChannel;Supptd HW=A6684A,A6685A,A5158A,A6795A
FibrChanl-01 B.11.11.03 PCI-X FibreChannel;Supptd HW=A6826A,A9782A,A9784A
GOLDAPPS11i B.11.11.0406.5 Gold Applications Patches for HP-UX 11i v1, June 2004
GOLDBASE11i B.11.11.0406.5 Gold Base Patches for HP-UX 11i v1, June 2004
GigEther-00 B.11.11.19 PCI/HSC GigEther;Supptd HW=A4926A/A4929A/A4924A/A4925A;SW=J1642AA
GigEther-01 B.11.11.15 PCI/PCI-X GigEther;Supptd HW=A6794A/A6825A/A6847A/A9782A/A9784A/A7109A
HPUX11i-OE B.11.11.0406 HP-UX 11i Operating Environment Component
HPUXBase64 B.11.11 HP-UX 64-bit Base OS
HPUXBaseAux B.11.11.0406 HP-UX Base OS Auxiliary
HWEnable11i B.11.11.0406.4 Hardware Enablement Patches for HP-UX 11i v1, June 2004
IEther-00 B.11.11.05 PCI/PCI-X IEther;Supptd HW=A7011A/A7012A/AB352A
MOZILLA 1.4.0.01.04 Mozilla 1.4 for HP-UX
MOZILLAsrc 1.4.0.01.04 Mozilla 1.4 Source distribution
OnlineDiag B.11.11.14.15 HPUX 11.11 Support Tools Bundle, Jun 2004
OpenSSL A.00.09.07-d.002 Secure Network Communications Protocol
RAID-00 B.11.11.01 PCI RAID; Supptd HW=A5856A
SWPACK11i B.11.11.0406.3 Enablement Patches 11i, June 2004
ShmemExt B.11.11.01 ShmemExt System V Shared Memory Extensions, January 2004
T1455AA 1.3.1.13.01 Java2 1.3 Netscape Plugin for HP-UX
T1456AA 1.4.2.02.01 Java2 1.4 SDK for HP-UX
T1456AAaddon 1.4.2.02.01 Java2 1.4 SDK -AA addon for HP-UX
T1457AA 1.4.2.02.01 Java2 1.4 RTE for HP-UX
T1457AAaddon 1.4.2.02.01 Java2 1.4 RTE -AA addon for HP-UX
T1458AA 1.4.2.02.01 Java2 1.4 Netscape Plugin for HP-UX
hpuxwsApache A.2.0.49.00 HP-UX Apache-based Web Server
hpuxwsTomcat A.4.1.29.02 HP-UX Tomcat-based Servlet Engine
hpuxwsWebmin A.1.070.00 HP-UX Webmin-based Admin
hpuxwsXml A.2.00 HP-UX XML Web Server Tools
perl D.5.8.0.B Perl Programming Language
scsiU320-00 B.11.11.01 PCI SCSI U320; Supptd HW=A7173A


LVM File System Configuration

This system is configured with Logical Volume Manager (LVM) file systems.
Refer to the File System layout section for information on the LVM layout.


JFS File System Configuration

This system is configured with a Journaled File System (referred to
as either JFS or VXFS). Refer to the File System layout section for
information on JFS/VXFS file systems.


Disk layout

LVM disk Device file HW Addr size vol. grp
HP 36.4GST336753LC /dev/dsk/c2t0d0 0/1/1/0.0.0 34732 /dev/vg00
HP 36.4GST336753LC /dev/dsk/c2t1d0 0/1/1/0.1.0 34732 /dev/vg01
HP 36.4GMAS3367NC /dev/dsk/c4t8d0 0/4/1/0.8.0 34732 /dev/vg02
HP 36.4GMAS3367NC /dev/dsk/c4t10d0 0/4/1/0.10.0 34732 /dev/vg03


File System layout

LVM Device file mount point size fs type
/dev/vg00:
/dev/vg00/lvol1 /stand 304 hfs
/dev/vg00/lvol2 swap 2048
/dev/vg00/lvol3 / 200 vxfs
/dev/vg00/lvol4 /tmp 512 vxfs
/dev/vg00/lvol5 /home 4000 vxfs
/dev/vg00/lvol6 /opt 2104 vxfs
/dev/vg00/lvol7 /usr 1968 vxfs
/dev/vg00/lvol8 /var 2552 vxfs
/dev/vg00/lvmaster 304 unused
/dev/vg00/lvvec125data004 800 unused
/dev/vg00/lvmultlive001 504 unused
/dev/vg00/lvmultlivelog002 504 unused
/dev/vg00/lvmultliveback 504 unused
/dev/vg00/lvvstarlive01 216 unused
/dev/vg00/lvvstarlive02 200 unused
/dev/vg00/lvdtssdbaccess 16 unused
/dev/vg00 unallocated 17984
/dev/vg01:
/dev/vg01/lvvec125liveback 752 unused
/dev/vg01/lvvec125data001 300 unused
/dev/vg01/lvvec125data002 256 unused
/dev/vg01/lvvec125data003 256 unused
/dev/vg01/lvvec125livelog 128 unused
/dev/vg01/lvvstarlive 1000 unused
/dev/vg01/lvvstarlog 1000 unused
/dev/vg01/lvvstarback 1000 unused
/dev/vg01/lvvstarbacklog 1000 unused
/dev/vg01/lvcomex /home/comex 3000 vxfs
/dev/vg01/lvdtsslive01 2048 unused
/dev/vg01/lvvstarase /home/vstarASE 2000 vxfs
/dev/vg01/lvvstardevASE /vstardev 2048 vxfs
/dev/vg01/lvvstardevlive 2000 unused
/dev/vg01/lora9i /ora9i 5120 vxfs
/dev/vg01/ltuxedo /opt/tuxedo 512 vxfs
/dev/vg01/lcobol /opt/cobol 512 vxfs
/dev/vg01/lvol18 256 unused
/dev/vg01/lvvectorits /home/vectorits3072 vxfs
/dev/vg01/lvsyb15 /syb15 3072 vxfs
/dev/vg01 unallocated 5392
/dev/vg02:
/dev/vg02/lvsyb125 /users/sybase 4096 vxfs
/dev/vg02/lvsyb119 /syb119 4096 vxfs
/dev/vg02/lvnbotlive001 1000 unused
/dev/vg02/lvnbotlive002 512 unused
/dev/vg02/lvnbotlive003 256 unused
/dev/vg02/lvnbotlivelog 260 unused
/dev/vg02/lvnbotback001 512 unused
/dev/vg02/lvnbotback002 256 unused
/dev/vg02/lvnbotbacklog 256 unused
/dev/vg02/lvdbaccess01 256 unused
/dev/vg02/lvnbotrep001 256 unused
/dev/vg02/lvnbotrep002 256 unused
/dev/vg02/lvnbotrep003 256 unused
/dev/vg02/lvnbotreplog 256 unused
/dev/vg02/lvmaster 500 unused
/dev/vg02/lvmultex /multcochin/release2028 vxfs
/dev/vg02/lvvstarASE /vstar 4096 vxfs
/dev/vg02/lvol18 2048 unused
/dev/vg02/lvcomdbacess 4 unused
/dev/vg02/lvmodelaman 8 unused
/dev/vg02/lvvstardevlog 132 unused
/dev/vg02/lvitslive01 512 unused
/dev/vg02/lvitslive02 512 unused
/dev/vg02/lvVecITSback01 1024 unused
/dev/vg02/lvVecITSback02 1024 unused
/dev/vg02/lvVecITSbacklog 512 unused
/dev/vg02/lvVecITSlive01 512 unused
/dev/vg02/lvVecITSlive02 512 unused
/dev/vg02/lvcomex224 /home/comex224 3072 vxfs
/dev/vg02/lvVecITSlive03 512 unused
/dev/vg02/lvVecITSlive04 512 unused
/dev/vg02/lvVecITSlivelog 1024 unused
/dev/vg02 unallocated 3656
/dev/vg03:
/dev/vg03/lvvector /home/vector10 4096 vxfs
/dev/vg03/lvvstar 2048 unused
/dev/vg03/lvnbot /home/nbot 2048 vxfs
/dev/vg03/lvvstar119 2000 unused
/dev/vg03/lvdtssback 4096 unused
/dev/vg03/lvUPSElive01 128 unused
/dev/vg03/lvcftss12 /home/cftss12 2024 vxfs
/dev/vg03/lvdtssbackadd 1024 unused
/dev/vg03/lvol22 100 unused
/dev/vg03/lvitsusr /ITS/release 3000 vxfs
/dev/vg03/lvUPSElive02 128 unused
/dev/vg03/lvUPSElive03 256 unused
/dev/vg03/lvUPSElive04 256 unused
/dev/vg03/lvUPSElivelog 256 unused
/dev/vg03/lvUPSEback01 256 unused
/dev/vg03/lvUPSEback02 256 unused
/dev/vg03/lvUPSEbacklog 256 unused
/dev/vg03/lvol23 256 unused
/dev/vg03/lvcfusrct /home/cfusrct 2024 vxfs
/dev/vg03/lvol24 256 unused
/dev/vg03/lvcfload /home/cfload 1024 vxfs
/dev/vg03/lvol25 4 unused
/dev/vg03/lvol26 100 unused
/dev/vg03/lvol27 800 unused
/dev/vg03/lvol28 300 unused
/dev/vg03/lvol29 200 unused
/dev/vg03/lvol30 200 unused
/dev/vg03/lvol31 300 unused
/dev/vg03/lvol32 5120 unused
/dev/vg03 unallocated 1012


Swap configuration

type size priority device/location
dev 2048 1 /dev/vg00/lvol2


Kernel Configuration

The following drivers or parameters are configured into your system's
kernel. After installing HP-UX, use the sam(1m) command to configure
the following items into the kernel:
STRMSGSZ 65535
dnlc_hash_locks 512
max_thread_proc 256
maxdsiz 1073741824
maxdsiz_64bit 2147483648
maxfiles 256
maxssiz 134217728
maxssiz_64bit 1073741824
maxswapchunks 16384
maxtsiz 0X10000000
maxtsiz_64bit 0X40000000
maxuprc ((NPROC*9)/10)
maxusers 400
msgmnb 262144
msgmni (NPROC)
msgseg 32767
msgssz 16
msgtql 32767
ncsize ((8*NPROC+2048)+VX_NCSIZE)
nfile (15*NPROC+2048)
nflocks 4096
ninode (8*NPROC+2048)
nproc 4096
nstrpty 60
semmni 4096
semmns (SEMMNI*2)
semmnu (NPROC-4)
semume 30
semvmx 32768
shmmax 1073741824
shmmni 512
shmseg 60
vps_ceiling 64


System Information

The following parameters were set on the configured target:
hostname: hpux
IP address: 172.20.6.83
subnet mask: 255.255.0.0
gateway IP address: 192.168.69.1
gateway IP address: 172.20.1.1
time zone: IST-5:30
bash#

Re: HP server root login error

dear all,
please have a look into my server issue if any body knows any new updates into this issue then please inform me.

i cant able to login into root..

i cant able to login into ftp root..

i dont have back up..

i dont have any alternate root users..

i only access the user login..

i want to execute tlinstall,tlremove for restore the removed link..which is not available as root login is not possible.

please help me out into this serious issue.