This post is actually associated with the last post I made. But instead of editing the last post, I decided to go with a new post, since the issue happened before. After I change the password of an account, website on accessing on a browser, keeps on asking for username and password. It can be fixed by executing the following command from the cd %plesk_bin% directory.
websrvmng --update-anon-password --domain-name=domainname.com
Wednesday, August 20, 2008
Plesk Windows 2003 - One website asking for password
Posted by
HJKL a.k.a h2l
at
9:52 AM
0
comments
Labels: asking for password, Plesk, win 2k3, Windows
Plesk Windows 2003 - 530 FTP user cannot login
Plesk Windows 2003 - 530 User username cannot log in. A plesk user after a server move was not able to log in.
My first attempt was to change the password which resulted in the error as below
Error: Unable to activate/deactivate domain: User or role 'username2' does not exist in this database.
As you can see that didn't fix the issue. Now I went on to change the username which resulted in the below error
Error: Unable to update hosting preferences: Unable to rename FTP user: ftpmng --rename-user failed: User "username1" doesn't exist
So that put me in the track. Before entering to the plesk database and manually updating it on, I gave it a try to use the following command (which worked!) and saved me from further hassles.
"%plesk_bin%\ftpmng.exe" --reconfigure-all
Posted by
HJKL a.k.a h2l
at
2:50 AM
0
comments
Tuesday, August 19, 2008
IIS 6.0 ASP or ASP.NET 404 Page Not found error
First of all, before telling about the issue, let me apologize to the blogger god for blogging about Windows issues too, on a Unix only blog. I currently support a windows client as well. It is a learning process and I must say that I am enjoying that too.
Okay the issue was this
I am moving a domain from a Plesk 7.6 installed server to Plesk 8.4 installed server - a relatively new one. Everything except the domain contents are moving. I didn't try to fix at the source. Instead I tarred the httpdocs and moved to the new server and extracted it there. And there began the permission issue, as expected.
Issues
--------
* Permission issue was making the website to ask for the password. Ran the Plesk permission fix from the Plesk reconfigurator and it did fix the issue.
* Once that permission was fixed, came another issue which was returning 404 on a asp page which is actually there. I asked the Sergey's google, but it was saying many things but all answers were addressing the serverwide issues, like Allowing the ASP in Web Service Extension and so on, which was already enabled.
My issue was domain specific. So had to do something with the IIS and the website in specific. Made sure that it had permissions for all users, just as any other website. So not any permission issue. And after two hours of scratching, I found that it was because there was nothing configured to process the files with .asp extension.
Steps to follow is this
1. Start -> Run -> inetmgr
2. Websites -> domain.com -> Right Click permissions
3. Home Directory --> Application Settings --> Configuration
3. Add -> Executable -> C:\WINDOWS\System32\inetsrv\asp.dll and LIMIT the verbs to GET,HEAD,POST,TRACE.
And voila that fixed the issue. Now some database connectivity is missing. Let me go back and work on that.
Posted by
HJKL a.k.a h2l
at
10:55 AM
1 comments
Thursday, June 19, 2008
cPanel compiling apache - No method to auto repair package system
My friends who use cPanel as their control panel, let me advise you first and foremost, don't use WHM to do sysadmin tasks. It will mess up the system once in a while and will leave you in dark. Similar situation happened with my friend, who was trying to compile PHP enabling the experimental PDO support through WHM. It messed up and all he could see was
!! No method to auto repair package system !!
!! Please visit http://www.cpanel.net/support/could_not_ensurepkgs.htm for help with this error. !!
!! Restoring original working apache !!
Apache stopped working. Examined a bit around 15 minutes to find out the solution. I was blindly looking around the httpd.conf and other similar configuration. But it was when I ran /scripts/easyapache, I could sniff the issue.
cPanel was not able to update the packages and problem lied in the yum updating the PDO package.A "ps -auxww | grep yum" told me the same. Process was having the status of T (or stopped). I continued the process by passing the signal 18 to it and everything and niffy after that "kill -18 PID"
Posted by
HJKL a.k.a h2l
at
10:35 PM
0
comments
Friday, May 02, 2008
SFTP and the Received message too long 1534226287 in a VPS
One of my clients, whom I act as a trainer and an admin, had an issue recently regarding the sftp. He created a vps (Lxlabs' HyperVM) named testvm with vpsid 120. The main hardware node IP be 192.168.0.1 . And the VPS IP be 192.168.0.101. He was trying to sftp testvm@192.168.0.1.
sftp testvm@192.168.0.1 was failing giving the message "Received message too long 1534226287" ;
It was a bit confusing for me, since it was a VPS and the shell assigned was /usr/bin/lxopenvz and I was not sure of the proper rc file it reads before switching the control to the vps. All I know was the shell is not verifying whether the $TERM is dump or not. And 1534226287 was translated to [roo (Decimal --> HEX --> ASCII)
So it was PS1 which is polluting the sftp stream. Spent 1 hour or so figuring out how to make it check the value of $TERM. And it was then I thought of trying the sftp root@192.168.0.101 (the VPS IP) and that worked. haha..
Client only needed to sftp to the VPS. He was not specific about sftping to root@VPS_IP or testvm@HN_IP. Spent one hour for just because of my absent mindedness. I should be more smart :-P
Posted by
HJKL a.k.a h2l
at
10:46 PM
0
comments
Monday, January 21, 2008
CyberQuiz aka IT quiz
Quizzing again.. A few information on IT industry in quiz format.
What is Wikiality.com
It is an Internet Encyclopedia dedicated to the Honorable Professor Dr. Stephen T Colbert, D.F.A and his creation truthiness
With which cyber major has Mayo Clinic set up a collaborative research facility "The Medical Imaging Informatics Innovation Centre (MI3C)" to improve the quality of patient care ?
IBM
What is 'Stevenote' ?
The colloquial term used for the keynote speeches by Steve Jobs, generally given at Apple events
Name the former CTO of the One Laptop Per Child Foundation who has started a new company called Pixel Qi to commercialize the technology for low priced laptops for poor children
Mary Lou Jepsen
With whom is Google jointly developing televisions that display internet content such as photos and videos
Panasonic
Who developed Postscript in 1985
Adobe
What 'spider' term is used for "the use of a table or structured list of URLs for Web sites (or words that hyperlink to Web sites) in order to help locate them ?
Arachnotaxis
The BlackBerry Pearl 8100 won the first BlackBerry to do way with what ?
A trackwheel. It was replaced by a miniature trackball.
What does Wikipedia define as "the act of taking a task traditionally performed by an employee or contractor and outsourcing it to an undefined generally large group of people in the form if an open call"
Crowdsourcing
In the context off spam what is spinging
Pinging from a splog to make recipients think that content of interest has been updated though that may not be the case.
Posted by
HJKL a.k.a h2l
at
7:45 AM
0
comments
Labels: Cyber Quiz, CyberQuiz, IT Quiz, Technical Quiz