---------- Post updated at 03:02 PM ---------- Previous update was at 03:01 PM ----------
And it worked.I knew it worked immediately because the CPU has been near 100% this whole time and it dropped down to 1%.I've test it and it all seems good.
I tried to go in and now rename "lib_old" back to just "lib", but it won't let me because the symlink I just created is called "lib."Should I just leave it alone now?
Let me ask the Solaris 8 experts if I should continue the installation of libxml2 because I need it for PHP. If I do that, will it fix the mess I've made?Also, I don't understand the implications of libxml2 messing with my lib directory, can it mess anything up? Will I loose an configurations that are important for the server and the websites it hosts?
And, if it's safe, what options should I turn on when I do the configuration? There are lots. Ultimately, I'm just trying to get to a point where I can install phpMYADMIN so that I can edit the existing mysql databases in a manner I'm comfortable with... But I'll only be able to use that if I can somehow do it remotely on the network, because the Sun only has Netscape on it...
Last edited by jetjaguar; 10-15-2010 at 06:41 PM..
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Quote:
Originally Posted by DGPickett
..... the idea of building a system from scratch.
He never had the idea to build or reinstall from scratch. His other plan was to boot from an install disk, mount the partition and fix the problem; something that most of us could have already accomplished hours ago, LOL.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Normally "short cuts" take longer than just doing the work properly.
Instead of shooting blindly and getting advice based on "best guesses" why not shorten your time to success and mount your disk using your boot disk and fix the problem from the console?
You could have fixed this problem a number of hours ago if you had of mounted the filesystem and fixed the problem, IMHO.
We cannot be 100% sure, based on your posts, that /lib was a symlink to /usr/lib ... this is just a "best guess". Instead of guessing, why not just fix it properly?
---------- Post updated at 22:34 ---------- Previous update was at 22:26 ----------
Note:
Solaris allows you to boot from the CD-ROM into single user mode which, in turn, will allow you to mount your filesystems and repair the problem. To boot into single user mode from CD-ROM, from the ok (bootprom) prompt do this:
This will give you a root prompt (#) with a functional but limited Solaris filesystem from the CDROM. To access your filesystems, you need to mount them. For example, if your root filesystem is c0t0d0s0, use:
Then you can work in the /mnt filesystem and make changes to your real root filesystem. You can mount other filesystems on their usual mount points within the root (/mnt) filesystem. Once you have fixed whatever you need, just reboot.
Hi...I'm new to Linux and was working on a home server. I have it operational with Samba Share as my NAS system. Unfortunately, while I was on Webmin I changed the Logical Volume Group Name and now I can't find the data I had saved on my Samba Server.
Can anyone help me recover those files?
... (0 Replies)
Hi All,
I connected via rlogin in testing environment (ksh ) and placed an executable with -rwxr-xr-x permission.
eg: from my own unix box used : rlogin host -l user
But the exe was renamed by somebody. since it's only renaming none of the access time , modification time etc is altered.... (2 Replies)
Hi there can anyone help me to spot my mistake and please explain why it appears
My code :
#!/usr/bin/gawk -f
BEGIN { bytes =0}
{ temp=$(grep "datafeed\.php" | cut -d" " -f8)
bytes += temp}
END { printf "Number of bytes: %d\n", bytes }
when I am running ./q411 an411
an411:
... (6 Replies)
My whatis file is missing from my /usr/share/lib directory. I know I can recreate it by using catman -w command.
My question is, why do all of my other servers have it and this one doesn't. Maybe due to a recent move of old to new servers and it just wasn't copied over. Unlikely, 'cause all... (0 Replies)
Hi everyone !
I have a file wich look like this :
>Sis01
> Sis02
...
>Sis44
I want to separe each paragraphe in a different file, so I decide to use the "FOR" loop + sed.
for f in {01..44}
do (5 Replies)
Hi,
I am using Ubuntu 8.04 64-bit (Hardy Heron LTS Desktop edition) OS on a 64-bit intel hardware (x86_64). I have wrongly renamed the /lib64/libdl-2.7.so shared library file and now hardly few commands are working. My Gnome UI display has gone and I could not establish any new connection via... (12 Replies)
Hello
I have moved a critical lib from its location, so all programms linked to libc dont work .
I still have two shells on the machine, bash and ksh
The only thing I see is copying back the lib, but of course : dd, cp , mv etc are dead .
So i tryed a loop with read ...
{^Jwhile read... (24 Replies)
Hello,
I'm experimenting a problem on my rh server.
Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
2.4.21-47.ELsmp #1 SMP i686 i686 i386 GNU/Linux
It started with a segmentation fault on
#id root
To resolve it, I've installed
coreutils-4.5.3-28.4.i386.rpm
But, I... (6 Replies)
Hello everyone !
Please have a minute and see if you know how to script this
I have a file like this:
"create table ....
...
create index n112 on ...
...
create table ...
....
create index n113 on...
...
create table ...
create index n112 on ...! duplicate
... (1 Reply)
Hi. I hope someone can help me with this problem.
Being a novice to Unix, I editted my crontab directly
by typing " crontab -e ". Well, I needed to make some
changes so, I typed " crontab -r ". Now I have no crontab,
and I can't seem to get crontab to write a new file.
I' ve tried:
vi... (4 Replies)