Domain Name Yahoo

Easy Help Troubleshoot Your Linux Box



  

Samba Builtin_Administrators

This is taken from syslog :

Sep 24 21:29:15 localhost smbd[9789]: [2008/09/24 21:29:15, 0] auth/auth_util.c:create_builtin_administrators(785)
Sep 24 21:29:15 localhost smbd[9789]: create_builtin_administrators: Failed to create Administrators
Sep 24 21:29:15 localhost smbd[9789]: [2008/09/24 21:29:15, 0] auth/auth_util.c:create_builtin_users(751)
Sep 24 21:29:15 localhost smbd[9789]: create_builtin_users: Failed to create Users
Sep 24 21:29:15 localhost smbd[9791]: [2008/09/24 21:29:15, 0] auth/auth_util.c:create_builtin_administrators(785)
Sep 24 21:29:15 localhost smbd[9791]: create_builtin_administrators: Failed to create Administrators
Sep 24 21:29:15 localhost smbd[9791]: [2008/09/24 21:29:15, 0] auth/auth_util.c:create_builtin_users(751)
Sep 24 21:29:15 localhost smbd[9791]: create_builtin_users: Failed to create Users

It seems that you didnt add the idmap parameter. Try to edit /etc/samba/smb.conf , and take a look the idmap part of your smb.conf.

[global]

idmap uid = 15000-20000
idmap gid = 15000-20000
Then Restart samba & winbindd :

# service smb restart

# service winbindd restart

September 26th, 2008 Posted by admin | CentOS, Samba | no comments

PHP code Vs Firewall

Php code : file_get_contents , fsockopen couldnt compiled

This error log was generated from httpd log.

[error] [client 192.168.1.1] PHP Warning:  file_get_contents() [<a href=’function.file-get-contents’>function.file-get-contents</a>]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/www/html/search/test.php on line 2

[error] [client 192.168.1.1] PHP Warning:  file_get_contents(http://www.google.com) [<a href=’function.file-get-contents’>function.file-get-contents</a>]: failed to open stream: Connection refused in /var/www/html/search/park.php on line 2

The Solution is to turn off your firewall

# service firewall stop

September 25th, 2008 Posted by admin | Domain, General, Uncategorized, firewall | no comments

pinged before offer ( dhcpd )

Q : What does this error log message mean ?
dhcpd Error Abandoning IP address 192.168.10.16: pinged before offer

A: Before the DHCP server assigns an IP address to a client, it pings the address to make sure nobody is using it already. In this case, the test failed, so the server “abandons” the address and picks another one to assign. Another computer may have already had that IP address statically assigned, or maybe it was dynamically assigned but the server and that client miscommunicated.

In either case, it is a harmless message and no action is necessary.

September 25th, 2008 Posted by admin | CentOS, General, dhcpd | no comments

Windows Fonts on Linux Box

Here is the trick to add your linux font.
This is just simple trick.

First, you must close any application related to fonts library ( openoffice, Mozilla Thunderbird, etc ).
Copy your windows fonts ( usually it is located in c:\windows\fonts ) if you cant see this folder, thats because this folder is hidden, try to show the hidden files and folder from the tools menu ( folder options).  Remember, only copy the font files not the font folder.

Then just paste it in /usr/share/font.
Thats it, the fonts loaded automatically, try to run OpenOffice Writer and see the fonts is there.

Hopefully this will help.

September 5th, 2008 Posted by admin | General, Windows | no comments