Hi All
To Fix this error please move to your home directory and remove the file keyring that should fix the issue.For Example
#cd /home/ram/.gnome2/
# mv keyring keyring_old
Then try accessing the application that should work without any issue .
Open Source Guide Blog Started with thought of sharing Ideas in existing Technology
Thursday, November 5, 2009
Monday, November 2, 2009
Sunday, November 1, 2009
Named Service failed
Error
[root@phpmyadmin ram]# /etc/init.d/named restart
Stopping named: [ OK ]
Starting named: [FAILED]
In the back end i got to know that i was facing the below mentioned error.
Apr 22 15:08:37 phpmyadmin named[10379]: loading configuration: file not found
Apr 22 15:08:37 phpmyadmin named[10379]: exiting (due to fatal error)
Apr 22 15:09:22 phpmyadmin named[10438]: starting BIND 9.3.4-P1 -u named -t /var/named/chroot
Apr 22 15:09:22 phpmyadmin named[10438]: found 2 CPUs, using 2 worker threads
Apr 22 15:09:22 phpmyadmin named[10438]: loading configuration from '/etc/named.conf'
Apr 22 15:09:22 phpmyadmin named[10438]: listening on IPv4 interface lo, 127.0.0.1#53
Apr 22 15:09:22 phpmyadmin named[10438]: listening on IPv4 interface eth0, 192.168.1.16#53
Apr 22 15:09:22 phpmyadmin named[10438]: /etc/named.conf:100: configuring key 'ddns_key': bad base64 encoding
Apr 22 15:09:22 phpmyadmin named[10438]: loading configuration: bad base64 encoding
Apr 22 15:09:22 phpmyadmin named[10438]: exiting (due to fatal error)
Solution:
To overcome above error
follow the below mentioned steps:-
# vim /var/named/chroot/etc/named.conf
then look for line 103
100 key ddns_key
101 {
102 algorithm hmac-md5;
103 secret "use /usr/sbin/dns-keygen to generate TSIG keys";
104 };
105 view "external"
106 {
then issue below command in the terminal to get a key
# /usr/sbin/dns-keygen
MYuDOCEckswLfQdVgMjwybFZcB69Jwjv9KMJw7AumSD54dJhdHre2dQYYYmz
Then replace above line(103) as mentioned in the below sample example:
100 key ddns_key
101 {
102 algorithm hmac-md5;
103 secret "MYuDOCEckswLfQdVgMjwybFZcB69Jwjv9KMJw7AumSD54dJhdHre2dQYYYmz";
104 };
105 view "external"
106 {
Then give a below mentioned command
[root@phpmyadmin ram]# /etc/init.d/named restart
Stopping named: [ OK ]
Starting named: [ OK ]
[root@phpmyadmin ram]#
That's it and Enjoys Guys
[root@phpmyadmin ram]# /etc/init.d/named restart
Stopping named: [ OK ]
Starting named: [FAILED]
In the back end i got to know that i was facing the below mentioned error.
Apr 22 15:08:37 phpmyadmin named[10379]: loading configuration: file not found
Apr 22 15:08:37 phpmyadmin named[10379]: exiting (due to fatal error)
Apr 22 15:09:22 phpmyadmin named[10438]: starting BIND 9.3.4-P1 -u named -t /var/named/chroot
Apr 22 15:09:22 phpmyadmin named[10438]: found 2 CPUs, using 2 worker threads
Apr 22 15:09:22 phpmyadmin named[10438]: loading configuration from '/etc/named.conf'
Apr 22 15:09:22 phpmyadmin named[10438]: listening on IPv4 interface lo, 127.0.0.1#53
Apr 22 15:09:22 phpmyadmin named[10438]: listening on IPv4 interface eth0, 192.168.1.16#53
Apr 22 15:09:22 phpmyadmin named[10438]: /etc/named.conf:100: configuring key 'ddns_key': bad base64 encoding
Apr 22 15:09:22 phpmyadmin named[10438]: loading configuration: bad base64 encoding
Apr 22 15:09:22 phpmyadmin named[10438]: exiting (due to fatal error)
Solution:
To overcome above error
follow the below mentioned steps:-
# vim /var/named/chroot/etc/named.conf
then look for line 103
100 key ddns_key
101 {
102 algorithm hmac-md5;
103 secret "use /usr/sbin/dns-keygen to generate TSIG keys";
104 };
105 view "external"
106 {
then issue below command in the terminal to get a key
# /usr/sbin/dns-keygen
MYuDOCEckswLfQdVgMjwybFZcB69Jwjv9KMJw7AumSD54dJhdHre2dQYYYmz
Then replace above line(103) as mentioned in the below sample example:
100 key ddns_key
101 {
102 algorithm hmac-md5;
103 secret "MYuDOCEckswLfQdVgMjwybFZcB69Jwjv9KMJw7AumSD54dJhdHre2dQYYYmz";
104 };
105 view "external"
106 {
Then give a below mentioned command
[root@phpmyadmin ram]# /etc/init.d/named restart
Stopping named: [ OK ]
Starting named: [ OK ]
[root@phpmyadmin ram]#
That's it and Enjoys Guys
MANUAL TO RESTRICT A USER TO A SPECIFIC DATABASE
MANUAL TO RESTRICT A USER TO A SPECIFIC DATABASE
*************************************************************
1) First login to phpmyadmin
2) After login click on privileges
3) Then select add new user example: user : user1 Host : local host
passwd: ########
4) Then select go
5) exit
6) Please login with user1
7) you will see only default database
8) Then log off
9) Once again login to root account
10) Then click privileges
11) check the box user1 and click edit privileges
12) After that select add privileges on the following data base
13) Then from the drop down menu select the specific database
14) On selecting the data base pop the new window
15) Then check all , and give the password and select Go
16) Now exit the button .
Please see the below screen short
*************************************************************
1) First login to phpmyadmin
2) After login click on privileges
3) Then select add new user example: user : user1 Host : local host
passwd: ########
4) Then select go
5) exit
6) Please login with user1
7) you will see only default database
8) Then log off
9) Once again login to root account
10) Then click privileges
11) check the box user1 and click edit privileges
12) After that select add privileges on the following data base
13) Then from the drop down menu select the specific database
14) On selecting the data base pop the new window
15) Then check all , and give the password and select Go
16) Now exit the button .
Please see the below screen short
Perl Module Deployment error Tk::Tree::JSON
Problem:
Perl Module Deployment error Tk::Tree::JSON:-
Can't locate JSON.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.10.0/Tk/Tree
/JSON.pm line 16.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/Tk/Tree/JSON.pm line 20.
Compilation failed in require at example.pl line 22.
BEGIN failed--compilation aborted at example.pl line 22.
Solution:-
While Compiling this specific perl module we will be getting similar error .Just a fix for this problem look for JSON.pm file located in “lib/Tk/Tree” and copy it to “
cp JSON.pm /home/Tk-Tree-JSON-0.01/blib/lib/”
Then compile it I.e, make test. You will get below message
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... Subroutine Tk::Widget::ScrolledJSON redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 24.
Subroutine Populate redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 29.
Subroutine valuemaxlength redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 50.
Subroutine _value_max_length redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 60.
Subroutine load_json_file redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 72.
Subroutine load_json_string redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 88.
Subroutine get_value redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 100.
Subroutine _json_parser redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 108.
Subroutine _load_json redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 123.
Subroutine _format_text redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 154.
Subroutine Tk::Widget::JSON redefined at /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/Tk/Widget.pm line 256.
t/00-load.t ....... 1/1 # Testing Tk::Tree::JSON 0.01, Perl 5.010000, /usr/bin/perl
t/00-load.t ....... ok
t/pod-coverage.t .. 1/2 Subroutine Tk::Widget::ScrolledJSON redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 24.
Subroutine Populate redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 29.
Subroutine valuemaxlength redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 50.
Subroutine _value_max_length redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 60.
Subroutine load_json_file redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 72.
Subroutine load_json_string redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 88.
Subroutine get_value redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 100.
Subroutine _json_parser redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 108.
Subroutine _load_json redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 123.
Subroutine _format_text redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 154.
Subroutine Tk::Widget::JSON redefined at /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/Tk/Widget.pm line 256.
t/pod-coverage.t .. ok
t/pod.t ........... ok
All tests successful.
Files=3, Tests=5, 1 wallclock secs ( 0.08 usr 0.00 sys + 0.56 cusr 0.08 csys = 0.72 CPU)
Result: PASS
Then Do Make install
Installing /usr/lib/perl5/site_perl/5.10.0/JSON.pm
Appending installation info to /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/perllocal.pod
That's it done and enjoy
Perl Module Deployment error Tk::Tree::JSON:-
Can't locate JSON.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.10.0/Tk/Tree
/JSON.pm line 16.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/Tk/Tree/JSON.pm line 20.
Compilation failed in require at example.pl line 22.
BEGIN failed--compilation aborted at example.pl line 22.
Solution:-
While Compiling this specific perl module we will be getting similar error .Just a fix for this problem look for JSON.pm file located in “lib/Tk/Tree” and copy it to “
cp JSON.pm /home/Tk-Tree-JSON-0.01/blib/lib/”
Then compile it I.e, make test. You will get below message
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... Subroutine Tk::Widget::ScrolledJSON redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 24.
Subroutine Populate redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 29.
Subroutine valuemaxlength redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 50.
Subroutine _value_max_length redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 60.
Subroutine load_json_file redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 72.
Subroutine load_json_string redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 88.
Subroutine get_value redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 100.
Subroutine _json_parser redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 108.
Subroutine _load_json redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 123.
Subroutine _format_text redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 154.
Subroutine Tk::Widget::JSON redefined at /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/Tk/Widget.pm line 256.
t/00-load.t ....... 1/1 # Testing Tk::Tree::JSON 0.01, Perl 5.010000, /usr/bin/perl
t/00-load.t ....... ok
t/pod-coverage.t .. 1/2 Subroutine Tk::Widget::ScrolledJSON redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 24.
Subroutine Populate redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 29.
Subroutine valuemaxlength redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 50.
Subroutine _value_max_length redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 60.
Subroutine load_json_file redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 72.
Subroutine load_json_string redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 88.
Subroutine get_value redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 100.
Subroutine _json_parser redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 108.
Subroutine _load_json redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 123.
Subroutine _format_text redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 154.
Subroutine Tk::Widget::JSON redefined at /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/Tk/Widget.pm line 256.
t/pod-coverage.t .. ok
t/pod.t ........... ok
All tests successful.
Files=3, Tests=5, 1 wallclock secs ( 0.08 usr 0.00 sys + 0.56 cusr 0.08 csys = 0.72 CPU)
Result: PASS
Then Do Make install
Installing /usr/lib/perl5/site_perl/5.10.0/JSON.pm
Appending installation info to /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/perllocal.pod
That's it done and enjoy
checking for kde-config... not found
Error message that i received when i was trying to install Umbrello error is as follow
checking host system type... i386-apple-darwin8.11.1
checking target system type... i386-apple-darwin8.11.1
checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.
Solution : check whether all kde packages are installed properlly . if everything is done
and still you get this error message .
Then please go to the directory /usr/bin and check for kde-config if it their then you can
install any of your application and if in case if some higher version is their like kde4-config
then do "cp kde4-config kde-config " then try this it should work .
Thanks.
In hope solution you liked it.
checking host system type... i386-apple-darwin8.11.1
checking target system type... i386-apple-darwin8.11.1
checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.
Solution : check whether all kde packages are installed properlly . if everything is done
and still you get this error message .
Then please go to the directory /usr/bin and check for kde-config if it their then you can
install any of your application and if in case if some higher version is their like kde4-config
then do "cp kde4-config kde-config " then try this it should work .
Thanks.
In hope solution you liked it.
Max Sound volume is too Low Ubuntu
well The solution is just deploy alsamixer and alsamixergui
Command:-
i had same problem and I have installed below packages to fix the issue
Code:
$ sudo apt-get install alsamixer
And than
Code:
$ sudo apt-get install alsamixergui
and increase the sound to maximum from alsamixer gui in
Applications-->Sound & Videos ->Alsamixergui
The Just Look for PCM,MASTER and Front . The increase the volume in all of them then you will see increase in volume.
And Enjoy. Please post your query any on Linux
Command:-
i had same problem and I have installed below packages to fix the issue
Code:
$ sudo apt-get install alsamixer
And than
Code:
$ sudo apt-get install alsamixergui
and increase the sound to maximum from alsamixer gui in
Applications-->Sound & Videos ->Alsamixergui
The Just Look for PCM,MASTER and Front . The increase the volume in all of them then you will see increase in volume.
And Enjoy. Please post your query any on Linux
Sound Problem in fedora
Just install all the rpm related to alsamixer and then executing the below
pulseaudio -D and check what is the output if everything is fine you won't get any error.
This is one way to check whether sound daemon is running.
Thats all i can Say. Hope this Should solve your sound problem in Fedora
And it is tested in Dell Inspirion 1525
pulseaudio -D and check what is the output if everything is fine you won't get any error.
This is one way to check whether sound daemon is running.
Thats all i can Say. Hope this Should solve your sound problem in Fedora
And it is tested in Dell Inspirion 1525
The configuration file now needs a secret passphrase (blowfish_secret). Open new phpMyAdmin window
Please look for file config.inc.php file located in phpmyadmin directory.
and Look for line:-$cfg['blowfish_secret']='';
replace it with some word like $cfg['blowfish_secret']='abc';
That’s it it you are done with it and enjoy
The configuration file now needs a secret passphrase (blowfish_secret). Open new phpMyAdmin window
Please look for file config.inc.php file located in phpmyadmin directory.
and Look for line:-$cfg['blowfish_secret']='';
replace it with some word like $cfg['blowfish_secret']='abc';
That’s it it you are done with it and enjoy
and Look for line:-$cfg['blowfish_secret']='';
replace it with some word like $cfg['blowfish_secret']='abc';
That’s it it you are done with it and enjoy
PHP Deployment in Fedora Core 7,8,9
yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel
phpmyadmin: cannot load mcrypt extension
Just Install php-mcrypt and libmcrypt.
and for php5 install php5-mcrypt and libcrypt
and for php5 install php5-mcrypt and libcrypt
ifconfig!! Command not found!!
Check to see that /sbin is in your $PATH variable as root. If not, add with
PATH=$PATH:/sbin/
That should fix it.
PATH=$PATH:/sbin/
That should fix it.
How-To create a MySQL database and set privileges to a user
On default settings, mysql root user do not need a password to authenticate from localhost. In this case, user can login as root on your mysql server using:
$ mysql -u root
If a password is required, use the extra switch -p:
$ mysql -u root -p
Enter password:
Now that you are logged in, we will create a database:
mysql> create database ramdb;
Query OK, 1 row affected (0.00 sec)
We allow user ramuser to connect to the server from localhost using the password rampasswd:
mysql> grant usage on *.* to ramuser@localhost identified by 'passwd';
Query OK, 0 rows affected (0.00 sec)
And finally we grant all privileges on the ramdb database to this user:
mysql> grant all privileges on ramdb.* to ramuser@localhost ;
Query OK, 0 rows affected (0.00 sec)
And that's it. You can now check that you can connect to the MySQL server using this command:
$ mysql -u ramuser -p'passwd' ramdb
Your MySQL connection id is 12
Server version: 5.0.38-Ubuntu_0ubuntu1-log Ubuntu 7.04 distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
$ mysql -u root
If a password is required, use the extra switch -p:
$ mysql -u root -p
Enter password:
Now that you are logged in, we will create a database:
mysql> create database ramdb;
Query OK, 1 row affected (0.00 sec)
We allow user ramuser to connect to the server from localhost using the password rampasswd:
mysql> grant usage on *.* to ramuser@localhost identified by 'passwd';
Query OK, 0 rows affected (0.00 sec)
And finally we grant all privileges on the ramdb database to this user:
mysql> grant all privileges on ramdb.* to ramuser@localhost ;
Query OK, 0 rows affected (0.00 sec)
And that's it. You can now check that you can connect to the MySQL server using this command:
$ mysql -u ramuser -p'passwd' ramdb
Your MySQL connection id is 12
Server version: 5.0.38-Ubuntu_0ubuntu1-log Ubuntu 7.04 distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
Changing MySQL user password using mysql sql command
MySQL stores username and passwords in user table inside MySQL database. You can directly update password using the following method to update or change password for user ram: 1) Login to mysql server, type following command at shell prompt:
$ mysql -u root -p
2) Use mysql database (type command at mysql> prompt):
mysql> use mysql;
3) Change password for user ram:
mysql> update user set password=PASSWORD("NEWPASSWORD") where User='ram';
4) Reload privileges:
mysql> flush privileges;
mysql> quit
$ mysql -u root -p
2) Use mysql database (type command at mysql> prompt):
mysql> use mysql;
3) Change password for user ram:
mysql> update user set password=PASSWORD("NEWPASSWORD") where User='ram';
4) Reload privileges:
mysql> flush privileges;
mysql> quit
Change MySQL password for other user
To change a user password you need to type (let us assume you would like to change password for ram):
$ mysqladmin -u ram -p oldpassword newpass
$ mysqladmin -u ram -p oldpassword newpass
Subscribe to:
Posts (Atom)