Microsoft Security Advisory --- F1 Key on Web
This blog covers Unix system administration HOWTO tips for using inline for loops, find command, Unix scripting, configuration, SQL, various Unix-based tools, and command line interface syntax. The Unix OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.
Posted by
esofthub
at
3/03/2010 03:31:00 AM
0
comments
Links to this post
Labels: f1 key advisory, windows xp
Last week we had a little issue with mounting directories from a new Solaris 10 server. It was noted the nfs service was not running on it. We had to import and then enable the service. After that, we were able to mount the required directories from the server.
# svcs -a | grep nfs
# cd /var/svc/manifest/network
# svccfg -v import nfs/server.xml
# svcadm enable nfs/server
or
# svccfg -v import /var/svc/manifest/network/nfs/server.xml
# svcadm enable nfs/server
If you want to disable and delete a service, see below.
# svcadm disable network/nfs/server
# svccfg delete network/nfs/server
Posted by
esofthub
at
2/27/2010 10:15:00 PM
0
comments
Links to this post
Labels: nfs service, solaris 10, svcadm, svccfg, unix commands
We had intriguing problem related to a Unix-based directory. This directory was mapped to Windows via Citrix.
On the Windows side, the initial thought was that the folder was simply "hidden" via the attributes, which would be normal. However, the attributes for the folder didn't show the hidden option selected.
Recently, we performed an account migration activity on the Unix side. The culprit turn out to be an orphaned .attribute^ file on the Unix side. Apparently, this file's username and group was deleted prior to migration, and its state unexpectedly caused the directory's contents to be invisible to Windows-based viewers.
At any rate, we finally noticed the file with the ls -al command. The .attribute^ file was removed from the Unix side and viewing was back to normal on the Windows side.
Posted by
esofthub
at
11/23/2009 07:07:00 AM
0
comments
Links to this post
Labels: .attribute^, .attribute^ file, citrix, invisible directory, unix commands
To setup an anonymous FTP account, you might consider using the ftpconfig script. It seems to be a lot easier to setup an anon FTP account with Solaris 10 than it was for Solaris 8. The anon users log in and then they are given restricted access to a mini-root filesystem.
Here is the syntax.
# ftpconfig someftpdir
or
# ftpconfig -d someftpdir
If you have problems, you may have to check files in the /etc/ftpd directory. Hint: check the ftpaccess file
Posted by
esofthub
at
10/23/2009 07:10:00 AM
1 comments
Links to this post
Labels: anon ftp, anonymous ftp, FTP, unix system adminstration
About two weeks ago, my colleague and I had an issue with the /var partition on a seldom used Sun Blade 2500 workstation. Frankly speaking, I thought a simple fsck would suffice while in single user mode. Not quite. Anyway, we executed fsck on the partition and it "fixed" whatever errors reported. And while in single user mode, we wrote test files to the partition without incident. However, once we booted to init 3 run level, we still could not write to the /var partition, not even as root. That was a bit strange because df -k reported only 20% of the partition was used. hmmm...inode problem?? Then we looked through the logs and noticed a message about not having enough space on the device – in short, we ran out of inodes. Almost immediately, we suspected a problem with mail. We checked the mqueue directory and it contained almost a 1,000,000 small extraneous/useless messages from cron. We deleted most of them (after a few hours) and it resolved the issue. And yes, we got a handle on the cron that was generating those messages.
Posted by
esofthub
at
9/18/2009 08:26:00 AM
0
comments
Links to this post
Labels: /var/spool/mqueue, inodes, no space left on partition, no space on /var, ran out of inodes
Posted by
esofthub
at
7/10/2009 12:18:00 AM
1 comments
Links to this post
Labels: changed IP address, ip address changed, mysysad blog
A couple of days ago a colleague sent me this interesting number, 142857, via email. I performed a Google search on the number and I was surprised to see so many returns - 190,000. It even has its own wiki page. For additional information, here is the wiki page for this cyclic number - 142857.
Below is the email.
Subject: Interesting Numbers
Roy,
I want to let you know a weird number which is 142857.
Why?
142857 X 1 = 142857
142857 X 2 = 285714
142857 X 3 = 428571
142857 X 4 = 571428
142857 X 5 = 714285
142857 X 6 = 857142
See, the answers show all same numbers with different position.
142857 X 7 = 999999
142 + 857 = 999
14 + 28 + 57 = 99
142857 X 142857 = 20408122449
20408 + 122449 = 142857
Interesting, huh?
Posted by
esofthub
at
6/18/2009 03:45:00 AM
8
comments
Links to this post
Labels: 142857, cyclic number, cyclic permutations
You might have already noticed some of my theme formatting attempts appeared to have removed essential characters - in particular, the pipe symbols. I will try to go back and fix them when I get some time. I just want you to be aware of the inconvenience. Thanks Mr. Mendoza.
Gilbert Mendoza said...
Hey there. Just as an FYI, I believe your theme formatting has removed essential characters from some of your posts. For example, none of the pipe symbols separating each of the stringed commands are showing.
4/25/09 1:15 PM
esofthub said...
You're right Gilbert Mendoza. I just check a few posts and the "|" are missing. I guess changing between themes deleted them.
4/25/09 3:15 PM
Posted by
esofthub
at
5/30/2009 08:52:00 AM
1 comments
Links to this post
Labels: "|", pipe symbol, pipes, pipes missing from posts, unix pipes
Posted by
esofthub
at
5/30/2009 08:45:00 AM
0
comments
Links to this post
Labels: phpbb, update phpbb, user account problem phpbb
A few days ago I was asked for a quick and easy way to determine what java runtime environment version was installed via the Unix command line. The requester was trying to determine possible compatibility issues for some recently purchased applications.
Posted by
esofthub
at
4/25/2009 04:26:00 AM
0
comments
Links to this post
Labels: java, java path, java version, jre version